...

Package adm

import "github.com/oracle/oci-go-sdk/adm"
Overview
Index

Overview ▾

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
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type ActivateRemediationRecipeRequest
    func (request ActivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ActivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ActivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
    func (request ActivateRemediationRecipeRequest) String() string
    func (request ActivateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
type ActivateRemediationRecipeResponse
    func (response ActivateRemediationRecipeResponse) HTTPResponse() *http.Response
    func (response ActivateRemediationRecipeResponse) String() string
type ApplicationDependency
    func (m ApplicationDependency) String() string
    func (m ApplicationDependency) ValidateEnumValue() (bool, error)
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
    func (m ApplicationDependencyRecommendationCollection) String() string
    func (m ApplicationDependencyRecommendationCollection) ValidateEnumValue() (bool, error)
type ApplicationDependencyRecommendationSummary
    func (m ApplicationDependencyRecommendationSummary) String() string
    func (m ApplicationDependencyRecommendationSummary) ValidateEnumValue() (bool, error)
type ApplicationDependencyVulnerabilityCollection
    func (m ApplicationDependencyVulnerabilityCollection) String() string
    func (m ApplicationDependencyVulnerabilityCollection) ValidateEnumValue() (bool, error)
type ApplicationDependencyVulnerabilitySummary
    func (m ApplicationDependencyVulnerabilitySummary) String() string
    func (m ApplicationDependencyVulnerabilitySummary) ValidateEnumValue() (bool, error)
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, extraHeaders map[string]string) (http.Request, error)
    func (request CancelRemediationRunRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelRemediationRunRequest) String() string
    func (request CancelRemediationRunRequest) ValidateEnumValue() (bool, error)
type CancelRemediationRunResponse
    func (response CancelRemediationRunResponse) HTTPResponse() *http.Response
    func (response CancelRemediationRunResponse) String() string
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeKnowledgeBaseCompartmentDetails
    func (m ChangeKnowledgeBaseCompartmentDetails) String() string
    func (m ChangeKnowledgeBaseCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeKnowledgeBaseCompartmentRequest
    func (request ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeKnowledgeBaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeKnowledgeBaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeKnowledgeBaseCompartmentRequest) String() string
    func (request ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeKnowledgeBaseCompartmentResponse
    func (response ChangeKnowledgeBaseCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeKnowledgeBaseCompartmentResponse) String() string
type ChangeRemediationRecipeCompartmentDetails
    func (m ChangeRemediationRecipeCompartmentDetails) String() string
    func (m ChangeRemediationRecipeCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeRemediationRecipeCompartmentRequest
    func (request ChangeRemediationRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeRemediationRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeRemediationRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeRemediationRecipeCompartmentRequest) String() string
    func (request ChangeRemediationRecipeCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeRemediationRecipeCompartmentResponse
    func (response ChangeRemediationRecipeCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeRemediationRecipeCompartmentResponse) String() string
type ChangeRemediationRunCompartmentDetails
    func (m ChangeRemediationRunCompartmentDetails) String() string
    func (m ChangeRemediationRunCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeRemediationRunCompartmentRequest
    func (request ChangeRemediationRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeRemediationRunCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeRemediationRunCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeRemediationRunCompartmentRequest) String() string
    func (request ChangeRemediationRunCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeRemediationRunCompartmentResponse
    func (response ChangeRemediationRunCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeRemediationRunCompartmentResponse) String() string
type ChangeVulnerabilityAuditCompartmentDetails
    func (m ChangeVulnerabilityAuditCompartmentDetails) String() string
    func (m ChangeVulnerabilityAuditCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeVulnerabilityAuditCompartmentRequest
    func (request ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeVulnerabilityAuditCompartmentRequest) String() string
    func (request ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeVulnerabilityAuditCompartmentResponse
    func (response ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeVulnerabilityAuditCompartmentResponse) String() string
type ConfigSeverityEnum
    func GetConfigSeverityEnumValues() []ConfigSeverityEnum
    func GetMappingConfigSeverityEnum(val string) (ConfigSeverityEnum, bool)
type CreateKnowledgeBaseDetails
    func (m CreateKnowledgeBaseDetails) String() string
    func (m CreateKnowledgeBaseDetails) ValidateEnumValue() (bool, error)
type CreateKnowledgeBaseRequest
    func (request CreateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateKnowledgeBaseRequest) String() string
    func (request CreateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
type CreateKnowledgeBaseResponse
    func (response CreateKnowledgeBaseResponse) HTTPResponse() *http.Response
    func (response CreateKnowledgeBaseResponse) String() string
type CreateRemediationRecipeDetails
    func (m CreateRemediationRecipeDetails) String() string
    func (m *CreateRemediationRecipeDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateRemediationRecipeDetails) ValidateEnumValue() (bool, error)
type CreateRemediationRecipeRequest
    func (request CreateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateRemediationRecipeRequest) String() string
    func (request CreateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
type CreateRemediationRecipeResponse
    func (response CreateRemediationRecipeResponse) HTTPResponse() *http.Response
    func (response CreateRemediationRecipeResponse) String() string
type CreateRemediationRunDetails
    func (m CreateRemediationRunDetails) String() string
    func (m CreateRemediationRunDetails) ValidateEnumValue() (bool, error)
type CreateRemediationRunRequest
    func (request CreateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateRemediationRunRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateRemediationRunRequest) String() string
    func (request CreateRemediationRunRequest) ValidateEnumValue() (bool, error)
type CreateRemediationRunResponse
    func (response CreateRemediationRunResponse) HTTPResponse() *http.Response
    func (response CreateRemediationRunResponse) String() string
type CreateVulnerabilityAuditDetails
    func (m CreateVulnerabilityAuditDetails) String() string
    func (m *CreateVulnerabilityAuditDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateVulnerabilityAuditDetails) ValidateEnumValue() (bool, error)
type CreateVulnerabilityAuditRequest
    func (request CreateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateVulnerabilityAuditRequest) String() string
    func (request CreateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
type CreateVulnerabilityAuditResponse
    func (response CreateVulnerabilityAuditResponse) HTTPResponse() *http.Response
    func (response CreateVulnerabilityAuditResponse) String() string
type DeactivateRemediationRecipeRequest
    func (request DeactivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeactivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeactivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
    func (request DeactivateRemediationRecipeRequest) String() string
    func (request DeactivateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
type DeactivateRemediationRecipeResponse
    func (response DeactivateRemediationRecipeResponse) HTTPResponse() *http.Response
    func (response DeactivateRemediationRecipeResponse) String() string
type DeleteKnowledgeBaseRequest
    func (request DeleteKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteKnowledgeBaseRequest) String() string
    func (request DeleteKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
type DeleteKnowledgeBaseResponse
    func (response DeleteKnowledgeBaseResponse) HTTPResponse() *http.Response
    func (response DeleteKnowledgeBaseResponse) String() string
type DeleteRemediationRecipeRequest
    func (request DeleteRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRemediationRecipeRequest) String() string
    func (request DeleteRemediationRecipeRequest) ValidateEnumValue() (bool, error)
type DeleteRemediationRecipeResponse
    func (response DeleteRemediationRecipeResponse) HTTPResponse() *http.Response
    func (response DeleteRemediationRecipeResponse) String() string
type DeleteRemediationRunRequest
    func (request DeleteRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteRemediationRunRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRemediationRunRequest) String() string
    func (request DeleteRemediationRunRequest) ValidateEnumValue() (bool, error)
type DeleteRemediationRunResponse
    func (response DeleteRemediationRunResponse) HTTPResponse() *http.Response
    func (response DeleteRemediationRunResponse) String() string
type DeleteVulnerabilityAuditRequest
    func (request DeleteVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteVulnerabilityAuditRequest) String() string
    func (request DeleteVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
type DeleteVulnerabilityAuditResponse
    func (response DeleteVulnerabilityAuditResponse) HTTPResponse() *http.Response
    func (response DeleteVulnerabilityAuditResponse) String() string
type DetectConfiguration
    func (m DetectConfiguration) String() string
    func (m DetectConfiguration) ValidateEnumValue() (bool, error)
type DetectConfigurationUpgradePolicyEnum
    func GetDetectConfigurationUpgradePolicyEnumValues() []DetectConfigurationUpgradePolicyEnum
    func GetMappingDetectConfigurationUpgradePolicyEnum(val string) (DetectConfigurationUpgradePolicyEnum, bool)
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
    func (m ExternalResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
    func (m ExternalResourceVulnerabilityAuditSource) String() string
    func (m ExternalResourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
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
    func GetExternalScmConfigurationExternalScmTypeEnumValues() []ExternalScmConfigurationExternalScmTypeEnum
    func GetMappingExternalScmConfigurationExternalScmTypeEnum(val string) (ExternalScmConfigurationExternalScmTypeEnum, bool)
type GetKnowledgeBaseRequest
    func (request GetKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
    func (request GetKnowledgeBaseRequest) String() string
    func (request GetKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
type GetKnowledgeBaseResponse
    func (response GetKnowledgeBaseResponse) HTTPResponse() *http.Response
    func (response GetKnowledgeBaseResponse) String() string
type GetRemediationRecipeRequest
    func (request GetRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRemediationRecipeRequest) String() string
    func (request GetRemediationRecipeRequest) ValidateEnumValue() (bool, error)
type GetRemediationRecipeResponse
    func (response GetRemediationRecipeResponse) HTTPResponse() *http.Response
    func (response GetRemediationRecipeResponse) String() string
type GetRemediationRunRequest
    func (request GetRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetRemediationRunRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRemediationRunRequest) String() string
    func (request GetRemediationRunRequest) ValidateEnumValue() (bool, error)
type GetRemediationRunResponse
    func (response GetRemediationRunResponse) HTTPResponse() *http.Response
    func (response GetRemediationRunResponse) String() string
type GetStageRequest
    func (request GetStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetStageRequest) RetryPolicy() *common.RetryPolicy
    func (request GetStageRequest) String() string
    func (request GetStageRequest) ValidateEnumValue() (bool, error)
type GetStageResponse
    func (response GetStageResponse) HTTPResponse() *http.Response
    func (response GetStageResponse) String() string
type GetStageStageTypeEnum
    func GetGetStageStageTypeEnumValues() []GetStageStageTypeEnum
    func GetMappingGetStageStageTypeEnum(val string) (GetStageStageTypeEnum, bool)
type GetVulnerabilityAuditRequest
    func (request GetVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
    func (request GetVulnerabilityAuditRequest) String() string
    func (request GetVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
type GetVulnerabilityAuditResponse
    func (response GetVulnerabilityAuditResponse) HTTPResponse() *http.Response
    func (response GetVulnerabilityAuditResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type GitHubActionsConfiguration
    func (m GitHubActionsConfiguration) MarshalJSON() (buff []byte, e error)
    func (m GitHubActionsConfiguration) String() string
    func (m GitHubActionsConfiguration) ValidateEnumValue() (bool, error)
type GitLabPipelineConfiguration
    func (m GitLabPipelineConfiguration) MarshalJSON() (buff []byte, e error)
    func (m GitLabPipelineConfiguration) String() string
    func (m GitLabPipelineConfiguration) ValidateEnumValue() (bool, error)
type JenkinsPipelineConfiguration
    func (m JenkinsPipelineConfiguration) MarshalJSON() (buff []byte, e error)
    func (m JenkinsPipelineConfiguration) String() string
    func (m JenkinsPipelineConfiguration) ValidateEnumValue() (bool, error)
type KnowledgeBase
    func (m KnowledgeBase) String() string
    func (m KnowledgeBase) ValidateEnumValue() (bool, error)
type KnowledgeBaseCollection
    func (m KnowledgeBaseCollection) String() string
    func (m KnowledgeBaseCollection) ValidateEnumValue() (bool, error)
type KnowledgeBaseLifecycleStateEnum
    func GetKnowledgeBaseLifecycleStateEnumValues() []KnowledgeBaseLifecycleStateEnum
    func GetMappingKnowledgeBaseLifecycleStateEnum(val string) (KnowledgeBaseLifecycleStateEnum, bool)
type KnowledgeBaseSummary
    func (m KnowledgeBaseSummary) String() string
    func (m KnowledgeBaseSummary) ValidateEnumValue() (bool, error)
type ListApplicationDependencyRecommendationsRequest
    func (request ListApplicationDependencyRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListApplicationDependencyRecommendationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListApplicationDependencyRecommendationsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListApplicationDependencyRecommendationsRequest) String() string
    func (request ListApplicationDependencyRecommendationsRequest) ValidateEnumValue() (bool, error)
type ListApplicationDependencyRecommendationsResponse
    func (response ListApplicationDependencyRecommendationsResponse) HTTPResponse() *http.Response
    func (response ListApplicationDependencyRecommendationsResponse) String() string
type ListApplicationDependencyRecommendationsSortByEnum
    func GetListApplicationDependencyRecommendationsSortByEnumValues() []ListApplicationDependencyRecommendationsSortByEnum
    func GetMappingListApplicationDependencyRecommendationsSortByEnum(val string) (ListApplicationDependencyRecommendationsSortByEnum, bool)
type ListApplicationDependencyRecommendationsSortOrderEnum
    func GetListApplicationDependencyRecommendationsSortOrderEnumValues() []ListApplicationDependencyRecommendationsSortOrderEnum
    func GetMappingListApplicationDependencyRecommendationsSortOrderEnum(val string) (ListApplicationDependencyRecommendationsSortOrderEnum, bool)
type ListApplicationDependencyVulnerabilitiesRequest
    func (request ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListApplicationDependencyVulnerabilitiesRequest) String() string
    func (request ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue() (bool, error)
type ListApplicationDependencyVulnerabilitiesResponse
    func (response ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse() *http.Response
    func (response ListApplicationDependencyVulnerabilitiesResponse) String() string
type ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
    func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues() []ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum
    func GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum(val string) (ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum, bool)
type ListApplicationDependencyVulnerabilitiesSortByEnum
    func GetListApplicationDependencyVulnerabilitiesSortByEnumValues() []ListApplicationDependencyVulnerabilitiesSortByEnum
    func GetMappingListApplicationDependencyVulnerabilitiesSortByEnum(val string) (ListApplicationDependencyVulnerabilitiesSortByEnum, bool)
type ListApplicationDependencyVulnerabilitiesSortOrderEnum
    func GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues() []ListApplicationDependencyVulnerabilitiesSortOrderEnum
    func GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum(val string) (ListApplicationDependencyVulnerabilitiesSortOrderEnum, bool)
type ListKnowledgeBasesRequest
    func (request ListKnowledgeBasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListKnowledgeBasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListKnowledgeBasesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListKnowledgeBasesRequest) String() string
    func (request ListKnowledgeBasesRequest) ValidateEnumValue() (bool, error)
type ListKnowledgeBasesResponse
    func (response ListKnowledgeBasesResponse) HTTPResponse() *http.Response
    func (response ListKnowledgeBasesResponse) String() string
type ListKnowledgeBasesSortByEnum
    func GetListKnowledgeBasesSortByEnumValues() []ListKnowledgeBasesSortByEnum
    func GetMappingListKnowledgeBasesSortByEnum(val string) (ListKnowledgeBasesSortByEnum, bool)
type ListKnowledgeBasesSortOrderEnum
    func GetListKnowledgeBasesSortOrderEnumValues() []ListKnowledgeBasesSortOrderEnum
    func GetMappingListKnowledgeBasesSortOrderEnum(val string) (ListKnowledgeBasesSortOrderEnum, bool)
type ListRemediationRecipesRequest
    func (request ListRemediationRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRemediationRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRemediationRecipesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRemediationRecipesRequest) String() string
    func (request ListRemediationRecipesRequest) ValidateEnumValue() (bool, error)
type ListRemediationRecipesResponse
    func (response ListRemediationRecipesResponse) HTTPResponse() *http.Response
    func (response ListRemediationRecipesResponse) String() string
type ListRemediationRecipesSortByEnum
    func GetListRemediationRecipesSortByEnumValues() []ListRemediationRecipesSortByEnum
    func GetMappingListRemediationRecipesSortByEnum(val string) (ListRemediationRecipesSortByEnum, bool)
type ListRemediationRecipesSortOrderEnum
    func GetListRemediationRecipesSortOrderEnumValues() []ListRemediationRecipesSortOrderEnum
    func GetMappingListRemediationRecipesSortOrderEnum(val string) (ListRemediationRecipesSortOrderEnum, bool)
type ListRemediationRunsRequest
    func (request ListRemediationRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRemediationRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRemediationRunsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRemediationRunsRequest) String() string
    func (request ListRemediationRunsRequest) ValidateEnumValue() (bool, error)
type ListRemediationRunsResponse
    func (response ListRemediationRunsResponse) HTTPResponse() *http.Response
    func (response ListRemediationRunsResponse) String() string
type ListRemediationRunsSortByEnum
    func GetListRemediationRunsSortByEnumValues() []ListRemediationRunsSortByEnum
    func GetMappingListRemediationRunsSortByEnum(val string) (ListRemediationRunsSortByEnum, bool)
type ListRemediationRunsSortOrderEnum
    func GetListRemediationRunsSortOrderEnumValues() []ListRemediationRunsSortOrderEnum
    func GetMappingListRemediationRunsSortOrderEnum(val string) (ListRemediationRunsSortOrderEnum, bool)
type ListStagesRequest
    func (request ListStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListStagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListStagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListStagesRequest) String() string
    func (request ListStagesRequest) ValidateEnumValue() (bool, error)
type ListStagesResponse
    func (response ListStagesResponse) HTTPResponse() *http.Response
    func (response ListStagesResponse) String() string
type ListStagesSortByEnum
    func GetListStagesSortByEnumValues() []ListStagesSortByEnum
    func GetMappingListStagesSortByEnum(val string) (ListStagesSortByEnum, bool)
type ListStagesSortOrderEnum
    func GetListStagesSortOrderEnumValues() []ListStagesSortOrderEnum
    func GetMappingListStagesSortOrderEnum(val string) (ListStagesSortOrderEnum, bool)
type ListStagesTypeEnum
    func GetListStagesTypeEnumValues() []ListStagesTypeEnum
    func GetMappingListStagesTypeEnum(val string) (ListStagesTypeEnum, bool)
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, extraHeaders map[string]string) (http.Request, error)
    func (request ListVulnerabilityAuditsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListVulnerabilityAuditsRequest) String() string
    func (request ListVulnerabilityAuditsRequest) ValidateEnumValue() (bool, error)
type ListVulnerabilityAuditsResponse
    func (response ListVulnerabilityAuditsResponse) HTTPResponse() *http.Response
    func (response ListVulnerabilityAuditsResponse) String() string
type ListVulnerabilityAuditsSortByEnum
    func GetListVulnerabilityAuditsSortByEnumValues() []ListVulnerabilityAuditsSortByEnum
    func GetMappingListVulnerabilityAuditsSortByEnum(val string) (ListVulnerabilityAuditsSortByEnum, bool)
type ListVulnerabilityAuditsSortOrderEnum
    func GetListVulnerabilityAuditsSortOrderEnumValues() []ListVulnerabilityAuditsSortOrderEnum
    func GetMappingListVulnerabilityAuditsSortOrderEnum(val string) (ListVulnerabilityAuditsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type NetworkConfiguration
    func (m NetworkConfiguration) String() string
    func (m NetworkConfiguration) ValidateEnumValue() (bool, error)
type NoneVerifyConfiguration
    func (m NoneVerifyConfiguration) MarshalJSON() (buff []byte, e error)
    func (m NoneVerifyConfiguration) String() string
    func (m NoneVerifyConfiguration) ValidateEnumValue() (bool, error)
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
    func (m OciDevOpsBuildConfiguration) MarshalJSON() (buff []byte, e error)
    func (m OciDevOpsBuildConfiguration) String() string
    func (m OciDevOpsBuildConfiguration) ValidateEnumValue() (bool, error)
type OciResourceVulnerabilityAuditSource
    func (m OciResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
    func (m OciResourceVulnerabilityAuditSource) String() string
    func (m OciResourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PipelineProperties
    func (m PipelineProperties) String() string
    func (m PipelineProperties) ValidateEnumValue() (bool, error)
type PullRequestProperties
    func (m PullRequestProperties) String() string
    func (m PullRequestProperties) ValidateEnumValue() (bool, error)
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
    func (m RemediationRecipe) String() string
    func (m *RemediationRecipe) UnmarshalJSON(data []byte) (e error)
    func (m RemediationRecipe) ValidateEnumValue() (bool, error)
type RemediationRecipeCollection
    func (m RemediationRecipeCollection) String() string
    func (m RemediationRecipeCollection) ValidateEnumValue() (bool, error)
type RemediationRecipeLifecycleStateEnum
    func GetMappingRemediationRecipeLifecycleStateEnum(val string) (RemediationRecipeLifecycleStateEnum, bool)
    func GetRemediationRecipeLifecycleStateEnumValues() []RemediationRecipeLifecycleStateEnum
type RemediationRecipeSummary
    func (m RemediationRecipeSummary) String() string
    func (m RemediationRecipeSummary) ValidateEnumValue() (bool, error)
type RemediationRun
    func (m RemediationRun) String() string
    func (m RemediationRun) ValidateEnumValue() (bool, error)
type RemediationRunCollection
    func (m RemediationRunCollection) String() string
    func (m RemediationRunCollection) ValidateEnumValue() (bool, error)
type RemediationRunLifecycleStateEnum
    func GetMappingRemediationRunLifecycleStateEnum(val string) (RemediationRunLifecycleStateEnum, bool)
    func GetRemediationRunLifecycleStateEnumValues() []RemediationRunLifecycleStateEnum
type RemediationRunRemediationRunSourceEnum
    func GetMappingRemediationRunRemediationRunSourceEnum(val string) (RemediationRunRemediationRunSourceEnum, bool)
    func GetRemediationRunRemediationRunSourceEnumValues() []RemediationRunRemediationRunSourceEnum
type RemediationRunStage
type RemediationRunStageCollection
    func (m RemediationRunStageCollection) String() string
    func (m RemediationRunStageCollection) ValidateEnumValue() (bool, error)
type RemediationRunStageStatusEnum
    func GetMappingRemediationRunStageStatusEnum(val string) (RemediationRunStageStatusEnum, bool)
    func GetRemediationRunStageStatusEnumValues() []RemediationRunStageStatusEnum
type RemediationRunStageSummary
    func (m RemediationRunStageSummary) String() string
    func (m RemediationRunStageSummary) ValidateEnumValue() (bool, error)
type RemediationRunStageTypeEnum
    func GetMappingRemediationRunStageTypeEnum(val string) (RemediationRunStageTypeEnum, bool)
    func GetRemediationRunStageTypeEnumValues() []RemediationRunStageTypeEnum
type RemediationRunSummary
    func (m RemediationRunSummary) String() string
    func (m RemediationRunSummary) ValidateEnumValue() (bool, error)
type ScmConfiguration
type ScmConfigurationScmTypeEnum
    func GetMappingScmConfigurationScmTypeEnum(val string) (ScmConfigurationScmTypeEnum, bool)
    func GetScmConfigurationScmTypeEnumValues() []ScmConfigurationScmTypeEnum
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type StageSummary
    func (m StageSummary) String() string
    func (m StageSummary) ValidateEnumValue() (bool, error)
type UnknownSourceVulnerabilityAuditSource
    func (m UnknownSourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
    func (m UnknownSourceVulnerabilityAuditSource) String() string
    func (m UnknownSourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
type UpdateKnowledgeBaseDetails
    func (m UpdateKnowledgeBaseDetails) String() string
    func (m UpdateKnowledgeBaseDetails) ValidateEnumValue() (bool, error)
type UpdateKnowledgeBaseRequest
    func (request UpdateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateKnowledgeBaseRequest) String() string
    func (request UpdateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
type UpdateKnowledgeBaseResponse
    func (response UpdateKnowledgeBaseResponse) HTTPResponse() *http.Response
    func (response UpdateKnowledgeBaseResponse) String() string
type UpdateRemediationRecipeDetails
    func (m UpdateRemediationRecipeDetails) String() string
    func (m *UpdateRemediationRecipeDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateRemediationRecipeDetails) ValidateEnumValue() (bool, error)
type UpdateRemediationRecipeRequest
    func (request UpdateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRemediationRecipeRequest) String() string
    func (request UpdateRemediationRecipeRequest) ValidateEnumValue() (bool, error)
type UpdateRemediationRecipeResponse
    func (response UpdateRemediationRecipeResponse) HTTPResponse() *http.Response
    func (response UpdateRemediationRecipeResponse) String() string
type UpdateRemediationRunDetails
    func (m UpdateRemediationRunDetails) String() string
    func (m UpdateRemediationRunDetails) ValidateEnumValue() (bool, error)
type UpdateRemediationRunRequest
    func (request UpdateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateRemediationRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateRemediationRunRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRemediationRunRequest) String() string
    func (request UpdateRemediationRunRequest) ValidateEnumValue() (bool, error)
type UpdateRemediationRunResponse
    func (response UpdateRemediationRunResponse) HTTPResponse() *http.Response
    func (response UpdateRemediationRunResponse) String() string
type UpdateVulnerabilityAuditDetails
    func (m UpdateVulnerabilityAuditDetails) String() string
    func (m UpdateVulnerabilityAuditDetails) ValidateEnumValue() (bool, error)
type UpdateVulnerabilityAuditRequest
    func (request UpdateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateVulnerabilityAuditRequest) String() string
    func (request UpdateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
type UpdateVulnerabilityAuditResponse
    func (response UpdateVulnerabilityAuditResponse) HTTPResponse() *http.Response
    func (response UpdateVulnerabilityAuditResponse) String() string
type UsageDataDetails
type UsageDataViaObjectStorageTupleDetails
    func (m UsageDataViaObjectStorageTupleDetails) MarshalJSON() (buff []byte, e error)
    func (m UsageDataViaObjectStorageTupleDetails) String() string
    func (m UsageDataViaObjectStorageTupleDetails) ValidateEnumValue() (bool, error)
type VerifyConfiguration
type VerifyConfigurationBuildServiceTypeEnum
    func GetMappingVerifyConfigurationBuildServiceTypeEnum(val string) (VerifyConfigurationBuildServiceTypeEnum, bool)
    func GetVerifyConfigurationBuildServiceTypeEnumValues() []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
    func (m Vulnerability) String() string
    func (m Vulnerability) ValidateEnumValue() (bool, error)
type VulnerabilityAudit
    func (m VulnerabilityAudit) String() string
    func (m *VulnerabilityAudit) UnmarshalJSON(data []byte) (e error)
    func (m VulnerabilityAudit) ValidateEnumValue() (bool, error)
type VulnerabilityAuditBuildTypeEnum
    func GetMappingVulnerabilityAuditBuildTypeEnum(val string) (VulnerabilityAuditBuildTypeEnum, bool)
    func GetVulnerabilityAuditBuildTypeEnumValues() []VulnerabilityAuditBuildTypeEnum
type VulnerabilityAuditCollection
    func (m VulnerabilityAuditCollection) String() string
    func (m VulnerabilityAuditCollection) ValidateEnumValue() (bool, error)
type VulnerabilityAuditConfiguration
    func (m VulnerabilityAuditConfiguration) String() string
    func (m VulnerabilityAuditConfiguration) ValidateEnumValue() (bool, error)
type VulnerabilityAuditLifecycleDetailsEnum
    func GetMappingVulnerabilityAuditLifecycleDetailsEnum(val string) (VulnerabilityAuditLifecycleDetailsEnum, bool)
    func GetVulnerabilityAuditLifecycleDetailsEnumValues() []VulnerabilityAuditLifecycleDetailsEnum
type VulnerabilityAuditLifecycleStateEnum
    func GetMappingVulnerabilityAuditLifecycleStateEnum(val string) (VulnerabilityAuditLifecycleStateEnum, bool)
    func GetVulnerabilityAuditLifecycleStateEnumValues() []VulnerabilityAuditLifecycleStateEnum
type VulnerabilityAuditSource
type VulnerabilityAuditSourceTypeEnum
    func GetMappingVulnerabilityAuditSourceTypeEnum(val string) (VulnerabilityAuditSourceTypeEnum, bool)
    func GetVulnerabilityAuditSourceTypeEnumValues() []VulnerabilityAuditSourceTypeEnum
type VulnerabilityAuditSummary
    func (m VulnerabilityAuditSummary) String() string
    func (m VulnerabilityAuditSummary) ValidateEnumValue() (bool, error)
type VulnerabilitySeverityEnum
    func GetMappingVulnerabilitySeverityEnum(val string) (VulnerabilitySeverityEnum, bool)
    func GetVulnerabilitySeverityEnumValues() []VulnerabilitySeverityEnum
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package 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

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetConfigSeverityEnumStringValues

func GetConfigSeverityEnumStringValues() []string

GetConfigSeverityEnumStringValues Enumerates the set of values in String for ConfigSeverityEnum

func GetDetectConfigurationUpgradePolicyEnumStringValues

func GetDetectConfigurationUpgradePolicyEnumStringValues() []string

GetDetectConfigurationUpgradePolicyEnumStringValues Enumerates the set of values in String for DetectConfigurationUpgradePolicyEnum

func GetExternalScmConfigurationExternalScmTypeEnumStringValues

func GetExternalScmConfigurationExternalScmTypeEnumStringValues() []string

GetExternalScmConfigurationExternalScmTypeEnumStringValues Enumerates the set of values in String for ExternalScmConfigurationExternalScmTypeEnum

func GetGetStageStageTypeEnumStringValues

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

func GetListApplicationDependencyRecommendationsSortByEnumStringValues() []string

GetListApplicationDependencyRecommendationsSortByEnumStringValues Enumerates the set of values in String for ListApplicationDependencyRecommendationsSortByEnum

func GetListApplicationDependencyRecommendationsSortOrderEnumStringValues

func GetListApplicationDependencyRecommendationsSortOrderEnumStringValues() []string

GetListApplicationDependencyRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for ListApplicationDependencyRecommendationsSortOrderEnum

func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumStringValues

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

func GetListRemediationRecipesSortByEnumStringValues() []string

GetListRemediationRecipesSortByEnumStringValues Enumerates the set of values in String for ListRemediationRecipesSortByEnum

func GetListRemediationRecipesSortOrderEnumStringValues

func GetListRemediationRecipesSortOrderEnumStringValues() []string

GetListRemediationRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListRemediationRecipesSortOrderEnum

func GetListRemediationRunsSortByEnumStringValues

func GetListRemediationRunsSortByEnumStringValues() []string

GetListRemediationRunsSortByEnumStringValues Enumerates the set of values in String for ListRemediationRunsSortByEnum

func GetListRemediationRunsSortOrderEnumStringValues

func GetListRemediationRunsSortOrderEnumStringValues() []string

GetListRemediationRunsSortOrderEnumStringValues Enumerates the set of values in String for ListRemediationRunsSortOrderEnum

func GetListStagesSortByEnumStringValues

func GetListStagesSortByEnumStringValues() []string

GetListStagesSortByEnumStringValues Enumerates the set of values in String for ListStagesSortByEnum

func GetListStagesSortOrderEnumStringValues

func GetListStagesSortOrderEnumStringValues() []string

GetListStagesSortOrderEnumStringValues Enumerates the set of values in String for ListStagesSortOrderEnum

func GetListStagesTypeEnumStringValues

func GetListStagesTypeEnumStringValues() []string

GetListStagesTypeEnumStringValues Enumerates the set of values in String for ListStagesTypeEnum

func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumStringValues

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

func GetRemediationRecipeLifecycleStateEnumStringValues() []string

GetRemediationRecipeLifecycleStateEnumStringValues Enumerates the set of values in String for RemediationRecipeLifecycleStateEnum

func GetRemediationRunLifecycleStateEnumStringValues

func GetRemediationRunLifecycleStateEnumStringValues() []string

GetRemediationRunLifecycleStateEnumStringValues Enumerates the set of values in String for RemediationRunLifecycleStateEnum

func GetRemediationRunRemediationRunSourceEnumStringValues

func GetRemediationRunRemediationRunSourceEnumStringValues() []string

GetRemediationRunRemediationRunSourceEnumStringValues Enumerates the set of values in String for RemediationRunRemediationRunSourceEnum

func GetRemediationRunStageStatusEnumStringValues

func GetRemediationRunStageStatusEnumStringValues() []string

GetRemediationRunStageStatusEnumStringValues Enumerates the set of values in String for RemediationRunStageStatusEnum

func GetRemediationRunStageTypeEnumStringValues

func GetRemediationRunStageTypeEnumStringValues() []string

GetRemediationRunStageTypeEnumStringValues Enumerates the set of values in String for RemediationRunStageTypeEnum

func GetScmConfigurationScmTypeEnumStringValues

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

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

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

func GetVulnerabilityAuditSourceTypeEnumStringValues() []string

GetVulnerabilityAuditSourceTypeEnumStringValues Enumerates the set of values in String for VulnerabilityAuditSourceTypeEnum

func GetVulnerabilitySeverityEnumStringValues

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

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
    ActionTypeFailed     ActionTypeEnum = "FAILED"
)

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

ActivateRemediationRecipeRequest wrapper for the ActivateRemediationRecipe operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ActivateRemediationRecipe.go.html to see an example of how to use ActivateRemediationRecipeRequest.

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
}

func (ActivateRemediationRecipeRequest) BinaryRequestBody

func (request ActivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ActivateRemediationRecipeRequest) HTTPRequest

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

func (request ActivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ActivateRemediationRecipeRequest) String

func (request ActivateRemediationRecipeRequest) String() string

func (ActivateRemediationRecipeRequest) ValidateEnumValue

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

ActivateRemediationRecipeResponse wrapper for the ActivateRemediationRecipe operation

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"`
}

func (ActivateRemediationRecipeResponse) HTTPResponse

func (response ActivateRemediationRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ActivateRemediationRecipeResponse) String

func (response ActivateRemediationRecipeResponse) String() string

type ApplicationDependency

ApplicationDependency An application dependency resource creates a vulnerability audit.

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"`
}

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

ApplicationDependencyManagementClient a client for ApplicationDependencyManagement

type ApplicationDependencyManagementClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

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

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/65.65.1/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

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/65.65.1/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/65.65.1/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/65.65.1/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

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/65.65.1/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

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/65.65.1/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/65.65.1/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/65.65.1/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

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/65.65.1/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

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/65.65.1/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/65.65.1/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

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/65.65.1/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/65.65.1/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

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/65.65.1/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

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/65.65.1/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/65.65.1/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/65.65.1/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

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/65.65.1/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

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/65.65.1/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

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/65.65.1/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/65.65.1/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/65.65.1/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

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/65.65.1/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/65.65.1/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/65.65.1/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

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/65.65.1/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

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/65.65.1/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

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/65.65.1/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/65.65.1/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/65.65.1/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/65.65.1/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/65.65.1/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/65.65.1/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

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/65.65.1/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

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/65.65.1/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/65.65.1/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

ApplicationDependencyRecommendationCollection A collection of recommended application dependency changes. Each element consists of an application dependency and its recommendation.

type ApplicationDependencyRecommendationCollection struct {

    // List of application recommendation summaries.
    Items []ApplicationDependencyRecommendationSummary `mandatory:"true" json:"items"`
}

func (ApplicationDependencyRecommendationCollection) String

func (m ApplicationDependencyRecommendationCollection) String() string

func (ApplicationDependencyRecommendationCollection) ValidateEnumValue

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

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.

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"`
}

func (ApplicationDependencyRecommendationSummary) String

func (m ApplicationDependencyRecommendationSummary) String() string

func (ApplicationDependencyRecommendationSummary) ValidateEnumValue

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

ApplicationDependencyVulnerabilityCollection application dependencies with Vulnerabilities. This resource is defined by a list of application dependencies that are associated with eventual Vulnerabilities.

type ApplicationDependencyVulnerabilityCollection struct {

    // List of vulnerability audit summaries.
    Items []ApplicationDependencyVulnerabilitySummary `mandatory:"true" json:"items"`
}

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

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.

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"`
}

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

ApplyStage An apply stage merges the changes if the pull request is accepted.

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"`
}

func (ApplyStage) GetNextStageType

func (m ApplyStage) GetNextStageType() RemediationRunStageTypeEnum

GetNextStageType returns NextStageType

func (ApplyStage) GetPreviousStageType

func (m ApplyStage) GetPreviousStageType() RemediationRunStageTypeEnum

GetPreviousStageType returns PreviousStageType

func (ApplyStage) GetRemediationRunId

func (m ApplyStage) GetRemediationRunId() *string

GetRemediationRunId returns RemediationRunId

func (ApplyStage) GetStatus

func (m ApplyStage) GetStatus() RemediationRunStageStatusEnum

GetStatus returns Status

func (ApplyStage) GetSummary

func (m ApplyStage) GetSummary() *string

GetSummary returns Summary

func (ApplyStage) GetTimeCreated

func (m ApplyStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ApplyStage) GetTimeFinished

func (m ApplyStage) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (ApplyStage) GetTimeStarted

func (m ApplyStage) GetTimeStarted() *common.SDKTime

GetTimeStarted returns TimeStarted

func (ApplyStage) MarshalJSON

func (m ApplyStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ApplyStage) String

func (m ApplyStage) String() string

func (ApplyStage) ValidateEnumValue

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

CancelRemediationRunRequest wrapper for the CancelRemediationRun operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/CancelRemediationRun.go.html to see an example of how to use CancelRemediationRunRequest.

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
}

func (CancelRemediationRunRequest) BinaryRequestBody

func (request CancelRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelRemediationRunRequest) HTTPRequest

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

func (request CancelRemediationRunRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelRemediationRunRequest) String

func (request CancelRemediationRunRequest) String() string

func (CancelRemediationRunRequest) ValidateEnumValue

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

CancelRemediationRunResponse wrapper for the CancelRemediationRun operation

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"`
}

func (CancelRemediationRunResponse) HTTPResponse

func (response CancelRemediationRunResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelRemediationRunResponse) String

func (response CancelRemediationRunResponse) String() string

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/CancelWorkRequest.go.html to see an example of how to use 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
}

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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

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"`
}

func (CancelWorkRequestResponse) HTTPResponse

func (response CancelWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeKnowledgeBaseCompartmentDetails

ChangeKnowledgeBaseCompartmentDetails Details for moving a knowledge base.

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"`
}

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

ChangeKnowledgeBaseCompartmentRequest wrapper for the ChangeKnowledgeBaseCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ChangeKnowledgeBaseCompartment.go.html to see an example of how to use 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
}

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

ChangeKnowledgeBaseCompartmentResponse wrapper for the ChangeKnowledgeBaseCompartment operation

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"`
}

func (ChangeKnowledgeBaseCompartmentResponse) HTTPResponse

func (response ChangeKnowledgeBaseCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeKnowledgeBaseCompartmentResponse) String

func (response ChangeKnowledgeBaseCompartmentResponse) String() string

type ChangeRemediationRecipeCompartmentDetails

ChangeRemediationRecipeCompartmentDetails Details for moving a remediation recipe resource.

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"`
}

func (ChangeRemediationRecipeCompartmentDetails) String

func (m ChangeRemediationRecipeCompartmentDetails) String() string

func (ChangeRemediationRecipeCompartmentDetails) ValidateEnumValue

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

ChangeRemediationRecipeCompartmentRequest wrapper for the ChangeRemediationRecipeCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ChangeRemediationRecipeCompartment.go.html to see an example of how to use ChangeRemediationRecipeCompartmentRequest.

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
}

func (ChangeRemediationRecipeCompartmentRequest) BinaryRequestBody

func (request ChangeRemediationRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeRemediationRecipeCompartmentRequest) HTTPRequest

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

func (request ChangeRemediationRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeRemediationRecipeCompartmentRequest) String

func (request ChangeRemediationRecipeCompartmentRequest) String() string

func (ChangeRemediationRecipeCompartmentRequest) ValidateEnumValue

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

ChangeRemediationRecipeCompartmentResponse wrapper for the ChangeRemediationRecipeCompartment operation

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"`
}

func (ChangeRemediationRecipeCompartmentResponse) HTTPResponse

func (response ChangeRemediationRecipeCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeRemediationRecipeCompartmentResponse) String

func (response ChangeRemediationRecipeCompartmentResponse) String() string

type ChangeRemediationRunCompartmentDetails

ChangeRemediationRunCompartmentDetails Details for moving remediation run resources.

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"`
}

func (ChangeRemediationRunCompartmentDetails) String

func (m ChangeRemediationRunCompartmentDetails) String() string

func (ChangeRemediationRunCompartmentDetails) ValidateEnumValue

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

ChangeRemediationRunCompartmentRequest wrapper for the ChangeRemediationRunCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ChangeRemediationRunCompartment.go.html to see an example of how to use ChangeRemediationRunCompartmentRequest.

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
}

func (ChangeRemediationRunCompartmentRequest) BinaryRequestBody

func (request ChangeRemediationRunCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeRemediationRunCompartmentRequest) HTTPRequest

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

func (request ChangeRemediationRunCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeRemediationRunCompartmentRequest) String

func (request ChangeRemediationRunCompartmentRequest) String() string

func (ChangeRemediationRunCompartmentRequest) ValidateEnumValue

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

ChangeRemediationRunCompartmentResponse wrapper for the ChangeRemediationRunCompartment operation

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"`
}

func (ChangeRemediationRunCompartmentResponse) HTTPResponse

func (response ChangeRemediationRunCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeRemediationRunCompartmentResponse) String

func (response ChangeRemediationRunCompartmentResponse) String() string

type ChangeVulnerabilityAuditCompartmentDetails

ChangeVulnerabilityAuditCompartmentDetails Details for moving a vulnerability audit resource.

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"`
}

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

ChangeVulnerabilityAuditCompartmentRequest wrapper for the ChangeVulnerabilityAuditCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ChangeVulnerabilityAuditCompartment.go.html to see an example of how to use 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
}

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

ChangeVulnerabilityAuditCompartmentResponse wrapper for the ChangeVulnerabilityAuditCompartment operation

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"`
}

func (ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse

func (response ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeVulnerabilityAuditCompartmentResponse) String

func (response ChangeVulnerabilityAuditCompartmentResponse) String() string

type ConfigSeverityEnum

ConfigSeverityEnum Enum with underlying type: string

type ConfigSeverityEnum string

Set of constants representing the allowable values for ConfigSeverityEnum

const (
    ConfigSeverityUnset    ConfigSeverityEnum = "UNSET"
    ConfigSeverityNone     ConfigSeverityEnum = "NONE"
    ConfigSeverityLow      ConfigSeverityEnum = "LOW"
    ConfigSeverityMedium   ConfigSeverityEnum = "MEDIUM"
    ConfigSeverityHigh     ConfigSeverityEnum = "HIGH"
    ConfigSeverityCritical ConfigSeverityEnum = "CRITICAL"
)

func GetConfigSeverityEnumValues

func GetConfigSeverityEnumValues() []ConfigSeverityEnum

GetConfigSeverityEnumValues Enumerates the set of values for ConfigSeverityEnum

func GetMappingConfigSeverityEnum

func GetMappingConfigSeverityEnum(val string) (ConfigSeverityEnum, bool)

GetMappingConfigSeverityEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateKnowledgeBaseDetails

CreateKnowledgeBaseDetails Details to create a new knowledge base.

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"`
}

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

CreateKnowledgeBaseRequest wrapper for the CreateKnowledgeBase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/CreateKnowledgeBase.go.html to see an example of how to use 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
}

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

CreateKnowledgeBaseResponse wrapper for the CreateKnowledgeBase operation

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"`
}

func (CreateKnowledgeBaseResponse) HTTPResponse

func (response CreateKnowledgeBaseResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateKnowledgeBaseResponse) String

func (response CreateKnowledgeBaseResponse) String() string

type CreateRemediationRecipeDetails

CreateRemediationRecipeDetails Details to create a new Remediation Recipe.

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"`
}

func (CreateRemediationRecipeDetails) String

func (m CreateRemediationRecipeDetails) String() string

func (*CreateRemediationRecipeDetails) UnmarshalJSON

func (m *CreateRemediationRecipeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateRemediationRecipeDetails) ValidateEnumValue

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

CreateRemediationRecipeRequest wrapper for the CreateRemediationRecipe operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/CreateRemediationRecipe.go.html to see an example of how to use CreateRemediationRecipeRequest.

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
}

func (CreateRemediationRecipeRequest) BinaryRequestBody

func (request CreateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateRemediationRecipeRequest) HTTPRequest

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

func (request CreateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateRemediationRecipeRequest) String

func (request CreateRemediationRecipeRequest) String() string

func (CreateRemediationRecipeRequest) ValidateEnumValue

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

CreateRemediationRecipeResponse wrapper for the CreateRemediationRecipe operation

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"`
}

func (CreateRemediationRecipeResponse) HTTPResponse

func (response CreateRemediationRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateRemediationRecipeResponse) String

func (response CreateRemediationRecipeResponse) String() string

type CreateRemediationRunDetails

CreateRemediationRunDetails Details to create a new remediation run.

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"`
}

func (CreateRemediationRunDetails) String

func (m CreateRemediationRunDetails) String() string

func (CreateRemediationRunDetails) ValidateEnumValue

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

CreateRemediationRunRequest wrapper for the CreateRemediationRun operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/CreateRemediationRun.go.html to see an example of how to use CreateRemediationRunRequest.

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
}

func (CreateRemediationRunRequest) BinaryRequestBody

func (request CreateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateRemediationRunRequest) HTTPRequest

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

func (request CreateRemediationRunRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateRemediationRunRequest) String

func (request CreateRemediationRunRequest) String() string

func (CreateRemediationRunRequest) ValidateEnumValue

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

CreateRemediationRunResponse wrapper for the CreateRemediationRun operation

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"`
}

func (CreateRemediationRunResponse) HTTPResponse

func (response CreateRemediationRunResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateRemediationRunResponse) String

func (response CreateRemediationRunResponse) String() string

type CreateVulnerabilityAuditDetails

CreateVulnerabilityAuditDetails Details to create a vulnerability audit.

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"`
}

