Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add column members_can_fork_private_repos to github organization tables. Closes #212 #213 #214

Merged
merged 2 commits into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion github/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"time"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion github/table_github_actions_artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_actions_repository_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_actions_repository_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_actions_repository_workflow_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_audit_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/go-kit/types"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_branch_protection.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_code_owner.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"time"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_community_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_gist.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_gitignore.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_license.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_my_gist.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion github/table_github_my_issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion github/table_github_my_organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion github/table_github_my_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
)

Expand Down
2 changes: 1 addition & 1 deletion github/table_github_my_star.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
4 changes: 2 additions & 2 deletions github/table_github_my_team.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
)

//// TABLE DEFINITION
// // TABLE DEFINITION
func tableGitHubMyTeam() *plugin.Table {
return &plugin.Table{
Name: "github_my_team",
Expand Down
3 changes: 2 additions & 1 deletion github/table_github_organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down Expand Up @@ -46,6 +46,7 @@ func gitHubOrganizationColumns() []*plugin.Column {
{Name: "members_can_create_private_repos", Type: proto.ColumnType_BOOL, Description: "If true, members can create private repositories.", Hydrate: getOrganizationDetail},
{Name: "members_can_create_public_repos", Type: proto.ColumnType_BOOL, Description: "If true, members can create public repositories.", Hydrate: getOrganizationDetail},
{Name: "members_can_create_repos", Type: proto.ColumnType_BOOL, Description: "If true, members can create repositories.", Hydrate: getOrganizationDetail},
{Name: "members_can_fork_private_repos", Type: proto.ColumnType_BOOL, Description: "If true, members can fork private organization repositories.", Hydrate: getOrganizationDetail},
{Name: "members", Type: proto.ColumnType_JSON, Description: "An array of users that are members of the organization.", Transform: transform.FromValue(), Hydrate: tableGitHubOrganizationMembersGet},
{Name: "member_logins", Type: proto.ColumnType_JSON, Description: "An array of user logins that are members of the organization.", Transform: transform.FromValue().Transform(filterUserLogins), Hydrate: tableGitHubOrganizationMembersGet},
{Name: "members_url", Type: proto.ColumnType_STRING, Description: "The API Members URL."},
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_organization_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_pull_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_code.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"regexp"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"regexp"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"regexp"
"strings"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_pull_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"regexp"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_search_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin/transform"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_stargazer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_team.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_team_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_team_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_traffic_view_daily.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
2 changes: 1 addition & 1 deletion github/table_github_traffic_view_weekly.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"

"github.com/turbot/steampipe-plugin-sdk/v4/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v4/plugin"
Expand Down
Loading