Documentation ¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetConfigSeverityEnumStringValues() []string
- func GetDetectConfigurationUpgradePolicyEnumStringValues() []string
- func GetExternalScmConfigurationExternalScmTypeEnumStringValues() []string
- func GetGetStageStageTypeEnumStringValues() []string
- func GetKnowledgeBaseLifecycleStateEnumStringValues() []string
- func GetListApplicationDependencyRecommendationsSortByEnumStringValues() []string
- func GetListApplicationDependencyRecommendationsSortOrderEnumStringValues() []string
- func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumStringValues() []string
- func GetListApplicationDependencyVulnerabilitiesSortByEnumStringValues() []string
- func GetListApplicationDependencyVulnerabilitiesSortOrderEnumStringValues() []string
- func GetListKnowledgeBasesSortByEnumStringValues() []string
- func GetListKnowledgeBasesSortOrderEnumStringValues() []string
- func GetListRemediationRecipesSortByEnumStringValues() []string
- func GetListRemediationRecipesSortOrderEnumStringValues() []string
- func GetListRemediationRunsSortByEnumStringValues() []string
- func GetListRemediationRunsSortOrderEnumStringValues() []string
- func GetListStagesSortByEnumStringValues() []string
- func GetListStagesSortOrderEnumStringValues() []string
- func GetListStagesTypeEnumStringValues() []string
- func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumStringValues() []string
- func GetListVulnerabilityAuditsSortByEnumStringValues() []string
- func GetListVulnerabilityAuditsSortOrderEnumStringValues() []string
- func GetListWorkRequestErrorsSortByEnumStringValues() []string
- func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListWorkRequestLogsSortByEnumStringValues() []string
- func GetListWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetOperationStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetRemediationRecipeLifecycleStateEnumStringValues() []string
- func GetRemediationRunLifecycleStateEnumStringValues() []string
- func GetRemediationRunRemediationRunSourceEnumStringValues() []string
- func GetRemediationRunStageStatusEnumStringValues() []string
- func GetRemediationRunStageTypeEnumStringValues() []string
- func GetScmConfigurationScmTypeEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetVerifyConfigurationBuildServiceTypeEnumStringValues() []string
- func GetVulnerabilityAuditBuildTypeEnumStringValues() []string
- func GetVulnerabilityAuditLifecycleDetailsEnumStringValues() []string
- func GetVulnerabilityAuditLifecycleStateEnumStringValues() []string
- func GetVulnerabilityAuditSourceTypeEnumStringValues() []string
- func GetVulnerabilitySeverityEnumStringValues() []string
- func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
- type ActionTypeEnum
- type ActivateRemediationRecipeRequest
- func (request ActivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ActivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ActivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
- func (request ActivateRemediationRecipeRequest) String() string
- func (request ActivateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
- type ActivateRemediationRecipeResponse
- type ApplicationDependency
- type ApplicationDependencyManagementClient
- func NewApplicationDependencyManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplicationDependencyManagementClient, err error)
- func NewApplicationDependencyManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplicationDependencyManagementClient, err error)
- func (client ApplicationDependencyManagementClient) ActivateRemediationRecipe(ctx context.Context, request ActivateRemediationRecipeRequest) (response ActivateRemediationRecipeResponse, err error)
- func (client ApplicationDependencyManagementClient) CancelRemediationRun(ctx context.Context, request CancelRemediationRunRequest) (response CancelRemediationRunResponse, err error)
- func (client ApplicationDependencyManagementClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
- func (client ApplicationDependencyManagementClient) ChangeKnowledgeBaseCompartment(ctx context.Context, request ChangeKnowledgeBaseCompartmentRequest) (response ChangeKnowledgeBaseCompartmentResponse, err error)
- func (client ApplicationDependencyManagementClient) ChangeRemediationRecipeCompartment(ctx context.Context, request ChangeRemediationRecipeCompartmentRequest) (response ChangeRemediationRecipeCompartmentResponse, err error)
- func (client ApplicationDependencyManagementClient) ChangeRemediationRunCompartment(ctx context.Context, request ChangeRemediationRunCompartmentRequest) (response ChangeRemediationRunCompartmentResponse, err error)
- func (client ApplicationDependencyManagementClient) ChangeVulnerabilityAuditCompartment(ctx context.Context, request ChangeVulnerabilityAuditCompartmentRequest) (response ChangeVulnerabilityAuditCompartmentResponse, err error)
- func (client *ApplicationDependencyManagementClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client ApplicationDependencyManagementClient) CreateKnowledgeBase(ctx context.Context, request CreateKnowledgeBaseRequest) (response CreateKnowledgeBaseResponse, err error)
- func (client ApplicationDependencyManagementClient) CreateRemediationRecipe(ctx context.Context, request CreateRemediationRecipeRequest) (response CreateRemediationRecipeResponse, err error)
- func (client ApplicationDependencyManagementClient) CreateRemediationRun(ctx context.Context, request CreateRemediationRunRequest) (response CreateRemediationRunResponse, err error)
- func (client ApplicationDependencyManagementClient) CreateVulnerabilityAudit(ctx context.Context, request CreateVulnerabilityAuditRequest) (response CreateVulnerabilityAuditResponse, err error)
- func (client ApplicationDependencyManagementClient) DeactivateRemediationRecipe(ctx context.Context, request DeactivateRemediationRecipeRequest) (response DeactivateRemediationRecipeResponse, err error)
- func (client ApplicationDependencyManagementClient) DeleteKnowledgeBase(ctx context.Context, request DeleteKnowledgeBaseRequest) (response DeleteKnowledgeBaseResponse, err error)
- func (client ApplicationDependencyManagementClient) DeleteRemediationRecipe(ctx context.Context, request DeleteRemediationRecipeRequest) (response DeleteRemediationRecipeResponse, err error)
- func (client ApplicationDependencyManagementClient) DeleteRemediationRun(ctx context.Context, request DeleteRemediationRunRequest) (response DeleteRemediationRunResponse, err error)
- func (client ApplicationDependencyManagementClient) DeleteVulnerabilityAudit(ctx context.Context, request DeleteVulnerabilityAuditRequest) (response DeleteVulnerabilityAuditResponse, err error)
- func (client ApplicationDependencyManagementClient) GetKnowledgeBase(ctx context.Context, request GetKnowledgeBaseRequest) (response GetKnowledgeBaseResponse, err error)
- func (client ApplicationDependencyManagementClient) GetRemediationRecipe(ctx context.Context, request GetRemediationRecipeRequest) (response GetRemediationRecipeResponse, err error)
- func (client ApplicationDependencyManagementClient) GetRemediationRun(ctx context.Context, request GetRemediationRunRequest) (response GetRemediationRunResponse, err error)
- func (client ApplicationDependencyManagementClient) GetStage(ctx context.Context, request GetStageRequest) (response GetStageResponse, err error)
- func (client ApplicationDependencyManagementClient) GetVulnerabilityAudit(ctx context.Context, request GetVulnerabilityAuditRequest) (response GetVulnerabilityAuditResponse, err error)
- func (client ApplicationDependencyManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client ApplicationDependencyManagementClient) ListApplicationDependencyRecommendations(ctx context.Context, request ListApplicationDependencyRecommendationsRequest) (response ListApplicationDependencyRecommendationsResponse, err error)
- func (client ApplicationDependencyManagementClient) ListApplicationDependencyVulnerabilities(ctx context.Context, request ListApplicationDependencyVulnerabilitiesRequest) (response ListApplicationDependencyVulnerabilitiesResponse, err error)
- func (client ApplicationDependencyManagementClient) ListKnowledgeBases(ctx context.Context, request ListKnowledgeBasesRequest) (response ListKnowledgeBasesResponse, err error)
- func (client ApplicationDependencyManagementClient) ListRemediationRecipes(ctx context.Context, request ListRemediationRecipesRequest) (response ListRemediationRecipesResponse, err error)
- func (client ApplicationDependencyManagementClient) ListRemediationRuns(ctx context.Context, request ListRemediationRunsRequest) (response ListRemediationRunsResponse, err error)
- func (client ApplicationDependencyManagementClient) ListStages(ctx context.Context, request ListStagesRequest) (response ListStagesResponse, err error)
- func (client ApplicationDependencyManagementClient) ListVulnerabilityAudits(ctx context.Context, request ListVulnerabilityAuditsRequest) (response ListVulnerabilityAuditsResponse, err error)
- func (client ApplicationDependencyManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client ApplicationDependencyManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client ApplicationDependencyManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *ApplicationDependencyManagementClient) SetRegion(region string)
- func (client ApplicationDependencyManagementClient) UpdateKnowledgeBase(ctx context.Context, request UpdateKnowledgeBaseRequest) (response UpdateKnowledgeBaseResponse, err error)
- func (client ApplicationDependencyManagementClient) UpdateRemediationRecipe(ctx context.Context, request UpdateRemediationRecipeRequest) (response UpdateRemediationRecipeResponse, err error)
- func (client ApplicationDependencyManagementClient) UpdateRemediationRun(ctx context.Context, request UpdateRemediationRunRequest) (response UpdateRemediationRunResponse, err error)
- func (client ApplicationDependencyManagementClient) UpdateVulnerabilityAudit(ctx context.Context, request UpdateVulnerabilityAuditRequest) (response UpdateVulnerabilityAuditResponse, err error)
- type ApplicationDependencyRecommendationCollection
- type ApplicationDependencyRecommendationSummary
- type ApplicationDependencyVulnerabilityCollection
- type ApplicationDependencyVulnerabilitySummary
- type ApplyStage
- func (m ApplyStage) GetNextStageType() RemediationRunStageTypeEnum
- func (m ApplyStage) GetPreviousStageType() RemediationRunStageTypeEnum
- func (m ApplyStage) GetRemediationRunId() *string
- func (m ApplyStage) GetStatus() RemediationRunStageStatusEnum
- func (m ApplyStage) GetSummary() *string
- func (m ApplyStage) GetTimeCreated() *common.SDKTime
- func (m ApplyStage) GetTimeFinished() *common.SDKTime
- func (m ApplyStage) GetTimeStarted() *common.SDKTime
- func (m ApplyStage) MarshalJSON() (buff []byte, e error)
- func (m ApplyStage) String() string
- func (m ApplyStage) ValidateEnumValue() (bool, error)
- type CancelRemediationRunRequest
- func (request CancelRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelRemediationRunRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelRemediationRunRequest) String() string
- func (request CancelRemediationRunRequest) ValidateEnumValue() (bool, error)
- type CancelRemediationRunResponse
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type ChangeKnowledgeBaseCompartmentDetails
- type ChangeKnowledgeBaseCompartmentRequest
- func (request ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeKnowledgeBaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeKnowledgeBaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeKnowledgeBaseCompartmentRequest) String() string
- func (request ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeKnowledgeBaseCompartmentResponse
- type ChangeRemediationRecipeCompartmentDetails
- type ChangeRemediationRecipeCompartmentRequest
- func (request ChangeRemediationRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeRemediationRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeRemediationRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeRemediationRecipeCompartmentRequest) String() string
- func (request ChangeRemediationRecipeCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeRemediationRecipeCompartmentResponse
- type ChangeRemediationRunCompartmentDetails
- type ChangeRemediationRunCompartmentRequest
- func (request ChangeRemediationRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeRemediationRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeRemediationRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeRemediationRunCompartmentRequest) String() string
- func (request ChangeRemediationRunCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeRemediationRunCompartmentResponse
- type ChangeVulnerabilityAuditCompartmentDetails
- type ChangeVulnerabilityAuditCompartmentRequest
- func (request ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeVulnerabilityAuditCompartmentRequest) String() string
- func (request ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeVulnerabilityAuditCompartmentResponse
- type ConfigSeverityEnum
- type CreateKnowledgeBaseDetails
- type CreateKnowledgeBaseRequest
- func (request CreateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateKnowledgeBaseRequest) String() string
- func (request CreateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type CreateKnowledgeBaseResponse
- type CreateRemediationRecipeDetails
- type CreateRemediationRecipeRequest
- func (request CreateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateRemediationRecipeRequest) String() string
- func (request CreateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
- type CreateRemediationRecipeResponse
- type CreateRemediationRunDetails
- type CreateRemediationRunRequest
- func (request CreateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateRemediationRunRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateRemediationRunRequest) String() string
- func (request CreateRemediationRunRequest) ValidateEnumValue() (bool, error)
- type CreateRemediationRunResponse
- type CreateVulnerabilityAuditDetails
- type CreateVulnerabilityAuditRequest
- func (request CreateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateVulnerabilityAuditRequest) String() string
- func (request CreateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type CreateVulnerabilityAuditResponse
- type DeactivateRemediationRecipeRequest
- func (request DeactivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeactivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeactivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
- func (request DeactivateRemediationRecipeRequest) String() string
- func (request DeactivateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
- type DeactivateRemediationRecipeResponse
- type DeleteKnowledgeBaseRequest
- func (request DeleteKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteKnowledgeBaseRequest) String() string
- func (request DeleteKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type DeleteKnowledgeBaseResponse
- type DeleteRemediationRecipeRequest
- func (request DeleteRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteRemediationRecipeRequest) String() string
- func (request DeleteRemediationRecipeRequest) ValidateEnumValue() (bool, error)
- type DeleteRemediationRecipeResponse
- type DeleteRemediationRunRequest
- func (request DeleteRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteRemediationRunRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteRemediationRunRequest) String() string
- func (request DeleteRemediationRunRequest) ValidateEnumValue() (bool, error)
- type DeleteRemediationRunResponse
- type DeleteVulnerabilityAuditRequest
- func (request DeleteVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteVulnerabilityAuditRequest) String() string
- func (request DeleteVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type DeleteVulnerabilityAuditResponse
- type DetectConfiguration
- type DetectConfigurationUpgradePolicyEnum
- type DetectStage
- func (m DetectStage) GetNextStageType() RemediationRunStageTypeEnum
- func (m DetectStage) GetPreviousStageType() RemediationRunStageTypeEnum
- func (m DetectStage) GetRemediationRunId() *string
- func (m DetectStage) GetStatus() RemediationRunStageStatusEnum
- func (m DetectStage) GetSummary() *string
- func (m DetectStage) GetTimeCreated() *common.SDKTime
- func (m DetectStage) GetTimeFinished() *common.SDKTime
- func (m DetectStage) GetTimeStarted() *common.SDKTime
- func (m DetectStage) MarshalJSON() (buff []byte, e error)
- func (m DetectStage) String() string
- func (m DetectStage) ValidateEnumValue() (bool, error)
- type ExternalResourceVulnerabilityAuditSource
- type ExternalScmConfiguration
- func (m ExternalScmConfiguration) GetBranch() *string
- func (m ExternalScmConfiguration) GetBuildFileLocation() *string
- func (m ExternalScmConfiguration) GetIsAutomergeEnabled() *bool
- func (m ExternalScmConfiguration) MarshalJSON() (buff []byte, e error)
- func (m ExternalScmConfiguration) String() string
- func (m ExternalScmConfiguration) ValidateEnumValue() (bool, error)
- type ExternalScmConfigurationExternalScmTypeEnum
- type GetKnowledgeBaseRequest
- func (request GetKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request GetKnowledgeBaseRequest) String() string
- func (request GetKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type GetKnowledgeBaseResponse
- type GetRemediationRecipeRequest
- func (request GetRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
- func (request GetRemediationRecipeRequest) String() string
- func (request GetRemediationRecipeRequest) ValidateEnumValue() (bool, error)
- type GetRemediationRecipeResponse
- type GetRemediationRunRequest
- func (request GetRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetRemediationRunRequest) RetryPolicy() *common.RetryPolicy
- func (request GetRemediationRunRequest) String() string
- func (request GetRemediationRunRequest) ValidateEnumValue() (bool, error)
- type GetRemediationRunResponse
- type GetStageRequest
- func (request GetStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetStageRequest) RetryPolicy() *common.RetryPolicy
- func (request GetStageRequest) String() string
- func (request GetStageRequest) ValidateEnumValue() (bool, error)
- type GetStageResponse
- type GetStageStageTypeEnum
- type GetVulnerabilityAuditRequest
- func (request GetVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request GetVulnerabilityAuditRequest) String() string
- func (request GetVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type GetVulnerabilityAuditResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type GitHubActionsConfiguration
- type GitLabPipelineConfiguration
- type JenkinsPipelineConfiguration
- type KnowledgeBase
- type KnowledgeBaseCollection
- type KnowledgeBaseLifecycleStateEnum
- type KnowledgeBaseSummary
- type ListApplicationDependencyRecommendationsRequest
- func (request ListApplicationDependencyRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListApplicationDependencyRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListApplicationDependencyRecommendationsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListApplicationDependencyRecommendationsRequest) String() string
- func (request ListApplicationDependencyRecommendationsRequest) ValidateEnumValue() (bool, error)
- type ListApplicationDependencyRecommendationsResponse
- type ListApplicationDependencyRecommendationsSortByEnum
- type ListApplicationDependencyRecommendationsSortOrderEnum
- type ListApplicationDependencyVulnerabilitiesRequest
- func (request ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListApplicationDependencyVulnerabilitiesRequest) String() string
- func (request ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue() (bool, error)
- type ListApplicationDependencyVulnerabilitiesResponse
- type ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
- func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues() []ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
- func GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum(val string) (ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum, bool)
- type ListApplicationDependencyVulnerabilitiesSortByEnum
- type ListApplicationDependencyVulnerabilitiesSortOrderEnum
- type ListKnowledgeBasesRequest
- func (request ListKnowledgeBasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListKnowledgeBasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListKnowledgeBasesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListKnowledgeBasesRequest) String() string
- func (request ListKnowledgeBasesRequest) ValidateEnumValue() (bool, error)
- type ListKnowledgeBasesResponse
- type ListKnowledgeBasesSortByEnum
- type ListKnowledgeBasesSortOrderEnum
- type ListRemediationRecipesRequest
- func (request ListRemediationRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListRemediationRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListRemediationRecipesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListRemediationRecipesRequest) String() string
- func (request ListRemediationRecipesRequest) ValidateEnumValue() (bool, error)
- type ListRemediationRecipesResponse
- type ListRemediationRecipesSortByEnum
- type ListRemediationRecipesSortOrderEnum
- type ListRemediationRunsRequest
- func (request ListRemediationRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListRemediationRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListRemediationRunsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListRemediationRunsRequest) String() string
- func (request ListRemediationRunsRequest) ValidateEnumValue() (bool, error)
- type ListRemediationRunsResponse
- type ListRemediationRunsSortByEnum
- type ListRemediationRunsSortOrderEnum
- type ListStagesRequest
- func (request ListStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListStagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListStagesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListStagesRequest) String() string
- func (request ListStagesRequest) ValidateEnumValue() (bool, error)
- type ListStagesResponse
- type ListStagesSortByEnum
- type ListStagesSortOrderEnum
- type ListStagesTypeEnum
- type ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum
- func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues() []ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum
- func GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum(val string) (ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum, bool)
- type ListVulnerabilityAuditsRequest
- func (request ListVulnerabilityAuditsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListVulnerabilityAuditsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListVulnerabilityAuditsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListVulnerabilityAuditsRequest) String() string
- func (request ListVulnerabilityAuditsRequest) ValidateEnumValue() (bool, error)
- type ListVulnerabilityAuditsResponse
- type ListVulnerabilityAuditsSortByEnum
- type ListVulnerabilityAuditsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type NetworkConfiguration
- type NoneVerifyConfiguration
- type OciCodeRepositoryConfiguration
- func (m OciCodeRepositoryConfiguration) GetBranch() *string
- func (m OciCodeRepositoryConfiguration) GetBuildFileLocation() *string
- func (m OciCodeRepositoryConfiguration) GetIsAutomergeEnabled() *bool
- func (m OciCodeRepositoryConfiguration) MarshalJSON() (buff []byte, e error)
- func (m OciCodeRepositoryConfiguration) String() string
- func (m OciCodeRepositoryConfiguration) ValidateEnumValue() (bool, error)
- type OciDevOpsBuildConfiguration
- type OciResourceVulnerabilityAuditSource
- type OperationStatusEnum
- type OperationTypeEnum
- type PipelineProperties
- type PullRequestProperties
- type RecommendStage
- func (m RecommendStage) GetNextStageType() RemediationRunStageTypeEnum
- func (m RecommendStage) GetPreviousStageType() RemediationRunStageTypeEnum
- func (m RecommendStage) GetRemediationRunId() *string
- func (m RecommendStage) GetStatus() RemediationRunStageStatusEnum
- func (m RecommendStage) GetSummary() *string
- func (m RecommendStage) GetTimeCreated() *common.SDKTime
- func (m RecommendStage) GetTimeFinished() *common.SDKTime
- func (m RecommendStage) GetTimeStarted() *common.SDKTime
- func (m RecommendStage) MarshalJSON() (buff []byte, e error)
- func (m RecommendStage) String() string
- func (m RecommendStage) ValidateEnumValue() (bool, error)
- type RemediationRecipe
- type RemediationRecipeCollection
- type RemediationRecipeLifecycleStateEnum
- type RemediationRecipeSummary
- type RemediationRun
- type RemediationRunCollection
- type RemediationRunLifecycleStateEnum
- type RemediationRunRemediationRunSourceEnum
- type RemediationRunStage
- type RemediationRunStageCollection
- type RemediationRunStageStatusEnum
- type RemediationRunStageSummary
- type RemediationRunStageTypeEnum
- type RemediationRunSummary
- type ScmConfiguration
- type ScmConfigurationScmTypeEnum
- type SortOrderEnum
- type StageSummary
- type UnknownSourceVulnerabilityAuditSource
- type UpdateKnowledgeBaseDetails
- type UpdateKnowledgeBaseRequest
- func (request UpdateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateKnowledgeBaseRequest) String() string
- func (request UpdateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type UpdateKnowledgeBaseResponse
- type UpdateRemediationRecipeDetails
- type UpdateRemediationRecipeRequest
- func (request UpdateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateRemediationRecipeRequest) String() string
- func (request UpdateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
- type UpdateRemediationRecipeResponse
- type UpdateRemediationRunDetails
- type UpdateRemediationRunRequest
- func (request UpdateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateRemediationRunRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateRemediationRunRequest) String() string
- func (request UpdateRemediationRunRequest) ValidateEnumValue() (bool, error)
- type UpdateRemediationRunResponse
- type UpdateVulnerabilityAuditDetails
- type UpdateVulnerabilityAuditRequest
- func (request UpdateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateVulnerabilityAuditRequest) String() string
- func (request UpdateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type UpdateVulnerabilityAuditResponse
- type UsageDataDetails
- type UsageDataViaObjectStorageTupleDetails
- type VerifyConfiguration
- type VerifyConfigurationBuildServiceTypeEnum
- type VerifyStage
- func (m VerifyStage) GetNextStageType() RemediationRunStageTypeEnum
- func (m VerifyStage) GetPreviousStageType() RemediationRunStageTypeEnum
- func (m VerifyStage) GetRemediationRunId() *string
- func (m VerifyStage) GetStatus() RemediationRunStageStatusEnum
- func (m VerifyStage) GetSummary() *string
- func (m VerifyStage) GetTimeCreated() *common.SDKTime
- func (m VerifyStage) GetTimeFinished() *common.SDKTime
- func (m VerifyStage) GetTimeStarted() *common.SDKTime
- func (m VerifyStage) MarshalJSON() (buff []byte, e error)
- func (m VerifyStage) String() string
- func (m VerifyStage) ValidateEnumValue() (bool, error)
- type Vulnerability
- type VulnerabilityAudit
- type VulnerabilityAuditBuildTypeEnum
- type VulnerabilityAuditCollection
- type VulnerabilityAuditConfiguration
- type VulnerabilityAuditLifecycleDetailsEnum
- type VulnerabilityAuditLifecycleStateEnum
- type VulnerabilityAuditSource
- type VulnerabilityAuditSourceTypeEnum
- type VulnerabilityAuditSummary
- type VulnerabilitySeverityEnum
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetConfigSeverityEnumStringValues ¶ added in v65.56.0
func GetConfigSeverityEnumStringValues() []string
GetConfigSeverityEnumStringValues Enumerates the set of values in String for ConfigSeverityEnum
func GetDetectConfigurationUpgradePolicyEnumStringValues ¶ added in v65.51.0
func GetDetectConfigurationUpgradePolicyEnumStringValues() []string
GetDetectConfigurationUpgradePolicyEnumStringValues Enumerates the set of values in String for DetectConfigurationUpgradePolicyEnum
func GetExternalScmConfigurationExternalScmTypeEnumStringValues ¶ added in v65.51.0
func GetExternalScmConfigurationExternalScmTypeEnumStringValues() []string
GetExternalScmConfigurationExternalScmTypeEnumStringValues Enumerates the set of values in String for ExternalScmConfigurationExternalScmTypeEnum
func GetGetStageStageTypeEnumStringValues ¶ added in v65.51.0
func GetGetStageStageTypeEnumStringValues() []string
GetGetStageStageTypeEnumStringValues Enumerates the set of values in String for GetStageStageTypeEnum
func GetKnowledgeBaseLifecycleStateEnumStringValues ¶
func GetKnowledgeBaseLifecycleStateEnumStringValues() []string
GetKnowledgeBaseLifecycleStateEnumStringValues Enumerates the set of values in String for KnowledgeBaseLifecycleStateEnum
func GetListApplicationDependencyRecommendationsSortByEnumStringValues ¶ added in v65.51.0
func GetListApplicationDependencyRecommendationsSortByEnumStringValues() []string
GetListApplicationDependencyRecommendationsSortByEnumStringValues Enumerates the set of values in String for ListApplicationDependencyRecommendationsSortByEnum
func GetListApplicationDependencyRecommendationsSortOrderEnumStringValues ¶ added in v65.51.0
func GetListApplicationDependencyRecommendationsSortOrderEnumStringValues() []string
GetListApplicationDependencyRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for ListApplicationDependencyRecommendationsSortOrderEnum
func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumStringValues ¶ added in v65.56.0
func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumStringValues() []string
GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumStringValues Enumerates the set of values in String for ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
func GetListApplicationDependencyVulnerabilitiesSortByEnumStringValues ¶
func GetListApplicationDependencyVulnerabilitiesSortByEnumStringValues() []string
GetListApplicationDependencyVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListApplicationDependencyVulnerabilitiesSortByEnum
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumStringValues ¶
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumStringValues() []string
GetListApplicationDependencyVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListApplicationDependencyVulnerabilitiesSortOrderEnum
func GetListKnowledgeBasesSortByEnumStringValues ¶
func GetListKnowledgeBasesSortByEnumStringValues() []string
GetListKnowledgeBasesSortByEnumStringValues Enumerates the set of values in String for ListKnowledgeBasesSortByEnum
func GetListKnowledgeBasesSortOrderEnumStringValues ¶
func GetListKnowledgeBasesSortOrderEnumStringValues() []string
GetListKnowledgeBasesSortOrderEnumStringValues Enumerates the set of values in String for ListKnowledgeBasesSortOrderEnum
func GetListRemediationRecipesSortByEnumStringValues ¶ added in v65.51.0
func GetListRemediationRecipesSortByEnumStringValues() []string
GetListRemediationRecipesSortByEnumStringValues Enumerates the set of values in String for ListRemediationRecipesSortByEnum
func GetListRemediationRecipesSortOrderEnumStringValues ¶ added in v65.51.0
func GetListRemediationRecipesSortOrderEnumStringValues() []string
GetListRemediationRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListRemediationRecipesSortOrderEnum
func GetListRemediationRunsSortByEnumStringValues ¶ added in v65.51.0
func GetListRemediationRunsSortByEnumStringValues() []string
GetListRemediationRunsSortByEnumStringValues Enumerates the set of values in String for ListRemediationRunsSortByEnum
func GetListRemediationRunsSortOrderEnumStringValues ¶ added in v65.51.0
func GetListRemediationRunsSortOrderEnumStringValues() []string
GetListRemediationRunsSortOrderEnumStringValues Enumerates the set of values in String for ListRemediationRunsSortOrderEnum
func GetListStagesSortByEnumStringValues ¶ added in v65.51.0
func GetListStagesSortByEnumStringValues() []string
GetListStagesSortByEnumStringValues Enumerates the set of values in String for ListStagesSortByEnum
func GetListStagesSortOrderEnumStringValues ¶ added in v65.51.0
func GetListStagesSortOrderEnumStringValues() []string
GetListStagesSortOrderEnumStringValues Enumerates the set of values in String for ListStagesSortOrderEnum
func GetListStagesTypeEnumStringValues ¶ added in v65.51.0
func GetListStagesTypeEnumStringValues() []string
GetListStagesTypeEnumStringValues Enumerates the set of values in String for ListStagesTypeEnum
func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumStringValues ¶ added in v65.56.0
func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumStringValues() []string
GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumStringValues Enumerates the set of values in String for ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum
func GetListVulnerabilityAuditsSortByEnumStringValues ¶
func GetListVulnerabilityAuditsSortByEnumStringValues() []string
GetListVulnerabilityAuditsSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityAuditsSortByEnum
func GetListVulnerabilityAuditsSortOrderEnumStringValues ¶
func GetListVulnerabilityAuditsSortOrderEnumStringValues() []string
GetListVulnerabilityAuditsSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityAuditsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues ¶
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues ¶
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues ¶
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetOperationStatusEnumStringValues ¶
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues ¶
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetRemediationRecipeLifecycleStateEnumStringValues ¶ added in v65.51.0
func GetRemediationRecipeLifecycleStateEnumStringValues() []string
GetRemediationRecipeLifecycleStateEnumStringValues Enumerates the set of values in String for RemediationRecipeLifecycleStateEnum
func GetRemediationRunLifecycleStateEnumStringValues ¶ added in v65.51.0
func GetRemediationRunLifecycleStateEnumStringValues() []string
GetRemediationRunLifecycleStateEnumStringValues Enumerates the set of values in String for RemediationRunLifecycleStateEnum
func GetRemediationRunRemediationRunSourceEnumStringValues ¶ added in v65.51.0
func GetRemediationRunRemediationRunSourceEnumStringValues() []string
GetRemediationRunRemediationRunSourceEnumStringValues Enumerates the set of values in String for RemediationRunRemediationRunSourceEnum
func GetRemediationRunStageStatusEnumStringValues ¶ added in v65.51.0
func GetRemediationRunStageStatusEnumStringValues() []string
GetRemediationRunStageStatusEnumStringValues Enumerates the set of values in String for RemediationRunStageStatusEnum
func GetRemediationRunStageTypeEnumStringValues ¶ added in v65.51.0
func GetRemediationRunStageTypeEnumStringValues() []string
GetRemediationRunStageTypeEnumStringValues Enumerates the set of values in String for RemediationRunStageTypeEnum
func GetScmConfigurationScmTypeEnumStringValues ¶ added in v65.51.0
func GetScmConfigurationScmTypeEnumStringValues() []string
GetScmConfigurationScmTypeEnumStringValues Enumerates the set of values in String for ScmConfigurationScmTypeEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetVerifyConfigurationBuildServiceTypeEnumStringValues ¶ added in v65.51.0
func GetVerifyConfigurationBuildServiceTypeEnumStringValues() []string
GetVerifyConfigurationBuildServiceTypeEnumStringValues Enumerates the set of values in String for VerifyConfigurationBuildServiceTypeEnum
func GetVulnerabilityAuditBuildTypeEnumStringValues ¶
func GetVulnerabilityAuditBuildTypeEnumStringValues() []string
GetVulnerabilityAuditBuildTypeEnumStringValues Enumerates the set of values in String for VulnerabilityAuditBuildTypeEnum
func GetVulnerabilityAuditLifecycleDetailsEnumStringValues ¶ added in v65.54.0
func GetVulnerabilityAuditLifecycleDetailsEnumStringValues() []string
GetVulnerabilityAuditLifecycleDetailsEnumStringValues Enumerates the set of values in String for VulnerabilityAuditLifecycleDetailsEnum
func GetVulnerabilityAuditLifecycleStateEnumStringValues ¶
func GetVulnerabilityAuditLifecycleStateEnumStringValues() []string
GetVulnerabilityAuditLifecycleStateEnumStringValues Enumerates the set of values in String for VulnerabilityAuditLifecycleStateEnum
func GetVulnerabilityAuditSourceTypeEnumStringValues ¶ added in v65.26.0
func GetVulnerabilityAuditSourceTypeEnumStringValues() []string
GetVulnerabilityAuditSourceTypeEnumStringValues Enumerates the set of values in String for VulnerabilityAuditSourceTypeEnum
func GetVulnerabilitySeverityEnumStringValues ¶ added in v65.56.0
func GetVulnerabilitySeverityEnumStringValues() []string
GetVulnerabilitySeverityEnumStringValues Enumerates the set of values in String for VulnerabilitySeverityEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues ¶
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ActivateRemediationRecipeRequest ¶ added in v65.51.0
type ActivateRemediationRecipeRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter. RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ActivateRemediationRecipeRequest wrapper for the ActivateRemediationRecipe operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ActivateRemediationRecipe.go.html to see an example of how to use ActivateRemediationRecipeRequest.
func (ActivateRemediationRecipeRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ActivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ActivateRemediationRecipeRequest) HTTPRequest ¶ added in v65.51.0
func (request ActivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateRemediationRecipeRequest) RetryPolicy ¶ added in v65.51.0
func (request ActivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateRemediationRecipeRequest) String ¶ added in v65.51.0
func (request ActivateRemediationRecipeRequest) String() string
func (ActivateRemediationRecipeRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ActivateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ActivateRemediationRecipeResponse ¶ added in v65.51.0
type ActivateRemediationRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ActivateRemediationRecipeResponse wrapper for the ActivateRemediationRecipe operation
func (ActivateRemediationRecipeResponse) HTTPResponse ¶ added in v65.51.0
func (response ActivateRemediationRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateRemediationRecipeResponse) String ¶ added in v65.51.0
func (response ActivateRemediationRecipeResponse) String() string
type ApplicationDependency ¶
type ApplicationDependency struct { // Unique identifier of an application dependency, for example nodeId1. // The nodeId can be generated by assigning a unique id to each application dependency // in the tree of application dependencies. // Every node, even those who share the same GAV, should have a different nodeId. // The preferred way of constructing a nodeId is to assign incremental integers // during a breadth first or depth first search. // A nodeId can be reused only it refers to the same subtree of application dependencies. // (This is not equivalent to referring to the same GAV, that is, // a GAV can have multiple transitive dependencies.) NodeId *string `mandatory:"true" json:"nodeId"` // Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0. // "N/A" for non-maven artifacts. Gav *string `mandatory:"false" json:"gav"` // Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0 Purl *string `mandatory:"false" json:"purl"` // List of application dependencies on which this application dependency depends, each identified by its nodeId. ApplicationDependencyNodeIds []string `mandatory:"false" json:"applicationDependencyNodeIds"` }
ApplicationDependency An application dependency resource creates a vulnerability audit.
func (ApplicationDependency) String ¶
func (m ApplicationDependency) String() string
func (ApplicationDependency) ValidateEnumValue ¶
func (m ApplicationDependency) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationDependencyManagementClient ¶
type ApplicationDependencyManagementClient struct { common.BaseClient // contains filtered or unexported fields }
ApplicationDependencyManagementClient a client for ApplicationDependencyManagement
func NewApplicationDependencyManagementClientWithConfigurationProvider ¶
func NewApplicationDependencyManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplicationDependencyManagementClient, err error)
NewApplicationDependencyManagementClientWithConfigurationProvider Creates a new default ApplicationDependencyManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewApplicationDependencyManagementClientWithOboToken ¶
func NewApplicationDependencyManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplicationDependencyManagementClient, err error)
NewApplicationDependencyManagementClientWithOboToken Creates a new default ApplicationDependencyManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (ApplicationDependencyManagementClient) ActivateRemediationRecipe ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ActivateRemediationRecipe(ctx context.Context, request ActivateRemediationRecipeRequest) (response ActivateRemediationRecipeResponse, err error)
ActivateRemediationRecipe Activates the specified Remediation Recipe.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ActivateRemediationRecipe.go.html to see an example of how to use ActivateRemediationRecipe API. A default retry strategy applies to this operation ActivateRemediationRecipe()
func (ApplicationDependencyManagementClient) CancelRemediationRun ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) CancelRemediationRun(ctx context.Context, request CancelRemediationRunRequest) (response CancelRemediationRunResponse, err error)
CancelRemediationRun Cancels the specified remediation run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CancelRemediationRun.go.html to see an example of how to use CancelRemediationRun API. A default retry strategy applies to this operation CancelRemediationRun()
func (ApplicationDependencyManagementClient) CancelWorkRequest ¶
func (client ApplicationDependencyManagementClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancel work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (ApplicationDependencyManagementClient) ChangeKnowledgeBaseCompartment ¶
func (client ApplicationDependencyManagementClient) ChangeKnowledgeBaseCompartment(ctx context.Context, request ChangeKnowledgeBaseCompartmentRequest) (response ChangeKnowledgeBaseCompartmentResponse, err error)
ChangeKnowledgeBaseCompartment Moves a Knowledge Base from one compartment to another.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeKnowledgeBaseCompartment.go.html to see an example of how to use ChangeKnowledgeBaseCompartment API. A default retry strategy applies to this operation ChangeKnowledgeBaseCompartment()
func (ApplicationDependencyManagementClient) ChangeRemediationRecipeCompartment ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ChangeRemediationRecipeCompartment(ctx context.Context, request ChangeRemediationRecipeCompartmentRequest) (response ChangeRemediationRecipeCompartmentResponse, err error)
ChangeRemediationRecipeCompartment Moves a Remediation Recipe from one compartment to another.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeRemediationRecipeCompartment.go.html to see an example of how to use ChangeRemediationRecipeCompartment API. A default retry strategy applies to this operation ChangeRemediationRecipeCompartment()
func (ApplicationDependencyManagementClient) ChangeRemediationRunCompartment ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ChangeRemediationRunCompartment(ctx context.Context, request ChangeRemediationRunCompartmentRequest) (response ChangeRemediationRunCompartmentResponse, err error)
ChangeRemediationRunCompartment Moves a remediation run from one compartment to another.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeRemediationRunCompartment.go.html to see an example of how to use ChangeRemediationRunCompartment API. A default retry strategy applies to this operation ChangeRemediationRunCompartment()
func (ApplicationDependencyManagementClient) ChangeVulnerabilityAuditCompartment ¶
func (client ApplicationDependencyManagementClient) ChangeVulnerabilityAuditCompartment(ctx context.Context, request ChangeVulnerabilityAuditCompartmentRequest) (response ChangeVulnerabilityAuditCompartmentResponse, err error)
ChangeVulnerabilityAuditCompartment Moves a Vulnerability Audit from one compartment to another.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeVulnerabilityAuditCompartment.go.html to see an example of how to use ChangeVulnerabilityAuditCompartment API. A default retry strategy applies to this operation ChangeVulnerabilityAuditCompartment()
func (*ApplicationDependencyManagementClient) ConfigurationProvider ¶
func (client *ApplicationDependencyManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ApplicationDependencyManagementClient) CreateKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) CreateKnowledgeBase(ctx context.Context, request CreateKnowledgeBaseRequest) (response CreateKnowledgeBaseResponse, err error)
CreateKnowledgeBase Creates a new Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateKnowledgeBase.go.html to see an example of how to use CreateKnowledgeBase API. A default retry strategy applies to this operation CreateKnowledgeBase()
func (ApplicationDependencyManagementClient) CreateRemediationRecipe ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) CreateRemediationRecipe(ctx context.Context, request CreateRemediationRecipeRequest) (response CreateRemediationRecipeResponse, err error)
CreateRemediationRecipe Creates a new Remediation Recipe.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateRemediationRecipe.go.html to see an example of how to use CreateRemediationRecipe API. A default retry strategy applies to this operation CreateRemediationRecipe()
func (ApplicationDependencyManagementClient) CreateRemediationRun ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) CreateRemediationRun(ctx context.Context, request CreateRemediationRunRequest) (response CreateRemediationRunResponse, err error)
CreateRemediationRun Creates a new remediation run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateRemediationRun.go.html to see an example of how to use CreateRemediationRun API. A default retry strategy applies to this operation CreateRemediationRun()
func (ApplicationDependencyManagementClient) CreateVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) CreateVulnerabilityAudit(ctx context.Context, request CreateVulnerabilityAuditRequest) (response CreateVulnerabilityAuditResponse, err error)
CreateVulnerabilityAudit Creates a new Vulnerability Audit by providing a tree of Application Dependencies.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateVulnerabilityAudit.go.html to see an example of how to use CreateVulnerabilityAudit API. A default retry strategy applies to this operation CreateVulnerabilityAudit()
func (ApplicationDependencyManagementClient) DeactivateRemediationRecipe ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) DeactivateRemediationRecipe(ctx context.Context, request DeactivateRemediationRecipeRequest) (response DeactivateRemediationRecipeResponse, err error)
DeactivateRemediationRecipe Deactivates the specified Remediation Recipe.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeactivateRemediationRecipe.go.html to see an example of how to use DeactivateRemediationRecipe API. A default retry strategy applies to this operation DeactivateRemediationRecipe()
func (ApplicationDependencyManagementClient) DeleteKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) DeleteKnowledgeBase(ctx context.Context, request DeleteKnowledgeBaseRequest) (response DeleteKnowledgeBaseResponse, err error)
DeleteKnowledgeBase Deletes the specified Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteKnowledgeBase.go.html to see an example of how to use DeleteKnowledgeBase API. A default retry strategy applies to this operation DeleteKnowledgeBase()
func (ApplicationDependencyManagementClient) DeleteRemediationRecipe ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) DeleteRemediationRecipe(ctx context.Context, request DeleteRemediationRecipeRequest) (response DeleteRemediationRecipeResponse, err error)
DeleteRemediationRecipe Deletes the specified Remediation Recipe.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteRemediationRecipe.go.html to see an example of how to use DeleteRemediationRecipe API. A default retry strategy applies to this operation DeleteRemediationRecipe()
func (ApplicationDependencyManagementClient) DeleteRemediationRun ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) DeleteRemediationRun(ctx context.Context, request DeleteRemediationRunRequest) (response DeleteRemediationRunResponse, err error)
DeleteRemediationRun Deletes the specified remediation run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteRemediationRun.go.html to see an example of how to use DeleteRemediationRun API. A default retry strategy applies to this operation DeleteRemediationRun()
func (ApplicationDependencyManagementClient) DeleteVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) DeleteVulnerabilityAudit(ctx context.Context, request DeleteVulnerabilityAuditRequest) (response DeleteVulnerabilityAuditResponse, err error)
DeleteVulnerabilityAudit Deletes the specified Vulnerability Audit.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteVulnerabilityAudit.go.html to see an example of how to use DeleteVulnerabilityAudit API. A default retry strategy applies to this operation DeleteVulnerabilityAudit()
func (ApplicationDependencyManagementClient) GetKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) GetKnowledgeBase(ctx context.Context, request GetKnowledgeBaseRequest) (response GetKnowledgeBaseResponse, err error)
GetKnowledgeBase Returns the details of the specified Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetKnowledgeBase.go.html to see an example of how to use GetKnowledgeBase API. A default retry strategy applies to this operation GetKnowledgeBase()
func (ApplicationDependencyManagementClient) GetRemediationRecipe ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) GetRemediationRecipe(ctx context.Context, request GetRemediationRecipeRequest) (response GetRemediationRecipeResponse, err error)
GetRemediationRecipe Returns the details of the specified RemediationRecipe.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetRemediationRecipe.go.html to see an example of how to use GetRemediationRecipe API. A default retry strategy applies to this operation GetRemediationRecipe()
func (ApplicationDependencyManagementClient) GetRemediationRun ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) GetRemediationRun(ctx context.Context, request GetRemediationRunRequest) (response GetRemediationRunResponse, err error)
GetRemediationRun Returns the details of the specified remediation run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetRemediationRun.go.html to see an example of how to use GetRemediationRun API. A default retry strategy applies to this operation GetRemediationRun()
func (ApplicationDependencyManagementClient) GetStage ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) GetStage(ctx context.Context, request GetStageRequest) (response GetStageResponse, err error)
GetStage Returns the details of the specified Remediation Run Stage.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetStage.go.html to see an example of how to use GetStage API. A default retry strategy applies to this operation GetStage()
func (ApplicationDependencyManagementClient) GetVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) GetVulnerabilityAudit(ctx context.Context, request GetVulnerabilityAuditRequest) (response GetVulnerabilityAuditResponse, err error)
GetVulnerabilityAudit Returns the details of the specified Vulnerability Audit.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetVulnerabilityAudit.go.html to see an example of how to use GetVulnerabilityAudit API. A default retry strategy applies to this operation GetVulnerabilityAudit()
func (ApplicationDependencyManagementClient) GetWorkRequest ¶
func (client ApplicationDependencyManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (ApplicationDependencyManagementClient) ListApplicationDependencyRecommendations ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ListApplicationDependencyRecommendations(ctx context.Context, request ListApplicationDependencyRecommendationsRequest) (response ListApplicationDependencyRecommendationsResponse, err error)
ListApplicationDependencyRecommendations Returns a list of application dependency with their associated recommendations.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListApplicationDependencyRecommendations.go.html to see an example of how to use ListApplicationDependencyRecommendations API. A default retry strategy applies to this operation ListApplicationDependencyRecommendations()
func (ApplicationDependencyManagementClient) ListApplicationDependencyVulnerabilities ¶
func (client ApplicationDependencyManagementClient) ListApplicationDependencyVulnerabilities(ctx context.Context, request ListApplicationDependencyVulnerabilitiesRequest) (response ListApplicationDependencyVulnerabilitiesResponse, err error)
ListApplicationDependencyVulnerabilities Returns a list of Application Dependencies with their associated vulnerabilities.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListApplicationDependencyVulnerabilities.go.html to see an example of how to use ListApplicationDependencyVulnerabilities API. A default retry strategy applies to this operation ListApplicationDependencyVulnerabilities()
func (ApplicationDependencyManagementClient) ListKnowledgeBases ¶
func (client ApplicationDependencyManagementClient) ListKnowledgeBases(ctx context.Context, request ListKnowledgeBasesRequest) (response ListKnowledgeBasesResponse, err error)
ListKnowledgeBases Returns a list of KnowledgeBases based on the specified query parameters. At least id or compartmentId query parameter must be provided.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListKnowledgeBases.go.html to see an example of how to use ListKnowledgeBases API. A default retry strategy applies to this operation ListKnowledgeBases()
func (ApplicationDependencyManagementClient) ListRemediationRecipes ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ListRemediationRecipes(ctx context.Context, request ListRemediationRecipesRequest) (response ListRemediationRecipesResponse, err error)
ListRemediationRecipes Returns a list of Remediation Recipes based on the specified query parameters. The query parameters `compartmentId` or `id` must be provided.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListRemediationRecipes.go.html to see an example of how to use ListRemediationRecipes API. A default retry strategy applies to this operation ListRemediationRecipes()
func (ApplicationDependencyManagementClient) ListRemediationRuns ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ListRemediationRuns(ctx context.Context, request ListRemediationRunsRequest) (response ListRemediationRunsResponse, err error)
ListRemediationRuns Returns a list of remediation runs contained by a compartment. The query parameter `compartmentId` is required unless the query parameter `id` is specified.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListRemediationRuns.go.html to see an example of how to use ListRemediationRuns API. A default retry strategy applies to this operation ListRemediationRuns()
func (ApplicationDependencyManagementClient) ListStages ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) ListStages(ctx context.Context, request ListStagesRequest) (response ListStagesResponse, err error)
ListStages Returns a list of Remediation Run Stages based on the specified query parameters and Remediation Run identifier.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListStages.go.html to see an example of how to use ListStages API. A default retry strategy applies to this operation ListStages()
func (ApplicationDependencyManagementClient) ListVulnerabilityAudits ¶
func (client ApplicationDependencyManagementClient) ListVulnerabilityAudits(ctx context.Context, request ListVulnerabilityAuditsRequest) (response ListVulnerabilityAuditsResponse, err error)
ListVulnerabilityAudits Returns a list of Vulnerability Audits based on the specified query parameters. At least one of id, compartmentId query parameter must be provided.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListVulnerabilityAudits.go.html to see an example of how to use ListVulnerabilityAudits API. A default retry strategy applies to this operation ListVulnerabilityAudits()
func (ApplicationDependencyManagementClient) ListWorkRequestErrors ¶
func (client ApplicationDependencyManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (ApplicationDependencyManagementClient) ListWorkRequestLogs ¶
func (client ApplicationDependencyManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (ApplicationDependencyManagementClient) ListWorkRequests ¶
func (client ApplicationDependencyManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (*ApplicationDependencyManagementClient) SetRegion ¶
func (client *ApplicationDependencyManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (ApplicationDependencyManagementClient) UpdateKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) UpdateKnowledgeBase(ctx context.Context, request UpdateKnowledgeBaseRequest) (response UpdateKnowledgeBaseResponse, err error)
UpdateKnowledgeBase Updates one or more attributes of the specified Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateKnowledgeBase.go.html to see an example of how to use UpdateKnowledgeBase API. A default retry strategy applies to this operation UpdateKnowledgeBase()
func (ApplicationDependencyManagementClient) UpdateRemediationRecipe ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) UpdateRemediationRecipe(ctx context.Context, request UpdateRemediationRecipeRequest) (response UpdateRemediationRecipeResponse, err error)
UpdateRemediationRecipe Updates one or more attributes of the specified Remediation Recipe.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateRemediationRecipe.go.html to see an example of how to use UpdateRemediationRecipe API. A default retry strategy applies to this operation UpdateRemediationRecipe()
func (ApplicationDependencyManagementClient) UpdateRemediationRun ¶ added in v65.51.0
func (client ApplicationDependencyManagementClient) UpdateRemediationRun(ctx context.Context, request UpdateRemediationRunRequest) (response UpdateRemediationRunResponse, err error)
UpdateRemediationRun Updates by identifier one or more attributes of the specified remediation run.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateRemediationRun.go.html to see an example of how to use UpdateRemediationRun API. A default retry strategy applies to this operation UpdateRemediationRun()
func (ApplicationDependencyManagementClient) UpdateVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) UpdateVulnerabilityAudit(ctx context.Context, request UpdateVulnerabilityAuditRequest) (response UpdateVulnerabilityAuditResponse, err error)
UpdateVulnerabilityAudit Updates one or more attributes of the specified Vulnerability Audit.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateVulnerabilityAudit.go.html to see an example of how to use UpdateVulnerabilityAudit API. A default retry strategy applies to this operation UpdateVulnerabilityAudit()
type ApplicationDependencyRecommendationCollection ¶ added in v65.51.0
type ApplicationDependencyRecommendationCollection struct { // List of application recommendation summaries. Items []ApplicationDependencyRecommendationSummary `mandatory:"true" json:"items"` }
ApplicationDependencyRecommendationCollection A collection of recommended application dependency changes. Each element consists of an application dependency and its recommendation.
func (ApplicationDependencyRecommendationCollection) String ¶ added in v65.51.0
func (m ApplicationDependencyRecommendationCollection) String() string
func (ApplicationDependencyRecommendationCollection) ValidateEnumValue ¶ added in v65.51.0
func (m ApplicationDependencyRecommendationCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationDependencyRecommendationSummary ¶ added in v65.51.0
type ApplicationDependencyRecommendationSummary struct { // Unique Group Artifact Version (GAV) identifier in the format _Group:Artifact:Version_, e.g. org.graalvm.nativeimage:svm:21.1.0. Gav *string `mandatory:"true" json:"gav"` // Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1. NodeId *string `mandatory:"true" json:"nodeId"` // List of (application dependencies) node identifiers from which this node depends. ApplicationDependencyNodeIds []string `mandatory:"true" json:"applicationDependencyNodeIds"` // Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0 Purl *string `mandatory:"false" json:"purl"` // Recommended application dependency in "group:artifact:version" (GAV) format, e.g. org.graalvm.nativeimage:svm:21.2.0. RecommendedGav *string `mandatory:"false" json:"recommendedGav"` // Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0 RecommendedPurl *string `mandatory:"false" json:"recommendedPurl"` }
ApplicationDependencyRecommendationSummary An application dependency with the recommended version that does not contain any CVE. Each application dependency has a property specifying multiple node identifiers on which which this current node depends.
func (ApplicationDependencyRecommendationSummary) String ¶ added in v65.51.0
func (m ApplicationDependencyRecommendationSummary) String() string
func (ApplicationDependencyRecommendationSummary) ValidateEnumValue ¶ added in v65.51.0
func (m ApplicationDependencyRecommendationSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationDependencyVulnerabilityCollection ¶
type ApplicationDependencyVulnerabilityCollection struct { // List of vulnerability audit summaries. Items []ApplicationDependencyVulnerabilitySummary `mandatory:"true" json:"items"` }
ApplicationDependencyVulnerabilityCollection application dependencies with Vulnerabilities. This resource is defined by a list of application dependencies that are associated with eventual Vulnerabilities.
func (ApplicationDependencyVulnerabilityCollection) String ¶
func (m ApplicationDependencyVulnerabilityCollection) String() string
func (ApplicationDependencyVulnerabilityCollection) ValidateEnumValue ¶
func (m ApplicationDependencyVulnerabilityCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationDependencyVulnerabilitySummary ¶
type ApplicationDependencyVulnerabilitySummary struct { // Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0. // "N/A" for non-maven artifacts. Gav *string `mandatory:"true" json:"gav"` // Unique identifier of an application dependency, for example nodeId1. NodeId *string `mandatory:"true" json:"nodeId"` // List of application dependencies on which this application dependency depends, each identified by its nodeId. ApplicationDependencyNodeIds []string `mandatory:"true" json:"applicationDependencyNodeIds"` // List of vulnerabilities for the application dependency. Vulnerabilities []Vulnerability `mandatory:"true" json:"vulnerabilities"` // Indicates if the artifact is found in the knowledge base. IsFoundInKnowledgeBase *bool `mandatory:"true" json:"isFoundInKnowledgeBase"` // Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0 Purl *string `mandatory:"false" json:"purl"` }
ApplicationDependencyVulnerabilitySummary An application dependency Vulnerability represents a single dependency in the application. An application dependency Vulnerability can be associated with eventual Vulnerabilities. Each application dependency is uniquely defined by a nodeId and lists eventual dependencies on which it depends.
func (ApplicationDependencyVulnerabilitySummary) String ¶
func (m ApplicationDependencyVulnerabilitySummary) String() string
func (ApplicationDependencyVulnerabilitySummary) ValidateEnumValue ¶
func (m ApplicationDependencyVulnerabilitySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplyStage ¶ added in v65.51.0
type ApplyStage struct { // The creation date and time of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. RemediationRunId *string `mandatory:"true" json:"remediationRunId"` // The date and time of the start of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Information about the current step within the stage. Summary *string `mandatory:"false" json:"summary"` PullRequestProperties *PullRequestProperties `mandatory:"false" json:"pullRequestProperties"` PipelineProperties *PipelineProperties `mandatory:"false" json:"pipelineProperties"` // The current status of a remediation run stage. Status RemediationRunStageStatusEnum `mandatory:"true" json:"status"` // The previous type of stage in the remediation run. PreviousStageType RemediationRunStageTypeEnum `mandatory:"false" json:"previousStageType,omitempty"` // The next type of stage in the remediation run. NextStageType RemediationRunStageTypeEnum `mandatory:"false" json:"nextStageType,omitempty"` }
ApplyStage An apply stage merges the changes if the pull request is accepted.
func (ApplyStage) GetNextStageType ¶ added in v65.51.0
func (m ApplyStage) GetNextStageType() RemediationRunStageTypeEnum
GetNextStageType returns NextStageType
func (ApplyStage) GetPreviousStageType ¶ added in v65.51.0
func (m ApplyStage) GetPreviousStageType() RemediationRunStageTypeEnum
GetPreviousStageType returns PreviousStageType
func (ApplyStage) GetRemediationRunId ¶ added in v65.51.0
func (m ApplyStage) GetRemediationRunId() *string
GetRemediationRunId returns RemediationRunId
func (ApplyStage) GetStatus ¶ added in v65.51.0
func (m ApplyStage) GetStatus() RemediationRunStageStatusEnum
GetStatus returns Status
func (ApplyStage) GetSummary ¶ added in v65.51.0
func (m ApplyStage) GetSummary() *string
GetSummary returns Summary
func (ApplyStage) GetTimeCreated ¶ added in v65.51.0
func (m ApplyStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (ApplyStage) GetTimeFinished ¶ added in v65.51.0
func (m ApplyStage) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (ApplyStage) GetTimeStarted ¶ added in v65.51.0
func (m ApplyStage) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (ApplyStage) MarshalJSON ¶ added in v65.51.0
func (m ApplyStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ApplyStage) String ¶ added in v65.51.0
func (m ApplyStage) String() string
func (ApplyStage) ValidateEnumValue ¶ added in v65.51.0
func (m ApplyStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelRemediationRunRequest ¶ added in v65.51.0
type CancelRemediationRunRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CancelRemediationRunRequest wrapper for the CancelRemediationRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CancelRemediationRun.go.html to see an example of how to use CancelRemediationRunRequest.
func (CancelRemediationRunRequest) BinaryRequestBody ¶ added in v65.51.0
func (request CancelRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelRemediationRunRequest) HTTPRequest ¶ added in v65.51.0
func (request CancelRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelRemediationRunRequest) RetryPolicy ¶ added in v65.51.0
func (request CancelRemediationRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelRemediationRunRequest) String ¶ added in v65.51.0
func (request CancelRemediationRunRequest) String() string
func (CancelRemediationRunRequest) ValidateEnumValue ¶ added in v65.51.0
func (request CancelRemediationRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelRemediationRunResponse ¶ added in v65.51.0
type CancelRemediationRunResponse struct { // The underlying http response RawResponse *http.Response // The RemediationRun instance RemediationRun `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CancelRemediationRunResponse wrapper for the CancelRemediationRun operation
func (CancelRemediationRunResponse) HTTPResponse ¶ added in v65.51.0
func (response CancelRemediationRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelRemediationRunResponse) String ¶ added in v65.51.0
func (response CancelRemediationRunResponse) String() string
type CancelWorkRequestRequest ¶
type CancelWorkRequestRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) BinaryRequestBody ¶
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
func (CancelWorkRequestRequest) ValidateEnumValue ¶
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelWorkRequestResponse ¶
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type ChangeKnowledgeBaseCompartmentDetails ¶
type ChangeKnowledgeBaseCompartmentDetails struct { // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) to which the resource must be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeKnowledgeBaseCompartmentDetails Details for moving a knowledge base.
func (ChangeKnowledgeBaseCompartmentDetails) String ¶
func (m ChangeKnowledgeBaseCompartmentDetails) String() string
func (ChangeKnowledgeBaseCompartmentDetails) ValidateEnumValue ¶
func (m ChangeKnowledgeBaseCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeKnowledgeBaseCompartmentRequest ¶
type ChangeKnowledgeBaseCompartmentRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // The information to be updated. ChangeKnowledgeBaseCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeKnowledgeBaseCompartmentRequest wrapper for the ChangeKnowledgeBaseCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeKnowledgeBaseCompartment.go.html to see an example of how to use ChangeKnowledgeBaseCompartmentRequest.
func (ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody ¶
func (request ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeKnowledgeBaseCompartmentRequest) HTTPRequest ¶
func (request ChangeKnowledgeBaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeKnowledgeBaseCompartmentRequest) RetryPolicy ¶
func (request ChangeKnowledgeBaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeKnowledgeBaseCompartmentRequest) String ¶
func (request ChangeKnowledgeBaseCompartmentRequest) String() string
func (ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue ¶
func (request ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeKnowledgeBaseCompartmentResponse ¶
type ChangeKnowledgeBaseCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeKnowledgeBaseCompartmentResponse wrapper for the ChangeKnowledgeBaseCompartment operation
func (ChangeKnowledgeBaseCompartmentResponse) HTTPResponse ¶
func (response ChangeKnowledgeBaseCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeKnowledgeBaseCompartmentResponse) String ¶
func (response ChangeKnowledgeBaseCompartmentResponse) String() string
type ChangeRemediationRecipeCompartmentDetails ¶ added in v65.51.0
type ChangeRemediationRecipeCompartmentDetails struct { // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) to which the resource must be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeRemediationRecipeCompartmentDetails Details for moving a remediation recipe resource.
func (ChangeRemediationRecipeCompartmentDetails) String ¶ added in v65.51.0
func (m ChangeRemediationRecipeCompartmentDetails) String() string
func (ChangeRemediationRecipeCompartmentDetails) ValidateEnumValue ¶ added in v65.51.0
func (m ChangeRemediationRecipeCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeRemediationRecipeCompartmentRequest ¶ added in v65.51.0
type ChangeRemediationRecipeCompartmentRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter. RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"` // The information to be updated. ChangeRemediationRecipeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeRemediationRecipeCompartmentRequest wrapper for the ChangeRemediationRecipeCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeRemediationRecipeCompartment.go.html to see an example of how to use ChangeRemediationRecipeCompartmentRequest.
func (ChangeRemediationRecipeCompartmentRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ChangeRemediationRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeRemediationRecipeCompartmentRequest) HTTPRequest ¶ added in v65.51.0
func (request ChangeRemediationRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeRemediationRecipeCompartmentRequest) RetryPolicy ¶ added in v65.51.0
func (request ChangeRemediationRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeRemediationRecipeCompartmentRequest) String ¶ added in v65.51.0
func (request ChangeRemediationRecipeCompartmentRequest) String() string
func (ChangeRemediationRecipeCompartmentRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ChangeRemediationRecipeCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeRemediationRecipeCompartmentResponse ¶ added in v65.51.0
type ChangeRemediationRecipeCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeRemediationRecipeCompartmentResponse wrapper for the ChangeRemediationRecipeCompartment operation
func (ChangeRemediationRecipeCompartmentResponse) HTTPResponse ¶ added in v65.51.0
func (response ChangeRemediationRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeRemediationRecipeCompartmentResponse) String ¶ added in v65.51.0
func (response ChangeRemediationRecipeCompartmentResponse) String() string
type ChangeRemediationRunCompartmentDetails ¶ added in v65.51.0
type ChangeRemediationRunCompartmentDetails struct { // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) to which the resource must be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeRemediationRunCompartmentDetails Details for moving remediation run resources.
func (ChangeRemediationRunCompartmentDetails) String ¶ added in v65.51.0
func (m ChangeRemediationRunCompartmentDetails) String() string
func (ChangeRemediationRunCompartmentDetails) ValidateEnumValue ¶ added in v65.51.0
func (m ChangeRemediationRunCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeRemediationRunCompartmentRequest ¶ added in v65.51.0
type ChangeRemediationRunCompartmentRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // The information to be updated. ChangeRemediationRunCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeRemediationRunCompartmentRequest wrapper for the ChangeRemediationRunCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeRemediationRunCompartment.go.html to see an example of how to use ChangeRemediationRunCompartmentRequest.
func (ChangeRemediationRunCompartmentRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ChangeRemediationRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeRemediationRunCompartmentRequest) HTTPRequest ¶ added in v65.51.0
func (request ChangeRemediationRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeRemediationRunCompartmentRequest) RetryPolicy ¶ added in v65.51.0
func (request ChangeRemediationRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeRemediationRunCompartmentRequest) String ¶ added in v65.51.0
func (request ChangeRemediationRunCompartmentRequest) String() string
func (ChangeRemediationRunCompartmentRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ChangeRemediationRunCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeRemediationRunCompartmentResponse ¶ added in v65.51.0
type ChangeRemediationRunCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeRemediationRunCompartmentResponse wrapper for the ChangeRemediationRunCompartment operation
func (ChangeRemediationRunCompartmentResponse) HTTPResponse ¶ added in v65.51.0
func (response ChangeRemediationRunCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeRemediationRunCompartmentResponse) String ¶ added in v65.51.0
func (response ChangeRemediationRunCompartmentResponse) String() string
type ChangeVulnerabilityAuditCompartmentDetails ¶
type ChangeVulnerabilityAuditCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to which the resource must be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeVulnerabilityAuditCompartmentDetails Details for moving a vulnerability audit resource.
func (ChangeVulnerabilityAuditCompartmentDetails) String ¶
func (m ChangeVulnerabilityAuditCompartmentDetails) String() string
func (ChangeVulnerabilityAuditCompartmentDetails) ValidateEnumValue ¶
func (m ChangeVulnerabilityAuditCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeVulnerabilityAuditCompartmentRequest ¶
type ChangeVulnerabilityAuditCompartmentRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // The information to be updated. ChangeVulnerabilityAuditCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeVulnerabilityAuditCompartmentRequest wrapper for the ChangeVulnerabilityAuditCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeVulnerabilityAuditCompartment.go.html to see an example of how to use ChangeVulnerabilityAuditCompartmentRequest.
func (ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeVulnerabilityAuditCompartmentRequest) String ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) String() string
func (ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeVulnerabilityAuditCompartmentResponse ¶
type ChangeVulnerabilityAuditCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeVulnerabilityAuditCompartmentResponse wrapper for the ChangeVulnerabilityAuditCompartment operation
func (ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse ¶
func (response ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeVulnerabilityAuditCompartmentResponse) String ¶
func (response ChangeVulnerabilityAuditCompartmentResponse) String() string
type ConfigSeverityEnum ¶ added in v65.56.0
type ConfigSeverityEnum string
ConfigSeverityEnum Enum with underlying type: string
const ( ConfigSeverityUnset ConfigSeverityEnum = "UNSET" ConfigSeverityNone ConfigSeverityEnum = "NONE" ConfigSeverityLow ConfigSeverityEnum = "LOW" ConfigSeverityMedium ConfigSeverityEnum = "MEDIUM" ConfigSeverityHigh ConfigSeverityEnum = "HIGH" ConfigSeverityCritical ConfigSeverityEnum = "CRITICAL" )
Set of constants representing the allowable values for ConfigSeverityEnum
func GetConfigSeverityEnumValues ¶ added in v65.56.0
func GetConfigSeverityEnumValues() []ConfigSeverityEnum
GetConfigSeverityEnumValues Enumerates the set of values for ConfigSeverityEnum
func GetMappingConfigSeverityEnum ¶ added in v65.56.0
func GetMappingConfigSeverityEnum(val string) (ConfigSeverityEnum, bool)
GetMappingConfigSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
type CreateKnowledgeBaseDetails ¶
type CreateKnowledgeBaseDetails struct { // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the knowledge base. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateKnowledgeBaseDetails Details to create a new knowledge base.
func (CreateKnowledgeBaseDetails) String ¶
func (m CreateKnowledgeBaseDetails) String() string
func (CreateKnowledgeBaseDetails) ValidateEnumValue ¶
func (m CreateKnowledgeBaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateKnowledgeBaseRequest ¶
type CreateKnowledgeBaseRequest struct { // The details to create a new Knowledge Base. CreateKnowledgeBaseDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateKnowledgeBaseRequest wrapper for the CreateKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateKnowledgeBase.go.html to see an example of how to use CreateKnowledgeBaseRequest.
func (CreateKnowledgeBaseRequest) BinaryRequestBody ¶
func (request CreateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateKnowledgeBaseRequest) HTTPRequest ¶
func (request CreateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateKnowledgeBaseRequest) RetryPolicy ¶
func (request CreateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateKnowledgeBaseRequest) String ¶
func (request CreateKnowledgeBaseRequest) String() string
func (CreateKnowledgeBaseRequest) ValidateEnumValue ¶
func (request CreateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateKnowledgeBaseResponse ¶
type CreateKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateKnowledgeBaseResponse wrapper for the CreateKnowledgeBase operation
func (CreateKnowledgeBaseResponse) HTTPResponse ¶
func (response CreateKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateKnowledgeBaseResponse) String ¶
func (response CreateKnowledgeBaseResponse) String() string
type CreateRemediationRecipeDetails ¶ added in v65.51.0
type CreateRemediationRecipeDetails struct { // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe. CompartmentId *string `mandatory:"true" json:"compartmentId"` ScmConfiguration ScmConfiguration `mandatory:"true" json:"scmConfiguration"` VerifyConfiguration VerifyConfiguration `mandatory:"true" json:"verifyConfiguration"` DetectConfiguration *DetectConfiguration `mandatory:"true" json:"detectConfiguration"` NetworkConfiguration *NetworkConfiguration `mandatory:"true" json:"networkConfiguration"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // Boolean indicating if a run should be automatically triggered once the knowledge base is updated. IsRunTriggeredOnKbChange *bool `mandatory:"true" json:"isRunTriggeredOnKbChange"` // The name of the remediation recipe. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateRemediationRecipeDetails Details to create a new Remediation Recipe.
func (CreateRemediationRecipeDetails) String ¶ added in v65.51.0
func (m CreateRemediationRecipeDetails) String() string
func (*CreateRemediationRecipeDetails) UnmarshalJSON ¶ added in v65.51.0
func (m *CreateRemediationRecipeDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateRemediationRecipeDetails) ValidateEnumValue ¶ added in v65.51.0
func (m CreateRemediationRecipeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateRemediationRecipeRequest ¶ added in v65.51.0
type CreateRemediationRecipeRequest struct { // The details to create a new Remediation Recipe. CreateRemediationRecipeDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateRemediationRecipeRequest wrapper for the CreateRemediationRecipe operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateRemediationRecipe.go.html to see an example of how to use CreateRemediationRecipeRequest.
func (CreateRemediationRecipeRequest) BinaryRequestBody ¶ added in v65.51.0
func (request CreateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateRemediationRecipeRequest) HTTPRequest ¶ added in v65.51.0
func (request CreateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateRemediationRecipeRequest) RetryPolicy ¶ added in v65.51.0
func (request CreateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateRemediationRecipeRequest) String ¶ added in v65.51.0
func (request CreateRemediationRecipeRequest) String() string
func (CreateRemediationRecipeRequest) ValidateEnumValue ¶ added in v65.51.0
func (request CreateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateRemediationRecipeResponse ¶ added in v65.51.0
type CreateRemediationRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateRemediationRecipeResponse wrapper for the CreateRemediationRecipe operation
func (CreateRemediationRecipeResponse) HTTPResponse ¶ added in v65.51.0
func (response CreateRemediationRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateRemediationRecipeResponse) String ¶ added in v65.51.0
func (response CreateRemediationRecipeResponse) String() string
type CreateRemediationRunDetails ¶ added in v65.51.0
type CreateRemediationRunDetails struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. RemediationRecipeId *string `mandatory:"true" json:"remediationRecipeId"` // The name of the remediation run. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateRemediationRunDetails Details to create a new remediation run.
func (CreateRemediationRunDetails) String ¶ added in v65.51.0
func (m CreateRemediationRunDetails) String() string
func (CreateRemediationRunDetails) ValidateEnumValue ¶ added in v65.51.0
func (m CreateRemediationRunDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateRemediationRunRequest ¶ added in v65.51.0
type CreateRemediationRunRequest struct { // The details used to create a new remediation run. CreateRemediationRunDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateRemediationRunRequest wrapper for the CreateRemediationRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateRemediationRun.go.html to see an example of how to use CreateRemediationRunRequest.
func (CreateRemediationRunRequest) BinaryRequestBody ¶ added in v65.51.0
func (request CreateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateRemediationRunRequest) HTTPRequest ¶ added in v65.51.0
func (request CreateRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateRemediationRunRequest) RetryPolicy ¶ added in v65.51.0
func (request CreateRemediationRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateRemediationRunRequest) String ¶ added in v65.51.0
func (request CreateRemediationRunRequest) String() string
func (CreateRemediationRunRequest) ValidateEnumValue ¶ added in v65.51.0
func (request CreateRemediationRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateRemediationRunResponse ¶ added in v65.51.0
type CreateRemediationRunResponse struct { // The underlying http response RawResponse *http.Response // The RemediationRun instance RemediationRun `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateRemediationRunResponse wrapper for the CreateRemediationRun operation
func (CreateRemediationRunResponse) HTTPResponse ¶ added in v65.51.0
func (response CreateRemediationRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateRemediationRunResponse) String ¶ added in v65.51.0
func (response CreateRemediationRunResponse) String() string
type CreateVulnerabilityAuditDetails ¶
type CreateVulnerabilityAuditDetails struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // The compartment Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit. // If compartment identifier is not provided the compartment of the associated knowledge base will be used instead. CompartmentId *string `mandatory:"false" json:"compartmentId"` // List of application dependencies (without vulnerabilities). ApplicationDependencies []ApplicationDependency `mandatory:"false" json:"applicationDependencies"` // The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated. BuildType VulnerabilityAuditBuildTypeEnum `mandatory:"false" json:"buildType,omitempty"` Configuration *VulnerabilityAuditConfiguration `mandatory:"false" json:"configuration"` UsageData UsageDataDetails `mandatory:"false" json:"usageData"` // The name of the vulnerability audit. DisplayName *string `mandatory:"false" json:"displayName"` Source VulnerabilityAuditSource `mandatory:"false" json:"source"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateVulnerabilityAuditDetails Details to create a vulnerability audit.
func (CreateVulnerabilityAuditDetails) String ¶
func (m CreateVulnerabilityAuditDetails) String() string
func (*CreateVulnerabilityAuditDetails) UnmarshalJSON ¶ added in v65.26.0
func (m *CreateVulnerabilityAuditDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateVulnerabilityAuditDetails) ValidateEnumValue ¶
func (m CreateVulnerabilityAuditDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVulnerabilityAuditRequest ¶
type CreateVulnerabilityAuditRequest struct { // The details to create a new Vulnerability Audit. CreateVulnerabilityAuditDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateVulnerabilityAuditRequest wrapper for the CreateVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateVulnerabilityAudit.go.html to see an example of how to use CreateVulnerabilityAuditRequest.
func (CreateVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request CreateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateVulnerabilityAuditRequest) HTTPRequest ¶
func (request CreateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateVulnerabilityAuditRequest) RetryPolicy ¶
func (request CreateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateVulnerabilityAuditRequest) String ¶
func (request CreateVulnerabilityAuditRequest) String() string
func (CreateVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request CreateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVulnerabilityAuditResponse ¶
type CreateVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // The VulnerabilityAudit instance VulnerabilityAudit `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateVulnerabilityAuditResponse wrapper for the CreateVulnerabilityAudit operation
func (CreateVulnerabilityAuditResponse) HTTPResponse ¶
func (response CreateVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateVulnerabilityAuditResponse) String ¶
func (response CreateVulnerabilityAuditResponse) String() string
type DeactivateRemediationRecipeRequest ¶ added in v65.51.0
type DeactivateRemediationRecipeRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter. RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeactivateRemediationRecipeRequest wrapper for the DeactivateRemediationRecipe operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeactivateRemediationRecipe.go.html to see an example of how to use DeactivateRemediationRecipeRequest.
func (DeactivateRemediationRecipeRequest) BinaryRequestBody ¶ added in v65.51.0
func (request DeactivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeactivateRemediationRecipeRequest) HTTPRequest ¶ added in v65.51.0
func (request DeactivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeactivateRemediationRecipeRequest) RetryPolicy ¶ added in v65.51.0
func (request DeactivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeactivateRemediationRecipeRequest) String ¶ added in v65.51.0
func (request DeactivateRemediationRecipeRequest) String() string
func (DeactivateRemediationRecipeRequest) ValidateEnumValue ¶ added in v65.51.0
func (request DeactivateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeactivateRemediationRecipeResponse ¶ added in v65.51.0
type DeactivateRemediationRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeactivateRemediationRecipeResponse wrapper for the DeactivateRemediationRecipe operation
func (DeactivateRemediationRecipeResponse) HTTPResponse ¶ added in v65.51.0
func (response DeactivateRemediationRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeactivateRemediationRecipeResponse) String ¶ added in v65.51.0
func (response DeactivateRemediationRecipeResponse) String() string
type DeleteKnowledgeBaseRequest ¶
type DeleteKnowledgeBaseRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteKnowledgeBaseRequest wrapper for the DeleteKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteKnowledgeBase.go.html to see an example of how to use DeleteKnowledgeBaseRequest.
func (DeleteKnowledgeBaseRequest) BinaryRequestBody ¶
func (request DeleteKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteKnowledgeBaseRequest) HTTPRequest ¶
func (request DeleteKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteKnowledgeBaseRequest) RetryPolicy ¶
func (request DeleteKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteKnowledgeBaseRequest) String ¶
func (request DeleteKnowledgeBaseRequest) String() string
func (DeleteKnowledgeBaseRequest) ValidateEnumValue ¶
func (request DeleteKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteKnowledgeBaseResponse ¶
type DeleteKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteKnowledgeBaseResponse wrapper for the DeleteKnowledgeBase operation
func (DeleteKnowledgeBaseResponse) HTTPResponse ¶
func (response DeleteKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteKnowledgeBaseResponse) String ¶
func (response DeleteKnowledgeBaseResponse) String() string
type DeleteRemediationRecipeRequest ¶ added in v65.51.0
type DeleteRemediationRecipeRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter. RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteRemediationRecipeRequest wrapper for the DeleteRemediationRecipe operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteRemediationRecipe.go.html to see an example of how to use DeleteRemediationRecipeRequest.
func (DeleteRemediationRecipeRequest) BinaryRequestBody ¶ added in v65.51.0
func (request DeleteRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteRemediationRecipeRequest) HTTPRequest ¶ added in v65.51.0
func (request DeleteRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteRemediationRecipeRequest) RetryPolicy ¶ added in v65.51.0
func (request DeleteRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteRemediationRecipeRequest) String ¶ added in v65.51.0
func (request DeleteRemediationRecipeRequest) String() string
func (DeleteRemediationRecipeRequest) ValidateEnumValue ¶ added in v65.51.0
func (request DeleteRemediationRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteRemediationRecipeResponse ¶ added in v65.51.0
type DeleteRemediationRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteRemediationRecipeResponse wrapper for the DeleteRemediationRecipe operation
func (DeleteRemediationRecipeResponse) HTTPResponse ¶ added in v65.51.0
func (response DeleteRemediationRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteRemediationRecipeResponse) String ¶ added in v65.51.0
func (response DeleteRemediationRecipeResponse) String() string
type DeleteRemediationRunRequest ¶ added in v65.51.0
type DeleteRemediationRunRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteRemediationRunRequest wrapper for the DeleteRemediationRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteRemediationRun.go.html to see an example of how to use DeleteRemediationRunRequest.
func (DeleteRemediationRunRequest) BinaryRequestBody ¶ added in v65.51.0
func (request DeleteRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteRemediationRunRequest) HTTPRequest ¶ added in v65.51.0
func (request DeleteRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteRemediationRunRequest) RetryPolicy ¶ added in v65.51.0
func (request DeleteRemediationRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteRemediationRunRequest) String ¶ added in v65.51.0
func (request DeleteRemediationRunRequest) String() string
func (DeleteRemediationRunRequest) ValidateEnumValue ¶ added in v65.51.0
func (request DeleteRemediationRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteRemediationRunResponse ¶ added in v65.51.0
type DeleteRemediationRunResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteRemediationRunResponse wrapper for the DeleteRemediationRun operation
func (DeleteRemediationRunResponse) HTTPResponse ¶ added in v65.51.0
func (response DeleteRemediationRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteRemediationRunResponse) String ¶ added in v65.51.0
func (response DeleteRemediationRunResponse) String() string
type DeleteVulnerabilityAuditRequest ¶
type DeleteVulnerabilityAuditRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteVulnerabilityAuditRequest wrapper for the DeleteVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteVulnerabilityAudit.go.html to see an example of how to use DeleteVulnerabilityAuditRequest.
func (DeleteVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request DeleteVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteVulnerabilityAuditRequest) HTTPRequest ¶
func (request DeleteVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteVulnerabilityAuditRequest) RetryPolicy ¶
func (request DeleteVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteVulnerabilityAuditRequest) String ¶
func (request DeleteVulnerabilityAuditRequest) String() string
func (DeleteVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request DeleteVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteVulnerabilityAuditResponse ¶
type DeleteVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteVulnerabilityAuditResponse wrapper for the DeleteVulnerabilityAudit operation
func (DeleteVulnerabilityAuditResponse) HTTPResponse ¶
func (response DeleteVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteVulnerabilityAuditResponse) String ¶
func (response DeleteVulnerabilityAuditResponse) String() string
type DetectConfiguration ¶ added in v65.51.0
type DetectConfiguration struct { // The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency. // An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters. Exclusions []string `mandatory:"false" json:"exclusions"` // The upgrade policy for recommendations. // The `Nearest` upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability. UpgradePolicy DetectConfigurationUpgradePolicyEnum `mandatory:"false" json:"upgradePolicy,omitempty"` // The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching. MaxPermissibleCvssV2Score *float32 `mandatory:"false" json:"maxPermissibleCvssV2Score"` // The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching. MaxPermissibleCvssV3Score *float32 `mandatory:"false" json:"maxPermissibleCvssV3Score"` // The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching. MaxPermissibleSeverity ConfigSeverityEnum `mandatory:"false" json:"maxPermissibleSeverity,omitempty"` }
DetectConfiguration A configuration to define the constraints when detecting vulnerable dependencies.
func (DetectConfiguration) String ¶ added in v65.51.0
func (m DetectConfiguration) String() string
func (DetectConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m DetectConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DetectConfigurationUpgradePolicyEnum ¶ added in v65.51.0
type DetectConfigurationUpgradePolicyEnum string
DetectConfigurationUpgradePolicyEnum Enum with underlying type: string
const (
DetectConfigurationUpgradePolicyNearest DetectConfigurationUpgradePolicyEnum = "NEAREST"
)
Set of constants representing the allowable values for DetectConfigurationUpgradePolicyEnum
func GetDetectConfigurationUpgradePolicyEnumValues ¶ added in v65.51.0
func GetDetectConfigurationUpgradePolicyEnumValues() []DetectConfigurationUpgradePolicyEnum
GetDetectConfigurationUpgradePolicyEnumValues Enumerates the set of values for DetectConfigurationUpgradePolicyEnum
func GetMappingDetectConfigurationUpgradePolicyEnum ¶ added in v65.51.0
func GetMappingDetectConfigurationUpgradePolicyEnum(val string) (DetectConfigurationUpgradePolicyEnum, bool)
GetMappingDetectConfigurationUpgradePolicyEnum performs case Insensitive comparison on enum value and return the desired enum
type DetectStage ¶ added in v65.51.0
type DetectStage struct { // The creation date and time of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. RemediationRunId *string `mandatory:"true" json:"remediationRunId"` // The date and time of the start of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Information about the current step within the stage. Summary *string `mandatory:"false" json:"summary"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit. AuditId *string `mandatory:"false" json:"auditId"` // The current status of a remediation run stage. Status RemediationRunStageStatusEnum `mandatory:"true" json:"status"` // The previous type of stage in the remediation run. PreviousStageType RemediationRunStageTypeEnum `mandatory:"false" json:"previousStageType,omitempty"` // The next type of stage in the remediation run. NextStageType RemediationRunStageTypeEnum `mandatory:"false" json:"nextStageType,omitempty"` }
DetectStage A detect stage performs a Vulnerability Audit and determines if the remediation run should proceed to remediation stage.
func (DetectStage) GetNextStageType ¶ added in v65.51.0
func (m DetectStage) GetNextStageType() RemediationRunStageTypeEnum
GetNextStageType returns NextStageType
func (DetectStage) GetPreviousStageType ¶ added in v65.51.0
func (m DetectStage) GetPreviousStageType() RemediationRunStageTypeEnum
GetPreviousStageType returns PreviousStageType
func (DetectStage) GetRemediationRunId ¶ added in v65.51.0
func (m DetectStage) GetRemediationRunId() *string
GetRemediationRunId returns RemediationRunId
func (DetectStage) GetStatus ¶ added in v65.51.0
func (m DetectStage) GetStatus() RemediationRunStageStatusEnum
GetStatus returns Status
func (DetectStage) GetSummary ¶ added in v65.51.0
func (m DetectStage) GetSummary() *string
GetSummary returns Summary
func (DetectStage) GetTimeCreated ¶ added in v65.51.0
func (m DetectStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (DetectStage) GetTimeFinished ¶ added in v65.51.0
func (m DetectStage) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (DetectStage) GetTimeStarted ¶ added in v65.51.0
func (m DetectStage) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (DetectStage) MarshalJSON ¶ added in v65.51.0
func (m DetectStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DetectStage) String ¶ added in v65.51.0
func (m DetectStage) String() string
func (DetectStage) ValidateEnumValue ¶ added in v65.51.0
func (m DetectStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ExternalResourceVulnerabilityAuditSource ¶ added in v65.26.0
type ExternalResourceVulnerabilityAuditSource struct { // Description of the external resource source. Description *string `mandatory:"false" json:"description"` }
ExternalResourceVulnerabilityAuditSource External source for the vulnerability audit.
func (ExternalResourceVulnerabilityAuditSource) MarshalJSON ¶ added in v65.26.0
func (m ExternalResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExternalResourceVulnerabilityAuditSource) String ¶ added in v65.26.0
func (m ExternalResourceVulnerabilityAuditSource) String() string
func (ExternalResourceVulnerabilityAuditSource) ValidateEnumValue ¶ added in v65.26.0
func (m ExternalResourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ExternalScmConfiguration ¶ added in v65.51.0
type ExternalScmConfiguration struct { // The branch used by ADM to patch vulnerabilities. Branch *string `mandatory:"true" json:"branch"` // If true, the Pull Request (PR) will be merged after the verify stage completes successfully // If false, the PR with the proposed changes must be reviewed and manually merged. IsAutomergeEnabled *bool `mandatory:"true" json:"isAutomergeEnabled"` // The repository URL for the SCM. // For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] // For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName] // For GitLab the expected format is https://gitlab.com/[groupName]/[repoName] RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Private Access Token (PAT) Secret. // The secret provides the credentials necessary to authenticate against the SCM. PatSecretId *string `mandatory:"true" json:"patSecretId"` // The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. // If this property is not specified, ADM will use the build file located at the root of the repository. BuildFileLocation *string `mandatory:"false" json:"buildFileLocation"` // The username for the SCM (to perform operations such as cloning or pushing via HTTP). Username *string `mandatory:"false" json:"username"` // The type of External Source Code Management. ExternalScmType ExternalScmConfigurationExternalScmTypeEnum `mandatory:"true" json:"externalScmType"` }
ExternalScmConfiguration An external SCM configuration extends a SCM Configuration with necessary data to reach and use the Source Code Management tool/platform used by a Remediation Recipe. An external SCM in ADM refers to GitHub, or GitLab.
func (ExternalScmConfiguration) GetBranch ¶ added in v65.51.0
func (m ExternalScmConfiguration) GetBranch() *string
GetBranch returns Branch
func (ExternalScmConfiguration) GetBuildFileLocation ¶ added in v65.51.0
func (m ExternalScmConfiguration) GetBuildFileLocation() *string
GetBuildFileLocation returns BuildFileLocation
func (ExternalScmConfiguration) GetIsAutomergeEnabled ¶ added in v65.51.0
func (m ExternalScmConfiguration) GetIsAutomergeEnabled() *bool
GetIsAutomergeEnabled returns IsAutomergeEnabled
func (ExternalScmConfiguration) MarshalJSON ¶ added in v65.51.0
func (m ExternalScmConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ExternalScmConfiguration) String ¶ added in v65.51.0
func (m ExternalScmConfiguration) String() string
func (ExternalScmConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m ExternalScmConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ExternalScmConfigurationExternalScmTypeEnum ¶ added in v65.51.0
type ExternalScmConfigurationExternalScmTypeEnum string
ExternalScmConfigurationExternalScmTypeEnum Enum with underlying type: string
const ( ExternalScmConfigurationExternalScmTypeGithub ExternalScmConfigurationExternalScmTypeEnum = "GITHUB" ExternalScmConfigurationExternalScmTypeGitlab ExternalScmConfigurationExternalScmTypeEnum = "GITLAB" )
Set of constants representing the allowable values for ExternalScmConfigurationExternalScmTypeEnum
func GetExternalScmConfigurationExternalScmTypeEnumValues ¶ added in v65.51.0
func GetExternalScmConfigurationExternalScmTypeEnumValues() []ExternalScmConfigurationExternalScmTypeEnum
GetExternalScmConfigurationExternalScmTypeEnumValues Enumerates the set of values for ExternalScmConfigurationExternalScmTypeEnum
func GetMappingExternalScmConfigurationExternalScmTypeEnum ¶ added in v65.51.0
func GetMappingExternalScmConfigurationExternalScmTypeEnum(val string) (ExternalScmConfigurationExternalScmTypeEnum, bool)
GetMappingExternalScmConfigurationExternalScmTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type GetKnowledgeBaseRequest ¶
type GetKnowledgeBaseRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetKnowledgeBaseRequest wrapper for the GetKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetKnowledgeBase.go.html to see an example of how to use GetKnowledgeBaseRequest.
func (GetKnowledgeBaseRequest) BinaryRequestBody ¶
func (request GetKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetKnowledgeBaseRequest) HTTPRequest ¶
func (request GetKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetKnowledgeBaseRequest) RetryPolicy ¶
func (request GetKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetKnowledgeBaseRequest) String ¶
func (request GetKnowledgeBaseRequest) String() string
func (GetKnowledgeBaseRequest) ValidateEnumValue ¶
func (request GetKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetKnowledgeBaseResponse ¶
type GetKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // The KnowledgeBase instance KnowledgeBase `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetKnowledgeBaseResponse wrapper for the GetKnowledgeBase operation
func (GetKnowledgeBaseResponse) HTTPResponse ¶
func (response GetKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetKnowledgeBaseResponse) String ¶
func (response GetKnowledgeBaseResponse) String() string
type GetRemediationRecipeRequest ¶ added in v65.51.0
type GetRemediationRecipeRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter. RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetRemediationRecipeRequest wrapper for the GetRemediationRecipe operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetRemediationRecipe.go.html to see an example of how to use GetRemediationRecipeRequest.
func (GetRemediationRecipeRequest) BinaryRequestBody ¶ added in v65.51.0
func (request GetRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetRemediationRecipeRequest) HTTPRequest ¶ added in v65.51.0
func (request GetRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetRemediationRecipeRequest) RetryPolicy ¶ added in v65.51.0
func (request GetRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetRemediationRecipeRequest) String ¶ added in v65.51.0
func (request GetRemediationRecipeRequest) String() string
func (GetRemediationRecipeRequest) ValidateEnumValue ¶ added in v65.51.0
func (request GetRemediationRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetRemediationRecipeResponse ¶ added in v65.51.0
type GetRemediationRecipeResponse struct { // The underlying http response RawResponse *http.Response // The RemediationRecipe instance RemediationRecipe `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetRemediationRecipeResponse wrapper for the GetRemediationRecipe operation
func (GetRemediationRecipeResponse) HTTPResponse ¶ added in v65.51.0
func (response GetRemediationRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetRemediationRecipeResponse) String ¶ added in v65.51.0
func (response GetRemediationRecipeResponse) String() string
type GetRemediationRunRequest ¶ added in v65.51.0
type GetRemediationRunRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetRemediationRunRequest wrapper for the GetRemediationRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetRemediationRun.go.html to see an example of how to use GetRemediationRunRequest.
func (GetRemediationRunRequest) BinaryRequestBody ¶ added in v65.51.0
func (request GetRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetRemediationRunRequest) HTTPRequest ¶ added in v65.51.0
func (request GetRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetRemediationRunRequest) RetryPolicy ¶ added in v65.51.0
func (request GetRemediationRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetRemediationRunRequest) String ¶ added in v65.51.0
func (request GetRemediationRunRequest) String() string
func (GetRemediationRunRequest) ValidateEnumValue ¶ added in v65.51.0
func (request GetRemediationRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetRemediationRunResponse ¶ added in v65.51.0
type GetRemediationRunResponse struct { // The underlying http response RawResponse *http.Response // The RemediationRun instance RemediationRun `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetRemediationRunResponse wrapper for the GetRemediationRun operation
func (GetRemediationRunResponse) HTTPResponse ¶ added in v65.51.0
func (response GetRemediationRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetRemediationRunResponse) String ¶ added in v65.51.0
func (response GetRemediationRunResponse) String() string
type GetStageRequest ¶ added in v65.51.0
type GetStageRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // The type of Remediation Run Stage, as a URL path parameter. StageType GetStageStageTypeEnum `mandatory:"true" contributesTo:"path" name:"stageType"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetStageRequest wrapper for the GetStage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetStage.go.html to see an example of how to use GetStageRequest.
func (GetStageRequest) BinaryRequestBody ¶ added in v65.51.0
func (request GetStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetStageRequest) HTTPRequest ¶ added in v65.51.0
func (request GetStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetStageRequest) RetryPolicy ¶ added in v65.51.0
func (request GetStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetStageRequest) String ¶ added in v65.51.0
func (request GetStageRequest) String() string
func (GetStageRequest) ValidateEnumValue ¶ added in v65.51.0
func (request GetStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetStageResponse ¶ added in v65.51.0
type GetStageResponse struct { // The underlying http response RawResponse *http.Response // The RemediationRunStage instance RemediationRunStage `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetStageResponse wrapper for the GetStage operation
func (GetStageResponse) HTTPResponse ¶ added in v65.51.0
func (response GetStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetStageResponse) String ¶ added in v65.51.0
func (response GetStageResponse) String() string
type GetStageStageTypeEnum ¶ added in v65.51.0
type GetStageStageTypeEnum string
GetStageStageTypeEnum Enum with underlying type: string
const ( GetStageStageTypeDetect GetStageStageTypeEnum = "DETECT" GetStageStageTypeRecommend GetStageStageTypeEnum = "RECOMMEND" GetStageStageTypeVerify GetStageStageTypeEnum = "VERIFY" GetStageStageTypeApply GetStageStageTypeEnum = "APPLY" )
Set of constants representing the allowable values for GetStageStageTypeEnum
func GetGetStageStageTypeEnumValues ¶ added in v65.51.0
func GetGetStageStageTypeEnumValues() []GetStageStageTypeEnum
GetGetStageStageTypeEnumValues Enumerates the set of values for GetStageStageTypeEnum
func GetMappingGetStageStageTypeEnum ¶ added in v65.51.0
func GetMappingGetStageStageTypeEnum(val string) (GetStageStageTypeEnum, bool)
GetMappingGetStageStageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type GetVulnerabilityAuditRequest ¶
type GetVulnerabilityAuditRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetVulnerabilityAuditRequest wrapper for the GetVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetVulnerabilityAudit.go.html to see an example of how to use GetVulnerabilityAuditRequest.
func (GetVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request GetVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetVulnerabilityAuditRequest) HTTPRequest ¶
func (request GetVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetVulnerabilityAuditRequest) RetryPolicy ¶
func (request GetVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetVulnerabilityAuditRequest) String ¶
func (request GetVulnerabilityAuditRequest) String() string
func (GetVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request GetVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetVulnerabilityAuditResponse ¶
type GetVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // The VulnerabilityAudit instance VulnerabilityAudit `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetVulnerabilityAuditResponse wrapper for the GetVulnerabilityAudit operation
func (GetVulnerabilityAuditResponse) HTTPResponse ¶
func (response GetVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetVulnerabilityAuditResponse) String ¶
func (response GetVulnerabilityAuditResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type GitHubActionsConfiguration ¶ added in v65.51.0
type GitHubActionsConfiguration struct { // The location of the repository where the GitHub Actions is defined. // For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] // For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName] RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Private Access Token (PAT) Secret. // The PAT provides the credentials to access the GitHub Action. PatSecretId *string `mandatory:"true" json:"patSecretId"` // The username that will trigger the GitHub Action. Username *string `mandatory:"true" json:"username"` // The name of the GitHub Actions workflow that defines the build pipeline. WorkflowName *string `mandatory:"true" json:"workflowName"` // Additional key-value pairs passed as parameters to the build service when running an experiment. AdditionalParameters map[string]string `mandatory:"false" json:"additionalParameters"` }
GitHubActionsConfiguration Extends a Verify configuration with appropriate data to reach and use the build service provided by a GitHub Action.
func (GitHubActionsConfiguration) MarshalJSON ¶ added in v65.51.0
func (m GitHubActionsConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (GitHubActionsConfiguration) String ¶ added in v65.51.0
func (m GitHubActionsConfiguration) String() string
func (GitHubActionsConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m GitHubActionsConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GitLabPipelineConfiguration ¶ added in v65.51.0
type GitLabPipelineConfiguration struct { // The location of the Repository where the GitLab Pipeline will be run. // The expected format is https://gitlab.com/[groupName]/[repoName] RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // The username that will trigger the GitLab Pipeline. Username *string `mandatory:"true" json:"username"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Private Access Token (PAT) Secret. // The PAT provides the credentials to access the GitLab pipeline. PatSecretId *string `mandatory:"true" json:"patSecretId"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the trigger Secret. // The Secret provides access to the trigger for a GitLab pipeline. TriggerSecretId *string `mandatory:"true" json:"triggerSecretId"` // Additional key-value pairs passed as parameters to the build service when running an experiment. AdditionalParameters map[string]string `mandatory:"false" json:"additionalParameters"` }
GitLabPipelineConfiguration Extends a Verify configuration with appropriate data to reach and use the build service provided by a GitLab Pipeline.
func (GitLabPipelineConfiguration) MarshalJSON ¶ added in v65.51.0
func (m GitLabPipelineConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (GitLabPipelineConfiguration) String ¶ added in v65.51.0
func (m GitLabPipelineConfiguration) String() string
func (GitLabPipelineConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m GitLabPipelineConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type JenkinsPipelineConfiguration ¶ added in v65.51.0
type JenkinsPipelineConfiguration struct { // The username that will be used to authenticate with Jenkins. Username *string `mandatory:"true" json:"username"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Private Access Token (PAT) Secret. // The PAT provides the credentials to access the Jenkins Pipeline. PatSecretId *string `mandatory:"true" json:"patSecretId"` // The URL that locates the Jenkins pipeline. JenkinsUrl *string `mandatory:"true" json:"jenkinsUrl"` // The name of the Jenkins pipeline job that identifies the build pipeline. JobName *string `mandatory:"true" json:"jobName"` // Additional key-value pairs passed as parameters to the build service when running an experiment. AdditionalParameters map[string]string `mandatory:"false" json:"additionalParameters"` }
JenkinsPipelineConfiguration Extends a Verify configuration with appropriate data to reach and use the build service provided by a Jenkins Pipeline.
func (JenkinsPipelineConfiguration) MarshalJSON ¶ added in v65.51.0
func (m JenkinsPipelineConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (JenkinsPipelineConfiguration) String ¶ added in v65.51.0
func (m JenkinsPipelineConfiguration) String() string
func (JenkinsPipelineConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m JenkinsPipelineConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type KnowledgeBase ¶
type KnowledgeBase struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. Id *string `mandatory:"true" json:"id"` // The name of the knowledge base. DisplayName *string `mandatory:"true" json:"displayName"` // The creation date and time of the knowledge base (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the knowledge base was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the knowledge base. LifecycleState KnowledgeBaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
KnowledgeBase A knowledge base is a component of Application Dependency Management (ADM) service that provides access to vulnerabilities.
func (KnowledgeBase) String ¶
func (m KnowledgeBase) String() string
func (KnowledgeBase) ValidateEnumValue ¶
func (m KnowledgeBase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type KnowledgeBaseCollection ¶
type KnowledgeBaseCollection struct { // List of knowledge base summaries. Items []KnowledgeBaseSummary `mandatory:"true" json:"items"` }
KnowledgeBaseCollection Collection of knowledge base summaries.
func (KnowledgeBaseCollection) String ¶
func (m KnowledgeBaseCollection) String() string
func (KnowledgeBaseCollection) ValidateEnumValue ¶
func (m KnowledgeBaseCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type KnowledgeBaseLifecycleStateEnum ¶
type KnowledgeBaseLifecycleStateEnum string
KnowledgeBaseLifecycleStateEnum Enum with underlying type: string
const ( KnowledgeBaseLifecycleStateCreating KnowledgeBaseLifecycleStateEnum = "CREATING" KnowledgeBaseLifecycleStateActive KnowledgeBaseLifecycleStateEnum = "ACTIVE" KnowledgeBaseLifecycleStateUpdating KnowledgeBaseLifecycleStateEnum = "UPDATING" KnowledgeBaseLifecycleStateFailed KnowledgeBaseLifecycleStateEnum = "FAILED" KnowledgeBaseLifecycleStateDeleting KnowledgeBaseLifecycleStateEnum = "DELETING" KnowledgeBaseLifecycleStateDeleted KnowledgeBaseLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for KnowledgeBaseLifecycleStateEnum
func GetKnowledgeBaseLifecycleStateEnumValues ¶
func GetKnowledgeBaseLifecycleStateEnumValues() []KnowledgeBaseLifecycleStateEnum
GetKnowledgeBaseLifecycleStateEnumValues Enumerates the set of values for KnowledgeBaseLifecycleStateEnum
func GetMappingKnowledgeBaseLifecycleStateEnum ¶
func GetMappingKnowledgeBaseLifecycleStateEnum(val string) (KnowledgeBaseLifecycleStateEnum, bool)
GetMappingKnowledgeBaseLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type KnowledgeBaseSummary ¶
type KnowledgeBaseSummary struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. Id *string `mandatory:"true" json:"id"` // The name of the knowledge base. DisplayName *string `mandatory:"true" json:"displayName"` // The creation date and time of the knowledge base (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the knowledge base was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current lifecycle state of the knowledge base. LifecycleState KnowledgeBaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
KnowledgeBaseSummary The summary of a knowledge base.
func (KnowledgeBaseSummary) String ¶
func (m KnowledgeBaseSummary) String() string
func (KnowledgeBaseSummary) ValidateEnumValue ¶
func (m KnowledgeBaseSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListApplicationDependencyRecommendationsRequest ¶ added in v65.51.0
type ListApplicationDependencyRecommendationsRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListApplicationDependencyRecommendationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given. Gav *string `mandatory:"false" contributesTo:"query" name:"gav"` // A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/). Purl *string `mandatory:"false" contributesTo:"query" name:"purl"` // The field to sort by. Only one sort order may be provided. // If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. // If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. // Default order for gav is ascending where ascending corresponds to alphanumerical order. // Default order for purl is ascending where ascending corresponds to alphabetical order // Default order for nodeId is ascending where ascending corresponds to alphanumerical order. // Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: "gav", "cvssV2GreaterThanOrEqual", "cvssV3GreaterThanOrEqual" and "vulnerabilityId". SortBy ListApplicationDependencyRecommendationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListApplicationDependencyRecommendationsRequest wrapper for the ListApplicationDependencyRecommendations operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListApplicationDependencyRecommendations.go.html to see an example of how to use ListApplicationDependencyRecommendationsRequest.
func (ListApplicationDependencyRecommendationsRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ListApplicationDependencyRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListApplicationDependencyRecommendationsRequest) HTTPRequest ¶ added in v65.51.0
func (request ListApplicationDependencyRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListApplicationDependencyRecommendationsRequest) RetryPolicy ¶ added in v65.51.0
func (request ListApplicationDependencyRecommendationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListApplicationDependencyRecommendationsRequest) String ¶ added in v65.51.0
func (request ListApplicationDependencyRecommendationsRequest) String() string
func (ListApplicationDependencyRecommendationsRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ListApplicationDependencyRecommendationsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListApplicationDependencyRecommendationsResponse ¶ added in v65.51.0
type ListApplicationDependencyRecommendationsResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplicationDependencyRecommendationCollection instances ApplicationDependencyRecommendationCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListApplicationDependencyRecommendationsResponse wrapper for the ListApplicationDependencyRecommendations operation
func (ListApplicationDependencyRecommendationsResponse) HTTPResponse ¶ added in v65.51.0
func (response ListApplicationDependencyRecommendationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListApplicationDependencyRecommendationsResponse) String ¶ added in v65.51.0
func (response ListApplicationDependencyRecommendationsResponse) String() string
type ListApplicationDependencyRecommendationsSortByEnum ¶ added in v65.51.0
type ListApplicationDependencyRecommendationsSortByEnum string
ListApplicationDependencyRecommendationsSortByEnum Enum with underlying type: string
const ( ListApplicationDependencyRecommendationsSortByGav ListApplicationDependencyRecommendationsSortByEnum = "gav" ListApplicationDependencyRecommendationsSortByPurl ListApplicationDependencyRecommendationsSortByEnum = "purl" ListApplicationDependencyRecommendationsSortByNodeid ListApplicationDependencyRecommendationsSortByEnum = "nodeId" ListApplicationDependencyRecommendationsSortByDfs ListApplicationDependencyRecommendationsSortByEnum = "dfs" ListApplicationDependencyRecommendationsSortByBfs ListApplicationDependencyRecommendationsSortByEnum = "bfs" )
Set of constants representing the allowable values for ListApplicationDependencyRecommendationsSortByEnum
func GetListApplicationDependencyRecommendationsSortByEnumValues ¶ added in v65.51.0
func GetListApplicationDependencyRecommendationsSortByEnumValues() []ListApplicationDependencyRecommendationsSortByEnum
GetListApplicationDependencyRecommendationsSortByEnumValues Enumerates the set of values for ListApplicationDependencyRecommendationsSortByEnum
func GetMappingListApplicationDependencyRecommendationsSortByEnum ¶ added in v65.51.0
func GetMappingListApplicationDependencyRecommendationsSortByEnum(val string) (ListApplicationDependencyRecommendationsSortByEnum, bool)
GetMappingListApplicationDependencyRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListApplicationDependencyRecommendationsSortOrderEnum ¶ added in v65.51.0
type ListApplicationDependencyRecommendationsSortOrderEnum string
ListApplicationDependencyRecommendationsSortOrderEnum Enum with underlying type: string
const ( ListApplicationDependencyRecommendationsSortOrderAsc ListApplicationDependencyRecommendationsSortOrderEnum = "ASC" ListApplicationDependencyRecommendationsSortOrderDesc ListApplicationDependencyRecommendationsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListApplicationDependencyRecommendationsSortOrderEnum
func GetListApplicationDependencyRecommendationsSortOrderEnumValues ¶ added in v65.51.0
func GetListApplicationDependencyRecommendationsSortOrderEnumValues() []ListApplicationDependencyRecommendationsSortOrderEnum
GetListApplicationDependencyRecommendationsSortOrderEnumValues Enumerates the set of values for ListApplicationDependencyRecommendationsSortOrderEnum
func GetMappingListApplicationDependencyRecommendationsSortOrderEnum ¶ added in v65.51.0
func GetMappingListApplicationDependencyRecommendationsSortOrderEnum(val string) (ListApplicationDependencyRecommendationsSortOrderEnum, bool)
GetMappingListApplicationDependencyRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListApplicationDependencyVulnerabilitiesRequest ¶
type ListApplicationDependencyVulnerabilitiesRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // A filter to return only Vulnerability Audits that match the specified id. VulnerabilityId *string `mandatory:"false" contributesTo:"query" name:"vulnerabilityId"` // A filter that returns only Vulnerabilities that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater than or equal to the specified value. CvssV3GreaterThanOrEqual *float32 `mandatory:"false" contributesTo:"query" name:"cvssV3GreaterThanOrEqual"` // A filter that returns only Vulnerabilities that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater than or equal to the specified value. CvssV2GreaterThanOrEqual *float32 `mandatory:"false" contributesTo:"query" name:"cvssV2GreaterThanOrEqual"` // A filter that returns only Vulnerabilities that have a severity greater than or equal to the specified value. SeverityGreaterThanOrEqual ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum `mandatory:"false" contributesTo:"query" name:"severityGreaterThanOrEqual" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListApplicationDependencyVulnerabilitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. // If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. // If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. // Default order for gav is ascending where ascending corresponds to alphanumerical order. // Default order for purl is ascending where ascending corresponds to alphabetical order // Default order for nodeId is ascending where ascending corresponds to alphanumerical order. // Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: "gav", "cvssV2GreaterThanOrEqual", "cvssV3GreaterThanOrEqual" and "vulnerabilityId". SortBy ListApplicationDependencyVulnerabilitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to override the top level root identifier with the new given value. The application dependency tree will only be traversed from the given node. // Query parameters "cvssV2GreaterThanOrEqual", "cvssV3GreaterThanOrEqual", "gav" and "vulnerabilityId" cannot be used in conjunction with this parameter. RootNodeId *string `mandatory:"false" contributesTo:"query" name:"rootNodeId"` // A filter to limit depth of the application dependencies tree traversal. // Additionally query parameters such as "cvssV2GreaterThanOrEqual", "cvssV3GreaterThanOrEqual", "gav" and "vulnerabilityId" can't be used in conjunction with this latter. Depth *int `mandatory:"false" contributesTo:"query" name:"depth"` // A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given. Gav *string `mandatory:"false" contributesTo:"query" name:"gav"` // A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/). Purl *string `mandatory:"false" contributesTo:"query" name:"purl"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListApplicationDependencyVulnerabilitiesRequest wrapper for the ListApplicationDependencyVulnerabilities operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListApplicationDependencyVulnerabilities.go.html to see an example of how to use ListApplicationDependencyVulnerabilitiesRequest.
func (ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListApplicationDependencyVulnerabilitiesRequest) String ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) String() string
func (ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListApplicationDependencyVulnerabilitiesResponse ¶
type ListApplicationDependencyVulnerabilitiesResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplicationDependencyVulnerabilityCollection instances ApplicationDependencyVulnerabilityCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListApplicationDependencyVulnerabilitiesResponse wrapper for the ListApplicationDependencyVulnerabilities operation
func (ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse ¶
func (response ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListApplicationDependencyVulnerabilitiesResponse) String ¶
func (response ListApplicationDependencyVulnerabilitiesResponse) String() string
type ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum ¶ added in v65.56.0
type ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum string
ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum Enum with underlying type: string
const ( ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualNone ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "NONE" ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualLow ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "LOW" ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualMedium ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "MEDIUM" ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualHigh ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "HIGH" ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualCritical ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "CRITICAL" )
Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues ¶ added in v65.56.0
func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues() []ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues Enumerates the set of values for ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
func GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum ¶ added in v65.56.0
func GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum(val string) (ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum, bool)
GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum performs case Insensitive comparison on enum value and return the desired enum
type ListApplicationDependencyVulnerabilitiesSortByEnum ¶
type ListApplicationDependencyVulnerabilitiesSortByEnum string
ListApplicationDependencyVulnerabilitiesSortByEnum Enum with underlying type: string
const ( ListApplicationDependencyVulnerabilitiesSortByGav ListApplicationDependencyVulnerabilitiesSortByEnum = "gav" ListApplicationDependencyVulnerabilitiesSortByPurl ListApplicationDependencyVulnerabilitiesSortByEnum = "purl" ListApplicationDependencyVulnerabilitiesSortByNodeid ListApplicationDependencyVulnerabilitiesSortByEnum = "nodeId" ListApplicationDependencyVulnerabilitiesSortByDfs ListApplicationDependencyVulnerabilitiesSortByEnum = "dfs" ListApplicationDependencyVulnerabilitiesSortByBfs ListApplicationDependencyVulnerabilitiesSortByEnum = "bfs" )
Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortByEnum
func GetListApplicationDependencyVulnerabilitiesSortByEnumValues ¶
func GetListApplicationDependencyVulnerabilitiesSortByEnumValues() []ListApplicationDependencyVulnerabilitiesSortByEnum
GetListApplicationDependencyVulnerabilitiesSortByEnumValues Enumerates the set of values for ListApplicationDependencyVulnerabilitiesSortByEnum
func GetMappingListApplicationDependencyVulnerabilitiesSortByEnum ¶
func GetMappingListApplicationDependencyVulnerabilitiesSortByEnum(val string) (ListApplicationDependencyVulnerabilitiesSortByEnum, bool)
GetMappingListApplicationDependencyVulnerabilitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListApplicationDependencyVulnerabilitiesSortOrderEnum ¶
type ListApplicationDependencyVulnerabilitiesSortOrderEnum string
ListApplicationDependencyVulnerabilitiesSortOrderEnum Enum with underlying type: string
const ( ListApplicationDependencyVulnerabilitiesSortOrderAsc ListApplicationDependencyVulnerabilitiesSortOrderEnum = "ASC" ListApplicationDependencyVulnerabilitiesSortOrderDesc ListApplicationDependencyVulnerabilitiesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortOrderEnum
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues ¶
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues() []ListApplicationDependencyVulnerabilitiesSortOrderEnum
GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListApplicationDependencyVulnerabilitiesSortOrderEnum
func GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum ¶
func GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum(val string) (ListApplicationDependencyVulnerabilitiesSortOrderEnum, bool)
GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListKnowledgeBasesRequest ¶
type ListKnowledgeBasesRequest struct { // A filter to return only resources that match the specified identifier. // Required only if the compartmentId query parameter is not specified. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The field used to sort Knowledge Bases. Only one sort order is allowed. // Default order for _displayName_ is **ascending alphabetical order**. // Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, FAILED, DELETING, and DELETED**.Default order for _timeCreated_ is **descending**. // Default order for _timeUpdated_ is **descending**. SortBy ListKnowledgeBasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only Knowledge Bases that match the specified lifecycleState. LifecycleState KnowledgeBaseLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListKnowledgeBasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that belong to the specified compartment identifier. // Required only if the id query param is not specified. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListKnowledgeBasesRequest wrapper for the ListKnowledgeBases operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListKnowledgeBases.go.html to see an example of how to use ListKnowledgeBasesRequest.
func (ListKnowledgeBasesRequest) BinaryRequestBody ¶
func (request ListKnowledgeBasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListKnowledgeBasesRequest) HTTPRequest ¶
func (request ListKnowledgeBasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListKnowledgeBasesRequest) RetryPolicy ¶
func (request ListKnowledgeBasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListKnowledgeBasesRequest) String ¶
func (request ListKnowledgeBasesRequest) String() string
func (ListKnowledgeBasesRequest) ValidateEnumValue ¶
func (request ListKnowledgeBasesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListKnowledgeBasesResponse ¶
type ListKnowledgeBasesResponse struct { // The underlying http response RawResponse *http.Response // A list of KnowledgeBaseCollection instances KnowledgeBaseCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListKnowledgeBasesResponse wrapper for the ListKnowledgeBases operation
func (ListKnowledgeBasesResponse) HTTPResponse ¶
func (response ListKnowledgeBasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListKnowledgeBasesResponse) String ¶
func (response ListKnowledgeBasesResponse) String() string
type ListKnowledgeBasesSortByEnum ¶
type ListKnowledgeBasesSortByEnum string
ListKnowledgeBasesSortByEnum Enum with underlying type: string
const ( ListKnowledgeBasesSortByDisplayName ListKnowledgeBasesSortByEnum = "DISPLAY_NAME" ListKnowledgeBasesSortByLifecycleState ListKnowledgeBasesSortByEnum = "LIFECYCLE_STATE" ListKnowledgeBasesSortByTimeCreated ListKnowledgeBasesSortByEnum = "TIME_CREATED" ListKnowledgeBasesSortByTimeUpdated ListKnowledgeBasesSortByEnum = "TIME_UPDATED" )
Set of constants representing the allowable values for ListKnowledgeBasesSortByEnum
func GetListKnowledgeBasesSortByEnumValues ¶
func GetListKnowledgeBasesSortByEnumValues() []ListKnowledgeBasesSortByEnum
GetListKnowledgeBasesSortByEnumValues Enumerates the set of values for ListKnowledgeBasesSortByEnum
func GetMappingListKnowledgeBasesSortByEnum ¶
func GetMappingListKnowledgeBasesSortByEnum(val string) (ListKnowledgeBasesSortByEnum, bool)
GetMappingListKnowledgeBasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListKnowledgeBasesSortOrderEnum ¶
type ListKnowledgeBasesSortOrderEnum string
ListKnowledgeBasesSortOrderEnum Enum with underlying type: string
const ( ListKnowledgeBasesSortOrderAsc ListKnowledgeBasesSortOrderEnum = "ASC" ListKnowledgeBasesSortOrderDesc ListKnowledgeBasesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListKnowledgeBasesSortOrderEnum
func GetListKnowledgeBasesSortOrderEnumValues ¶
func GetListKnowledgeBasesSortOrderEnumValues() []ListKnowledgeBasesSortOrderEnum
GetListKnowledgeBasesSortOrderEnumValues Enumerates the set of values for ListKnowledgeBasesSortOrderEnum
func GetMappingListKnowledgeBasesSortOrderEnum ¶
func GetMappingListKnowledgeBasesSortOrderEnum(val string) (ListKnowledgeBasesSortOrderEnum, bool)
GetMappingListKnowledgeBasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRemediationRecipesRequest ¶ added in v65.51.0
type ListRemediationRecipesRequest struct { // A filter to return only resources that match the specified identifier. // Required only if the compartmentId query parameter is not specified. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The field used to sort Remediation Recipes. Only one sort order is allowed. // Default order for _displayName_ is **ascending alphabetical order**. // Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, INACTIVE, FAILED, DELETING, and DELETED**. // Default order for _timeCreated_ is **descending**. // Default order for _timeUpdated_ is **descending**. // Default order for _type_ is the following sequence: **ADM**. SortBy ListRemediationRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only Remediation Recipes that match the specified lifecycleState. LifecycleState RemediationRecipeLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListRemediationRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that belong to the specified compartment identifier. // Required only if the id query param is not specified. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListRemediationRecipesRequest wrapper for the ListRemediationRecipes operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListRemediationRecipes.go.html to see an example of how to use ListRemediationRecipesRequest.
func (ListRemediationRecipesRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ListRemediationRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListRemediationRecipesRequest) HTTPRequest ¶ added in v65.51.0
func (request ListRemediationRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListRemediationRecipesRequest) RetryPolicy ¶ added in v65.51.0
func (request ListRemediationRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListRemediationRecipesRequest) String ¶ added in v65.51.0
func (request ListRemediationRecipesRequest) String() string
func (ListRemediationRecipesRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ListRemediationRecipesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListRemediationRecipesResponse ¶ added in v65.51.0
type ListRemediationRecipesResponse struct { // The underlying http response RawResponse *http.Response // A list of RemediationRecipeCollection instances RemediationRecipeCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListRemediationRecipesResponse wrapper for the ListRemediationRecipes operation
func (ListRemediationRecipesResponse) HTTPResponse ¶ added in v65.51.0
func (response ListRemediationRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListRemediationRecipesResponse) String ¶ added in v65.51.0
func (response ListRemediationRecipesResponse) String() string
type ListRemediationRecipesSortByEnum ¶ added in v65.51.0
type ListRemediationRecipesSortByEnum string
ListRemediationRecipesSortByEnum Enum with underlying type: string
const ( ListRemediationRecipesSortByDisplayName ListRemediationRecipesSortByEnum = "DISPLAY_NAME" ListRemediationRecipesSortByLifecycleState ListRemediationRecipesSortByEnum = "LIFECYCLE_STATE" ListRemediationRecipesSortByTimeCreated ListRemediationRecipesSortByEnum = "TIME_CREATED" ListRemediationRecipesSortByTimeUpdated ListRemediationRecipesSortByEnum = "TIME_UPDATED" ListRemediationRecipesSortByType ListRemediationRecipesSortByEnum = "TYPE" )
Set of constants representing the allowable values for ListRemediationRecipesSortByEnum
func GetListRemediationRecipesSortByEnumValues ¶ added in v65.51.0
func GetListRemediationRecipesSortByEnumValues() []ListRemediationRecipesSortByEnum
GetListRemediationRecipesSortByEnumValues Enumerates the set of values for ListRemediationRecipesSortByEnum
func GetMappingListRemediationRecipesSortByEnum ¶ added in v65.51.0
func GetMappingListRemediationRecipesSortByEnum(val string) (ListRemediationRecipesSortByEnum, bool)
GetMappingListRemediationRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRemediationRecipesSortOrderEnum ¶ added in v65.51.0
type ListRemediationRecipesSortOrderEnum string
ListRemediationRecipesSortOrderEnum Enum with underlying type: string
const ( ListRemediationRecipesSortOrderAsc ListRemediationRecipesSortOrderEnum = "ASC" ListRemediationRecipesSortOrderDesc ListRemediationRecipesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListRemediationRecipesSortOrderEnum
func GetListRemediationRecipesSortOrderEnumValues ¶ added in v65.51.0
func GetListRemediationRecipesSortOrderEnumValues() []ListRemediationRecipesSortOrderEnum
GetListRemediationRecipesSortOrderEnumValues Enumerates the set of values for ListRemediationRecipesSortOrderEnum
func GetMappingListRemediationRecipesSortOrderEnum ¶ added in v65.51.0
func GetMappingListRemediationRecipesSortOrderEnum(val string) (ListRemediationRecipesSortOrderEnum, bool)
GetMappingListRemediationRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRemediationRunsRequest ¶ added in v65.51.0
type ListRemediationRunsRequest struct { // A filter to return only resources that match the specified identifier. // Required only if the compartmentId query parameter is not specified. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that match the specified Remediation Recipe identifier. RemediationRecipeId *string `mandatory:"false" contributesTo:"query" name:"remediationRecipeId"` // A filter to return only Remediation Runs that match the specified lifecycleState. LifecycleState RemediationRunLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListRemediationRunsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field used to sort Remediation Runs. Only one sort order is allowed. // Default order for _timeCreated_ is **descending**. // Default order for _timeFinished_ is **descending**. // Default order for _timeStarted_ is **descending**. // Default order for _displayName_ is **ascending alphabetical order**. // Default order for _lifecycleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, DELETING, DELETED, and FAILED**. // Default order for currentStageType is the following sequence: **DETECT, RECOMMEND, VERIFY, and APPLY**. SortBy ListRemediationRunsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources that belong to the specified compartment identifier. // Required only if the id query param is not specified. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListRemediationRunsRequest wrapper for the ListRemediationRuns operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListRemediationRuns.go.html to see an example of how to use ListRemediationRunsRequest.
func (ListRemediationRunsRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ListRemediationRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListRemediationRunsRequest) HTTPRequest ¶ added in v65.51.0
func (request ListRemediationRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListRemediationRunsRequest) RetryPolicy ¶ added in v65.51.0
func (request ListRemediationRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListRemediationRunsRequest) String ¶ added in v65.51.0
func (request ListRemediationRunsRequest) String() string
func (ListRemediationRunsRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ListRemediationRunsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListRemediationRunsResponse ¶ added in v65.51.0
type ListRemediationRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of RemediationRunCollection instances RemediationRunCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListRemediationRunsResponse wrapper for the ListRemediationRuns operation
func (ListRemediationRunsResponse) HTTPResponse ¶ added in v65.51.0
func (response ListRemediationRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListRemediationRunsResponse) String ¶ added in v65.51.0
func (response ListRemediationRunsResponse) String() string
type ListRemediationRunsSortByEnum ¶ added in v65.51.0
type ListRemediationRunsSortByEnum string
ListRemediationRunsSortByEnum Enum with underlying type: string
const ( ListRemediationRunsSortByTimecreated ListRemediationRunsSortByEnum = "timeCreated" ListRemediationRunsSortByTimefinished ListRemediationRunsSortByEnum = "timeFinished" ListRemediationRunsSortByTimestarted ListRemediationRunsSortByEnum = "timeStarted" ListRemediationRunsSortByDisplayname ListRemediationRunsSortByEnum = "displayName" ListRemediationRunsSortByLifecyclestate ListRemediationRunsSortByEnum = "lifecycleState" ListRemediationRunsSortByCurrentstagetype ListRemediationRunsSortByEnum = "currentStageType" )
Set of constants representing the allowable values for ListRemediationRunsSortByEnum
func GetListRemediationRunsSortByEnumValues ¶ added in v65.51.0
func GetListRemediationRunsSortByEnumValues() []ListRemediationRunsSortByEnum
GetListRemediationRunsSortByEnumValues Enumerates the set of values for ListRemediationRunsSortByEnum
func GetMappingListRemediationRunsSortByEnum ¶ added in v65.51.0
func GetMappingListRemediationRunsSortByEnum(val string) (ListRemediationRunsSortByEnum, bool)
GetMappingListRemediationRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListRemediationRunsSortOrderEnum ¶ added in v65.51.0
type ListRemediationRunsSortOrderEnum string
ListRemediationRunsSortOrderEnum Enum with underlying type: string
const ( ListRemediationRunsSortOrderAsc ListRemediationRunsSortOrderEnum = "ASC" ListRemediationRunsSortOrderDesc ListRemediationRunsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListRemediationRunsSortOrderEnum
func GetListRemediationRunsSortOrderEnumValues ¶ added in v65.51.0
func GetListRemediationRunsSortOrderEnumValues() []ListRemediationRunsSortOrderEnum
GetListRemediationRunsSortOrderEnumValues Enumerates the set of values for ListRemediationRunsSortOrderEnum
func GetMappingListRemediationRunsSortOrderEnum ¶ added in v65.51.0
func GetMappingListRemediationRunsSortOrderEnum(val string) (ListRemediationRunsSortOrderEnum, bool)
GetMappingListRemediationRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListStagesRequest ¶ added in v65.51.0
type ListStagesRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // A filter to return only Stages that match the specified type. Type ListStagesTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"` // A filter to return only Stages that match the specified status. Status RemediationRunStageStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListStagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The field used to sort Stages. Only one sort order is allowed. // Default order for status is the following sequence: **CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED**. // Default order for _timeCreated_ is **descending**. // Default order for _timeFinished_ is **descending**. // Default order for _timeStarted_ is **descending**. // Default order for _type_ is the following sequence: **DETECT, RECOMMEND, VERIFY, and APPLY**. SortBy ListStagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListStagesRequest wrapper for the ListStages operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListStages.go.html to see an example of how to use ListStagesRequest.
func (ListStagesRequest) BinaryRequestBody ¶ added in v65.51.0
func (request ListStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListStagesRequest) HTTPRequest ¶ added in v65.51.0
func (request ListStagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListStagesRequest) RetryPolicy ¶ added in v65.51.0
func (request ListStagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListStagesRequest) String ¶ added in v65.51.0
func (request ListStagesRequest) String() string
func (ListStagesRequest) ValidateEnumValue ¶ added in v65.51.0
func (request ListStagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListStagesResponse ¶ added in v65.51.0
type ListStagesResponse struct { // The underlying http response RawResponse *http.Response // A list of RemediationRunStageCollection instances RemediationRunStageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListStagesResponse wrapper for the ListStages operation
func (ListStagesResponse) HTTPResponse ¶ added in v65.51.0
func (response ListStagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListStagesResponse) String ¶ added in v65.51.0
func (response ListStagesResponse) String() string
type ListStagesSortByEnum ¶ added in v65.51.0
type ListStagesSortByEnum string
ListStagesSortByEnum Enum with underlying type: string
const ( ListStagesSortByStatus ListStagesSortByEnum = "status" ListStagesSortByTimecreated ListStagesSortByEnum = "timeCreated" ListStagesSortByTimefinished ListStagesSortByEnum = "timeFinished" ListStagesSortByTimestarted ListStagesSortByEnum = "timeStarted" ListStagesSortByType ListStagesSortByEnum = "type" )
Set of constants representing the allowable values for ListStagesSortByEnum
func GetListStagesSortByEnumValues ¶ added in v65.51.0
func GetListStagesSortByEnumValues() []ListStagesSortByEnum
GetListStagesSortByEnumValues Enumerates the set of values for ListStagesSortByEnum
func GetMappingListStagesSortByEnum ¶ added in v65.51.0
func GetMappingListStagesSortByEnum(val string) (ListStagesSortByEnum, bool)
GetMappingListStagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListStagesSortOrderEnum ¶ added in v65.51.0
type ListStagesSortOrderEnum string
ListStagesSortOrderEnum Enum with underlying type: string
const ( ListStagesSortOrderAsc ListStagesSortOrderEnum = "ASC" ListStagesSortOrderDesc ListStagesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListStagesSortOrderEnum
func GetListStagesSortOrderEnumValues ¶ added in v65.51.0
func GetListStagesSortOrderEnumValues() []ListStagesSortOrderEnum
GetListStagesSortOrderEnumValues Enumerates the set of values for ListStagesSortOrderEnum
func GetMappingListStagesSortOrderEnum ¶ added in v65.51.0
func GetMappingListStagesSortOrderEnum(val string) (ListStagesSortOrderEnum, bool)
GetMappingListStagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListStagesTypeEnum ¶ added in v65.51.0
type ListStagesTypeEnum string
ListStagesTypeEnum Enum with underlying type: string
const ( ListStagesTypeDetect ListStagesTypeEnum = "DETECT" ListStagesTypeRecommend ListStagesTypeEnum = "RECOMMEND" ListStagesTypeVerify ListStagesTypeEnum = "VERIFY" ListStagesTypeApply ListStagesTypeEnum = "APPLY" )
Set of constants representing the allowable values for ListStagesTypeEnum
func GetListStagesTypeEnumValues ¶ added in v65.51.0
func GetListStagesTypeEnumValues() []ListStagesTypeEnum
GetListStagesTypeEnumValues Enumerates the set of values for ListStagesTypeEnum
func GetMappingListStagesTypeEnum ¶ added in v65.51.0
func GetMappingListStagesTypeEnum(val string) (ListStagesTypeEnum, bool)
GetMappingListStagesTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum ¶ added in v65.56.0
type ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum string
ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum Enum with underlying type: string
const ( ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToNone ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "NONE" ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToLow ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "LOW" ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToMedium ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "MEDIUM" ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToHigh ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "HIGH" ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToCritical ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "CRITICAL" )
Set of constants representing the allowable values for ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum
func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues ¶ added in v65.56.0
func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues() []ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum
GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues Enumerates the set of values for ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum
func GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum ¶ added in v65.56.0
func GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum(val string) (ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum, bool)
GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum performs case Insensitive comparison on enum value and return the desired enum
type ListVulnerabilityAuditsRequest ¶
type ListVulnerabilityAuditsRequest struct { // A filter to return only resources that match the specified identifier. // Required only if the compartmentId query parameter is not specified. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only resources that belong to the specified compartment identifier. // Required only if the id query param is not specified. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only Vulnerability Audits that were created against the specified knowledge base. KnowledgeBaseId *string `mandatory:"false" contributesTo:"query" name:"knowledgeBaseId"` // A filter to return only successful or failed Vulnerability Audits. IsSuccess *bool `mandatory:"false" contributesTo:"query" name:"isSuccess"` // A filter to return only Vulnerability Audits that match the specified lifecycleState. LifecycleState VulnerabilityAuditLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListVulnerabilityAuditsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The field used to sort Vulnerability Audits. Only one sort order is allowed. // Default order for _maxObservedCvssV2Score_ is **ascending**. // Default order for _maxObservedCvssV3Score_ is **ascending**. // Default order for _maxObservedCvssV2ScoreWithIgnored_ is **ascending**. // Default order for _maxObservedCvssV3ScoreWithIgnored_ is **ascending**. // Default order for _timeCreated_ is **descending**. // Default order for _vulnerableArtifactsCount_ is **ascending**. // Default order for _vulnerableArtifactsCountWithIgnored_ is **ascending**. // Default order for _maxObservedSeverity_ is **ascending**. // Default order for _maxObservedSeverityWithIgnored_ is **ascending**. // Default order for _displayName_ is **ascending**. SortBy ListVulnerabilityAuditsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only Vulnerability Audits with timeCreated greater or equal to the specified value. TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"` // A filter to return only Vulnerability Audits with timeCreated less or equal to the specified value. TimeCreatedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThanOrEqualTo"` // A filter that returns only Vulnerability Audits that have a maximum observed Severity greater than or equal to the specified value. MaxObservedSeverityGreaterThanOrEqualTo ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum `mandatory:"false" contributesTo:"query" name:"maxObservedSeverityGreaterThanOrEqualTo" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListVulnerabilityAuditsRequest wrapper for the ListVulnerabilityAudits operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListVulnerabilityAudits.go.html to see an example of how to use ListVulnerabilityAuditsRequest.
func (ListVulnerabilityAuditsRequest) BinaryRequestBody ¶
func (request ListVulnerabilityAuditsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListVulnerabilityAuditsRequest) HTTPRequest ¶
func (request ListVulnerabilityAuditsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListVulnerabilityAuditsRequest) RetryPolicy ¶
func (request ListVulnerabilityAuditsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListVulnerabilityAuditsRequest) String ¶
func (request ListVulnerabilityAuditsRequest) String() string
func (ListVulnerabilityAuditsRequest) ValidateEnumValue ¶
func (request ListVulnerabilityAuditsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListVulnerabilityAuditsResponse ¶
type ListVulnerabilityAuditsResponse struct { // The underlying http response RawResponse *http.Response // A list of VulnerabilityAuditCollection instances VulnerabilityAuditCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListVulnerabilityAuditsResponse wrapper for the ListVulnerabilityAudits operation
func (ListVulnerabilityAuditsResponse) HTTPResponse ¶
func (response ListVulnerabilityAuditsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListVulnerabilityAuditsResponse) String ¶
func (response ListVulnerabilityAuditsResponse) String() string
type ListVulnerabilityAuditsSortByEnum ¶
type ListVulnerabilityAuditsSortByEnum string
ListVulnerabilityAuditsSortByEnum Enum with underlying type: string
const ( ListVulnerabilityAuditsSortByMaxobservedcvssv2score ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV2Score" ListVulnerabilityAuditsSortByMaxobservedcvssv3score ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV3Score" ListVulnerabilityAuditsSortByMaxobservedseverity ListVulnerabilityAuditsSortByEnum = "maxObservedSeverity" ListVulnerabilityAuditsSortByTimecreated ListVulnerabilityAuditsSortByEnum = "timeCreated" ListVulnerabilityAuditsSortByVulnerableartifactscount ListVulnerabilityAuditsSortByEnum = "vulnerableArtifactsCount" ListVulnerabilityAuditsSortByMaxobservedcvssv2scorewithignored ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV2ScoreWithIgnored" ListVulnerabilityAuditsSortByMaxobservedcvssv3scorewithignored ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV3ScoreWithIgnored" ListVulnerabilityAuditsSortByMaxobservedseveritywithignored ListVulnerabilityAuditsSortByEnum = "maxObservedSeverityWithIgnored" ListVulnerabilityAuditsSortByVulnerableartifactscountwithignored ListVulnerabilityAuditsSortByEnum = "vulnerableArtifactsCountWithIgnored" ListVulnerabilityAuditsSortByDisplayname ListVulnerabilityAuditsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListVulnerabilityAuditsSortByEnum
func GetListVulnerabilityAuditsSortByEnumValues ¶
func GetListVulnerabilityAuditsSortByEnumValues() []ListVulnerabilityAuditsSortByEnum
GetListVulnerabilityAuditsSortByEnumValues Enumerates the set of values for ListVulnerabilityAuditsSortByEnum
func GetMappingListVulnerabilityAuditsSortByEnum ¶
func GetMappingListVulnerabilityAuditsSortByEnum(val string) (ListVulnerabilityAuditsSortByEnum, bool)
GetMappingListVulnerabilityAuditsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListVulnerabilityAuditsSortOrderEnum ¶
type ListVulnerabilityAuditsSortOrderEnum string
ListVulnerabilityAuditsSortOrderEnum Enum with underlying type: string
const ( ListVulnerabilityAuditsSortOrderAsc ListVulnerabilityAuditsSortOrderEnum = "ASC" ListVulnerabilityAuditsSortOrderDesc ListVulnerabilityAuditsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListVulnerabilityAuditsSortOrderEnum
func GetListVulnerabilityAuditsSortOrderEnumValues ¶
func GetListVulnerabilityAuditsSortOrderEnumValues() []ListVulnerabilityAuditsSortOrderEnum
GetListVulnerabilityAuditsSortOrderEnumValues Enumerates the set of values for ListVulnerabilityAuditsSortOrderEnum
func GetMappingListVulnerabilityAuditsSortOrderEnum ¶
func GetMappingListVulnerabilityAuditsSortOrderEnum(val string) (ListVulnerabilityAuditsSortOrderEnum, bool)
GetMappingListVulnerabilityAuditsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field used to sort WorkRequests. Only one sort order is allowed. Default order for _timeAccepted_ is **descending**. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field used to sort WorkRequests. Only one sort order is allowed. Default order for _timeAccepted_ is **descending**. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // A filter to return only resources that belong to the specified compartment identifier. // Required only if the id query param is not specified. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The identifier of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources that match the specified OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field used to sort WorkRequests. Only one sort order is allowed. Default order for _timeAccepted_ is **descending**. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type NetworkConfiguration ¶ added in v65.51.0
type NetworkConfiguration struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the subnet. SubnetId *string `mandatory:"true" json:"subnetId"` // The list of Oracle Cloud Identifiers (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) corresponding to Network Security Groups. NsgIds []string `mandatory:"false" json:"nsgIds"` }
NetworkConfiguration A network configuration defines the required network characteristics for an ADM remediation recipe. A network configuration is required if the build service is one of: GitHub Actions, GitLab Pipeline, or Jenkins Pipeline.
func (NetworkConfiguration) String ¶ added in v65.51.0
func (m NetworkConfiguration) String() string
func (NetworkConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m NetworkConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type NoneVerifyConfiguration ¶ added in v65.51.0
type NoneVerifyConfiguration struct { }
NoneVerifyConfiguration Empty verify configuration when no build was selected.
func (NoneVerifyConfiguration) MarshalJSON ¶ added in v65.51.0
func (m NoneVerifyConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (NoneVerifyConfiguration) String ¶ added in v65.51.0
func (m NoneVerifyConfiguration) String() string
func (NoneVerifyConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m NoneVerifyConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OciCodeRepositoryConfiguration ¶ added in v65.51.0
type OciCodeRepositoryConfiguration struct { // The branch used by ADM to patch vulnerabilities. Branch *string `mandatory:"true" json:"branch"` // If true, the Pull Request (PR) will be merged after the verify stage completes successfully // If false, the PR with the proposed changes must be reviewed and manually merged. IsAutomergeEnabled *bool `mandatory:"true" json:"isAutomergeEnabled"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the OCI DevOps repository. OciCodeRepositoryId *string `mandatory:"true" json:"ociCodeRepositoryId"` // The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. // If this property is not specified, ADM will use the build file located at the root of the repository. BuildFileLocation *string `mandatory:"false" json:"buildFileLocation"` }
OciCodeRepositoryConfiguration An OCI Code repository configuration extends a SCM Configuration with necessary data to reach and use the OCI DevOps Code Repository.
func (OciCodeRepositoryConfiguration) GetBranch ¶ added in v65.51.0
func (m OciCodeRepositoryConfiguration) GetBranch() *string
GetBranch returns Branch
func (OciCodeRepositoryConfiguration) GetBuildFileLocation ¶ added in v65.51.0
func (m OciCodeRepositoryConfiguration) GetBuildFileLocation() *string
GetBuildFileLocation returns BuildFileLocation
func (OciCodeRepositoryConfiguration) GetIsAutomergeEnabled ¶ added in v65.51.0
func (m OciCodeRepositoryConfiguration) GetIsAutomergeEnabled() *bool
GetIsAutomergeEnabled returns IsAutomergeEnabled
func (OciCodeRepositoryConfiguration) MarshalJSON ¶ added in v65.51.0
func (m OciCodeRepositoryConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (OciCodeRepositoryConfiguration) String ¶ added in v65.51.0
func (m OciCodeRepositoryConfiguration) String() string
func (OciCodeRepositoryConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m OciCodeRepositoryConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OciDevOpsBuildConfiguration ¶ added in v65.51.0
type OciDevOpsBuildConfiguration struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the user's DevOps Build Pipeline. PipelineId *string `mandatory:"true" json:"pipelineId"` // Additional key-value pairs passed as parameters to the build service when running an experiment. AdditionalParameters map[string]string `mandatory:"false" json:"additionalParameters"` }
OciDevOpsBuildConfiguration OCI DevOps configuration extends a Verify Configuration with necessary data to reach and use the OCI DevOps Build Service.
func (OciDevOpsBuildConfiguration) MarshalJSON ¶ added in v65.51.0
func (m OciDevOpsBuildConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (OciDevOpsBuildConfiguration) String ¶ added in v65.51.0
func (m OciDevOpsBuildConfiguration) String() string
func (OciDevOpsBuildConfiguration) ValidateEnumValue ¶ added in v65.51.0
func (m OciDevOpsBuildConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OciResourceVulnerabilityAuditSource ¶ added in v65.26.0
type OciResourceVulnerabilityAuditSource struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the OCI resource that triggered the vulnerability audit. OciResourceId *string `mandatory:"true" json:"ociResourceId"` }
OciResourceVulnerabilityAuditSource OCI resource source for the vulnerability audit.
func (OciResourceVulnerabilityAuditSource) MarshalJSON ¶ added in v65.26.0
func (m OciResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (OciResourceVulnerabilityAuditSource) String ¶ added in v65.26.0
func (m OciResourceVulnerabilityAuditSource) String() string
func (OciResourceVulnerabilityAuditSource) ValidateEnumValue ¶ added in v65.26.0
func (m OciResourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateRemediationRecipe OperationTypeEnum = "CREATE_REMEDIATION_RECIPE" OperationTypeDeleteRemediationRecipe OperationTypeEnum = "DELETE_REMEDIATION_RECIPE" OperationTypeMoveRemediationRecipe OperationTypeEnum = "MOVE_REMEDIATION_RECIPE" OperationTypeUpdateRemediationRecipe OperationTypeEnum = "UPDATE_REMEDIATION_RECIPE" OperationTypeActivateRemediationRecipe OperationTypeEnum = "ACTIVATE_REMEDIATION_RECIPE" OperationTypeDeactivateRemediationRecipe OperationTypeEnum = "DEACTIVATE_REMEDIATION_RECIPE" OperationTypeCreateKnowledgeBase OperationTypeEnum = "CREATE_KNOWLEDGE_BASE" OperationTypeDeleteKnowledgeBase OperationTypeEnum = "DELETE_KNOWLEDGE_BASE" OperationTypeMoveKnowledgeBase OperationTypeEnum = "MOVE_KNOWLEDGE_BASE" OperationTypeUpdateKnowledgeBase OperationTypeEnum = "UPDATE_KNOWLEDGE_BASE" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type PipelineProperties ¶ added in v65.51.0
type PipelineProperties struct { // Unique identifier for the pipeline or action created in the Verify stage. PipelineIdentifier *string `mandatory:"false" json:"pipelineIdentifier"` // The web link to the pipeline from the Verify stage. PipelineUrl *string `mandatory:"false" json:"pipelineUrl"` }
PipelineProperties Pipeline properties which result from the run of the verify stage.
func (PipelineProperties) String ¶ added in v65.51.0
func (m PipelineProperties) String() string
func (PipelineProperties) ValidateEnumValue ¶ added in v65.51.0
func (m PipelineProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type PullRequestProperties ¶ added in v65.51.0
type PullRequestProperties struct { // Unique identifier for the pull or merge request created in the recommend stage. PullRequestIdentifier *string `mandatory:"false" json:"pullRequestIdentifier"` // The web link to the pull or merge request created in the recommend stage. PullRequestUrl *string `mandatory:"false" json:"pullRequestUrl"` }
PullRequestProperties Pull request properties from recommend stage of the remediation run.
func (PullRequestProperties) String ¶ added in v65.51.0
func (m PullRequestProperties) String() string
func (PullRequestProperties) ValidateEnumValue ¶ added in v65.51.0
func (m PullRequestProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RecommendStage ¶ added in v65.51.0
type RecommendStage struct { // The creation date and time of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. RemediationRunId *string `mandatory:"true" json:"remediationRunId"` // The date and time of the start of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Information about the current step within the stage. Summary *string `mandatory:"false" json:"summary"` // Count of recommended application dependencies to update. RecommendedUpdatesCount *int `mandatory:"false" json:"recommendedUpdatesCount"` PullRequestProperties *PullRequestProperties `mandatory:"false" json:"pullRequestProperties"` // The current status of a remediation run stage. Status RemediationRunStageStatusEnum `mandatory:"true" json:"status"` // The previous type of stage in the remediation run. PreviousStageType RemediationRunStageTypeEnum `mandatory:"false" json:"previousStageType,omitempty"` // The next type of stage in the remediation run. NextStageType RemediationRunStageTypeEnum `mandatory:"false" json:"nextStageType,omitempty"` }
RecommendStage A recommend stage determines the recommended third-party dependencies that the app should use and (if any) opens a pull request to propose these changes.
func (RecommendStage) GetNextStageType ¶ added in v65.51.0
func (m RecommendStage) GetNextStageType() RemediationRunStageTypeEnum
GetNextStageType returns NextStageType
func (RecommendStage) GetPreviousStageType ¶ added in v65.51.0
func (m RecommendStage) GetPreviousStageType() RemediationRunStageTypeEnum
GetPreviousStageType returns PreviousStageType
func (RecommendStage) GetRemediationRunId ¶ added in v65.51.0
func (m RecommendStage) GetRemediationRunId() *string
GetRemediationRunId returns RemediationRunId
func (RecommendStage) GetStatus ¶ added in v65.51.0
func (m RecommendStage) GetStatus() RemediationRunStageStatusEnum
GetStatus returns Status
func (RecommendStage) GetSummary ¶ added in v65.51.0
func (m RecommendStage) GetSummary() *string
GetSummary returns Summary
func (RecommendStage) GetTimeCreated ¶ added in v65.51.0
func (m RecommendStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (RecommendStage) GetTimeFinished ¶ added in v65.51.0
func (m RecommendStage) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (RecommendStage) GetTimeStarted ¶ added in v65.51.0
func (m RecommendStage) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (RecommendStage) MarshalJSON ¶ added in v65.51.0
func (m RecommendStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (RecommendStage) String ¶ added in v65.51.0
func (m RecommendStage) String() string
func (RecommendStage) ValidateEnumValue ¶ added in v65.51.0
func (m RecommendStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRecipe ¶ added in v65.51.0
type RemediationRecipe struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe. Id *string `mandatory:"true" json:"id"` // The name of the Remediation Recipe. DisplayName *string `mandatory:"true" json:"displayName"` // The creation date and time of the Remediation Recipe (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Remediation Recipe was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the Remediation Recipe. LifecycleState RemediationRecipeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated. IsRunTriggeredOnKbChange *bool `mandatory:"true" json:"isRunTriggeredOnKbChange"` ScmConfiguration ScmConfiguration `mandatory:"true" json:"scmConfiguration"` VerifyConfiguration VerifyConfiguration `mandatory:"true" json:"verifyConfiguration"` DetectConfiguration *DetectConfiguration `mandatory:"true" json:"detectConfiguration"` NetworkConfiguration *NetworkConfiguration `mandatory:"true" json:"networkConfiguration"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
RemediationRecipe An Application Dependency Management (ADM) remediation recipe contains the basic configuration and the details of each of the remediation stages (Detect, Recommend, Verify, and Apply).
func (RemediationRecipe) String ¶ added in v65.51.0
func (m RemediationRecipe) String() string
func (*RemediationRecipe) UnmarshalJSON ¶ added in v65.51.0
func (m *RemediationRecipe) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (RemediationRecipe) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRecipe) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRecipeCollection ¶ added in v65.51.0
type RemediationRecipeCollection struct { // List of remediation recipe summaries. Items []RemediationRecipeSummary `mandatory:"true" json:"items"` }
RemediationRecipeCollection Collection of remediation recipe summaries.
func (RemediationRecipeCollection) String ¶ added in v65.51.0
func (m RemediationRecipeCollection) String() string
func (RemediationRecipeCollection) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRecipeCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRecipeLifecycleStateEnum ¶ added in v65.51.0
type RemediationRecipeLifecycleStateEnum string
RemediationRecipeLifecycleStateEnum Enum with underlying type: string
const ( RemediationRecipeLifecycleStateCreating RemediationRecipeLifecycleStateEnum = "CREATING" RemediationRecipeLifecycleStateActive RemediationRecipeLifecycleStateEnum = "ACTIVE" RemediationRecipeLifecycleStateUpdating RemediationRecipeLifecycleStateEnum = "UPDATING" RemediationRecipeLifecycleStateInactive RemediationRecipeLifecycleStateEnum = "INACTIVE" RemediationRecipeLifecycleStateFailed RemediationRecipeLifecycleStateEnum = "FAILED" RemediationRecipeLifecycleStateDeleting RemediationRecipeLifecycleStateEnum = "DELETING" RemediationRecipeLifecycleStateDeleted RemediationRecipeLifecycleStateEnum = "DELETED" RemediationRecipeLifecycleStateNeedsAttention RemediationRecipeLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for RemediationRecipeLifecycleStateEnum
func GetMappingRemediationRecipeLifecycleStateEnum ¶ added in v65.51.0
func GetMappingRemediationRecipeLifecycleStateEnum(val string) (RemediationRecipeLifecycleStateEnum, bool)
GetMappingRemediationRecipeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemediationRecipeLifecycleStateEnumValues ¶ added in v65.51.0
func GetRemediationRecipeLifecycleStateEnumValues() []RemediationRecipeLifecycleStateEnum
GetRemediationRecipeLifecycleStateEnumValues Enumerates the set of values for RemediationRecipeLifecycleStateEnum
type RemediationRecipeSummary ¶ added in v65.51.0
type RemediationRecipeSummary struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe. Id *string `mandatory:"true" json:"id"` // The name of the Remediation Recipe. DisplayName *string `mandatory:"true" json:"displayName"` // The creation date and time of the Remediation Recipe (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Remediation Recipe was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current lifecycle state of the Remediation Recipe. LifecycleState RemediationRecipeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // Boolean indicating if a run should be automatically triggered once the Knowledge Base is updated. IsRunTriggeredOnKbChange *bool `mandatory:"true" json:"isRunTriggeredOnKbChange"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
RemediationRecipeSummary The summary of a Remediation Recipe.
func (RemediationRecipeSummary) String ¶ added in v65.51.0
func (m RemediationRecipeSummary) String() string
func (RemediationRecipeSummary) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRecipeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRun ¶ added in v65.51.0
type RemediationRun struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. Id *string `mandatory:"true" json:"id"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. RemediationRecipeId *string `mandatory:"true" json:"remediationRecipeId"` // The source that triggered the Remediation Recipe. RemediationRunSource RemediationRunRemediationRunSourceEnum `mandatory:"true" json:"remediationRunSource"` // The creation date and time of the remediation run (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the remediation run was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current lifecycle state of the remediation run. LifecycleState RemediationRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The name of the remediation run. DisplayName *string `mandatory:"false" json:"displayName"` // The list of remediation run stage summaries. Stages []StageSummary `mandatory:"false" json:"stages"` // The date and time of the start of the remediation run (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The type of the current stage of the remediation run. CurrentStageType RemediationRunStageTypeEnum `mandatory:"false" json:"currentStageType,omitempty"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
RemediationRun A remediation run represents an execution of a Remediation Recipe to detect and fix vulnerabilities based on current state of the Vulnerabilities curated in the Knowledge Base. A Run can be triggered manually or when a new CVE is discovered.
func (RemediationRun) String ¶ added in v65.51.0
func (m RemediationRun) String() string
func (RemediationRun) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRun) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRunCollection ¶ added in v65.51.0
type RemediationRunCollection struct { // List of remediation run summaries. Items []RemediationRunSummary `mandatory:"true" json:"items"` }
RemediationRunCollection Collection of remediation run summaries.
func (RemediationRunCollection) String ¶ added in v65.51.0
func (m RemediationRunCollection) String() string
func (RemediationRunCollection) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRunCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRunLifecycleStateEnum ¶ added in v65.51.0
type RemediationRunLifecycleStateEnum string
RemediationRunLifecycleStateEnum Enum with underlying type: string
const ( RemediationRunLifecycleStateAccepted RemediationRunLifecycleStateEnum = "ACCEPTED" RemediationRunLifecycleStateCanceled RemediationRunLifecycleStateEnum = "CANCELED" RemediationRunLifecycleStateCanceling RemediationRunLifecycleStateEnum = "CANCELING" RemediationRunLifecycleStateFailed RemediationRunLifecycleStateEnum = "FAILED" RemediationRunLifecycleStateInProgress RemediationRunLifecycleStateEnum = "IN_PROGRESS" RemediationRunLifecycleStateSucceeded RemediationRunLifecycleStateEnum = "SUCCEEDED" RemediationRunLifecycleStateDeleting RemediationRunLifecycleStateEnum = "DELETING" RemediationRunLifecycleStateDeleted RemediationRunLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for RemediationRunLifecycleStateEnum
func GetMappingRemediationRunLifecycleStateEnum ¶ added in v65.51.0
func GetMappingRemediationRunLifecycleStateEnum(val string) (RemediationRunLifecycleStateEnum, bool)
GetMappingRemediationRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemediationRunLifecycleStateEnumValues ¶ added in v65.51.0
func GetRemediationRunLifecycleStateEnumValues() []RemediationRunLifecycleStateEnum
GetRemediationRunLifecycleStateEnumValues Enumerates the set of values for RemediationRunLifecycleStateEnum
type RemediationRunRemediationRunSourceEnum ¶ added in v65.51.0
type RemediationRunRemediationRunSourceEnum string
RemediationRunRemediationRunSourceEnum Enum with underlying type: string
const ( RemediationRunRemediationRunSourceManual RemediationRunRemediationRunSourceEnum = "MANUAL" RemediationRunRemediationRunSourceKnowledgeBase RemediationRunRemediationRunSourceEnum = "KNOWLEDGE_BASE" )
Set of constants representing the allowable values for RemediationRunRemediationRunSourceEnum
func GetMappingRemediationRunRemediationRunSourceEnum ¶ added in v65.51.0
func GetMappingRemediationRunRemediationRunSourceEnum(val string) (RemediationRunRemediationRunSourceEnum, bool)
GetMappingRemediationRunRemediationRunSourceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemediationRunRemediationRunSourceEnumValues ¶ added in v65.51.0
func GetRemediationRunRemediationRunSourceEnumValues() []RemediationRunRemediationRunSourceEnum
GetRemediationRunRemediationRunSourceEnumValues Enumerates the set of values for RemediationRunRemediationRunSourceEnum
type RemediationRunStage ¶ added in v65.51.0
type RemediationRunStage interface { // The current status of a remediation run stage. GetStatus() RemediationRunStageStatusEnum // The creation date and time of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). GetTimeCreated() *common.SDKTime // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. GetRemediationRunId() *string // The date and time of the start of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). GetTimeStarted() *common.SDKTime // The date and time of the finish of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). GetTimeFinished() *common.SDKTime // Information about the current step within the stage. GetSummary() *string // The previous type of stage in the remediation run. GetPreviousStageType() RemediationRunStageTypeEnum // The next type of stage in the remediation run. GetNextStageType() RemediationRunStageTypeEnum }
RemediationRunStage A remediation run stage is one step of an remediation run. Each stage provides output logs and has a specific type. The stages are: DETECT, RECOMMEND, VERIFY, and APPLY.
type RemediationRunStageCollection ¶ added in v65.51.0
type RemediationRunStageCollection struct { // List of remediation run stage summaries. Items []RemediationRunStageSummary `mandatory:"true" json:"items"` }
RemediationRunStageCollection Collection of remediation run stage summaries.
func (RemediationRunStageCollection) String ¶ added in v65.51.0
func (m RemediationRunStageCollection) String() string
func (RemediationRunStageCollection) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRunStageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRunStageStatusEnum ¶ added in v65.51.0
type RemediationRunStageStatusEnum string
RemediationRunStageStatusEnum Enum with underlying type: string
const ( RemediationRunStageStatusCreated RemediationRunStageStatusEnum = "CREATED" RemediationRunStageStatusInProgress RemediationRunStageStatusEnum = "IN_PROGRESS" RemediationRunStageStatusSucceeded RemediationRunStageStatusEnum = "SUCCEEDED" RemediationRunStageStatusFailed RemediationRunStageStatusEnum = "FAILED" RemediationRunStageStatusCanceling RemediationRunStageStatusEnum = "CANCELING" RemediationRunStageStatusCanceled RemediationRunStageStatusEnum = "CANCELED" )
Set of constants representing the allowable values for RemediationRunStageStatusEnum
func GetMappingRemediationRunStageStatusEnum ¶ added in v65.51.0
func GetMappingRemediationRunStageStatusEnum(val string) (RemediationRunStageStatusEnum, bool)
GetMappingRemediationRunStageStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemediationRunStageStatusEnumValues ¶ added in v65.51.0
func GetRemediationRunStageStatusEnumValues() []RemediationRunStageStatusEnum
GetRemediationRunStageStatusEnumValues Enumerates the set of values for RemediationRunStageStatusEnum
type RemediationRunStageSummary ¶ added in v65.51.0
type RemediationRunStageSummary struct { // The current status of remediation run stage. Status RemediationRunStageStatusEnum `mandatory:"true" json:"status"` // The creation date and time of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The type of the remediation run stage. Type RemediationRunStageTypeEnum `mandatory:"true" json:"type"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. RemediationRunId *string `mandatory:"true" json:"remediationRunId"` // The date and time of the start of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Information about the current step within the stage. Summary *string `mandatory:"false" json:"summary"` }
RemediationRunStageSummary The summary of a remediation run stages.
func (RemediationRunStageSummary) String ¶ added in v65.51.0
func (m RemediationRunStageSummary) String() string
func (RemediationRunStageSummary) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRunStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RemediationRunStageTypeEnum ¶ added in v65.51.0
type RemediationRunStageTypeEnum string
RemediationRunStageTypeEnum Enum with underlying type: string
const ( RemediationRunStageTypeDetect RemediationRunStageTypeEnum = "DETECT" RemediationRunStageTypeRecommend RemediationRunStageTypeEnum = "RECOMMEND" RemediationRunStageTypeVerify RemediationRunStageTypeEnum = "VERIFY" RemediationRunStageTypeApply RemediationRunStageTypeEnum = "APPLY" )
Set of constants representing the allowable values for RemediationRunStageTypeEnum
func GetMappingRemediationRunStageTypeEnum ¶ added in v65.51.0
func GetMappingRemediationRunStageTypeEnum(val string) (RemediationRunStageTypeEnum, bool)
GetMappingRemediationRunStageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRemediationRunStageTypeEnumValues ¶ added in v65.51.0
func GetRemediationRunStageTypeEnumValues() []RemediationRunStageTypeEnum
GetRemediationRunStageTypeEnumValues Enumerates the set of values for RemediationRunStageTypeEnum
type RemediationRunSummary ¶ added in v65.51.0
type RemediationRunSummary struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. Id *string `mandatory:"true" json:"id"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe. RemediationRecipeId *string `mandatory:"true" json:"remediationRecipeId"` // The creation date and time of the remediation run (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the remediation run was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The compartment Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current lifecycle state of the remediation run. LifecycleState RemediationRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The source from which the remediation run was triggered. RemediationRunSource RemediationRunRemediationRunSourceEnum `mandatory:"true" json:"remediationRunSource"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The name of the remediation run. DisplayName *string `mandatory:"false" json:"displayName"` // The date and time of the start of the remediation run (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The type of the current stage of the remediation run. CurrentStageType RemediationRunStageTypeEnum `mandatory:"false" json:"currentStageType,omitempty"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
RemediationRunSummary remediation run summary.
func (RemediationRunSummary) String ¶ added in v65.51.0
func (m RemediationRunSummary) String() string
func (RemediationRunSummary) ValidateEnumValue ¶ added in v65.51.0
func (m RemediationRunSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ScmConfiguration ¶ added in v65.51.0
type ScmConfiguration interface { // The branch used by ADM to patch vulnerabilities. GetBranch() *string // If true, the Pull Request (PR) will be merged after the verify stage completes successfully // If false, the PR with the proposed changes must be reviewed and manually merged. GetIsAutomergeEnabled() *bool // The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. // If this property is not specified, ADM will use the build file located at the root of the repository. GetBuildFileLocation() *string }
ScmConfiguration A configuration for the Source Code Management tool/platform used by a remediation recipe.
type ScmConfigurationScmTypeEnum ¶ added in v65.51.0
type ScmConfigurationScmTypeEnum string
ScmConfigurationScmTypeEnum Enum with underlying type: string
const ( ScmConfigurationScmTypeOciCodeRepository ScmConfigurationScmTypeEnum = "OCI_CODE_REPOSITORY" ScmConfigurationScmTypeExternalScm ScmConfigurationScmTypeEnum = "EXTERNAL_SCM" )
Set of constants representing the allowable values for ScmConfigurationScmTypeEnum
func GetMappingScmConfigurationScmTypeEnum ¶ added in v65.51.0
func GetMappingScmConfigurationScmTypeEnum(val string) (ScmConfigurationScmTypeEnum, bool)
GetMappingScmConfigurationScmTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetScmConfigurationScmTypeEnumValues ¶ added in v65.51.0
func GetScmConfigurationScmTypeEnumValues() []ScmConfigurationScmTypeEnum
GetScmConfigurationScmTypeEnumValues Enumerates the set of values for ScmConfigurationScmTypeEnum
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type StageSummary ¶ added in v65.51.0
type StageSummary struct { // The creation date and time of the stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The type of stage. Type RemediationRunStageTypeEnum `mandatory:"true" json:"type"` // The date and time of the start of the stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Information about the current step within the given stage. Summary *string `mandatory:"false" json:"summary"` }
StageSummary stage summary of a remediation run. A stage is one step of a remediation run.
func (StageSummary) String ¶ added in v65.51.0
func (m StageSummary) String() string
func (StageSummary) ValidateEnumValue ¶ added in v65.51.0
func (m StageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UnknownSourceVulnerabilityAuditSource ¶ added in v65.26.0
type UnknownSourceVulnerabilityAuditSource struct { }
UnknownSourceVulnerabilityAuditSource Unknown source for vulnerability audit.
func (UnknownSourceVulnerabilityAuditSource) MarshalJSON ¶ added in v65.26.0
func (m UnknownSourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UnknownSourceVulnerabilityAuditSource) String ¶ added in v65.26.0
func (m UnknownSourceVulnerabilityAuditSource) String() string
func (UnknownSourceVulnerabilityAuditSource) ValidateEnumValue ¶ added in v65.26.0
func (m UnknownSourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateKnowledgeBaseDetails ¶
type UpdateKnowledgeBaseDetails struct { // The name of the knowledge base. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateKnowledgeBaseDetails Details to update an existing knowledge base.
func (UpdateKnowledgeBaseDetails) String ¶
func (m UpdateKnowledgeBaseDetails) String() string
func (UpdateKnowledgeBaseDetails) ValidateEnumValue ¶
func (m UpdateKnowledgeBaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateKnowledgeBaseRequest ¶
type UpdateKnowledgeBaseRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // The details to update a Knowledge Base. UpdateKnowledgeBaseDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateKnowledgeBaseRequest wrapper for the UpdateKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateKnowledgeBase.go.html to see an example of how to use UpdateKnowledgeBaseRequest.
func (UpdateKnowledgeBaseRequest) BinaryRequestBody ¶
func (request UpdateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateKnowledgeBaseRequest) HTTPRequest ¶
func (request UpdateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateKnowledgeBaseRequest) RetryPolicy ¶
func (request UpdateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateKnowledgeBaseRequest) String ¶
func (request UpdateKnowledgeBaseRequest) String() string
func (UpdateKnowledgeBaseRequest) ValidateEnumValue ¶
func (request UpdateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateKnowledgeBaseResponse ¶
type UpdateKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateKnowledgeBaseResponse wrapper for the UpdateKnowledgeBase operation
func (UpdateKnowledgeBaseResponse) HTTPResponse ¶
func (response UpdateKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateKnowledgeBaseResponse) String ¶
func (response UpdateKnowledgeBaseResponse) String() string
type UpdateRemediationRecipeDetails ¶ added in v65.51.0
type UpdateRemediationRecipeDetails struct { // The name of the remediation recipe. DisplayName *string `mandatory:"false" json:"displayName"` ScmConfiguration ScmConfiguration `mandatory:"false" json:"scmConfiguration"` VerifyConfiguration VerifyConfiguration `mandatory:"false" json:"verifyConfiguration"` DetectConfiguration *DetectConfiguration `mandatory:"false" json:"detectConfiguration"` NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"false" json:"knowledgeBaseId"` // Boolean indicating if a run should be automatically triggered once the knowledge base is updated. IsRunTriggeredOnKbChange *bool `mandatory:"false" json:"isRunTriggeredOnKbChange"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateRemediationRecipeDetails Details to update an existing remediation recipe.
func (UpdateRemediationRecipeDetails) String ¶ added in v65.51.0
func (m UpdateRemediationRecipeDetails) String() string
func (*UpdateRemediationRecipeDetails) UnmarshalJSON ¶ added in v65.51.0
func (m *UpdateRemediationRecipeDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateRemediationRecipeDetails) ValidateEnumValue ¶ added in v65.51.0
func (m UpdateRemediationRecipeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRemediationRecipeRequest ¶ added in v65.51.0
type UpdateRemediationRecipeRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter. RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"` // The details to update a Remediation Recipe. UpdateRemediationRecipeDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateRemediationRecipeRequest wrapper for the UpdateRemediationRecipe operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateRemediationRecipe.go.html to see an example of how to use UpdateRemediationRecipeRequest.
func (UpdateRemediationRecipeRequest) BinaryRequestBody ¶ added in v65.51.0
func (request UpdateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateRemediationRecipeRequest) HTTPRequest ¶ added in v65.51.0
func (request UpdateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateRemediationRecipeRequest) RetryPolicy ¶ added in v65.51.0
func (request UpdateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateRemediationRecipeRequest) String ¶ added in v65.51.0
func (request UpdateRemediationRecipeRequest) String() string
func (UpdateRemediationRecipeRequest) ValidateEnumValue ¶ added in v65.51.0
func (request UpdateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRemediationRecipeResponse ¶ added in v65.51.0
type UpdateRemediationRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateRemediationRecipeResponse wrapper for the UpdateRemediationRecipe operation
func (UpdateRemediationRecipeResponse) HTTPResponse ¶ added in v65.51.0
func (response UpdateRemediationRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateRemediationRecipeResponse) String ¶ added in v65.51.0
func (response UpdateRemediationRecipeResponse) String() string
type UpdateRemediationRunDetails ¶ added in v65.51.0
type UpdateRemediationRunDetails struct { // The name of the remediation run. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateRemediationRunDetails Details to update an existing remediation run.
func (UpdateRemediationRunDetails) String ¶ added in v65.51.0
func (m UpdateRemediationRunDetails) String() string
func (UpdateRemediationRunDetails) ValidateEnumValue ¶ added in v65.51.0
func (m UpdateRemediationRunDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRemediationRunRequest ¶ added in v65.51.0
type UpdateRemediationRunRequest struct { // Unique Remediation Run identifier path parameter. RemediationRunId *string `mandatory:"true" contributesTo:"path" name:"remediationRunId"` // The details used to update a remediation run. UpdateRemediationRunDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateRemediationRunRequest wrapper for the UpdateRemediationRun operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateRemediationRun.go.html to see an example of how to use UpdateRemediationRunRequest.
func (UpdateRemediationRunRequest) BinaryRequestBody ¶ added in v65.51.0
func (request UpdateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateRemediationRunRequest) HTTPRequest ¶ added in v65.51.0
func (request UpdateRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateRemediationRunRequest) RetryPolicy ¶ added in v65.51.0
func (request UpdateRemediationRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateRemediationRunRequest) String ¶ added in v65.51.0
func (request UpdateRemediationRunRequest) String() string
func (UpdateRemediationRunRequest) ValidateEnumValue ¶ added in v65.51.0
func (request UpdateRemediationRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRemediationRunResponse ¶ added in v65.51.0
type UpdateRemediationRunResponse struct { // The underlying http response RawResponse *http.Response // The RemediationRun instance RemediationRun `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateRemediationRunResponse wrapper for the UpdateRemediationRun operation
func (UpdateRemediationRunResponse) HTTPResponse ¶ added in v65.51.0
func (response UpdateRemediationRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateRemediationRunResponse) String ¶ added in v65.51.0
func (response UpdateRemediationRunResponse) String() string
type UpdateVulnerabilityAuditDetails ¶
type UpdateVulnerabilityAuditDetails struct { // The name of the vulnerability audit. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateVulnerabilityAuditDetails Details to update a vulnerability audit.
func (UpdateVulnerabilityAuditDetails) String ¶
func (m UpdateVulnerabilityAuditDetails) String() string
func (UpdateVulnerabilityAuditDetails) ValidateEnumValue ¶
func (m UpdateVulnerabilityAuditDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVulnerabilityAuditRequest ¶
type UpdateVulnerabilityAuditRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // The details to update a Vulnerability Audit. UpdateVulnerabilityAuditDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateVulnerabilityAuditRequest wrapper for the UpdateVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateVulnerabilityAudit.go.html to see an example of how to use UpdateVulnerabilityAuditRequest.
func (UpdateVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request UpdateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateVulnerabilityAuditRequest) HTTPRequest ¶
func (request UpdateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateVulnerabilityAuditRequest) RetryPolicy ¶
func (request UpdateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateVulnerabilityAuditRequest) String ¶
func (request UpdateVulnerabilityAuditRequest) String() string
func (UpdateVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request UpdateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVulnerabilityAuditResponse ¶
type UpdateVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // The VulnerabilityAudit instance VulnerabilityAudit `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateVulnerabilityAuditResponse wrapper for the UpdateVulnerabilityAudit operation
func (UpdateVulnerabilityAuditResponse) HTTPResponse ¶
func (response UpdateVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateVulnerabilityAuditResponse) String ¶
func (response UpdateVulnerabilityAuditResponse) String() string
type UsageDataDetails ¶ added in v65.54.0
type UsageDataDetails interface { }
UsageDataDetails The source details of the usage data in object storage. The usage data file uploaded to object storage must be a gzip archive of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build. Set `sourceType` to `objectStorageTuple` and use UsageDataViaObjectStorageTupleDetails when specifying the namespace, bucket name, and object name.
type UsageDataViaObjectStorageTupleDetails ¶ added in v65.54.0
type UsageDataViaObjectStorageTupleDetails struct { // The Object Storage bucket to read the usage data from. BucketName *string `mandatory:"true" json:"bucketName"` // The Object Storage namespace to read the usage data from. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The Object Storage object name to read the usage data from. ObjectName *string `mandatory:"true" json:"objectName"` }
UsageDataViaObjectStorageTupleDetails Reference to an object in object storage as a tuple. The usage data file uploaded to object storage must be a gzip archive of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.
func (UsageDataViaObjectStorageTupleDetails) MarshalJSON ¶ added in v65.54.0
func (m UsageDataViaObjectStorageTupleDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UsageDataViaObjectStorageTupleDetails) String ¶ added in v65.54.0
func (m UsageDataViaObjectStorageTupleDetails) String() string
func (UsageDataViaObjectStorageTupleDetails) ValidateEnumValue ¶ added in v65.54.0
func (m UsageDataViaObjectStorageTupleDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VerifyConfiguration ¶ added in v65.51.0
type VerifyConfiguration interface { }
VerifyConfiguration The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
type VerifyConfigurationBuildServiceTypeEnum ¶ added in v65.51.0
type VerifyConfigurationBuildServiceTypeEnum string
VerifyConfigurationBuildServiceTypeEnum Enum with underlying type: string
const ( VerifyConfigurationBuildServiceTypeOciDevopsBuild VerifyConfigurationBuildServiceTypeEnum = "OCI_DEVOPS_BUILD" VerifyConfigurationBuildServiceTypeGitlabPipeline VerifyConfigurationBuildServiceTypeEnum = "GITLAB_PIPELINE" VerifyConfigurationBuildServiceTypeGithubActions VerifyConfigurationBuildServiceTypeEnum = "GITHUB_ACTIONS" VerifyConfigurationBuildServiceTypeJenkinsPipeline VerifyConfigurationBuildServiceTypeEnum = "JENKINS_PIPELINE" VerifyConfigurationBuildServiceTypeNone VerifyConfigurationBuildServiceTypeEnum = "NONE" )
Set of constants representing the allowable values for VerifyConfigurationBuildServiceTypeEnum
func GetMappingVerifyConfigurationBuildServiceTypeEnum ¶ added in v65.51.0
func GetMappingVerifyConfigurationBuildServiceTypeEnum(val string) (VerifyConfigurationBuildServiceTypeEnum, bool)
GetMappingVerifyConfigurationBuildServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVerifyConfigurationBuildServiceTypeEnumValues ¶ added in v65.51.0
func GetVerifyConfigurationBuildServiceTypeEnumValues() []VerifyConfigurationBuildServiceTypeEnum
GetVerifyConfigurationBuildServiceTypeEnumValues Enumerates the set of values for VerifyConfigurationBuildServiceTypeEnum
type VerifyStage ¶ added in v65.51.0
type VerifyStage struct { // The creation date and time of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation run. RemediationRunId *string `mandatory:"true" json:"remediationRunId"` // The date and time of the start of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time of the finish of the remediation run stage (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Information about the current step within the stage. Summary *string `mandatory:"false" json:"summary"` PullRequestProperties *PullRequestProperties `mandatory:"false" json:"pullRequestProperties"` PipelineProperties *PipelineProperties `mandatory:"false" json:"pipelineProperties"` // The current status of a remediation run stage. Status RemediationRunStageStatusEnum `mandatory:"true" json:"status"` // The previous type of stage in the remediation run. PreviousStageType RemediationRunStageTypeEnum `mandatory:"false" json:"previousStageType,omitempty"` // The next type of stage in the remediation run. NextStageType RemediationRunStageTypeEnum `mandatory:"false" json:"nextStageType,omitempty"` }
VerifyStage A verify stage will run a build pipeline in a branch.
func (VerifyStage) GetNextStageType ¶ added in v65.51.0
func (m VerifyStage) GetNextStageType() RemediationRunStageTypeEnum
GetNextStageType returns NextStageType
func (VerifyStage) GetPreviousStageType ¶ added in v65.51.0
func (m VerifyStage) GetPreviousStageType() RemediationRunStageTypeEnum
GetPreviousStageType returns PreviousStageType
func (VerifyStage) GetRemediationRunId ¶ added in v65.51.0
func (m VerifyStage) GetRemediationRunId() *string
GetRemediationRunId returns RemediationRunId
func (VerifyStage) GetStatus ¶ added in v65.51.0
func (m VerifyStage) GetStatus() RemediationRunStageStatusEnum
GetStatus returns Status
func (VerifyStage) GetSummary ¶ added in v65.51.0
func (m VerifyStage) GetSummary() *string
GetSummary returns Summary
func (VerifyStage) GetTimeCreated ¶ added in v65.51.0
func (m VerifyStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (VerifyStage) GetTimeFinished ¶ added in v65.51.0
func (m VerifyStage) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (VerifyStage) GetTimeStarted ¶ added in v65.51.0
func (m VerifyStage) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (VerifyStage) MarshalJSON ¶ added in v65.51.0
func (m VerifyStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (VerifyStage) String ¶ added in v65.51.0
func (m VerifyStage) String() string
func (VerifyStage) ValidateEnumValue ¶ added in v65.51.0
func (m VerifyStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type Vulnerability ¶
type Vulnerability struct { // Unique vulnerability identifier, e.g. CVE-1999-0067. Id *string `mandatory:"true" json:"id"` // Indicates if the vulnerability was ignored according to the audit configuration. IsIgnored *bool `mandatory:"true" json:"isIgnored"` // Source that published the vulnerability Source *string `mandatory:"false" json:"source"` // Common Vulnerability Scoring System (CVSS) Version 2. CvssV2Score *float32 `mandatory:"false" json:"cvssV2Score"` // Common Vulnerability Scoring System (CVSS) Version 3. CvssV3Score *float32 `mandatory:"false" json:"cvssV3Score"` // ADM qualitative severity score. Can be either NONE, LOW, MEDIUM, HIGH or CRITICAL. Severity VulnerabilitySeverityEnum `mandatory:"false" json:"severity,omitempty"` // Indicates if the vulnerability is a false positive according to the usage data. If no usage data was provided or the service cannot infer usage of the vulnerable code then this property is `null`. IsFalsePositive *bool `mandatory:"false" json:"isFalsePositive"` }
Vulnerability A vulnerability is a weakness or error in an artifact. A vulnerability is a generalization of a CVE (every CVE is a vulnerability, but not every vulnerability has a CVE).
func (Vulnerability) String ¶
func (m Vulnerability) String() string
func (Vulnerability) ValidateEnumValue ¶
func (m Vulnerability) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAudit ¶
type VulnerabilityAudit struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit. Id *string `mandatory:"true" json:"id"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // The creation date and time of the vulnerability audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The update date and time of the vulnerability audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the vulnerability audit. LifecycleState VulnerabilityAuditLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // List of vulnerabilities found in the vulnerability audit. If a vulnerability affects multiple dependencies, the metadata returned here consists of audit-wide aggregates. Vulnerabilities []Vulnerability `mandatory:"true" json:"vulnerabilities"` // Count of all vulnerable application dependencies. VulnerableArtifactsCountWithIgnored *int `mandatory:"true" json:"vulnerableArtifactsCountWithIgnored"` // Count of non-ignored vulnerable application dependencies. VulnerableArtifactsCount *int `mandatory:"true" json:"vulnerableArtifactsCount"` // The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated. BuildType VulnerabilityAuditBuildTypeEnum `mandatory:"true" json:"buildType"` Source VulnerabilityAuditSource `mandatory:"true" json:"source"` // The compartment Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the vulnerability audit. DisplayName *string `mandatory:"false" json:"displayName"` // Details on the lifecycle state. LifecycleDetails VulnerabilityAuditLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable application dependencies. MaxObservedCvssV2Score *float32 `mandatory:"false" json:"maxObservedCvssV2Score"` // Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable application dependencies. MaxObservedCvssV3Score *float32 `mandatory:"false" json:"maxObservedCvssV3Score"` // Maximum ADM Severity observed for non-ignored vulnerable application dependencies. MaxObservedSeverity VulnerabilitySeverityEnum `mandatory:"false" json:"maxObservedSeverity,omitempty"` // Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable application dependencies including ignored ones. MaxObservedCvssV2ScoreWithIgnored *float32 `mandatory:"false" json:"maxObservedCvssV2ScoreWithIgnored"` // Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable application dependencies including ignored ones. MaxObservedCvssV3ScoreWithIgnored *float32 `mandatory:"false" json:"maxObservedCvssV3ScoreWithIgnored"` // Maximum ADM Severity observed for vulnerable application dependencies including ignored ones. MaxObservedSeverityWithIgnored VulnerabilitySeverityEnum `mandatory:"false" json:"maxObservedSeverityWithIgnored,omitempty"` Configuration *VulnerabilityAuditConfiguration `mandatory:"false" json:"configuration"` UsageData UsageDataDetails `mandatory:"false" json:"usageData"` // Indicates if an audit succeeded according to the configuration. The value is `null` if the audit is in the `CREATING` state. IsSuccess *bool `mandatory:"false" json:"isSuccess"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
VulnerabilityAudit A vulnerability audit associates the application dependencies of a project with their associated Vulnerabilities. Each Vulnerability is associated with a score (Common Vulnerability Scoring System V2 or V3). A vulnerable application dependency can be ignored based on the configuration of the vulnerability audit. maxObservedCvssV2Score, maxObservedCvssV3Score and vulnerableArtifactsCount do not take into account non-vulnerable application dependency.
func (VulnerabilityAudit) String ¶
func (m VulnerabilityAudit) String() string
func (*VulnerabilityAudit) UnmarshalJSON ¶ added in v65.26.0
func (m *VulnerabilityAudit) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (VulnerabilityAudit) ValidateEnumValue ¶
func (m VulnerabilityAudit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAuditBuildTypeEnum ¶
type VulnerabilityAuditBuildTypeEnum string
VulnerabilityAuditBuildTypeEnum Enum with underlying type: string
const ( VulnerabilityAuditBuildTypeMaven VulnerabilityAuditBuildTypeEnum = "MAVEN" VulnerabilityAuditBuildTypeUnset VulnerabilityAuditBuildTypeEnum = "UNSET" )
Set of constants representing the allowable values for VulnerabilityAuditBuildTypeEnum
func GetMappingVulnerabilityAuditBuildTypeEnum ¶
func GetMappingVulnerabilityAuditBuildTypeEnum(val string) (VulnerabilityAuditBuildTypeEnum, bool)
GetMappingVulnerabilityAuditBuildTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityAuditBuildTypeEnumValues ¶
func GetVulnerabilityAuditBuildTypeEnumValues() []VulnerabilityAuditBuildTypeEnum
GetVulnerabilityAuditBuildTypeEnumValues Enumerates the set of values for VulnerabilityAuditBuildTypeEnum
type VulnerabilityAuditCollection ¶
type VulnerabilityAuditCollection struct { // List of vulnerability audit summaries. Items []VulnerabilityAuditSummary `mandatory:"true" json:"items"` }
VulnerabilityAuditCollection Collection of vulnerability audit summaries.
func (VulnerabilityAuditCollection) String ¶
func (m VulnerabilityAuditCollection) String() string
func (VulnerabilityAuditCollection) ValidateEnumValue ¶
func (m VulnerabilityAuditCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAuditConfiguration ¶
type VulnerabilityAuditConfiguration struct { // A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. MaxPermissibleCvssV2Score *float32 `mandatory:"false" json:"maxPermissibleCvssV2Score"` // A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. MaxPermissibleCvssV3Score *float32 `mandatory:"false" json:"maxPermissibleCvssV3Score"` // A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity. MaxPermissibleSeverity ConfigSeverityEnum `mandatory:"false" json:"maxPermissibleSeverity,omitempty"` // A vulnerable application dependency is ignored if its name matches any of the items in `exclusions`. // An asterisk (*) in the dependency pattern acts as a wildcard and matches zero or more characters. Exclusions []string `mandatory:"false" json:"exclusions"` }
VulnerabilityAuditConfiguration Configuration for a vulnerability audit. A vulnerable application dependency is ignored if its name does match any of the items in `exclusions`, or all of the associated Vulnerabilies have a CVSS v2 score below `maxPermissibleCvssV2Score` and a CVSS v3 score below `maxPermissibleCvssV3Score`. type: object
func (VulnerabilityAuditConfiguration) String ¶
func (m VulnerabilityAuditConfiguration) String() string
func (VulnerabilityAuditConfiguration) ValidateEnumValue ¶
func (m VulnerabilityAuditConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAuditLifecycleDetailsEnum ¶ added in v65.54.0
type VulnerabilityAuditLifecycleDetailsEnum string
VulnerabilityAuditLifecycleDetailsEnum Enum with underlying type: string
const ( VulnerabilityAuditLifecycleDetailsNotFoundOrNotAuthorized VulnerabilityAuditLifecycleDetailsEnum = "USAGE_DATA_NOT_FOUND_OR_NOT_AUTHORIZED" VulnerabilityAuditLifecycleDetailsParseFailed VulnerabilityAuditLifecycleDetailsEnum = "USAGE_DATA_PARSE_FAILED" VulnerabilityAuditLifecycleDetailsCompressedSizeLimitExceeded VulnerabilityAuditLifecycleDetailsEnum = "USAGE_DATA_COMPRESSED_SIZE_LIMIT_EXCEEDED" VulnerabilityAuditLifecycleDetailsUncompressedSizeLimitExceeded VulnerabilityAuditLifecycleDetailsEnum = "USAGE_DATA_UNCOMPRESSED_SIZE_LIMIT_EXCEEDED" VulnerabilityAuditLifecycleDetailsUnknownError VulnerabilityAuditLifecycleDetailsEnum = "USAGE_DATA_UNKNOWN_ERROR" )
Set of constants representing the allowable values for VulnerabilityAuditLifecycleDetailsEnum
func GetMappingVulnerabilityAuditLifecycleDetailsEnum ¶ added in v65.54.0
func GetMappingVulnerabilityAuditLifecycleDetailsEnum(val string) (VulnerabilityAuditLifecycleDetailsEnum, bool)
GetMappingVulnerabilityAuditLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityAuditLifecycleDetailsEnumValues ¶ added in v65.54.0
func GetVulnerabilityAuditLifecycleDetailsEnumValues() []VulnerabilityAuditLifecycleDetailsEnum
GetVulnerabilityAuditLifecycleDetailsEnumValues Enumerates the set of values for VulnerabilityAuditLifecycleDetailsEnum
type VulnerabilityAuditLifecycleStateEnum ¶
type VulnerabilityAuditLifecycleStateEnum string
VulnerabilityAuditLifecycleStateEnum Enum with underlying type: string
const ( VulnerabilityAuditLifecycleStateActive VulnerabilityAuditLifecycleStateEnum = "ACTIVE" VulnerabilityAuditLifecycleStateCreating VulnerabilityAuditLifecycleStateEnum = "CREATING" VulnerabilityAuditLifecycleStateDeleted VulnerabilityAuditLifecycleStateEnum = "DELETED" VulnerabilityAuditLifecycleStateDeleting VulnerabilityAuditLifecycleStateEnum = "DELETING" VulnerabilityAuditLifecycleStateFailed VulnerabilityAuditLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for VulnerabilityAuditLifecycleStateEnum
func GetMappingVulnerabilityAuditLifecycleStateEnum ¶
func GetMappingVulnerabilityAuditLifecycleStateEnum(val string) (VulnerabilityAuditLifecycleStateEnum, bool)
GetMappingVulnerabilityAuditLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityAuditLifecycleStateEnumValues ¶
func GetVulnerabilityAuditLifecycleStateEnumValues() []VulnerabilityAuditLifecycleStateEnum
GetVulnerabilityAuditLifecycleStateEnumValues Enumerates the set of values for VulnerabilityAuditLifecycleStateEnum
type VulnerabilityAuditSource ¶ added in v65.26.0
type VulnerabilityAuditSource interface { }
VulnerabilityAuditSource vulnerability audit source.
type VulnerabilityAuditSourceTypeEnum ¶ added in v65.26.0
type VulnerabilityAuditSourceTypeEnum string
VulnerabilityAuditSourceTypeEnum Enum with underlying type: string
const ( VulnerabilityAuditSourceTypeExternalResource VulnerabilityAuditSourceTypeEnum = "EXTERNAL_RESOURCE" VulnerabilityAuditSourceTypeOciResource VulnerabilityAuditSourceTypeEnum = "OCI_RESOURCE" VulnerabilityAuditSourceTypeUnknown VulnerabilityAuditSourceTypeEnum = "UNKNOWN" )
Set of constants representing the allowable values for VulnerabilityAuditSourceTypeEnum
func GetMappingVulnerabilityAuditSourceTypeEnum ¶ added in v65.26.0
func GetMappingVulnerabilityAuditSourceTypeEnum(val string) (VulnerabilityAuditSourceTypeEnum, bool)
GetMappingVulnerabilityAuditSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityAuditSourceTypeEnumValues ¶ added in v65.26.0
func GetVulnerabilityAuditSourceTypeEnumValues() []VulnerabilityAuditSourceTypeEnum
GetVulnerabilityAuditSourceTypeEnumValues Enumerates the set of values for VulnerabilityAuditSourceTypeEnum
type VulnerabilityAuditSummary ¶
type VulnerabilityAuditSummary struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit. Id *string `mandatory:"true" json:"id"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // The creation date and time of the vulnerability audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The update date and time of the vulnerability audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the vulnerability audit. LifecycleState VulnerabilityAuditLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Count of non-ignored vulnerable application dependencies. VulnerableArtifactsCount *int `mandatory:"true" json:"vulnerableArtifactsCount"` // Count of all vulnerable application dependencies. VulnerableArtifactsCountWithIgnored *int `mandatory:"true" json:"vulnerableArtifactsCountWithIgnored"` // The compartment Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the vulnerability audit. DisplayName *string `mandatory:"false" json:"displayName"` // Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable application dependencies. MaxObservedCvssV2Score *float32 `mandatory:"false" json:"maxObservedCvssV2Score"` // Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable application dependencies. MaxObservedCvssV3Score *float32 `mandatory:"false" json:"maxObservedCvssV3Score"` // Maximum ADM Severity observed for non-ignored vulnerable application dependencies. MaxObservedSeverity VulnerabilitySeverityEnum `mandatory:"false" json:"maxObservedSeverity,omitempty"` // Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable application dependencies including ignored ones. MaxObservedCvssV2ScoreWithIgnored *float32 `mandatory:"false" json:"maxObservedCvssV2ScoreWithIgnored"` // Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable application dependencies including ignored ones. MaxObservedCvssV3ScoreWithIgnored *float32 `mandatory:"false" json:"maxObservedCvssV3ScoreWithIgnored"` // Maximum ADM Severity observed for vulnerable application dependencies including ignored ones. MaxObservedSeverityWithIgnored VulnerabilitySeverityEnum `mandatory:"false" json:"maxObservedSeverityWithIgnored,omitempty"` // Indicates if an audit succeeded according to the configuration. The value is `null` if the audit is in the `CREATING` state. IsSuccess *bool `mandatory:"false" json:"isSuccess"` // The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated. BuildType VulnerabilityAuditBuildTypeEnum `mandatory:"false" json:"buildType,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
VulnerabilityAuditSummary vulnerability audit summary.
func (VulnerabilityAuditSummary) String ¶
func (m VulnerabilityAuditSummary) String() string
func (VulnerabilityAuditSummary) ValidateEnumValue ¶
func (m VulnerabilityAuditSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilitySeverityEnum ¶ added in v65.56.0
type VulnerabilitySeverityEnum string
VulnerabilitySeverityEnum Enum with underlying type: string
const ( VulnerabilitySeverityNone VulnerabilitySeverityEnum = "NONE" VulnerabilitySeverityLow VulnerabilitySeverityEnum = "LOW" VulnerabilitySeverityMedium VulnerabilitySeverityEnum = "MEDIUM" VulnerabilitySeverityHigh VulnerabilitySeverityEnum = "HIGH" VulnerabilitySeverityCritical VulnerabilitySeverityEnum = "CRITICAL" )
Set of constants representing the allowable values for VulnerabilitySeverityEnum
func GetMappingVulnerabilitySeverityEnum ¶ added in v65.56.0
func GetMappingVulnerabilitySeverityEnum(val string) (VulnerabilitySeverityEnum, bool)
GetMappingVulnerabilitySeverityEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilitySeverityEnumValues ¶ added in v65.56.0
func GetVulnerabilitySeverityEnumValues() []VulnerabilitySeverityEnum
GetVulnerabilitySeverityEnumValues Enumerates the set of values for VulnerabilitySeverityEnum
type WorkRequest ¶
type WorkRequest struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest A description of workrequest status
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResourceMetadataKeyEnum ¶
type WorkRequestResourceMetadataKeyEnum string
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
const (
WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
func GetMappingWorkRequestResourceMetadataKeyEnum ¶
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues ¶
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
WorkRequestSummary A summary of the status of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files ¶
- action_type.go
- activate_remediation_recipe_request_response.go
- adm_applicationdependencymanagement_client.go
- application_dependency.go
- application_dependency_recommendation_collection.go
- application_dependency_recommendation_summary.go
- application_dependency_vulnerability_collection.go
- application_dependency_vulnerability_summary.go
- apply_stage.go
- cancel_remediation_run_request_response.go
- cancel_work_request_request_response.go
- change_knowledge_base_compartment_details.go
- change_knowledge_base_compartment_request_response.go
- change_remediation_recipe_compartment_details.go
- change_remediation_recipe_compartment_request_response.go
- change_remediation_run_compartment_details.go
- change_remediation_run_compartment_request_response.go
- change_vulnerability_audit_compartment_details.go
- change_vulnerability_audit_compartment_request_response.go
- config_severity.go
- create_knowledge_base_details.go
- create_knowledge_base_request_response.go
- create_remediation_recipe_details.go
- create_remediation_recipe_request_response.go
- create_remediation_run_details.go
- create_remediation_run_request_response.go
- create_vulnerability_audit_details.go
- create_vulnerability_audit_request_response.go
- deactivate_remediation_recipe_request_response.go
- delete_knowledge_base_request_response.go
- delete_remediation_recipe_request_response.go
- delete_remediation_run_request_response.go
- delete_vulnerability_audit_request_response.go
- detect_configuration.go
- detect_stage.go
- external_resource_vulnerability_audit_source.go
- external_scm_configuration.go
- get_knowledge_base_request_response.go
- get_remediation_recipe_request_response.go
- get_remediation_run_request_response.go
- get_stage_request_response.go
- get_vulnerability_audit_request_response.go
- get_work_request_request_response.go
- git_hub_actions_configuration.go
- git_lab_pipeline_configuration.go
- jenkins_pipeline_configuration.go
- knowledge_base.go
- knowledge_base_collection.go
- knowledge_base_summary.go
- list_application_dependency_recommendations_request_response.go
- list_application_dependency_vulnerabilities_request_response.go
- list_knowledge_bases_request_response.go
- list_remediation_recipes_request_response.go
- list_remediation_runs_request_response.go
- list_stages_request_response.go
- list_vulnerability_audits_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- network_configuration.go
- none_verify_configuration.go
- oci_code_repository_configuration.go
- oci_dev_ops_build_configuration.go
- oci_resource_vulnerability_audit_source.go
- operation_status.go
- operation_type.go
- pipeline_properties.go
- pull_request_properties.go
- recommend_stage.go
- remediation_recipe.go
- remediation_recipe_collection.go
- remediation_recipe_summary.go
- remediation_run.go
- remediation_run_collection.go
- remediation_run_stage.go
- remediation_run_stage_collection.go
- remediation_run_stage_summary.go
- remediation_run_stage_type.go
- remediation_run_summary.go
- scm_configuration.go
- sort_order.go
- stage_summary.go
- unknown_source_vulnerability_audit_source.go
- update_knowledge_base_details.go
- update_knowledge_base_request_response.go
- update_remediation_recipe_details.go
- update_remediation_recipe_request_response.go
- update_remediation_run_details.go
- update_remediation_run_request_response.go
- update_vulnerability_audit_details.go
- update_vulnerability_audit_request_response.go
- usage_data_details.go
- usage_data_via_object_storage_tuple_details.go
- verify_configuration.go
- verify_stage.go
- vulnerability.go
- vulnerability_audit.go
- vulnerability_audit_collection.go
- vulnerability_audit_configuration.go
- vulnerability_audit_source.go
- vulnerability_audit_summary.go
- vulnerability_severity.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_resource_metadata_key.go
- work_request_summary.go
- work_request_summary_collection.go