func (CreateVulnerabilityAuditDetails) String

func (m CreateVulnerabilityAuditDetails) String() string

func (*CreateVulnerabilityAuditDetails) UnmarshalJSON

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

CreateVulnerabilityAuditRequest wrapper for the CreateVulnerabilityAudit operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/CreateVulnerabilityAudit.go.html to see an example of how to use 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
}

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

CreateVulnerabilityAuditResponse wrapper for the CreateVulnerabilityAudit operation

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"`
}

func (CreateVulnerabilityAuditResponse) HTTPResponse

func (response CreateVulnerabilityAuditResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVulnerabilityAuditResponse) String

func (response CreateVulnerabilityAuditResponse) String() string

type DeactivateRemediationRecipeRequest

DeactivateRemediationRecipeRequest wrapper for the DeactivateRemediationRecipe operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/DeactivateRemediationRecipe.go.html to see an example of how to use DeactivateRemediationRecipeRequest.

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
}

func (DeactivateRemediationRecipeRequest) BinaryRequestBody

func (request DeactivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeactivateRemediationRecipeRequest) HTTPRequest

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

func (request DeactivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeactivateRemediationRecipeRequest) String

func (request DeactivateRemediationRecipeRequest) String() string

func (DeactivateRemediationRecipeRequest) ValidateEnumValue

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

