You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: enum.go
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3075,6 +3075,36 @@ var AllRelationshipTypeEnum = []string{
3075
3075
string(RelationshipTypeEnumRelatedTo),
3076
3076
}
3077
3077
3078
+
// RepositorySBOMGenerationConfigEnum The enumerated list of configuration values for SBOM generation at the repository level
3079
+
typeRepositorySBOMGenerationConfigEnumstring
3080
+
3081
+
var (
3082
+
RepositorySBOMGenerationConfigEnumOptInRepositorySBOMGenerationConfigEnum="opt_in"// Indicates that the repository will opt in to automated SBOM generation if it would be otherwise enabled at an integration or account level
3083
+
RepositorySBOMGenerationConfigEnumOptOutRepositorySBOMGenerationConfigEnum="opt_out"// Indicates that the repository will opt out of automated SBOM generation if it would be otherwise enabled at an integration or account level
3084
+
)
3085
+
3086
+
// All RepositorySBOMGenerationConfigEnum as []string
RepositorySBOMGenerationDisabledReasonEnumAccountRepositorySBOMGenerationDisabledReasonEnum="account"// SBOM autogeneration is disabled at the account level
3097
+
RepositorySBOMGenerationDisabledReasonEnumIntegrationRepositorySBOMGenerationDisabledReasonEnum="integration"// SBOM autogeneration is disabled at the integration level
3098
+
RepositorySBOMGenerationDisabledReasonEnumRepositoryRepositorySBOMGenerationDisabledReasonEnum="repository"// SBOM autogeneration is disabled at the repository level
3099
+
)
3100
+
3101
+
// All RepositorySBOMGenerationDisabledReasonEnum as []string
Copy file name to clipboardExpand all lines: input.go
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1011,9 +1011,10 @@ type RelationshipDefinitionMetadataInput struct {
1011
1011
1012
1012
// RepositoryUpdateInput Specifies the input fields used to update a repository
1013
1013
typeRepositoryUpdateInputstruct {
1014
-
IdID`json:"id" yaml:"id" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The id of the repository to be updated (Required)
1015
-
OwnerId*Nullable[ID] `json:"ownerId,omitempty" yaml:"ownerId,omitempty" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The team that owns the repository (Optional)
1016
-
Visible*Nullable[bool] `json:"visible,omitempty" yaml:"visible,omitempty" example:"false"`// Indicates if the repository is visible (Optional)
1014
+
IdID`json:"id" yaml:"id" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The id of the repository to be updated (Required)
1015
+
OwnerId*Nullable[ID] `json:"ownerId,omitempty" yaml:"ownerId,omitempty" example:"Z2lkOi8vc2VydmljZS8xMjM0NTY3ODk"`// The team that owns the repository (Optional)
1016
+
SbomGeneration*RepositorySBOMGenerationConfigEnum`json:"sbomGeneration,omitempty" yaml:"sbomGeneration,omitempty" example:"opt_in"`// The desired configuration state at the repository level for SBOM generation (Optional)
1017
+
Visible*Nullable[bool] `json:"visible,omitempty" yaml:"visible,omitempty" example:"false"`// Indicates if the repository is visible (Optional)
0 commit comments