Documentation
¶
Index ¶
- type ArtifactDescription
- type ArtifactDockerFileDescription
- type AuditLogDescription
- type BlobDescription
- type BranchApp
- type BranchDescription
- type BranchProtectionDescription
- type BranchTeam
- type BranchUser
- type CodeOwnerDescription
- type CodeSearchHit
- type CodeSearchResult
- type CommitDescription
- type CommitResponse
- type ContainerMetadata
- type ContainerPackageDescription
- type ContentResponse
- type GitIgnoreDescription
- type IssueCommentDescription
- type IssueDescription
- type License
- type LicenseDescription
- type Metadata
- type Metrics
- type MinimalRepoInfo
- type OrgAlertDependabotDescription
- type OrgCollaboratorsDescription
- type OrgExternalIdentityDescription
- type OrgMembersDescription
- type Organization
- type OrganizationDescription
- type Owner
- type OwnerDetail
- type OwnerLogin
- type Package
- type PackageDescription
- type PackageDetailDescription
- type PackageListItem
- type PackageVersion
- type PackageVersionDescription
- type ParentTeam
- type Permissions
- type PullRequestDescription
- type ReleaseDescription
- type RepoAlertDependabotDescription
- type RepoCollaboratorsDescription
- type RepoDeploymentDescription
- type RepoDescription
- type RepoDetail
- type RepoEnvironmentDescription
- type RepoOwnerDetail
- type RepoRuleSetDescription
- type RepoSBOMDescription
- type RepoURLs
- type RepoVulnerabilityAlertDescription
- type Repository
- type RepositoryDescription
- type RepositorySettings
- type RunnerDescription
- type SearchCodeDescription
- type SearchCommitDescription
- type SearchIssueDescription
- type SecretDescription
- type SecuritySettings
- type StarDescription
- type StargazerDescription
- type StatusObj
- type TagDescription
- type TeamDescription
- type TeamMembersDescription
- type TeamRepositoryDescription
- type TrafficViewDailyDescription
- type TrafficViewWeeklyDescription
- type TreeDescription
- type UserDescription
- type WorkflowDescription
- type WorkflowRunDescription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactDescription ¶
type ArtifactDockerFileDescription ¶ added in v0.4.0
type ArtifactDockerFileDescription struct {
Sha string `json:"sha"`
Name string `json:"name"`
Path string `json:"path"`
LastUpdatedAt string `json:"last_updated_at"`
GitURL string `json:"git_url"`
HTMLURL string `json:"html_url"`
URI string `json:"uri"` // Unique identifier
DockerfileContent string `json:"dockerfile_content"`
DockerfileContentBase64 string `json:"dockerfile_content_base64"`
Repository map[string]interface{} `json:"repository"`
}
type AuditLogDescription ¶
type BlobDescription ¶
type BranchDescription ¶
type BranchDescription struct {
RepoFullName string
Name string
Commit steampipemodels.BaseCommit
BranchProtectionRule steampipemodels.BranchProtectionRule
Protected bool
}
type BranchProtectionDescription ¶
type BranchProtectionDescription struct {
steampipemodels.BranchProtectionRule
RepoFullName string
CreatorLogin string
MatchingBranches int
PushAllowanceApps []BranchApp
PushAllowanceTeams []BranchTeam
PushAllowanceUsers []BranchUser
BypassForcePushAllowanceApps []BranchApp
BypassForcePushAllowanceTeams []BranchTeam
BypassForcePushAllowanceUsers []BranchUser
BypassPullRequestAllowanceApps []BranchApp
BypassPullRequestAllowanceTeams []BranchTeam
BypassPullRequestAllowanceUsers []BranchUser
}
type BranchTeam ¶
type BranchUser ¶
type CodeOwnerDescription ¶ added in v0.1.4
type CodeSearchHit ¶ added in v0.4.0
type CodeSearchHit struct {
Name string `json:"name"`
Path string `json:"path"`
Sha string `json:"sha"`
URL string `json:"url"`
GitURL string `json:"git_url"`
HTMLURL string `json:"html_url"`
Repository struct {
ID int `json:"id"`
NodeID string `json:"node_id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Private bool `json:"private"`
Owner struct {
Login string `json:"login"`
ID int `json:"id"`
NodeID string `json:"node_id"`
URL string `json:"url"`
HTMLURL string `json:"html_url"`
Type string `json:"type"`
} `json:"owner"`
HTMLURL string `json:"html_url"`
Description string `json:"description"`
Fork bool `json:"fork"`
} `json:"repository"`
Score float64 `json:"score"`
}
type CodeSearchResult ¶ added in v0.4.0
type CodeSearchResult struct {
TotalCount int `json:"total_count"`
IncompleteResults bool `json:"incomplete_results"`
Items []CodeSearchHit `json:"items"`
}
type CommitDescription ¶
type CommitDescription struct {
AdditionalDetails struct {
NodeID string `json:"node_id"`
Parents []struct {
SHA string `json:"sha"`
} `json:"parents"`
Tree struct {
SHA string `json:"sha"`
} `json:"tree"`
VerificationDetails struct {
Reason string `json:"reason"`
Signature *string `json:"signature"`
VerifiedAt *string `json:"verified_at"`
} `json:"verification_details"`
} `json:"additional_details"`
Author struct {
Email string `json:"email"`
HTMLURL string `json:"html_url"`
ID int `json:"id"`
Login string `json:"login"`
Name string `json:"name"`
NodeID string `json:"node_id"`
Type string `json:"type"`
} `json:"author"`
Changes struct {
Additions int `json:"additions"`
Deletions int `json:"deletions"`
Total int `json:"total"`
} `json:"changes"`
CommentCount int `json:"comment_count"`
Date string `json:"date"`
Files []struct {
Additions int `json:"additions"`
Changes int `json:"changes"`
Deletions int `json:"deletions"`
Filename string `json:"filename"`
SHA string `json:"sha"`
Status string `json:"status"`
} `json:"files"`
HTMLURL string `json:"html_url"`
ID string `json:"id"`
IsVerified bool `json:"is_verified"`
Message string `json:"message"`
PullRequests []int `json:"pull_requests"`
Target struct {
Branch string `json:"branch"`
Organization string `json:"organization"`
Repository string `json:"repository"`
} `json:"target"`
}
type CommitResponse ¶ added in v0.4.0
type ContainerMetadata ¶ added in v0.4.0
type ContainerMetadata struct {
Container struct {
Tags []string `json:"tags"`
} `json:"container"`
}
type ContainerPackageDescription ¶ added in v0.4.1
type ContainerPackageDescription struct {
ID int `json:"id"`
Digest string `json:"digest"`
URL string `json:"url"`
PackageURI string `json:"package_uri"`
PackageHTMLURL string `json:"package_html_url"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
HTMLURL string `json:"html_url"`
Name string `json:"name"`
MediaType string `json:"media_type"`
TotalSize int64 `json:"total_size"`
Metadata ContainerMetadata `json:"metadata"`
Manifest interface{} `json:"manifest"`
}
type ContentResponse ¶ added in v0.4.0
type ContentResponse struct {
Name string `json:"name"`
Path string `json:"path"`
Sha string `json:"sha"`
Size int `json:"size"`
URL string `json:"url"`
HTMLURL string `json:"html_url"`
GitURL string `json:"git_url"`
Type string `json:"type"`
Content string `json:"content"` // base64
Encoding string `json:"encoding"`
}
type GitIgnoreDescription ¶
type IssueCommentDescription ¶
type IssueCommentDescription struct {
steampipemodels.IssueComment
RepoFullName string
Number int
AuthorLogin string
EditorLogin string
}
type IssueDescription ¶
type IssueDescription struct {
RepositoryFullName string
Id int
NodeId string
Number int
ActiveLockReason githubv4.LockReason
Author steampipemodels.Actor
AuthorLogin string
AuthorAssociation githubv4.CommentAuthorAssociation
Body string
BodyUrl string
Closed bool
ClosedAt steampipemodels.NullableTime
CreatedAt steampipemodels.NullableTime
CreatedViaEmail bool
Editor steampipemodels.Actor
FullDatabaseId string
IncludesCreatedEdit bool
IsPinned bool
IsReadByUser bool
LastEditedAt steampipemodels.NullableTime
Locked bool
Milestone steampipemodels.Milestone
PublishedAt steampipemodels.NullableTime
State githubv4.IssueState
StateReason githubv4.IssueStateReason
Title string
UpdatedAt steampipemodels.NullableTime
Url string
UserCanClose bool
UserCanReact bool
UserCanReopen bool
UserCanSubscribe bool
UserCanUpdate bool
UserCannotUpdateReasons []githubv4.CommentCannotUpdateReason
UserDidAuthor bool
UserSubscription githubv4.SubscriptionState
CommentsTotalCount int
LabelsTotalCount int
LabelsSrc []steampipemodels.Label
Labels map[string]steampipemodels.Label
AssigneesTotalCount int
Assignees []steampipemodels.BaseUser
}
type LicenseDescription ¶
type LicenseDescription struct {
steampipemodels.License
}
type Metrics ¶ added in v0.9.3
type Metrics struct {
Stargazers int `json:"stargazers"`
Forks int `json:"forks"`
Subscribers int `json:"subscribers"`
Size int `json:"size"`
Tags int `json:"tags"`
Commits int `json:"commits"`
Issues int `json:"issues"`
OpenIssues int `json:"open_issues"`
Branches int `json:"branches"`
PullRequests int `json:"pull_requests"`
Releases int `json:"releases"`
}
type MinimalRepoInfo ¶ added in v0.9.3
type OrgAlertDependabotDescription ¶
type OrgAlertDependabotDescription struct {
AlertNumber int
State string
DependencyPackageEcosystem string
DependencyPackageName string
DependencyManifestPath string
DependencyScope string
SecurityAdvisoryGHSAID string
SecurityAdvisoryCVEID string
SecurityAdvisorySummary string
SecurityAdvisoryDescription string
SecurityAdvisorySeverity string
SecurityAdvisoryCVSSScore *float64
SecurityAdvisoryCVSSVector string
SecurityAdvisoryCWEs []string
SecurityAdvisoryPublishedAt github.Timestamp
SecurityAdvisoryUpdatedAt github.Timestamp
SecurityAdvisoryWithdrawnAt github.Timestamp
URL string
HTMLURL string
CreatedAt github.Timestamp
UpdatedAt github.Timestamp
DismissedAt github.Timestamp
DismissedReason string
DismissedComment string
FixedAt github.Timestamp
}
type OrgCollaboratorsDescription ¶
type OrgCollaboratorsDescription struct {
Organization string
Affiliation string
RepositoryName githubv4.String
Permission githubv4.RepositoryPermission
UserLogin steampipemodels.CollaboratorLogin
}
type OrgExternalIdentityDescription ¶
type OrgExternalIdentityDescription struct {
steampipemodels.OrganizationExternalIdentity
Organization string
UserLogin string
UserDetail steampipemodels.BasicUser
}
type OrgMembersDescription ¶
type OrgMembersDescription struct {
steampipemodels.User
Organization string
HasTwoFactorEnabled *bool
Role *string
}
type Organization ¶ added in v0.9.3
type OrganizationDescription ¶
type OrganizationDescription struct {
steampipemodels.Organization
Hooks []*github.Hook
BillingEmail string
TwoFactorRequirementEnabled bool
DefaultRepoPermission string
MembersAllowedRepositoryCreationType string
MembersCanCreateInternalRepos bool
MembersCanCreatePages bool
MembersCanCreatePrivateRepos bool
MembersCanCreatePublicRepos bool
MembersCanCreateRepos bool
MembersCanForkPrivateRepos bool
PlanFilledSeats int
PlanName string
PlanPrivateRepos int
PlanSeats int
PlanSpace int
Followers int
Following int
Collaborators int
HasOrganizationProjects bool
HasRepositoryProjects bool
WebCommitSignoffRequired bool
MembersWithRoleTotalCount int
PackagesTotalCount int
PinnableItemsTotalCount int
PinnedItemsTotalCount int
ProjectsTotalCount int
ProjectsV2TotalCount int
SponsoringTotalCount int
SponsorsTotalCount int
TeamsTotalCount int
PrivateRepositoriesTotalCount int
PublicRepositoriesTotalCount int
RepositoriesTotalCount int
RepositoriesTotalDiskUsage int
}
type OwnerDetail ¶ added in v0.4.1
type OwnerDetail struct {
Login string `json:"login"`
ID int `json:"id,omitempty"`
NodeID string `json:"node_id,omitempty"`
HTMLURL string `json:"html_url,omitempty"`
Type string `json:"type,omitempty"`
UserViewType string `json:"user_view_type,omitempty"`
SiteAdmin bool `json:"site_admin,omitempty"`
}
type OwnerLogin ¶ added in v0.9.3
type OwnerLogin struct {
Login string `json:"login"`
}
type Package ¶ added in v0.4.0
type Package struct {
ID int `json:"id"`
Name string `json:"name"`
PackageType string `json:"package_type"`
Visibility string `json:"visibility"`
HTMLURL string `json:"html_url"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Owner OwnerLogin `json:"owner"`
URL string `json:"url"`
}
type PackageDescription ¶ added in v0.3.0
type PackageDetailDescription ¶ added in v0.4.1
type PackageDetailDescription struct {
ID int `json:"id"`
Name string `json:"name"`
PackageType string `json:"package_type"`
Owner OwnerDetail `json:"owner"`
VersionCount int `json:"version_count"`
Visibility string `json:"visibility"`
URL string `json:"url"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Repository Repository `json:"repository"`
HTMLURL string `json:"html_url"`
}
type PackageListItem ¶ added in v0.4.1
type PackageListItem struct {
ID int `json:"id"`
Name string `json:"name"`
PackageType string `json:"package_type"`
Visibility string `json:"visibility"`
HTMLURL string `json:"html_url"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Owner struct {
Login string `json:"login"`
} `json:"owner"`
URL string `json:"url"`
}
type PackageVersion ¶ added in v0.4.0
type PackageVersionDescription ¶ added in v0.3.0
type Permissions ¶ added in v0.9.3
type PullRequestDescription ¶
type PullRequestDescription struct {
RepoFullName string
Id int
NodeId string
Number int
ActiveLockReason githubv4.LockReason
Additions int
Author steampipemodels.Actor
AuthorAssociation githubv4.CommentAuthorAssociation
BaseRefName string
Body string
ChangedFiles int
ChecksUrl string
Closed bool
ClosedAt steampipemodels.NullableTime
CreatedAt steampipemodels.NullableTime
CreatedViaEmail bool
Deletions int
Editor steampipemodels.Actor
HeadRefName string
HeadRefOid string
IncludesCreatedEdit bool
IsCrossRepository bool
IsDraft bool
IsReadByUser bool
LastEditedAt steampipemodels.NullableTime
Locked bool
MaintainerCanModify bool
Mergeable githubv4.MergeableState
Merged bool
MergedAt steampipemodels.NullableTime
MergedBy steampipemodels.Actor
Milestone steampipemodels.Milestone
Permalink string
PublishedAt steampipemodels.NullableTime
RevertUrl string
ReviewDecision githubv4.PullRequestReviewDecision
State githubv4.PullRequestState
Title string
TotalCommentsCount int
UpdatedAt steampipemodels.NullableTime
Url string
Assignees []steampipemodels.BaseUser
BaseRef *steampipemodels.BasicRef
HeadRef *steampipemodels.BasicRef
MergeCommit *steampipemodels.BasicCommit
SuggestedReviewers []steampipemodels.SuggestedReviewer
CanApplySuggestion bool
CanClose bool
CanDeleteHeadRef bool
CanDisableAutoMerge bool
CanEditFiles bool
CanEnableAutoMerge bool
CanMergeAsAdmin bool
CanReact bool
CanReopen bool
CanSubscribe bool
CanUpdate bool
CanUpdateBranch bool
DidAuthor bool
CannotUpdateReasons []githubv4.CommentCannotUpdateReason
Subscription githubv4.SubscriptionState
LabelsSrc []steampipemodels.Label
Labels map[string]steampipemodels.Label
CommitsTotalCount int
ReviewRequestsTotalCount int
ReviewsTotalCount int
LabelsTotalCount int
AssigneesTotalCount int
}
type ReleaseDescription ¶ added in v0.1.4
type ReleaseDescription struct {
github.RepositoryRelease
RepositoryFullName string
}
type RepoAlertDependabotDescription ¶
type RepoAlertDependabotDescription struct {
RepoFullName string
AlertNumber int
State string
DependencyPackageEcosystem string
DependencyPackageName string
DependencyManifestPath string
DependencyScope string
SecurityAdvisoryGHSAID string
SecurityAdvisoryCVEID string
SecurityAdvisorySummary string
SecurityAdvisoryDescription string
SecurityAdvisorySeverity string
SecurityAdvisoryCVSSScore *float64
SecurityAdvisoryCVSSVector string
SecurityAdvisoryCWEs []string
SecurityAdvisoryPublishedAt github.Timestamp
SecurityAdvisoryUpdatedAt github.Timestamp
SecurityAdvisoryWithdrawnAt github.Timestamp
URL string
HTMLURL string
CreatedAt github.Timestamp
UpdatedAt github.Timestamp
DismissedAt github.Timestamp
DismissedReason string
DismissedComment string
FixedAt github.Timestamp
}
type RepoCollaboratorsDescription ¶
type RepoCollaboratorsDescription struct {
Affiliation string
RepoFullName string
Permission githubv4.RepositoryPermission
UserLogin string
}
type RepoDeploymentDescription ¶
type RepoDeploymentDescription struct {
steampipemodels.Deployment
RepoFullName string
}
type RepoDescription ¶ added in v0.9.3
type RepoDescription struct {
github.Repository
ID int
NodeID string
Name string
NameWithOwner string
Description string
IsArchived bool
IsEmpty bool
IsFork bool
IsSecurityPolicyEnabled bool
OwnerLogin string
LicenseInfo steampipemodels.BasicLicense
Visibility githubv4.RepositoryVisibility
Topics []string
DefaultBranchRef steampipemodels.BasicRefWithBranchProtectionRule
YourPermission githubv4.RepositoryPermission
CreatedAt steampipemodels.NullableTime
UpdatedAt steampipemodels.NullableTime
PushedAt steampipemodels.NullableTime
AllowUpdateBranch bool
ArchivedAt steampipemodels.NullableTime
AutoMergeAllowed bool
CodeOfConduct steampipemodels.RepositoryCodeOfConduct
ContactLinks []steampipemodels.RepositoryContactLink
DeleteBranchOnMerge bool
DiskUsage int
ForkCount int
ForkingAllowed bool
FundingLinks []steampipemodels.RepositoryFundingLinks
HasDiscussionsEnabled bool
HasIssuesEnabled bool
HasProjectsEnabled bool
HasVulnerabilityAlertsEnabled bool
HasWikiEnabled bool
HomepageURL string
InteractionAbility steampipemodels.RepositoryInteractionAbility
IsBlankIssuesEnabled bool
IsDisabled bool
IsInOrganization bool
IsLocked bool
IsMirror bool
IsPrivate bool
IsTemplate bool
IsUserConfigurationRepository bool
IssueTemplates []steampipemodels.IssueTemplate
LockReason githubv4.LockReason
MergeCommitAllowed bool
MergeCommitMessage githubv4.MergeCommitMessage
MergeCommitTitle githubv4.MergeCommitTitle
MirrorURL string
OpenGraphImageURL string
PrimaryLanguage steampipemodels.Language
ProjectsURL string
PullRequestTemplates []steampipemodels.PullRequestTemplate
RebaseMergeAllowed bool
SecurityPolicyURL string
SquashMergeAllowed bool
SquashMergeCommitMessage githubv4.SquashMergeCommitMessage
SquashMergeCommitTitle githubv4.SquashMergeCommitTitle
SSHURL string
StargazerCount int
URL string
//UsesCustomOpenGraphImage bool
//CanAdminister bool
//CanCreateProjects bool
//CanSubscribe bool
//CanUpdateTopics bool
//HasStarred bool
PossibleCommitEmails []string
//Subscription githubv4.SubscriptionState
WebCommitSignOffRequired bool
RepositoryTopicsTotalCount int
OpenIssuesTotalCount int
WatchersTotalCount int
Hooks []*github.Hook
SubscribersCount int
HasDownloads bool
HasPages bool
NetworkCount int
}
type RepoDetail ¶ added in v0.9.3
type RepoDetail struct {
ID int `json:"id"`
NodeID string `json:"node_id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Private bool `json:"private"`
Owner *Owner `json:"owner"`
HTMLURL string `json:"html_url"`
Description *string `json:"description"`
Fork bool `json:"fork"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
PushedAt string `json:"pushed_at"`
GitURL string `json:"git_url"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`
SVNURL string `json:"svn_url"`
Homepage *string `json:"homepage"`
Size int `json:"size"`
StargazersCount int `json:"stargazers_count"`
WatchersCount int `json:"watchers_count"`
Languages *string `json:"languages"` // original string language field
HasIssues bool `json:"has_issues"`
HasProjects bool `json:"has_projects"`
HasDownloads bool `json:"has_downloads"`
HasWiki bool `json:"has_wiki"`
HasPages bool `json:"has_pages"`
HasDiscussions bool `json:"has_discussions"`
ForksCount int `json:"forks_count"`
MirrorURL *string `json:"mirror_url"`
Archived bool `json:"archived"`
Disabled bool `json:"disabled"`
OpenIssuesCount int `json:"open_issues_count"`
License *License `json:"license"`
AllowForking bool `json:"allow_forking"`
IsTemplate bool `json:"is_template"`
WebCommitSignoffRequired bool `json:"web_commit_signoff_required"`
Topics []string `json:"topics"`
Visibility string `json:"visibility"`
DefaultBranch string `json:"default_branch"`
Permissions *Permissions `json:"permissions"`
AllowSquashMerge bool `json:"allow_squash_merge"`
AllowMergeCommit bool `json:"allow_merge_commit"`
AllowRebaseMerge bool `json:"allow_rebase_merge"`
AllowAutoMerge bool `json:"allow_auto_merge"`
DeleteBranchOnMerge bool `json:"delete_branch_on_merge"`
AllowUpdateBranch bool `json:"allow_update_branch"`
UseSquashPRTitleAsDefault bool `json:"use_squash_pr_title_as_default"`
SquashMergeCommitMessage string `json:"squash_merge_commit_message"`
SquashMergeCommitTitle string `json:"squash_merge_commit_title"`
MergeCommitMessage string `json:"merge_commit_message"`
MergeCommitTitle string `json:"merge_commit_title"`
CustomProperties map[string]interface{} `json:"custom_properties"`
Organization *Organization `json:"organization"`
Parent *RepoDetail `json:"parent"`
Source *RepoDetail `json:"source"`
NetworkCount int `json:"network_count"`
SubscribersCount int `json:"subscribers_count"`
BlankIssuesEnabled bool `json:"blank_issues_enabled"`
Locked bool `json:"locked"`
SecurityAndAnalysis *struct {
SecretScanning *StatusObj `json:"secret_scanning"`
SecretScanningPushProtection *StatusObj `json:"secret_scanning_push_protection"`
DependabotSecurityUpdates *StatusObj `json:"dependabot_security_updates"`
SecretScanningNonProviderPatterns *StatusObj `json:"secret_scanning_non_provider_patterns"`
SecretScanningValidityChecks *StatusObj `json:"secret_scanning_validity_checks"`
} `json:"security_and_analysis"`
}
type RepoEnvironmentDescription ¶
type RepoEnvironmentDescription struct {
steampipemodels.Environment
RepoFullName string
}
type RepoOwnerDetail ¶ added in v0.4.1
type RepoRuleSetDescription ¶
type RepoRuleSetDescription struct {
steampipemodels.Ruleset
RepoFullName string
}
type RepoSBOMDescription ¶
type RepoVulnerabilityAlertDescription ¶
type RepoVulnerabilityAlertDescription struct {
RepositoryFullName string
Number int
NodeID string
AutoDismissedAt steampipemodels.NullableTime
CreatedAt steampipemodels.NullableTime
DependencyScope githubv4.RepositoryVulnerabilityAlertDependencyScope
DismissComment string
DismissReason string
DismissedAt steampipemodels.NullableTime
Dismisser steampipemodels.BasicUser
FixedAt steampipemodels.NullableTime
State githubv4.RepositoryVulnerabilityAlertState
SecurityAdvisory steampipemodels.SecurityAdvisory
SecurityVulnerability steampipemodels.SecurityVulnerability
VulnerableManifestFilename string
VulnerableManifestPath string
VulnerableRequirements string
Severity githubv4.SecurityAdvisorySeverity
CvssScore float64
}
type Repository ¶ added in v0.4.1
type Repository struct {
ID int `json:"id"`
NodeID string `json:"node_id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Private bool `json:"private"`
Owner RepoOwnerDetail `json:"owner"`
HTMLURL string `json:"html_url"`
Description string `json:"description"`
Fork bool `json:"fork"`
URL string `json:"url"`
}
type RepositoryDescription ¶
type RepositoryDescription struct {
GitHubRepoID int `json:"id"`
NodeID string `json:"node_id"`
Name string `json:"name"`
NameWithOwner string `json:"name_with_owner"`
Description *string `json:"description"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
PushedAt string `json:"pushed_at"`
IsActive bool `json:"is_active"`
IsEmpty bool `json:"is_empty"`
IsFork bool `json:"is_fork"`
IsSecurityPolicyEnabled bool `json:"is_security_policy_enabled"`
Owner *Owner `json:"owner"`
HomepageURL *string `json:"homepage_url"`
LicenseInfo json.RawMessage `json:"license_info"`
Topics []string `json:"topics"`
Visibility string `json:"visibility"`
DefaultBranchRef json.RawMessage `json:"default_branch_ref"`
Permissions *Permissions `json:"permissions"`
Organization *Organization `json:"organization"`
Parent *RepositoryDescription `json:"parent"`
Source *RepositoryDescription `json:"source"`
Languages map[string]int `json:"language"`
RepositorySettings RepositorySettings `json:"repo_settings"`
SecuritySettings SecuritySettings `json:"security_settings"`
RepoURLs RepoURLs `json:"repo_urls"`
Metrics Metrics `json:"metrics"`
}
type RepositorySettings ¶ added in v0.9.3
type RepositorySettings struct {
HasDiscussionsEnabled bool `json:"has_discussions_enabled"`
HasIssuesEnabled bool `json:"has_issues_enabled"`
HasProjectsEnabled bool `json:"has_projects_enabled"`
HasWikiEnabled bool `json:"has_wiki_enabled"`
MergeCommitAllowed bool `json:"merge_commit_allowed"`
MergeCommitMessage string `json:"merge_commit_message"`
MergeCommitTitle string `json:"merge_commit_title"`
SquashMergeAllowed bool `json:"squash_merge_allowed"`
SquashMergeCommitMessage string `json:"squash_merge_commit_message"`
SquashMergeCommitTitle string `json:"squash_merge_commit_title"`
HasDownloads bool `json:"has_downloads"`
HasPages bool `json:"has_pages"`
WebCommitSignoffRequired bool `json:"web_commit_signoff_required"`
MirrorURL *string `json:"mirror_url"`
AllowAutoMerge bool `json:"allow_auto_merge"`
DeleteBranchOnMerge bool `json:"delete_branch_on_merge"`
AllowUpdateBranch bool `json:"allow_update_branch"`
UseSquashPRTitleAsDefault bool `json:"use_squash_pr_title_as_default"`
CustomProperties map[string]interface{} `json:"custom_properties"`
ForkingAllowed bool `json:"forking_allowed"`
IsTemplate bool `json:"is_template"`
AllowRebaseMerge bool `json:"allow_rebase_merge"`
// Renamed fields:
Archived bool `json:"archived"`
Disabled bool `json:"disabled"`
Locked bool `json:"locked"`
}
type RunnerDescription ¶
type SearchCodeDescription ¶
type SearchCodeDescription struct {
*github.CodeResult
RepoFullName string
Query string
}
type SearchCommitDescription ¶
type SearchCommitDescription struct {
*github.CommitResult
RepoFullName string
Query string
}
type SearchIssueDescription ¶
type SearchIssueDescription struct {
IssueDescription
RepoFullName string
Query string
TextMatches []steampipemodels.TextMatch
}
type SecretDescription ¶
type SecuritySettings ¶ added in v0.9.3
type SecuritySettings struct {
VulnerabilityAlertsEnabled bool `json:"vulnerability_alerts_enabled"`
SecretScanningEnabled bool `json:"secret_scanning_enabled"`
SecretScanningPushProtectionEnabled bool `json:"secret_scanning_push_protection_enabled"`
DependabotSecurityUpdatesEnabled bool `json:"dependabot_security_updates_enabled"`
SecretScanningNonProviderPatternsEnabled bool `json:"secret_scanning_non_provider_patterns_enabled"`
SecretScanningValidityChecksEnabled bool `json:"secret_scanning_validity_checks_enabled"`
// New field
PrivateVulnerabilityReportingEnabled bool `json:"private_vulnerability_reporting_enabled"`
}
type StarDescription ¶
type StarDescription struct {
RepoFullName string
StarredAt steampipemodels.NullableTime
Url string
}
type StargazerDescription ¶
type StargazerDescription struct {
RepoFullName string
StarredAt steampipemodels.NullableTime
UserLogin string
UserDetail steampipemodels.BasicUser
}
type TagDescription ¶
type TagDescription struct {
RepositoryFullName string
Name string
TaggerDate time.Time
TaggerName string
TaggerLogin string
Message string
Commit steampipemodels.BaseCommit
}
type TeamDescription ¶
type TeamDescription struct {
Organization string
Slug string
Name string
ID int
NodeID string
Description string
CreatedAt time.Time
UpdatedAt time.Time
CombinedSlug string
ParentTeam ParentTeam
Privacy string
AncestorsTotalCount int
ChildTeamsTotalCount int
DiscussionsTotalCount int
InvitationsTotalCount int
MembersTotalCount int
ProjectsV2TotalCount int
RepositoriesTotalCount int
URL string
AvatarURL string
DiscussionsURL string
EditTeamURL string
MembersURL string
NewTeamURL string
RepositoriesURL string
TeamsURL string
CanAdminister bool
CanSubscribe bool
Subscription string
}
type TeamMembersDescription ¶
type TeamMembersDescription struct {
steampipemodels.User
Organization string
Slug string
Role githubv4.TeamMemberRole
}
type TeamRepositoryDescription ¶
type TeamRepositoryDescription struct {
RepoDescription
Organization string
Slug string
Permission githubv4.RepositoryPermission
}
type TrafficViewDailyDescription ¶
type TrafficViewDailyDescription struct {
*github.TrafficData
RepositoryFullName string
}
type TrafficViewWeeklyDescription ¶
type TrafficViewWeeklyDescription struct {
*github.TrafficData
RepositoryFullName string
}
type TreeDescription ¶
type UserDescription ¶
type UserDescription struct {
steampipemodels.User
RepositoriesTotalDiskUsage int
FollowersTotalCount int
FollowingTotalCount int
PublicRepositoriesTotalCount int
PrivateRepositoriesTotalCount int
PublicGistsTotalCount int
IssuesTotalCount int
OrganizationsTotalCount int
PublicKeysTotalCount int
OpenPullRequestsTotalCount int
MergedPullRequestsTotalCount int
ClosedPullRequestsTotalCount int
PackagesTotalCount int
PinnedItemsTotalCount int
SponsoringTotalCount int
SponsorsTotalCount int
StarredRepositoriesTotalCount int
WatchingTotalCount int
}
type WorkflowDescription ¶
type WorkflowDescription struct {
ID *int64
NodeID *string
Name *string
Path *string
State *string
CreatedAt *github.Timestamp
UpdatedAt *github.Timestamp
URL *string
HTMLURL *string
BadgeURL *string
RepositoryFullName string
WorkFlowFileContent string
WorkFlowFileContentJson *github.RepositoryContent
Pipeline *goPipeline.Pipeline
}
type WorkflowRunDescription ¶
type WorkflowRunDescription struct {
ID int64
Name string
NodeID string
HeadBranch string
HeadSHA string
RunNumber int
RunAttempt int
Event string
DisplayTitle string
Status string
Conclusion string
WorkflowID int64
CheckSuiteID int64
CheckSuiteNodeID string
URL string
HTMLURL string
PullRequests []*github.PullRequest
CreatedAt github.Timestamp
UpdatedAt github.Timestamp
RunStartedAt github.Timestamp
JobsURL string
LogsURL string
CheckSuiteURL string
ArtifactsURL string
CancelURL string
RerunURL string
PreviousAttemptURL string
HeadCommit *github.HeadCommit
WorkflowURL string
Repository *github.Repository
HeadRepository *github.Repository
Actor *github.User
TriggeringActor *github.User
RepoFullName string
}
Click to show internal directories.
Click to hide internal directories.