DeactivateRemediationRecipeResponse wrapper for the DeactivateRemediationRecipe operation

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"`
}

func (DeactivateRemediationRecipeResponse) HTTPResponse

func (response DeactivateRemediationRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeactivateRemediationRecipeResponse) String

func (response DeactivateRemediationRecipeResponse) String() string

type DeleteKnowledgeBaseRequest

DeleteKnowledgeBaseRequest wrapper for the DeleteKnowledgeBase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/DeleteKnowledgeBase.go.html to see an example of how to use 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
}

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

DeleteKnowledgeBaseResponse wrapper for the DeleteKnowledgeBase operation

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"`
}

func (DeleteKnowledgeBaseResponse) HTTPResponse

func (response DeleteKnowledgeBaseResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteKnowledgeBaseResponse) String

func (response DeleteKnowledgeBaseResponse) String() string

type DeleteRemediationRecipeRequest

DeleteRemediationRecipeRequest wrapper for the DeleteRemediationRecipe operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/DeleteRemediationRecipe.go.html to see an example of how to use DeleteRemediationRecipeRequest.

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
}

func (DeleteRemediationRecipeRequest) BinaryRequestBody

func (request DeleteRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRemediationRecipeRequest) HTTPRequest

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

func (request DeleteRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRemediationRecipeRequest) String

