...

Package adm

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetKnowledgeBaseLifecycleStateEnumStringValues() []string
func GetListApplicationDependencyVulnerabilitiesSortByEnumStringValues() []string
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumStringValues() []string
func GetListKnowledgeBasesSortByEnumStringValues() []string
func GetListKnowledgeBasesSortOrderEnumStringValues() []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 GetSortOrderEnumStringValues() []string
func GetVulnerabilityAuditBuildTypeEnumStringValues() []string
func GetVulnerabilityAuditLifecycleStateEnumStringValues() []string
func GetVulnerabilityAuditSourceTypeEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
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) 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) 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) CreateVulnerabilityAudit(ctx context.Context, request CreateVulnerabilityAuditRequest) (response CreateVulnerabilityAuditResponse, err error)
    func (client ApplicationDependencyManagementClient) DeleteKnowledgeBase(ctx context.Context, request DeleteKnowledgeBaseRequest) (response DeleteKnowledgeBaseResponse, 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) 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) 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) 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) UpdateVulnerabilityAudit(ctx context.Context, request UpdateVulnerabilityAuditRequest) (response UpdateVulnerabilityAuditResponse, err 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 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 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 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 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 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 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 ExternalResourceVulnerabilityAuditSource
    func (m ExternalResourceVulnerabilityAuditSource) MarshalJSON() (buff []byte, e error)
    func (m ExternalResourceVulnerabilityAuditSource) String() string
    func (m ExternalResourceVulnerabilityAuditSource) ValidateEnumValue() (bool, error)
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 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 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 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 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 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 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 SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
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 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 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 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 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 adm_applicationdependencymanagement_client.go application_dependency.go application_dependency_vulnerability_collection.go application_dependency_vulnerability_summary.go cancel_work_request_request_response.go change_knowledge_base_compartment_details.go change_knowledge_base_compartment_request_response.go change_vulnerability_audit_compartment_details.go change_vulnerability_audit_compartment_request_response.go create_knowledge_base_details.go create_knowledge_base_request_response.go create_vulnerability_audit_details.go create_vulnerability_audit_request_response.go delete_knowledge_base_request_response.go delete_vulnerability_audit_request_response.go external_resource_vulnerability_audit_source.go get_knowledge_base_request_response.go get_vulnerability_audit_request_response.go get_work_request_request_response.go knowledge_base.go knowledge_base_collection.go knowledge_base_summary.go list_application_dependency_vulnerabilities_request_response.go list_knowledge_bases_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 oci_resource_vulnerability_audit_source.go operation_status.go operation_type.go sort_order.go unknown_source_vulnerability_audit_source.go update_knowledge_base_details.go update_knowledge_base_request_response.go update_vulnerability_audit_details.go update_vulnerability_audit_request_response.go vulnerability.go vulnerability_audit.go vulnerability_audit_collection.go vulnerability_audit_configuration.go vulnerability_audit_source.go vulnerability_audit_summary.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 GetKnowledgeBaseLifecycleStateEnumStringValues

func GetKnowledgeBaseLifecycleStateEnumStringValues() []string

GetKnowledgeBaseLifecycleStateEnumStringValues Enumerates the set of values in String for KnowledgeBaseLifecycleStateEnum

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

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetVulnerabilityAuditBuildTypeEnumStringValues

func GetVulnerabilityAuditBuildTypeEnumStringValues() []string

GetVulnerabilityAuditBuildTypeEnumStringValues Enumerates the set of values in String for VulnerabilityAuditBuildTypeEnum

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

ApplicationDependency An Application Dependency resource creates a Vulnerability Audit.

type ApplicationDependency struct {

    // Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
    Gav *string `mandatory:"true" json:"gav"`

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

    // 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) 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.47.0/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.47.0/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) 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.47.0/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.47.0/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) 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.47.0/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) 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.47.0/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) 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.47.0/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.47.0/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) 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.47.0/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.47.0/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) 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.47.0/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.47.0/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) 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 or knowledgeBaseId query parameter must be provided.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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.47.0/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.47.0/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.47.0/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.47.0/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) 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.47.0/adm/UpdateVulnerabilityAudit.go.html to see an example of how to use UpdateVulnerabilityAudit API. A default retry strategy applies to this operation UpdateVulnerabilityAudit()

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), for example org.graalvm.nativeimage:svm:21.1.0.
    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"`
}

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 CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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 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 (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.47.0/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 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.47.0/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 CreateKnowledgeBaseDetails

CreateKnowledgeBaseDetails Details to create a new Knowledge Base.

type CreateKnowledgeBaseDetails struct {

    // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base's compartment.
    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.47.0/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 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 type of the build tool.
    BuildType VulnerabilityAuditBuildTypeEnum `mandatory:"true" json:"buildType"`

    // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with 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"`

    Configuration *VulnerabilityAuditConfiguration `mandatory:"false" json:"configuration"`

    // 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.47.0/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 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 (CreateVulnerabilityAuditResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVulnerabilityAuditResponse) String

func (response CreateVulnerabilityAuditResponse) 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.47.0/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 DeleteVulnerabilityAuditRequest

DeleteVulnerabilityAuditRequest wrapper for the DeleteVulnerabilityAudit operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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 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 GetKnowledgeBaseRequest

GetKnowledgeBaseRequest wrapper for the GetKnowledgeBase operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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 GetVulnerabilityAuditRequest

GetVulnerabilityAuditRequest wrapper for the GetVulnerabilityAudit operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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.47.0/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 KnowledgeBase

KnowledgeBase A Knowledge Base is a component of Application Dependency Management that contains vulnerability audits.

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 Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base's compartment.
    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 Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base's compartment.
    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 ListApplicationDependencyVulnerabilitiesRequest

ListApplicationDependencyVulnerabilitiesRequest wrapper for the ListApplicationDependencyVulnerabilities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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 Vulnerability Audits that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater or equal than the specified value.
    CvssV3GreaterThanOrEqual *float32 `mandatory:"false" contributesTo:"query" name:"cvssV3GreaterThanOrEqual"`

    // A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater or equal than the specified value.
    CvssV2GreaterThanOrEqual *float32 `mandatory:"false" contributesTo:"query" name:"cvssV2GreaterThanOrEqual"`

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

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

ListApplicationDependencyVulnerabilitiesSortByEnum Enum with underlying type: string

type ListApplicationDependencyVulnerabilitiesSortByEnum string

Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortByEnum

const (
    ListApplicationDependencyVulnerabilitiesSortByGav    ListApplicationDependencyVulnerabilitiesSortByEnum = "gav"
    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.47.0/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.
    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.
    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 ListVulnerabilityAuditsRequest

ListVulnerabilityAuditsRequest wrapper for the ListVulnerabilityAudits operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.47.0/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.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter to return only resources that belong to the specified compartment identifier.
    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**.
    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"`

    // 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"
    ListVulnerabilityAuditsSortByTimecreated                         ListVulnerabilityAuditsSortByEnum = "timeCreated"
    ListVulnerabilityAuditsSortByVulnerableartifactscount            ListVulnerabilityAuditsSortByEnum = "vulnerableArtifactsCount"
    ListVulnerabilityAuditsSortByMaxobservedcvssv2scorewithignored   ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV2ScoreWithIgnored"
    ListVulnerabilityAuditsSortByMaxobservedcvssv3scorewithignored   ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV3ScoreWithIgnored"
    ListVulnerabilityAuditsSortByVulnerableartifactscountwithignored ListVulnerabilityAuditsSortByEnum = "vulnerableArtifactsCountWithIgnored"
)

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.47.0/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.47.0/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.47.0/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.
    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 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 (
    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 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 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.47.0/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 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.47.0/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 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"`

    // Common Vulnerability Scoring System (CVSS) Version 2.
    CvssV2Score *float32 `mandatory:"true" json:"cvssV2Score"`

    // Common Vulnerability Scoring System (CVSS) Version 3.
    CvssV3Score *float32 `mandatory:"true" json:"cvssV3Score"`

    // Indicates if the vulnerability was ignored according to the audit configuration.
    IsIgnored *bool `mandatory:"true" json:"isIgnored"`
}

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.
    Vulnerabilities []Vulnerability `mandatory:"true" json:"vulnerabilities"`

    // Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
    MaxObservedCvssV2Score *float32 `mandatory:"true" json:"maxObservedCvssV2Score"`

    // Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
    MaxObservedCvssV3Score *float32 `mandatory:"true" json:"maxObservedCvssV3Score"`

    // Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
    MaxObservedCvssV2ScoreWithIgnored *float32 `mandatory:"true" json:"maxObservedCvssV2ScoreWithIgnored"`

    // Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
    MaxObservedCvssV3ScoreWithIgnored *float32 `mandatory:"true" json:"maxObservedCvssV3ScoreWithIgnored"`

    // 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.
    BuildType VulnerabilityAuditBuildTypeEnum `mandatory:"true" json:"buildType"`

    Source VulnerabilityAuditSource `mandatory:"true" json:"source"`

    // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the Vulnerability Audit.
    DisplayName *string `mandatory:"false" json:"displayName"`

    Configuration *VulnerabilityAuditConfiguration `mandatory:"false" json:"configuration"`

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

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 its name matches any of the items in `exclusions`.
    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 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"`

    // Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
    MaxObservedCvssV2Score *float32 `mandatory:"true" json:"maxObservedCvssV2Score"`

    // Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
    MaxObservedCvssV3Score *float32 `mandatory:"true" json:"maxObservedCvssV3Score"`

    // Count of non-ignored vulnerable Application Dependencies.
    VulnerableArtifactsCount *int `mandatory:"true" json:"vulnerableArtifactsCount"`

    // Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
    MaxObservedCvssV2ScoreWithIgnored *float32 `mandatory:"true" json:"maxObservedCvssV2ScoreWithIgnored"`

    // Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
    MaxObservedCvssV3ScoreWithIgnored *float32 `mandatory:"true" json:"maxObservedCvssV3ScoreWithIgnored"`

    // Count of all vulnerable Application Dependencies.
    VulnerableArtifactsCountWithIgnored *int `mandatory:"true" json:"vulnerableArtifactsCountWithIgnored"`

    // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the Vulnerability Audit.
    DisplayName *string `mandatory:"false" json:"displayName"`

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

    // Type of the build tool.
    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 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"`
}

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