func (request DeleteRemediationRecipeRequest) String() string

func (DeleteRemediationRecipeRequest) ValidateEnumValue

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

DeleteRemediationRecipeResponse wrapper for the DeleteRemediationRecipe operation

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"`
}

func (DeleteRemediationRecipeResponse) HTTPResponse

func (response DeleteRemediationRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRemediationRecipeResponse) String

func (response DeleteRemediationRecipeResponse) String() string

type DeleteRemediationRunRequest

DeleteRemediationRunRequest wrapper for the DeleteRemediationRun operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/DeleteRemediationRun.go.html to see an example of how to use DeleteRemediationRunRequest.

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
}

func (DeleteRemediationRunRequest) BinaryRequestBody

func (request DeleteRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRemediationRunRequest) HTTPRequest

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

func (request DeleteRemediationRunRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRemediationRunRequest) String

func (request DeleteRemediationRunRequest) String() string

func (DeleteRemediationRunRequest) ValidateEnumValue

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

DeleteRemediationRunResponse wrapper for the DeleteRemediationRun operation

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"`
}

func (DeleteRemediationRunResponse) HTTPResponse

func (response DeleteRemediationRunResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRemediationRunResponse) String

func (response DeleteRemediationRunResponse) String() string

type DeleteVulnerabilityAuditRequest

DeleteVulnerabilityAuditRequest wrapper for the DeleteVulnerabilityAudit operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/DeleteVulnerabilityAudit.go.html to see an example of how to use 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
}

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

DeleteVulnerabilityAuditResponse wrapper for the DeleteVulnerabilityAudit operation

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"`
}

func (DeleteVulnerabilityAuditResponse) HTTPResponse

func (response DeleteVulnerabilityAuditResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVulnerabilityAuditResponse) String

func (response DeleteVulnerabilityAuditResponse) String() string

type DetectConfiguration

DetectConfiguration A configuration to define the constraints when detecting vulnerable dependencies.

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"`
}

func (DetectConfiguration) String

func (m DetectConfiguration) String() string

func (DetectConfiguration) ValidateEnumValue

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

DetectConfigurationUpgradePolicyEnum Enum with underlying type: string

type DetectConfigurationUpgradePolicyEnum string

Set of constants representing the allowable values for DetectConfigurationUpgradePolicyEnum

const (
    DetectConfigurationUpgradePolicyNearest DetectConfigurationUpgradePolicyEnum = "NEAREST"
)

func GetDetectConfigurationUpgradePolicyEnumValues

func GetDetectConfigurationUpgradePolicyEnumValues() []DetectConfigurationUpgradePolicyEnum

GetDetectConfigurationUpgradePolicyEnumValues Enumerates the set of values for DetectConfigurationUpgradePolicyEnum

func GetMappingDetectConfigurationUpgradePolicyEnum

func GetMappingDetectConfigurationUpgradePolicyEnum(val string) (DetectConfigurationUpgradePolicyEnum, bool)

GetMappingDetectConfigurationUpgradePolicyEnum performs case Insensitive comparison on enum value and return the desired enum

type DetectStage

DetectStage A detect stage performs a Vulnerability Audit and determines if the remediation run should proceed to remediation stage.

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"`
}

func (DetectStage) GetNextStageType

func (m DetectStage) GetNextStageType() RemediationRunStageTypeEnum

GetNextStageType returns NextStageType

func (DetectStage) GetPreviousStageType

func (m DetectStage) GetPreviousStageType() RemediationRunStageTypeEnum

GetPreviousStageType returns PreviousStageType

func (DetectStage) GetRemediationRunId

func (m DetectStage) GetRemediationRunId() *string

GetRemediationRunId returns RemediationRunId

func (DetectStage) GetStatus

func (m DetectStage) GetStatus() RemediationRunStageStatusEnum

GetStatus returns Status

func (DetectStage) GetSummary

func (m DetectStage) GetSummary() *string

GetSummary returns Summary

func (DetectStage) GetTimeCreated

func (m DetectStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (DetectStage) GetTimeFinished

func (m DetectStage) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (DetectStage) GetTimeStarted

func (m DetectStage) GetTimeStarted() *common.SDKTime

GetTimeStarted returns TimeStarted

func (DetectStage) MarshalJSON

func (m DetectStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DetectStage) String

func (m DetectStage) String() string

func (DetectStage) ValidateEnumValue

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

ExternalResourceVulnerabilityAuditSource External source for the vulnerability audit.

type ExternalResourceVulnerabilityAuditSource struct {

    // Description of the external resource source.
    Description *string `mandatory:"false" json:"description"`
}

func (ExternalResourceVulnerabilityAuditSource) MarshalJSON

func (m ExternalResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ExternalResourceVulnerabilityAuditSource) String

func (m ExternalResourceVulnerabilityAuditSource) String() string

func (ExternalResourceVulnerabilityAuditSource) ValidateEnumValue

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

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.

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"`
}

func (ExternalScmConfiguration) GetBranch

func (m ExternalScmConfiguration) GetBranch() *string

GetBranch returns Branch

func (ExternalScmConfiguration) GetBuildFileLocation

func (m ExternalScmConfiguration) GetBuildFileLocation() *string

GetBuildFileLocation returns BuildFileLocation

func (ExternalScmConfiguration) GetIsAutomergeEnabled

func (m ExternalScmConfiguration) GetIsAutomergeEnabled() *bool

GetIsAutomergeEnabled returns IsAutomergeEnabled

func (ExternalScmConfiguration) MarshalJSON

func (m ExternalScmConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ExternalScmConfiguration) String

func (m ExternalScmConfiguration) String() string

func (ExternalScmConfiguration) ValidateEnumValue

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

ExternalScmConfigurationExternalScmTypeEnum Enum with underlying type: string

type ExternalScmConfigurationExternalScmTypeEnum string

Set of constants representing the allowable values for ExternalScmConfigurationExternalScmTypeEnum

const (
    ExternalScmConfigurationExternalScmTypeGithub ExternalScmConfigurationExternalScmTypeEnum = "GITHUB"
    ExternalScmConfigurationExternalScmTypeGitlab ExternalScmConfigurationExternalScmTypeEnum = "GITLAB"
)

func GetExternalScmConfigurationExternalScmTypeEnumValues

func GetExternalScmConfigurationExternalScmTypeEnumValues() []ExternalScmConfigurationExternalScmTypeEnum

GetExternalScmConfigurationExternalScmTypeEnumValues Enumerates the set of values for ExternalScmConfigurationExternalScmTypeEnum

func GetMappingExternalScmConfigurationExternalScmTypeEnum

func GetMappingExternalScmConfigurationExternalScmTypeEnum(val string) (ExternalScmConfigurationExternalScmTypeEnum, bool)

GetMappingExternalScmConfigurationExternalScmTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GetKnowledgeBaseRequest

GetKnowledgeBaseRequest wrapper for the GetKnowledgeBase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/GetKnowledgeBase.go.html to see an example of how to use 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
}

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

GetKnowledgeBaseResponse wrapper for the GetKnowledgeBase operation

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"`
}

func (GetKnowledgeBaseResponse) HTTPResponse

func (response GetKnowledgeBaseResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetKnowledgeBaseResponse) String

func (response GetKnowledgeBaseResponse) String() string

type GetRemediationRecipeRequest

GetRemediationRecipeRequest wrapper for the GetRemediationRecipe operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/GetRemediationRecipe.go.html to see an example of how to use GetRemediationRecipeRequest.

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
}

func (GetRemediationRecipeRequest) BinaryRequestBody

func (request GetRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRemediationRecipeRequest) HTTPRequest

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

func (request GetRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRemediationRecipeRequest) String

func (request GetRemediationRecipeRequest) String() string

func (GetRemediationRecipeRequest) ValidateEnumValue

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

GetRemediationRecipeResponse wrapper for the GetRemediationRecipe operation

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"`
}

func (GetRemediationRecipeResponse) HTTPResponse

func (response GetRemediationRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRemediationRecipeResponse) String

func (response GetRemediationRecipeResponse) String() string

type GetRemediationRunRequest

GetRemediationRunRequest wrapper for the GetRemediationRun operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/GetRemediationRun.go.html to see an example of how to use GetRemediationRunRequest.

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
}

func (GetRemediationRunRequest) BinaryRequestBody

func (request GetRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRemediationRunRequest) HTTPRequest

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

func (request GetRemediationRunRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRemediationRunRequest) String

func (request GetRemediationRunRequest) String() string

func (GetRemediationRunRequest) ValidateEnumValue

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

GetRemediationRunResponse wrapper for the GetRemediationRun operation

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"`
}

func (GetRemediationRunResponse) HTTPResponse

func (response GetRemediationRunResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRemediationRunResponse) String

func (response GetRemediationRunResponse) String() string

type GetStageRequest

GetStageRequest wrapper for the GetStage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/GetStage.go.html to see an example of how to use GetStageRequest.

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
}

func (GetStageRequest) BinaryRequestBody

func (request GetStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetStageRequest) HTTPRequest

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

func (request GetStageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetStageRequest) String

func (request GetStageRequest) String() string

func (GetStageRequest) ValidateEnumValue

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

GetStageResponse wrapper for the GetStage operation

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"`
}

func (GetStageResponse) HTTPResponse

func (response GetStageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetStageResponse) String

func (response GetStageResponse) String() string

type GetStageStageTypeEnum

GetStageStageTypeEnum Enum with underlying type: string

type GetStageStageTypeEnum string

Set of constants representing the allowable values for GetStageStageTypeEnum

const (
    GetStageStageTypeDetect    GetStageStageTypeEnum = "DETECT"
    GetStageStageTypeRecommend GetStageStageTypeEnum = "RECOMMEND"
    GetStageStageTypeVerify    GetStageStageTypeEnum = "VERIFY"
    GetStageStageTypeApply     GetStageStageTypeEnum = "APPLY"
)

func GetGetStageStageTypeEnumValues

func GetGetStageStageTypeEnumValues() []GetStageStageTypeEnum

GetGetStageStageTypeEnumValues Enumerates the set of values for GetStageStageTypeEnum

func GetMappingGetStageStageTypeEnum

func GetMappingGetStageStageTypeEnum(val string) (GetStageStageTypeEnum, bool)

GetMappingGetStageStageTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GetVulnerabilityAuditRequest

GetVulnerabilityAuditRequest wrapper for the GetVulnerabilityAudit operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/GetVulnerabilityAudit.go.html to see an example of how to use 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
}

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

GetVulnerabilityAuditResponse wrapper for the GetVulnerabilityAudit operation

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"`
}

func (GetVulnerabilityAuditResponse) HTTPResponse

func (response GetVulnerabilityAuditResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVulnerabilityAuditResponse) String

func (response GetVulnerabilityAuditResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/GetWorkRequest.go.html to see an example of how to use 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
}

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

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"`
}

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type GitHubActionsConfiguration

GitHubActionsConfiguration Extends a Verify configuration with appropriate data to reach and use the build service provided by a GitHub Action.

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"`
}

func (GitHubActionsConfiguration) MarshalJSON

func (m GitHubActionsConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (GitHubActionsConfiguration) String

func (m GitHubActionsConfiguration) String() string

func (GitHubActionsConfiguration) ValidateEnumValue

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

GitLabPipelineConfiguration Extends a Verify configuration with appropriate data to reach and use the build service provided by a GitLab Pipeline.

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"`
}

func (GitLabPipelineConfiguration) MarshalJSON

func (m GitLabPipelineConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (GitLabPipelineConfiguration) String

func (m GitLabPipelineConfiguration) String() string

func (GitLabPipelineConfiguration) ValidateEnumValue

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

JenkinsPipelineConfiguration Extends a Verify configuration with appropriate data to reach and use the build service provided by a Jenkins Pipeline.

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"`
}

func (JenkinsPipelineConfiguration) MarshalJSON

func (m JenkinsPipelineConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (JenkinsPipelineConfiguration) String

func (m JenkinsPipelineConfiguration) String() string

func (JenkinsPipelineConfiguration) ValidateEnumValue

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

KnowledgeBase A knowledge base is a component of Application Dependency Management (ADM) service that provides access to vulnerabilities.

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"`
}

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

KnowledgeBaseCollection Collection of knowledge base summaries.

type KnowledgeBaseCollection struct {

    // List of knowledge base summaries.
    Items []KnowledgeBaseSummary `mandatory:"true" json:"items"`
}

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

KnowledgeBaseLifecycleStateEnum Enum with underlying type: string

type KnowledgeBaseLifecycleStateEnum string

Set of constants representing the allowable values for KnowledgeBaseLifecycleStateEnum

const (
    KnowledgeBaseLifecycleStateCreating KnowledgeBaseLifecycleStateEnum = "CREATING"
    KnowledgeBaseLifecycleStateActive   KnowledgeBaseLifecycleStateEnum = "ACTIVE"
    KnowledgeBaseLifecycleStateUpdating KnowledgeBaseLifecycleStateEnum = "UPDATING"
    KnowledgeBaseLifecycleStateFailed   KnowledgeBaseLifecycleStateEnum = "FAILED"
    KnowledgeBaseLifecycleStateDeleting KnowledgeBaseLifecycleStateEnum = "DELETING"
    KnowledgeBaseLifecycleStateDeleted  KnowledgeBaseLifecycleStateEnum = "DELETED"
)

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

KnowledgeBaseSummary The summary of a knowledge base.

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"`
}

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

ListApplicationDependencyRecommendationsRequest wrapper for the ListApplicationDependencyRecommendations operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListApplicationDependencyRecommendations.go.html to see an example of how to use ListApplicationDependencyRecommendationsRequest.

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
}

func (ListApplicationDependencyRecommendationsRequest) BinaryRequestBody

func (request ListApplicationDependencyRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListApplicationDependencyRecommendationsRequest) HTTPRequest

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

func (request ListApplicationDependencyRecommendationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListApplicationDependencyRecommendationsRequest) String

func (request ListApplicationDependencyRecommendationsRequest) String() string

func (ListApplicationDependencyRecommendationsRequest) ValidateEnumValue

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

ListApplicationDependencyRecommendationsResponse wrapper for the ListApplicationDependencyRecommendations operation

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"`
}

func (ListApplicationDependencyRecommendationsResponse) HTTPResponse

func (response ListApplicationDependencyRecommendationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListApplicationDependencyRecommendationsResponse) String

func (response ListApplicationDependencyRecommendationsResponse) String() string

type ListApplicationDependencyRecommendationsSortByEnum

ListApplicationDependencyRecommendationsSortByEnum Enum with underlying type: string

type ListApplicationDependencyRecommendationsSortByEnum string

Set of constants representing the allowable values for ListApplicationDependencyRecommendationsSortByEnum

const (
    ListApplicationDependencyRecommendationsSortByGav    ListApplicationDependencyRecommendationsSortByEnum = "gav"
    ListApplicationDependencyRecommendationsSortByPurl   ListApplicationDependencyRecommendationsSortByEnum = "purl"
    ListApplicationDependencyRecommendationsSortByNodeid ListApplicationDependencyRecommendationsSortByEnum = "nodeId"
    ListApplicationDependencyRecommendationsSortByDfs    ListApplicationDependencyRecommendationsSortByEnum = "dfs"
    ListApplicationDependencyRecommendationsSortByBfs    ListApplicationDependencyRecommendationsSortByEnum = "bfs"
)

func GetListApplicationDependencyRecommendationsSortByEnumValues

func GetListApplicationDependencyRecommendationsSortByEnumValues() []ListApplicationDependencyRecommendationsSortByEnum

GetListApplicationDependencyRecommendationsSortByEnumValues Enumerates the set of values for ListApplicationDependencyRecommendationsSortByEnum

func GetMappingListApplicationDependencyRecommendationsSortByEnum

func GetMappingListApplicationDependencyRecommendationsSortByEnum(val string) (ListApplicationDependencyRecommendationsSortByEnum, bool)

GetMappingListApplicationDependencyRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListApplicationDependencyRecommendationsSortOrderEnum

ListApplicationDependencyRecommendationsSortOrderEnum Enum with underlying type: string

type ListApplicationDependencyRecommendationsSortOrderEnum string

Set of constants representing the allowable values for ListApplicationDependencyRecommendationsSortOrderEnum

const (
    ListApplicationDependencyRecommendationsSortOrderAsc  ListApplicationDependencyRecommendationsSortOrderEnum = "ASC"
    ListApplicationDependencyRecommendationsSortOrderDesc ListApplicationDependencyRecommendationsSortOrderEnum = "DESC"
)

func GetListApplicationDependencyRecommendationsSortOrderEnumValues

func GetListApplicationDependencyRecommendationsSortOrderEnumValues() []ListApplicationDependencyRecommendationsSortOrderEnum

GetListApplicationDependencyRecommendationsSortOrderEnumValues Enumerates the set of values for ListApplicationDependencyRecommendationsSortOrderEnum

func GetMappingListApplicationDependencyRecommendationsSortOrderEnum

func GetMappingListApplicationDependencyRecommendationsSortOrderEnum(val string) (ListApplicationDependencyRecommendationsSortOrderEnum, bool)

GetMappingListApplicationDependencyRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListApplicationDependencyVulnerabilitiesRequest

ListApplicationDependencyVulnerabilitiesRequest wrapper for the ListApplicationDependencyVulnerabilities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListApplicationDependencyVulnerabilities.go.html to see an example of how to use 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
}

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

ListApplicationDependencyVulnerabilitiesResponse wrapper for the ListApplicationDependencyVulnerabilities operation

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"`
}

func (ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse

func (response ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListApplicationDependencyVulnerabilitiesResponse) String

func (response ListApplicationDependencyVulnerabilitiesResponse) String() string

type ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum

ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum Enum with underlying type: string

type ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum string

Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum

const (
    ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualNone     ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "NONE"
    ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualLow      ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "LOW"
    ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualMedium   ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "MEDIUM"
    ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualHigh     ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "HIGH"
    ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualCritical ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum = "CRITICAL"
)

func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues

func GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues() []ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum

GetListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnumValues Enumerates the set of values for ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum

func GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum

func GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum(val string) (ListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum, bool)

GetMappingListApplicationDependencyVulnerabilitiesSeverityGreaterThanOrEqualEnum performs case Insensitive comparison on enum value and return the desired enum

type ListApplicationDependencyVulnerabilitiesSortByEnum

ListApplicationDependencyVulnerabilitiesSortByEnum Enum with underlying type: string

type ListApplicationDependencyVulnerabilitiesSortByEnum string

Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortByEnum

const (
    ListApplicationDependencyVulnerabilitiesSortByGav    ListApplicationDependencyVulnerabilitiesSortByEnum = "gav"
    ListApplicationDependencyVulnerabilitiesSortByPurl   ListApplicationDependencyVulnerabilitiesSortByEnum = "purl"
    ListApplicationDependencyVulnerabilitiesSortByNodeid ListApplicationDependencyVulnerabilitiesSortByEnum = "nodeId"
    ListApplicationDependencyVulnerabilitiesSortByDfs    ListApplicationDependencyVulnerabilitiesSortByEnum = "dfs"
    ListApplicationDependencyVulnerabilitiesSortByBfs    ListApplicationDependencyVulnerabilitiesSortByEnum = "bfs"
)

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

ListApplicationDependencyVulnerabilitiesSortOrderEnum Enum with underlying type: string

type ListApplicationDependencyVulnerabilitiesSortOrderEnum string

Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortOrderEnum

const (
    ListApplicationDependencyVulnerabilitiesSortOrderAsc  ListApplicationDependencyVulnerabilitiesSortOrderEnum = "ASC"
    ListApplicationDependencyVulnerabilitiesSortOrderDesc ListApplicationDependencyVulnerabilitiesSortOrderEnum = "DESC"
)

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

ListKnowledgeBasesRequest wrapper for the ListKnowledgeBases operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListKnowledgeBases.go.html to see an example of how to use 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
}

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

ListKnowledgeBasesResponse wrapper for the ListKnowledgeBases operation

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"`
}

func (ListKnowledgeBasesResponse) HTTPResponse

func (response ListKnowledgeBasesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListKnowledgeBasesResponse) String

func (response ListKnowledgeBasesResponse) String() string

type ListKnowledgeBasesSortByEnum

ListKnowledgeBasesSortByEnum Enum with underlying type: string

type ListKnowledgeBasesSortByEnum string

Set of constants representing the allowable values for ListKnowledgeBasesSortByEnum

const (
    ListKnowledgeBasesSortByDisplayName    ListKnowledgeBasesSortByEnum = "DISPLAY_NAME"
    ListKnowledgeBasesSortByLifecycleState ListKnowledgeBasesSortByEnum = "LIFECYCLE_STATE"
    ListKnowledgeBasesSortByTimeCreated    ListKnowledgeBasesSortByEnum = "TIME_CREATED"
    ListKnowledgeBasesSortByTimeUpdated    ListKnowledgeBasesSortByEnum = "TIME_UPDATED"
)

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

ListKnowledgeBasesSortOrderEnum Enum with underlying type: string

type ListKnowledgeBasesSortOrderEnum string

Set of constants representing the allowable values for ListKnowledgeBasesSortOrderEnum

const (
    ListKnowledgeBasesSortOrderAsc  ListKnowledgeBasesSortOrderEnum = "ASC"
    ListKnowledgeBasesSortOrderDesc ListKnowledgeBasesSortOrderEnum = "DESC"
)

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

ListRemediationRecipesRequest wrapper for the ListRemediationRecipes operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListRemediationRecipes.go.html to see an example of how to use ListRemediationRecipesRequest.

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
}

func (ListRemediationRecipesRequest) BinaryRequestBody

func (request ListRemediationRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRemediationRecipesRequest) HTTPRequest

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

func (request ListRemediationRecipesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRemediationRecipesRequest) String

func (request ListRemediationRecipesRequest) String() string

func (ListRemediationRecipesRequest) ValidateEnumValue

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

ListRemediationRecipesResponse wrapper for the ListRemediationRecipes operation

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"`
}

func (ListRemediationRecipesResponse) HTTPResponse

func (response ListRemediationRecipesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRemediationRecipesResponse) String

func (response ListRemediationRecipesResponse) String() string

type ListRemediationRecipesSortByEnum

ListRemediationRecipesSortByEnum Enum with underlying type: string

type ListRemediationRecipesSortByEnum string

Set of constants representing the allowable values for ListRemediationRecipesSortByEnum

const (
    ListRemediationRecipesSortByDisplayName    ListRemediationRecipesSortByEnum = "DISPLAY_NAME"
    ListRemediationRecipesSortByLifecycleState ListRemediationRecipesSortByEnum = "LIFECYCLE_STATE"
    ListRemediationRecipesSortByTimeCreated    ListRemediationRecipesSortByEnum = "TIME_CREATED"
    ListRemediationRecipesSortByTimeUpdated    ListRemediationRecipesSortByEnum = "TIME_UPDATED"
    ListRemediationRecipesSortByType           ListRemediationRecipesSortByEnum = "TYPE"
)

func GetListRemediationRecipesSortByEnumValues

func GetListRemediationRecipesSortByEnumValues() []ListRemediationRecipesSortByEnum

GetListRemediationRecipesSortByEnumValues Enumerates the set of values for ListRemediationRecipesSortByEnum

func GetMappingListRemediationRecipesSortByEnum

func GetMappingListRemediationRecipesSortByEnum(val string) (ListRemediationRecipesSortByEnum, bool)

GetMappingListRemediationRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRemediationRecipesSortOrderEnum

ListRemediationRecipesSortOrderEnum Enum with underlying type: string

type ListRemediationRecipesSortOrderEnum string

Set of constants representing the allowable values for ListRemediationRecipesSortOrderEnum

const (
    ListRemediationRecipesSortOrderAsc  ListRemediationRecipesSortOrderEnum = "ASC"
    ListRemediationRecipesSortOrderDesc ListRemediationRecipesSortOrderEnum = "DESC"
)

func GetListRemediationRecipesSortOrderEnumValues

func GetListRemediationRecipesSortOrderEnumValues() []ListRemediationRecipesSortOrderEnum

GetListRemediationRecipesSortOrderEnumValues Enumerates the set of values for ListRemediationRecipesSortOrderEnum

func GetMappingListRemediationRecipesSortOrderEnum

func GetMappingListRemediationRecipesSortOrderEnum(val string) (ListRemediationRecipesSortOrderEnum, bool)

GetMappingListRemediationRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRemediationRunsRequest

ListRemediationRunsRequest wrapper for the ListRemediationRuns operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListRemediationRuns.go.html to see an example of how to use ListRemediationRunsRequest.

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
}

func (ListRemediationRunsRequest) BinaryRequestBody

func (request ListRemediationRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRemediationRunsRequest) HTTPRequest

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

func (request ListRemediationRunsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRemediationRunsRequest) String

func (request ListRemediationRunsRequest) String() string

func (ListRemediationRunsRequest) ValidateEnumValue

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

ListRemediationRunsResponse wrapper for the ListRemediationRuns operation

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"`
}

func (ListRemediationRunsResponse) HTTPResponse

func (response ListRemediationRunsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRemediationRunsResponse) String

func (response ListRemediationRunsResponse) String() string

type ListRemediationRunsSortByEnum

ListRemediationRunsSortByEnum Enum with underlying type: string

type ListRemediationRunsSortByEnum string

Set of constants representing the allowable values for ListRemediationRunsSortByEnum

const (
    ListRemediationRunsSortByTimecreated      ListRemediationRunsSortByEnum = "timeCreated"
    ListRemediationRunsSortByTimefinished     ListRemediationRunsSortByEnum = "timeFinished"
    ListRemediationRunsSortByTimestarted      ListRemediationRunsSortByEnum = "timeStarted"
    ListRemediationRunsSortByDisplayname      ListRemediationRunsSortByEnum = "displayName"
    ListRemediationRunsSortByLifecyclestate   ListRemediationRunsSortByEnum = "lifecycleState"
    ListRemediationRunsSortByCurrentstagetype ListRemediationRunsSortByEnum = "currentStageType"
)

func GetListRemediationRunsSortByEnumValues

func GetListRemediationRunsSortByEnumValues() []ListRemediationRunsSortByEnum

GetListRemediationRunsSortByEnumValues Enumerates the set of values for ListRemediationRunsSortByEnum

func GetMappingListRemediationRunsSortByEnum

func GetMappingListRemediationRunsSortByEnum(val string) (ListRemediationRunsSortByEnum, bool)

GetMappingListRemediationRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRemediationRunsSortOrderEnum

ListRemediationRunsSortOrderEnum Enum with underlying type: string

type ListRemediationRunsSortOrderEnum string

Set of constants representing the allowable values for ListRemediationRunsSortOrderEnum

const (
    ListRemediationRunsSortOrderAsc  ListRemediationRunsSortOrderEnum = "ASC"
    ListRemediationRunsSortOrderDesc ListRemediationRunsSortOrderEnum = "DESC"
)

func GetListRemediationRunsSortOrderEnumValues

func GetListRemediationRunsSortOrderEnumValues() []ListRemediationRunsSortOrderEnum

GetListRemediationRunsSortOrderEnumValues Enumerates the set of values for ListRemediationRunsSortOrderEnum

func GetMappingListRemediationRunsSortOrderEnum

func GetMappingListRemediationRunsSortOrderEnum(val string) (ListRemediationRunsSortOrderEnum, bool)

GetMappingListRemediationRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListStagesRequest

ListStagesRequest wrapper for the ListStages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListStages.go.html to see an example of how to use ListStagesRequest.

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
}

func (ListStagesRequest) BinaryRequestBody

func (request ListStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListStagesRequest) HTTPRequest

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

func (request ListStagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListStagesRequest) String

func (request ListStagesRequest) String() string

func (ListStagesRequest) ValidateEnumValue

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

ListStagesResponse wrapper for the ListStages operation

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"`
}

func (ListStagesResponse) HTTPResponse

func (response ListStagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListStagesResponse) String

func (response ListStagesResponse) String() string

type ListStagesSortByEnum

ListStagesSortByEnum Enum with underlying type: string

type ListStagesSortByEnum string

Set of constants representing the allowable values for ListStagesSortByEnum

const (
    ListStagesSortByStatus       ListStagesSortByEnum = "status"
    ListStagesSortByTimecreated  ListStagesSortByEnum = "timeCreated"
    ListStagesSortByTimefinished ListStagesSortByEnum = "timeFinished"
    ListStagesSortByTimestarted  ListStagesSortByEnum = "timeStarted"
    ListStagesSortByType         ListStagesSortByEnum = "type"
)

func GetListStagesSortByEnumValues

func GetListStagesSortByEnumValues() []ListStagesSortByEnum

GetListStagesSortByEnumValues Enumerates the set of values for ListStagesSortByEnum

func GetMappingListStagesSortByEnum

func GetMappingListStagesSortByEnum(val string) (ListStagesSortByEnum, bool)

GetMappingListStagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListStagesSortOrderEnum

ListStagesSortOrderEnum Enum with underlying type: string

type ListStagesSortOrderEnum string

Set of constants representing the allowable values for ListStagesSortOrderEnum

const (
    ListStagesSortOrderAsc  ListStagesSortOrderEnum = "ASC"
    ListStagesSortOrderDesc ListStagesSortOrderEnum = "DESC"
)

func GetListStagesSortOrderEnumValues

func GetListStagesSortOrderEnumValues() []ListStagesSortOrderEnum

GetListStagesSortOrderEnumValues Enumerates the set of values for ListStagesSortOrderEnum

func GetMappingListStagesSortOrderEnum

func GetMappingListStagesSortOrderEnum(val string) (ListStagesSortOrderEnum, bool)

GetMappingListStagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListStagesTypeEnum

ListStagesTypeEnum Enum with underlying type: string

type ListStagesTypeEnum string

Set of constants representing the allowable values for ListStagesTypeEnum

const (
    ListStagesTypeDetect    ListStagesTypeEnum = "DETECT"
    ListStagesTypeRecommend ListStagesTypeEnum = "RECOMMEND"
    ListStagesTypeVerify    ListStagesTypeEnum = "VERIFY"
    ListStagesTypeApply     ListStagesTypeEnum = "APPLY"
)

func GetListStagesTypeEnumValues

func GetListStagesTypeEnumValues() []ListStagesTypeEnum

GetListStagesTypeEnumValues Enumerates the set of values for ListStagesTypeEnum

func GetMappingListStagesTypeEnum

func GetMappingListStagesTypeEnum(val string) (ListStagesTypeEnum, bool)

GetMappingListStagesTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum

ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum Enum with underlying type: string

type ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum string

Set of constants representing the allowable values for ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum

const (
    ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToNone     ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "NONE"
    ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToLow      ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "LOW"
    ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToMedium   ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "MEDIUM"
    ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToHigh     ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "HIGH"
    ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToCritical ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum = "CRITICAL"
)

func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues

func GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues() []ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum

GetListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnumValues Enumerates the set of values for ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum

func GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum

func GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum(val string) (ListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum, bool)

GetMappingListVulnerabilityAuditsMaxObservedSeverityGreaterThanOrEqualToEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVulnerabilityAuditsRequest

ListVulnerabilityAuditsRequest wrapper for the ListVulnerabilityAudits operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListVulnerabilityAudits.go.html to see an example of how to use 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
}

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

ListVulnerabilityAuditsResponse wrapper for the ListVulnerabilityAudits operation

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"`
}

func (ListVulnerabilityAuditsResponse) HTTPResponse

func (response ListVulnerabilityAuditsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilityAuditsResponse) String

func (response ListVulnerabilityAuditsResponse) String() string

type ListVulnerabilityAuditsSortByEnum

ListVulnerabilityAuditsSortByEnum Enum with underlying type: string

type ListVulnerabilityAuditsSortByEnum string

Set of constants representing the allowable values for ListVulnerabilityAuditsSortByEnum

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"
)

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

ListVulnerabilityAuditsSortOrderEnum Enum with underlying type: string

type ListVulnerabilityAuditsSortOrderEnum string

Set of constants representing the allowable values for ListVulnerabilityAuditsSortOrderEnum

const (
    ListVulnerabilityAuditsSortOrderAsc  ListVulnerabilityAuditsSortOrderEnum = "ASC"
    ListVulnerabilityAuditsSortOrderDesc ListVulnerabilityAuditsSortOrderEnum = "DESC"
)

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListWorkRequestErrors.go.html to see an example of how to use 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
}

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

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"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

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

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListWorkRequestLogs.go.html to see an example of how to use 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
}

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

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"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

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

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/ListWorkRequests.go.html to see an example of how to use 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
}

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

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"`
}

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

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

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

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

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
    ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
    ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
    ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

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

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.

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"`
}

func (NetworkConfiguration) String

func (m NetworkConfiguration) String() string

func (NetworkConfiguration) ValidateEnumValue

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

NoneVerifyConfiguration Empty verify configuration when no build was selected.

type NoneVerifyConfiguration struct {
}

func (NoneVerifyConfiguration) MarshalJSON

func (m NoneVerifyConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NoneVerifyConfiguration) String

func (m NoneVerifyConfiguration) String() string

func (NoneVerifyConfiguration) ValidateEnumValue

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

OciCodeRepositoryConfiguration An OCI Code repository configuration extends a SCM Configuration with necessary data to reach and use the OCI DevOps Code Repository.

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"`
}

func (OciCodeRepositoryConfiguration) GetBranch

func (m OciCodeRepositoryConfiguration) GetBranch() *string

GetBranch returns Branch

func (OciCodeRepositoryConfiguration) GetBuildFileLocation

func (m OciCodeRepositoryConfiguration) GetBuildFileLocation() *string

GetBuildFileLocation returns BuildFileLocation

func (OciCodeRepositoryConfiguration) GetIsAutomergeEnabled

func (m OciCodeRepositoryConfiguration) GetIsAutomergeEnabled() *bool

GetIsAutomergeEnabled returns IsAutomergeEnabled

func (OciCodeRepositoryConfiguration) MarshalJSON

func (m OciCodeRepositoryConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OciCodeRepositoryConfiguration) String

func (m OciCodeRepositoryConfiguration) String() string

func (OciCodeRepositoryConfiguration) ValidateEnumValue

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

OciDevOpsBuildConfiguration OCI DevOps configuration extends a Verify Configuration with necessary data to reach and use the OCI DevOps Build Service.

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"`
}

func (OciDevOpsBuildConfiguration) MarshalJSON

func (m OciDevOpsBuildConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OciDevOpsBuildConfiguration) String

func (m OciDevOpsBuildConfiguration) String() string

func (OciDevOpsBuildConfiguration) ValidateEnumValue

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

OciResourceVulnerabilityAuditSource OCI resource source for the vulnerability audit.

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"`
}

func (OciResourceVulnerabilityAuditSource) MarshalJSON

func (m OciResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OciResourceVulnerabilityAuditSource) String

func (m OciResourceVulnerabilityAuditSource) String() string

func (OciResourceVulnerabilityAuditSource) ValidateEnumValue

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

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
    OperationStatusWaiting    OperationStatusEnum = "WAITING"
    OperationStatusFailed     OperationStatusEnum = "FAILED"
    OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling  OperationStatusEnum = "CANCELING"
    OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

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

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

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"
)

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

PipelineProperties Pipeline properties which result from the run of the verify stage.

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"`
}

func (PipelineProperties) String

func (m PipelineProperties) String() string

func (PipelineProperties) ValidateEnumValue

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

PullRequestProperties Pull request properties from recommend stage of the remediation run.

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"`
}

func (PullRequestProperties) String

func (m PullRequestProperties) String() string

func (PullRequestProperties) ValidateEnumValue

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

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.

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"`
}

func (RecommendStage) GetNextStageType

func (m RecommendStage) GetNextStageType() RemediationRunStageTypeEnum

GetNextStageType returns NextStageType

func (RecommendStage) GetPreviousStageType

func (m RecommendStage) GetPreviousStageType() RemediationRunStageTypeEnum

GetPreviousStageType returns PreviousStageType

func (RecommendStage) GetRemediationRunId

func (m RecommendStage) GetRemediationRunId() *string

GetRemediationRunId returns RemediationRunId

func (RecommendStage) GetStatus

func (m RecommendStage) GetStatus() RemediationRunStageStatusEnum

GetStatus returns Status

func (RecommendStage) GetSummary

func (m RecommendStage) GetSummary() *string

GetSummary returns Summary

func (RecommendStage) GetTimeCreated

func (m RecommendStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RecommendStage) GetTimeFinished

func (m RecommendStage) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (RecommendStage) GetTimeStarted

func (m RecommendStage) GetTimeStarted() *common.SDKTime

GetTimeStarted returns TimeStarted

func (RecommendStage) MarshalJSON

func (m RecommendStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RecommendStage) String

func (m RecommendStage) String() string

func (RecommendStage) ValidateEnumValue

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

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).

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"`
}

func (RemediationRecipe) String

func (m RemediationRecipe) String() string

func (*RemediationRecipe) UnmarshalJSON

func (m *RemediationRecipe) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (RemediationRecipe) ValidateEnumValue

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

RemediationRecipeCollection Collection of remediation recipe summaries.

type RemediationRecipeCollection struct {

    // List of remediation recipe summaries.
    Items []RemediationRecipeSummary `mandatory:"true" json:"items"`
}

func (RemediationRecipeCollection) String

func (m RemediationRecipeCollection) String() string

func (RemediationRecipeCollection) ValidateEnumValue

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

RemediationRecipeLifecycleStateEnum Enum with underlying type: string

type RemediationRecipeLifecycleStateEnum string

Set of constants representing the allowable values for RemediationRecipeLifecycleStateEnum

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"
)

func GetMappingRemediationRecipeLifecycleStateEnum

func GetMappingRemediationRecipeLifecycleStateEnum(val string) (RemediationRecipeLifecycleStateEnum, bool)

GetMappingRemediationRecipeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemediationRecipeLifecycleStateEnumValues

func GetRemediationRecipeLifecycleStateEnumValues() []RemediationRecipeLifecycleStateEnum

GetRemediationRecipeLifecycleStateEnumValues Enumerates the set of values for RemediationRecipeLifecycleStateEnum

type RemediationRecipeSummary

RemediationRecipeSummary The summary of a Remediation Recipe.

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"`
}

func (RemediationRecipeSummary) String

func (m RemediationRecipeSummary) String() string

func (RemediationRecipeSummary) ValidateEnumValue

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

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.

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"`
}

func (RemediationRun) String

func (m RemediationRun) String() string

func (RemediationRun) ValidateEnumValue

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

RemediationRunCollection Collection of remediation run summaries.

type RemediationRunCollection struct {

    // List of remediation run summaries.
    Items []RemediationRunSummary `mandatory:"true" json:"items"`
}

func (RemediationRunCollection) String

func (m RemediationRunCollection) String() string

func (RemediationRunCollection) ValidateEnumValue

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

RemediationRunLifecycleStateEnum Enum with underlying type: string

type RemediationRunLifecycleStateEnum string

Set of constants representing the allowable values for RemediationRunLifecycleStateEnum

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"
)

func GetMappingRemediationRunLifecycleStateEnum

func GetMappingRemediationRunLifecycleStateEnum(val string) (RemediationRunLifecycleStateEnum, bool)

GetMappingRemediationRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemediationRunLifecycleStateEnumValues

func GetRemediationRunLifecycleStateEnumValues() []RemediationRunLifecycleStateEnum

GetRemediationRunLifecycleStateEnumValues Enumerates the set of values for RemediationRunLifecycleStateEnum

type RemediationRunRemediationRunSourceEnum

RemediationRunRemediationRunSourceEnum Enum with underlying type: string

type RemediationRunRemediationRunSourceEnum string

Set of constants representing the allowable values for RemediationRunRemediationRunSourceEnum

const (
    RemediationRunRemediationRunSourceManual        RemediationRunRemediationRunSourceEnum = "MANUAL"
    RemediationRunRemediationRunSourceKnowledgeBase RemediationRunRemediationRunSourceEnum = "KNOWLEDGE_BASE"
)

func GetMappingRemediationRunRemediationRunSourceEnum

func GetMappingRemediationRunRemediationRunSourceEnum(val string) (RemediationRunRemediationRunSourceEnum, bool)

GetMappingRemediationRunRemediationRunSourceEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemediationRunRemediationRunSourceEnumValues

func GetRemediationRunRemediationRunSourceEnumValues() []RemediationRunRemediationRunSourceEnum

GetRemediationRunRemediationRunSourceEnumValues Enumerates the set of values for RemediationRunRemediationRunSourceEnum

type RemediationRunStage

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 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
}

type RemediationRunStageCollection

RemediationRunStageCollection Collection of remediation run stage summaries.

type RemediationRunStageCollection struct {

    // List of remediation run stage summaries.
    Items []RemediationRunStageSummary `mandatory:"true" json:"items"`
}

func (RemediationRunStageCollection) String

func (m RemediationRunStageCollection) String() string

func (RemediationRunStageCollection) ValidateEnumValue

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

RemediationRunStageStatusEnum Enum with underlying type: string

type RemediationRunStageStatusEnum string

Set of constants representing the allowable values for RemediationRunStageStatusEnum

const (
    RemediationRunStageStatusCreated    RemediationRunStageStatusEnum = "CREATED"
    RemediationRunStageStatusInProgress RemediationRunStageStatusEnum = "IN_PROGRESS"
    RemediationRunStageStatusSucceeded  RemediationRunStageStatusEnum = "SUCCEEDED"
    RemediationRunStageStatusFailed     RemediationRunStageStatusEnum = "FAILED"
    RemediationRunStageStatusCanceling  RemediationRunStageStatusEnum = "CANCELING"
    RemediationRunStageStatusCanceled   RemediationRunStageStatusEnum = "CANCELED"
)

func GetMappingRemediationRunStageStatusEnum

func GetMappingRemediationRunStageStatusEnum(val string) (RemediationRunStageStatusEnum, bool)

GetMappingRemediationRunStageStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemediationRunStageStatusEnumValues

func GetRemediationRunStageStatusEnumValues() []RemediationRunStageStatusEnum

GetRemediationRunStageStatusEnumValues Enumerates the set of values for RemediationRunStageStatusEnum

type RemediationRunStageSummary

RemediationRunStageSummary The summary of a remediation run stages.

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"`
}

func (RemediationRunStageSummary) String

func (m RemediationRunStageSummary) String() string

func (RemediationRunStageSummary) ValidateEnumValue

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

RemediationRunStageTypeEnum Enum with underlying type: string

type RemediationRunStageTypeEnum string

Set of constants representing the allowable values for RemediationRunStageTypeEnum

const (
    RemediationRunStageTypeDetect    RemediationRunStageTypeEnum = "DETECT"
    RemediationRunStageTypeRecommend RemediationRunStageTypeEnum = "RECOMMEND"
    RemediationRunStageTypeVerify    RemediationRunStageTypeEnum = "VERIFY"
    RemediationRunStageTypeApply     RemediationRunStageTypeEnum = "APPLY"
)

func GetMappingRemediationRunStageTypeEnum

func GetMappingRemediationRunStageTypeEnum(val string) (RemediationRunStageTypeEnum, bool)

GetMappingRemediationRunStageTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemediationRunStageTypeEnumValues

func GetRemediationRunStageTypeEnumValues() []RemediationRunStageTypeEnum

GetRemediationRunStageTypeEnumValues Enumerates the set of values for RemediationRunStageTypeEnum

type RemediationRunSummary

RemediationRunSummary remediation run summary.

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"`
}

func (RemediationRunSummary) String

func (m RemediationRunSummary) String() string

func (RemediationRunSummary) ValidateEnumValue

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

ScmConfiguration A configuration for the Source Code Management tool/platform used by a remediation recipe.

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
}

type ScmConfigurationScmTypeEnum

ScmConfigurationScmTypeEnum Enum with underlying type: string

type ScmConfigurationScmTypeEnum string

Set of constants representing the allowable values for ScmConfigurationScmTypeEnum

const (
    ScmConfigurationScmTypeOciCodeRepository ScmConfigurationScmTypeEnum = "OCI_CODE_REPOSITORY"
    ScmConfigurationScmTypeExternalScm       ScmConfigurationScmTypeEnum = "EXTERNAL_SCM"
)

func GetMappingScmConfigurationScmTypeEnum

func GetMappingScmConfigurationScmTypeEnum(val string) (ScmConfigurationScmTypeEnum, bool)

GetMappingScmConfigurationScmTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScmConfigurationScmTypeEnumValues

func GetScmConfigurationScmTypeEnumValues() []ScmConfigurationScmTypeEnum

GetScmConfigurationScmTypeEnumValues Enumerates the set of values for ScmConfigurationScmTypeEnum

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

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

StageSummary stage summary of a remediation run. A stage is one step of a remediation run.

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"`
}

func (StageSummary) String

func (m StageSummary) String() string

func (StageSummary) ValidateEnumValue

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

UnknownSourceVulnerabilityAuditSource Unknown source for vulnerability audit.

type UnknownSourceVulnerabilityAuditSource struct {
}

func (UnknownSourceVulnerabilityAuditSource) MarshalJSON

func (m UnknownSourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UnknownSourceVulnerabilityAuditSource) String

func (m UnknownSourceVulnerabilityAuditSource) String() string

func (UnknownSourceVulnerabilityAuditSource) ValidateEnumValue

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

UpdateKnowledgeBaseDetails Details to update an existing knowledge base.

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"`
}

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

UpdateKnowledgeBaseRequest wrapper for the UpdateKnowledgeBase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/UpdateKnowledgeBase.go.html to see an example of how to use 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
}

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

UpdateKnowledgeBaseResponse wrapper for the UpdateKnowledgeBase operation

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"`
}

func (UpdateKnowledgeBaseResponse) HTTPResponse

func (response UpdateKnowledgeBaseResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateKnowledgeBaseResponse) String

func (response UpdateKnowledgeBaseResponse) String() string

type UpdateRemediationRecipeDetails

UpdateRemediationRecipeDetails Details to update an existing remediation recipe.

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"`
}

func (UpdateRemediationRecipeDetails) String

func (m UpdateRemediationRecipeDetails) String() string

func (*UpdateRemediationRecipeDetails) UnmarshalJSON

func (m *UpdateRemediationRecipeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateRemediationRecipeDetails) ValidateEnumValue

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

UpdateRemediationRecipeRequest wrapper for the UpdateRemediationRecipe operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/UpdateRemediationRecipe.go.html to see an example of how to use UpdateRemediationRecipeRequest.

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
}

func (UpdateRemediationRecipeRequest) BinaryRequestBody

func (request UpdateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRemediationRecipeRequest) HTTPRequest

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

func (request UpdateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRemediationRecipeRequest) String

func (request UpdateRemediationRecipeRequest) String() string

func (UpdateRemediationRecipeRequest) ValidateEnumValue

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

UpdateRemediationRecipeResponse wrapper for the UpdateRemediationRecipe operation

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"`
}

func (UpdateRemediationRecipeResponse) HTTPResponse

func (response UpdateRemediationRecipeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRemediationRecipeResponse) String

func (response UpdateRemediationRecipeResponse) String() string

type UpdateRemediationRunDetails

UpdateRemediationRunDetails Details to update an existing remediation run.

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"`
}

func (UpdateRemediationRunDetails) String

func (m UpdateRemediationRunDetails) String() string

func (UpdateRemediationRunDetails) ValidateEnumValue

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

UpdateRemediationRunRequest wrapper for the UpdateRemediationRun operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/UpdateRemediationRun.go.html to see an example of how to use UpdateRemediationRunRequest.

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
}

func (UpdateRemediationRunRequest) BinaryRequestBody

func (request UpdateRemediationRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRemediationRunRequest) HTTPRequest

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

func (request UpdateRemediationRunRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRemediationRunRequest) String

func (request UpdateRemediationRunRequest) String() string

func (UpdateRemediationRunRequest) ValidateEnumValue

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

UpdateRemediationRunResponse wrapper for the UpdateRemediationRun operation

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"`
}

func (UpdateRemediationRunResponse) HTTPResponse

func (response UpdateRemediationRunResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRemediationRunResponse) String

func (response UpdateRemediationRunResponse) String() string

type UpdateVulnerabilityAuditDetails

UpdateVulnerabilityAuditDetails Details to update a vulnerability audit.

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"`
}

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

UpdateVulnerabilityAuditRequest wrapper for the UpdateVulnerabilityAudit operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.1/adm/UpdateVulnerabilityAudit.go.html to see an example of how to use 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
}

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

UpdateVulnerabilityAuditResponse wrapper for the UpdateVulnerabilityAudit operation

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"`
}

func (UpdateVulnerabilityAuditResponse) HTTPResponse

func (response UpdateVulnerabilityAuditResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVulnerabilityAuditResponse) String

func (response UpdateVulnerabilityAuditResponse) String() string

type UsageDataDetails

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 UsageDataDetails interface {
}

type UsageDataViaObjectStorageTupleDetails

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.

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"`
}

func (UsageDataViaObjectStorageTupleDetails) MarshalJSON

func (m UsageDataViaObjectStorageTupleDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UsageDataViaObjectStorageTupleDetails) String

func (m UsageDataViaObjectStorageTupleDetails) String() string

func (UsageDataViaObjectStorageTupleDetails) ValidateEnumValue

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

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 VerifyConfiguration interface {
}

type VerifyConfigurationBuildServiceTypeEnum

VerifyConfigurationBuildServiceTypeEnum Enum with underlying type: string

type VerifyConfigurationBuildServiceTypeEnum string

Set of constants representing the allowable values for VerifyConfigurationBuildServiceTypeEnum

const (
    VerifyConfigurationBuildServiceTypeOciDevopsBuild  VerifyConfigurationBuildServiceTypeEnum = "OCI_DEVOPS_BUILD"
    VerifyConfigurationBuildServiceTypeGitlabPipeline  VerifyConfigurationBuildServiceTypeEnum = "GITLAB_PIPELINE"
    VerifyConfigurationBuildServiceTypeGithubActions   VerifyConfigurationBuildServiceTypeEnum = "GITHUB_ACTIONS"
    VerifyConfigurationBuildServiceTypeJenkinsPipeline VerifyConfigurationBuildServiceTypeEnum = "JENKINS_PIPELINE"
    VerifyConfigurationBuildServiceTypeNone            VerifyConfigurationBuildServiceTypeEnum = "NONE"
)

func GetMappingVerifyConfigurationBuildServiceTypeEnum

func GetMappingVerifyConfigurationBuildServiceTypeEnum(val string) (VerifyConfigurationBuildServiceTypeEnum, bool)

GetMappingVerifyConfigurationBuildServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVerifyConfigurationBuildServiceTypeEnumValues

func GetVerifyConfigurationBuildServiceTypeEnumValues() []VerifyConfigurationBuildServiceTypeEnum

GetVerifyConfigurationBuildServiceTypeEnumValues Enumerates the set of values for VerifyConfigurationBuildServiceTypeEnum

type VerifyStage

VerifyStage A verify stage will run a build pipeline in a branch.

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"`
}

func (VerifyStage) GetNextStageType

func (m VerifyStage) GetNextStageType() RemediationRunStageTypeEnum

GetNextStageType returns NextStageType

func (VerifyStage) GetPreviousStageType

func (m VerifyStage) GetPreviousStageType() RemediationRunStageTypeEnum

GetPreviousStageType returns PreviousStageType

func (VerifyStage) GetRemediationRunId

func (m VerifyStage) GetRemediationRunId() *string

GetRemediationRunId returns RemediationRunId

func (VerifyStage) GetStatus

func (m VerifyStage) GetStatus() RemediationRunStageStatusEnum

GetStatus returns Status

func (VerifyStage) GetSummary

func (m VerifyStage) GetSummary() *string

GetSummary returns Summary

func (VerifyStage) GetTimeCreated

func (m VerifyStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VerifyStage) GetTimeFinished

func (m VerifyStage) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (VerifyStage) GetTimeStarted

func (m VerifyStage) GetTimeStarted() *common.SDKTime

GetTimeStarted returns TimeStarted

func (VerifyStage) MarshalJSON

func (m VerifyStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VerifyStage) String

func (m VerifyStage) String() string

func (VerifyStage) ValidateEnumValue

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

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).

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"`
}

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

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.

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"`
}

func (VulnerabilityAudit) String

func (m VulnerabilityAudit) String() string

func (*VulnerabilityAudit) UnmarshalJSON

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

VulnerabilityAuditBuildTypeEnum Enum with underlying type: string

type VulnerabilityAuditBuildTypeEnum string

Set of constants representing the allowable values for VulnerabilityAuditBuildTypeEnum

const (
    VulnerabilityAuditBuildTypeMaven VulnerabilityAuditBuildTypeEnum = "MAVEN"
    VulnerabilityAuditBuildTypeUnset VulnerabilityAuditBuildTypeEnum = "UNSET"
)

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

VulnerabilityAuditCollection Collection of vulnerability audit summaries.

type VulnerabilityAuditCollection struct {

    // List of vulnerability audit summaries.
    Items []VulnerabilityAuditSummary `mandatory:"true" json:"items"`
}

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

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

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"`
}

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

VulnerabilityAuditLifecycleDetailsEnum Enum with underlying type: string

type VulnerabilityAuditLifecycleDetailsEnum string

Set of constants representing the allowable values for VulnerabilityAuditLifecycleDetailsEnum

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"
)

func GetMappingVulnerabilityAuditLifecycleDetailsEnum

func GetMappingVulnerabilityAuditLifecycleDetailsEnum(val string) (VulnerabilityAuditLifecycleDetailsEnum, bool)

GetMappingVulnerabilityAuditLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVulnerabilityAuditLifecycleDetailsEnumValues

func GetVulnerabilityAuditLifecycleDetailsEnumValues() []VulnerabilityAuditLifecycleDetailsEnum

GetVulnerabilityAuditLifecycleDetailsEnumValues Enumerates the set of values for VulnerabilityAuditLifecycleDetailsEnum

type VulnerabilityAuditLifecycleStateEnum

VulnerabilityAuditLifecycleStateEnum Enum with underlying type: string

type VulnerabilityAuditLifecycleStateEnum string

Set of constants representing the allowable values for VulnerabilityAuditLifecycleStateEnum

const (
    VulnerabilityAuditLifecycleStateActive   VulnerabilityAuditLifecycleStateEnum = "ACTIVE"
    VulnerabilityAuditLifecycleStateCreating VulnerabilityAuditLifecycleStateEnum = "CREATING"
    VulnerabilityAuditLifecycleStateDeleted  VulnerabilityAuditLifecycleStateEnum = "DELETED"
    VulnerabilityAuditLifecycleStateDeleting VulnerabilityAuditLifecycleStateEnum = "DELETING"
    VulnerabilityAuditLifecycleStateFailed   VulnerabilityAuditLifecycleStateEnum = "FAILED"
)

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

VulnerabilityAuditSource vulnerability audit source.

type VulnerabilityAuditSource interface {
}

type VulnerabilityAuditSourceTypeEnum

VulnerabilityAuditSourceTypeEnum Enum with underlying type: string

type VulnerabilityAuditSourceTypeEnum string

Set of constants representing the allowable values for VulnerabilityAuditSourceTypeEnum

const (
    VulnerabilityAuditSourceTypeExternalResource VulnerabilityAuditSourceTypeEnum = "EXTERNAL_RESOURCE"
    VulnerabilityAuditSourceTypeOciResource      VulnerabilityAuditSourceTypeEnum = "OCI_RESOURCE"
    VulnerabilityAuditSourceTypeUnknown          VulnerabilityAuditSourceTypeEnum = "UNKNOWN"
)

func GetMappingVulnerabilityAuditSourceTypeEnum

func GetMappingVulnerabilityAuditSourceTypeEnum(val string) (VulnerabilityAuditSourceTypeEnum, bool)

GetMappingVulnerabilityAuditSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVulnerabilityAuditSourceTypeEnumValues

func GetVulnerabilityAuditSourceTypeEnumValues() []VulnerabilityAuditSourceTypeEnum

GetVulnerabilityAuditSourceTypeEnumValues Enumerates the set of values for VulnerabilityAuditSourceTypeEnum

type VulnerabilityAuditSummary

VulnerabilityAuditSummary vulnerability audit summary.

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"`
}

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

VulnerabilitySeverityEnum Enum with underlying type: string

type VulnerabilitySeverityEnum string

Set of constants representing the allowable values for VulnerabilitySeverityEnum

const (
    VulnerabilitySeverityNone     VulnerabilitySeverityEnum = "NONE"
    VulnerabilitySeverityLow      VulnerabilitySeverityEnum = "LOW"
    VulnerabilitySeverityMedium   VulnerabilitySeverityEnum = "MEDIUM"
    VulnerabilitySeverityHigh     VulnerabilitySeverityEnum = "HIGH"
    VulnerabilitySeverityCritical VulnerabilitySeverityEnum = "CRITICAL"
)

func GetMappingVulnerabilitySeverityEnum

func GetMappingVulnerabilitySeverityEnum(val string) (VulnerabilitySeverityEnum, bool)

GetMappingVulnerabilitySeverityEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVulnerabilitySeverityEnumValues

func GetVulnerabilitySeverityEnumValues() []VulnerabilitySeverityEnum

GetVulnerabilitySeverityEnumValues Enumerates the set of values for VulnerabilitySeverityEnum

type WorkRequest

WorkRequest A description of workrequest status

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"`
}

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

WorkRequestError An error encountered while executing a work request.

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"`
}

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

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of workRequestError objects.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

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

WorkRequestLogEntry A log message from the execution of a work request.

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"`
}

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

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // List of workRequestLogEntries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

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

WorkRequestResource A resource created or operated on by a work request.

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"`
}

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

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

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

WorkRequestSummary A summary of the status of a work request.

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"`
}

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

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // List of workRequestSummary objects.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

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