Documentation
¶
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 GetWorkRequestResourceMetadataKeyEnumStringValues() []string
- type ActionTypeEnum
- type ApplicationDependency
- type ApplicationDependencyManagementClient
- func NewApplicationDependencyManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplicationDependencyManagementClient, err error)
- func NewApplicationDependencyManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplicationDependencyManagementClient, err error)
- func (client ApplicationDependencyManagementClient) 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
- type ApplicationDependencyVulnerabilitySummary
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type ChangeKnowledgeBaseCompartmentDetails
- type ChangeKnowledgeBaseCompartmentRequest
- func (request ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeKnowledgeBaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeKnowledgeBaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeKnowledgeBaseCompartmentRequest) String() string
- func (request ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeKnowledgeBaseCompartmentResponse
- type ChangeVulnerabilityAuditCompartmentDetails
- type ChangeVulnerabilityAuditCompartmentRequest
- func (request ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeVulnerabilityAuditCompartmentRequest) String() string
- func (request ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeVulnerabilityAuditCompartmentResponse
- type CreateKnowledgeBaseDetails
- type CreateKnowledgeBaseRequest
- func (request CreateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateKnowledgeBaseRequest) String() string
- func (request CreateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type CreateKnowledgeBaseResponse
- type CreateVulnerabilityAuditDetails
- type CreateVulnerabilityAuditRequest
- func (request CreateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateVulnerabilityAuditRequest) String() string
- func (request CreateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type CreateVulnerabilityAuditResponse
- type DeleteKnowledgeBaseRequest
- func (request DeleteKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteKnowledgeBaseRequest) String() string
- func (request DeleteKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type DeleteKnowledgeBaseResponse
- type DeleteVulnerabilityAuditRequest
- func (request DeleteVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteVulnerabilityAuditRequest) String() string
- func (request DeleteVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type DeleteVulnerabilityAuditResponse
- type GetKnowledgeBaseRequest
- func (request GetKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request GetKnowledgeBaseRequest) String() string
- func (request GetKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type GetKnowledgeBaseResponse
- type GetVulnerabilityAuditRequest
- func (request GetVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request GetVulnerabilityAuditRequest) String() string
- func (request GetVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type GetVulnerabilityAuditResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type KnowledgeBase
- type KnowledgeBaseCollection
- type KnowledgeBaseLifecycleStateEnum
- type KnowledgeBaseSummary
- type ListApplicationDependencyVulnerabilitiesRequest
- func (request ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListApplicationDependencyVulnerabilitiesRequest) String() string
- func (request ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue() (bool, error)
- type ListApplicationDependencyVulnerabilitiesResponse
- type ListApplicationDependencyVulnerabilitiesSortByEnum
- type ListApplicationDependencyVulnerabilitiesSortOrderEnum
- type ListKnowledgeBasesRequest
- func (request ListKnowledgeBasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListKnowledgeBasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListKnowledgeBasesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListKnowledgeBasesRequest) String() string
- func (request ListKnowledgeBasesRequest) ValidateEnumValue() (bool, error)
- type ListKnowledgeBasesResponse
- type ListKnowledgeBasesSortByEnum
- type ListKnowledgeBasesSortOrderEnum
- type ListVulnerabilityAuditsRequest
- func (request ListVulnerabilityAuditsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListVulnerabilityAuditsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListVulnerabilityAuditsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListVulnerabilityAuditsRequest) String() string
- func (request ListVulnerabilityAuditsRequest) ValidateEnumValue() (bool, error)
- type ListVulnerabilityAuditsResponse
- type ListVulnerabilityAuditsSortByEnum
- type ListVulnerabilityAuditsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type OperationStatusEnum
- type OperationTypeEnum
- type SortOrderEnum
- type UpdateKnowledgeBaseDetails
- type UpdateKnowledgeBaseRequest
- func (request UpdateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateKnowledgeBaseRequest) String() string
- func (request UpdateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
- type UpdateKnowledgeBaseResponse
- type UpdateVulnerabilityAuditDetails
- type UpdateVulnerabilityAuditRequest
- func (request UpdateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateVulnerabilityAuditRequest) String() string
- func (request UpdateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
- type UpdateVulnerabilityAuditResponse
- type Vulnerability
- type VulnerabilityAudit
- type VulnerabilityAuditBuildTypeEnum
- type VulnerabilityAuditCollection
- type VulnerabilityAuditConfiguration
- type VulnerabilityAuditLifecycleStateEnum
- type VulnerabilityAuditSummary
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func 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 GetWorkRequestResourceMetadataKeyEnumStringValues ¶
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ApplicationDependency ¶
type ApplicationDependency struct { // Unique Group Artifact Version (GAV) identifier (Group:Artifact:Version). Gav *string `mandatory:"true" json:"gav"` // Unique identifier of an Application Dependency node. NodeId *string `mandatory:"true" json:"nodeId"` // List of (Application Dependencies) node identifiers on which this node depends. ApplicationDependencyNodeIds []string `mandatory:"true" json:"applicationDependencyNodeIds"` }
ApplicationDependency An Application Dependency resource creates a Vulnerability Audit.
func (ApplicationDependency) String ¶
func (m ApplicationDependency) String() string
func (ApplicationDependency) ValidateEnumValue ¶
func (m ApplicationDependency) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationDependencyManagementClient ¶
type ApplicationDependencyManagementClient struct { common.BaseClient // contains filtered or unexported fields }
ApplicationDependencyManagementClient a client for ApplicationDependencyManagement
func NewApplicationDependencyManagementClientWithConfigurationProvider ¶
func NewApplicationDependencyManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplicationDependencyManagementClient, err error)
NewApplicationDependencyManagementClientWithConfigurationProvider Creates a new default ApplicationDependencyManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewApplicationDependencyManagementClientWithOboToken ¶
func NewApplicationDependencyManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplicationDependencyManagementClient, err error)
NewApplicationDependencyManagementClientWithOboToken Creates a new default ApplicationDependencyManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (ApplicationDependencyManagementClient) CancelWorkRequest ¶
func (client ApplicationDependencyManagementClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancel work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API.
func (ApplicationDependencyManagementClient) ChangeKnowledgeBaseCompartment ¶
func (client ApplicationDependencyManagementClient) ChangeKnowledgeBaseCompartment(ctx context.Context, request ChangeKnowledgeBaseCompartmentRequest) (response ChangeKnowledgeBaseCompartmentResponse, err error)
ChangeKnowledgeBaseCompartment Moves a Knowledge Base from one compartment to another.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeKnowledgeBaseCompartment.go.html to see an example of how to use ChangeKnowledgeBaseCompartment API.
func (ApplicationDependencyManagementClient) ChangeVulnerabilityAuditCompartment ¶
func (client ApplicationDependencyManagementClient) ChangeVulnerabilityAuditCompartment(ctx context.Context, request ChangeVulnerabilityAuditCompartmentRequest) (response ChangeVulnerabilityAuditCompartmentResponse, err error)
ChangeVulnerabilityAuditCompartment Moves a Vulnerability Audit from one compartment to another.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeVulnerabilityAuditCompartment.go.html to see an example of how to use ChangeVulnerabilityAuditCompartment API.
func (*ApplicationDependencyManagementClient) ConfigurationProvider ¶
func (client *ApplicationDependencyManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ApplicationDependencyManagementClient) CreateKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) CreateKnowledgeBase(ctx context.Context, request CreateKnowledgeBaseRequest) (response CreateKnowledgeBaseResponse, err error)
CreateKnowledgeBase Creates a new Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateKnowledgeBase.go.html to see an example of how to use CreateKnowledgeBase API.
func (ApplicationDependencyManagementClient) CreateVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) CreateVulnerabilityAudit(ctx context.Context, request CreateVulnerabilityAuditRequest) (response CreateVulnerabilityAuditResponse, err error)
CreateVulnerabilityAudit Creates a new Vulnerability Audit by providing a tree of Application Dependencies.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateVulnerabilityAudit.go.html to see an example of how to use CreateVulnerabilityAudit API.
func (ApplicationDependencyManagementClient) DeleteKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) DeleteKnowledgeBase(ctx context.Context, request DeleteKnowledgeBaseRequest) (response DeleteKnowledgeBaseResponse, err error)
DeleteKnowledgeBase Deletes the specified Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteKnowledgeBase.go.html to see an example of how to use DeleteKnowledgeBase API.
func (ApplicationDependencyManagementClient) DeleteVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) DeleteVulnerabilityAudit(ctx context.Context, request DeleteVulnerabilityAuditRequest) (response DeleteVulnerabilityAuditResponse, err error)
DeleteVulnerabilityAudit Deletes the specified Vulnerability Audit.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteVulnerabilityAudit.go.html to see an example of how to use DeleteVulnerabilityAudit API.
func (ApplicationDependencyManagementClient) GetKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) GetKnowledgeBase(ctx context.Context, request GetKnowledgeBaseRequest) (response GetKnowledgeBaseResponse, err error)
GetKnowledgeBase Returns the details of the specified Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetKnowledgeBase.go.html to see an example of how to use GetKnowledgeBase API.
func (ApplicationDependencyManagementClient) GetVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) GetVulnerabilityAudit(ctx context.Context, request GetVulnerabilityAuditRequest) (response GetVulnerabilityAuditResponse, err error)
GetVulnerabilityAudit Returns the details of the specified Vulnerability Audit.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetVulnerabilityAudit.go.html to see an example of how to use GetVulnerabilityAudit API.
func (ApplicationDependencyManagementClient) GetWorkRequest ¶
func (client ApplicationDependencyManagementClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (ApplicationDependencyManagementClient) ListApplicationDependencyVulnerabilities ¶
func (client ApplicationDependencyManagementClient) ListApplicationDependencyVulnerabilities(ctx context.Context, request ListApplicationDependencyVulnerabilitiesRequest) (response ListApplicationDependencyVulnerabilitiesResponse, err error)
ListApplicationDependencyVulnerabilities Returns a list of Application Dependencies with their associated vulnerabilities.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListApplicationDependencyVulnerabilities.go.html to see an example of how to use ListApplicationDependencyVulnerabilities API.
func (ApplicationDependencyManagementClient) ListKnowledgeBases ¶
func (client ApplicationDependencyManagementClient) ListKnowledgeBases(ctx context.Context, request ListKnowledgeBasesRequest) (response ListKnowledgeBasesResponse, err error)
ListKnowledgeBases Returns a list of KnowledgeBases based on the specified query parameters. At least id or compartmentId query parameter must be provided.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListKnowledgeBases.go.html to see an example of how to use ListKnowledgeBases API.
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/latest/adm/ListVulnerabilityAudits.go.html to see an example of how to use ListVulnerabilityAudits API.
func (ApplicationDependencyManagementClient) ListWorkRequestErrors ¶
func (client ApplicationDependencyManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (ApplicationDependencyManagementClient) ListWorkRequestLogs ¶
func (client ApplicationDependencyManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (ApplicationDependencyManagementClient) ListWorkRequests ¶
func (client ApplicationDependencyManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (*ApplicationDependencyManagementClient) SetRegion ¶
func (client *ApplicationDependencyManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (ApplicationDependencyManagementClient) UpdateKnowledgeBase ¶
func (client ApplicationDependencyManagementClient) UpdateKnowledgeBase(ctx context.Context, request UpdateKnowledgeBaseRequest) (response UpdateKnowledgeBaseResponse, err error)
UpdateKnowledgeBase Updates one or more attributes of the specified Knowledge Base.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateKnowledgeBase.go.html to see an example of how to use UpdateKnowledgeBase API.
func (ApplicationDependencyManagementClient) UpdateVulnerabilityAudit ¶
func (client ApplicationDependencyManagementClient) UpdateVulnerabilityAudit(ctx context.Context, request UpdateVulnerabilityAuditRequest) (response UpdateVulnerabilityAuditResponse, err error)
UpdateVulnerabilityAudit Updates one or more attributes of the specified Vulnerability Audit.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateVulnerabilityAudit.go.html to see an example of how to use UpdateVulnerabilityAudit API.
type ApplicationDependencyVulnerabilityCollection ¶
type ApplicationDependencyVulnerabilityCollection struct { // List of Vulnerability Audit summaries. Items []ApplicationDependencyVulnerabilitySummary `mandatory:"true" json:"items"` }
ApplicationDependencyVulnerabilityCollection Application Dependencies with Vulnerabilities. This resource is defined by a list of Application Dependencies with are associated with eventual Vulnerabilities.
func (ApplicationDependencyVulnerabilityCollection) String ¶
func (m ApplicationDependencyVulnerabilityCollection) String() string
func (ApplicationDependencyVulnerabilityCollection) ValidateEnumValue ¶
func (m ApplicationDependencyVulnerabilityCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApplicationDependencyVulnerabilitySummary ¶
type ApplicationDependencyVulnerabilitySummary struct { // Unique Group Artifact Version (GAV) identifier (Group:Artifact:Version). Gav *string `mandatory:"true" json:"gav"` // Unique identifier of an Application Dependency node. NodeId *string `mandatory:"true" json:"nodeId"` // List of (Application Dependencies) node identifiers on which this node depends. 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"` }
ApplicationDependencyVulnerabilitySummary An Application Dependency Vulnerability represents a single dependency in our application. An Application Dependency Vulnerability can be associated with eventual Vulnerabilities. Each Application Dependency is uniquely defined by a nodeId and lists eventual dependencies that this element depends on.
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 ¶
type CancelWorkRequestRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) BinaryRequestBody ¶
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
func (CancelWorkRequestRequest) ValidateEnumValue ¶
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelWorkRequestResponse ¶
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type ChangeKnowledgeBaseCompartmentDetails ¶
type ChangeKnowledgeBaseCompartmentDetails struct { // The 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"` }
ChangeKnowledgeBaseCompartmentDetails Details for moving a Knowledge Base.
func (ChangeKnowledgeBaseCompartmentDetails) String ¶
func (m ChangeKnowledgeBaseCompartmentDetails) String() string
func (ChangeKnowledgeBaseCompartmentDetails) ValidateEnumValue ¶
func (m ChangeKnowledgeBaseCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeKnowledgeBaseCompartmentRequest ¶
type ChangeKnowledgeBaseCompartmentRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // The information to be updated. ChangeKnowledgeBaseCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeKnowledgeBaseCompartmentRequest wrapper for the ChangeKnowledgeBaseCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeKnowledgeBaseCompartment.go.html to see an example of how to use ChangeKnowledgeBaseCompartmentRequest.
func (ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody ¶
func (request ChangeKnowledgeBaseCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeKnowledgeBaseCompartmentRequest) HTTPRequest ¶
func (request ChangeKnowledgeBaseCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeKnowledgeBaseCompartmentRequest) RetryPolicy ¶
func (request ChangeKnowledgeBaseCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeKnowledgeBaseCompartmentRequest) String ¶
func (request ChangeKnowledgeBaseCompartmentRequest) String() string
func (ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue ¶
func (request ChangeKnowledgeBaseCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeKnowledgeBaseCompartmentResponse ¶
type ChangeKnowledgeBaseCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeKnowledgeBaseCompartmentResponse wrapper for the ChangeKnowledgeBaseCompartment operation
func (ChangeKnowledgeBaseCompartmentResponse) HTTPResponse ¶
func (response ChangeKnowledgeBaseCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeKnowledgeBaseCompartmentResponse) String ¶
func (response ChangeKnowledgeBaseCompartmentResponse) String() string
type ChangeVulnerabilityAuditCompartmentDetails ¶
type ChangeVulnerabilityAuditCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to which the resource must be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeVulnerabilityAuditCompartmentDetails Details for moving a Vulnerability Audit resource.
func (ChangeVulnerabilityAuditCompartmentDetails) String ¶
func (m ChangeVulnerabilityAuditCompartmentDetails) String() string
func (ChangeVulnerabilityAuditCompartmentDetails) ValidateEnumValue ¶
func (m ChangeVulnerabilityAuditCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeVulnerabilityAuditCompartmentRequest ¶
type ChangeVulnerabilityAuditCompartmentRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // The information to be updated. ChangeVulnerabilityAuditCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeVulnerabilityAuditCompartmentRequest wrapper for the ChangeVulnerabilityAuditCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ChangeVulnerabilityAuditCompartment.go.html to see an example of how to use ChangeVulnerabilityAuditCompartmentRequest.
func (ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeVulnerabilityAuditCompartmentRequest) String ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) String() string
func (ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue ¶
func (request ChangeVulnerabilityAuditCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeVulnerabilityAuditCompartmentResponse ¶
type ChangeVulnerabilityAuditCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeVulnerabilityAuditCompartmentResponse wrapper for the ChangeVulnerabilityAuditCompartment operation
func (ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse ¶
func (response ChangeVulnerabilityAuditCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeVulnerabilityAuditCompartmentResponse) String ¶
func (response ChangeVulnerabilityAuditCompartmentResponse) String() string
type CreateKnowledgeBaseDetails ¶
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"` }
CreateKnowledgeBaseDetails Details to create a new Knowledge Base.
func (CreateKnowledgeBaseDetails) String ¶
func (m CreateKnowledgeBaseDetails) String() string
func (CreateKnowledgeBaseDetails) ValidateEnumValue ¶
func (m CreateKnowledgeBaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateKnowledgeBaseRequest ¶
type CreateKnowledgeBaseRequest struct { // The details to create a new Knowledge Base. CreateKnowledgeBaseDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateKnowledgeBaseRequest wrapper for the CreateKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateKnowledgeBase.go.html to see an example of how to use CreateKnowledgeBaseRequest.
func (CreateKnowledgeBaseRequest) BinaryRequestBody ¶
func (request CreateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateKnowledgeBaseRequest) HTTPRequest ¶
func (request CreateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateKnowledgeBaseRequest) RetryPolicy ¶
func (request CreateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateKnowledgeBaseRequest) String ¶
func (request CreateKnowledgeBaseRequest) String() string
func (CreateKnowledgeBaseRequest) ValidateEnumValue ¶
func (request CreateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateKnowledgeBaseResponse ¶
type CreateKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateKnowledgeBaseResponse wrapper for the CreateKnowledgeBase operation
func (CreateKnowledgeBaseResponse) HTTPResponse ¶
func (response CreateKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateKnowledgeBaseResponse) String ¶
func (response CreateKnowledgeBaseResponse) String() string
type CreateVulnerabilityAuditDetails ¶
type CreateVulnerabilityAuditDetails struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // The 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"` // List of Application Dependencies (without vulnerabilities). ApplicationDependencies []ApplicationDependency `mandatory:"true" json:"applicationDependencies"` // The type of the build tool. BuildType VulnerabilityAuditBuildTypeEnum `mandatory:"true" json:"buildType"` Configuration *VulnerabilityAuditConfiguration `mandatory:"false" json:"configuration"` // 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"` }
CreateVulnerabilityAuditDetails Details to create a Vulnerability Audit.
func (CreateVulnerabilityAuditDetails) String ¶
func (m CreateVulnerabilityAuditDetails) String() string
func (CreateVulnerabilityAuditDetails) ValidateEnumValue ¶
func (m CreateVulnerabilityAuditDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVulnerabilityAuditRequest ¶
type CreateVulnerabilityAuditRequest struct { // The details to create a new Vulnerability Audit. CreateVulnerabilityAuditDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateVulnerabilityAuditRequest wrapper for the CreateVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/CreateVulnerabilityAudit.go.html to see an example of how to use CreateVulnerabilityAuditRequest.
func (CreateVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request CreateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateVulnerabilityAuditRequest) HTTPRequest ¶
func (request CreateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateVulnerabilityAuditRequest) RetryPolicy ¶
func (request CreateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateVulnerabilityAuditRequest) String ¶
func (request CreateVulnerabilityAuditRequest) String() string
func (CreateVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request CreateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateVulnerabilityAuditResponse ¶
type CreateVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // The VulnerabilityAudit instance VulnerabilityAudit `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the 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"` }
CreateVulnerabilityAuditResponse wrapper for the CreateVulnerabilityAudit operation
func (CreateVulnerabilityAuditResponse) HTTPResponse ¶
func (response CreateVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateVulnerabilityAuditResponse) String ¶
func (response CreateVulnerabilityAuditResponse) String() string
type DeleteKnowledgeBaseRequest ¶
type DeleteKnowledgeBaseRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteKnowledgeBaseRequest wrapper for the DeleteKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteKnowledgeBase.go.html to see an example of how to use DeleteKnowledgeBaseRequest.
func (DeleteKnowledgeBaseRequest) BinaryRequestBody ¶
func (request DeleteKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteKnowledgeBaseRequest) HTTPRequest ¶
func (request DeleteKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteKnowledgeBaseRequest) RetryPolicy ¶
func (request DeleteKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteKnowledgeBaseRequest) String ¶
func (request DeleteKnowledgeBaseRequest) String() string
func (DeleteKnowledgeBaseRequest) ValidateEnumValue ¶
func (request DeleteKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteKnowledgeBaseResponse ¶
type DeleteKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteKnowledgeBaseResponse wrapper for the DeleteKnowledgeBase operation
func (DeleteKnowledgeBaseResponse) HTTPResponse ¶
func (response DeleteKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteKnowledgeBaseResponse) String ¶
func (response DeleteKnowledgeBaseResponse) String() string
type DeleteVulnerabilityAuditRequest ¶
type DeleteVulnerabilityAuditRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteVulnerabilityAuditRequest wrapper for the DeleteVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/DeleteVulnerabilityAudit.go.html to see an example of how to use DeleteVulnerabilityAuditRequest.
func (DeleteVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request DeleteVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteVulnerabilityAuditRequest) HTTPRequest ¶
func (request DeleteVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteVulnerabilityAuditRequest) RetryPolicy ¶
func (request DeleteVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteVulnerabilityAuditRequest) String ¶
func (request DeleteVulnerabilityAuditRequest) String() string
func (DeleteVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request DeleteVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteVulnerabilityAuditResponse ¶
type DeleteVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteVulnerabilityAuditResponse wrapper for the DeleteVulnerabilityAudit operation
func (DeleteVulnerabilityAuditResponse) HTTPResponse ¶
func (response DeleteVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteVulnerabilityAuditResponse) String ¶
func (response DeleteVulnerabilityAuditResponse) String() string
type GetKnowledgeBaseRequest ¶
type GetKnowledgeBaseRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetKnowledgeBaseRequest wrapper for the GetKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetKnowledgeBase.go.html to see an example of how to use GetKnowledgeBaseRequest.
func (GetKnowledgeBaseRequest) BinaryRequestBody ¶
func (request GetKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetKnowledgeBaseRequest) HTTPRequest ¶
func (request GetKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetKnowledgeBaseRequest) RetryPolicy ¶
func (request GetKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetKnowledgeBaseRequest) String ¶
func (request GetKnowledgeBaseRequest) String() string
func (GetKnowledgeBaseRequest) ValidateEnumValue ¶
func (request GetKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetKnowledgeBaseResponse ¶
type GetKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // The KnowledgeBase instance KnowledgeBase `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
GetKnowledgeBaseResponse wrapper for the GetKnowledgeBase operation
func (GetKnowledgeBaseResponse) HTTPResponse ¶
func (response GetKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetKnowledgeBaseResponse) String ¶
func (response GetKnowledgeBaseResponse) String() string
type GetVulnerabilityAuditRequest ¶
type GetVulnerabilityAuditRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetVulnerabilityAuditRequest wrapper for the GetVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetVulnerabilityAudit.go.html to see an example of how to use GetVulnerabilityAuditRequest.
func (GetVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request GetVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetVulnerabilityAuditRequest) HTTPRequest ¶
func (request GetVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetVulnerabilityAuditRequest) RetryPolicy ¶
func (request GetVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetVulnerabilityAuditRequest) String ¶
func (request GetVulnerabilityAuditRequest) String() string
func (GetVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request GetVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetVulnerabilityAuditResponse ¶
type GetVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // The VulnerabilityAudit instance VulnerabilityAudit `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetVulnerabilityAuditResponse wrapper for the GetVulnerabilityAudit operation
func (GetVulnerabilityAuditResponse) HTTPResponse ¶
func (response GetVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetVulnerabilityAuditResponse) String ¶
func (response GetVulnerabilityAuditResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type KnowledgeBase ¶
type KnowledgeBase struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base. Id *string `mandatory:"true" json:"id"` // The name of the Knowledge Base. DisplayName *string `mandatory:"true" json:"displayName"` // The creation date and time of the Knowledge Base (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Knowledge Base was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the Knowledge Base. LifecycleState KnowledgeBaseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The 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"` }
KnowledgeBase A Knowledge Base is a component of Application Dependency Management that contains vulnerability audits.
func (KnowledgeBase) String ¶
func (m KnowledgeBase) String() string
func (KnowledgeBase) ValidateEnumValue ¶
func (m KnowledgeBase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type KnowledgeBaseCollection ¶
type KnowledgeBaseCollection struct { // List of Knowledge Base summaries. Items []KnowledgeBaseSummary `mandatory:"true" json:"items"` }
KnowledgeBaseCollection Collection of Knowledge Base summaries.
func (KnowledgeBaseCollection) String ¶
func (m KnowledgeBaseCollection) String() string
func (KnowledgeBaseCollection) ValidateEnumValue ¶
func (m KnowledgeBaseCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type KnowledgeBaseLifecycleStateEnum ¶
type KnowledgeBaseLifecycleStateEnum string
KnowledgeBaseLifecycleStateEnum Enum with underlying type: string
const ( KnowledgeBaseLifecycleStateCreating KnowledgeBaseLifecycleStateEnum = "CREATING" KnowledgeBaseLifecycleStateActive KnowledgeBaseLifecycleStateEnum = "ACTIVE" KnowledgeBaseLifecycleStateUpdating KnowledgeBaseLifecycleStateEnum = "UPDATING" KnowledgeBaseLifecycleStateFailed KnowledgeBaseLifecycleStateEnum = "FAILED" KnowledgeBaseLifecycleStateDeleting KnowledgeBaseLifecycleStateEnum = "DELETING" KnowledgeBaseLifecycleStateDeleted KnowledgeBaseLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for KnowledgeBaseLifecycleStateEnum
func GetKnowledgeBaseLifecycleStateEnumValues ¶
func GetKnowledgeBaseLifecycleStateEnumValues() []KnowledgeBaseLifecycleStateEnum
GetKnowledgeBaseLifecycleStateEnumValues Enumerates the set of values for KnowledgeBaseLifecycleStateEnum
func GetMappingKnowledgeBaseLifecycleStateEnum ¶
func GetMappingKnowledgeBaseLifecycleStateEnum(val string) (KnowledgeBaseLifecycleStateEnum, bool)
GetMappingKnowledgeBaseLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type KnowledgeBaseSummary ¶
type KnowledgeBaseSummary struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base. Id *string `mandatory:"true" json:"id"` // The name of the Knowledge Base. DisplayName *string `mandatory:"true" json:"displayName"` // The creation date and time of the Knowledge Base (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Knowledge Base was last updated (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The 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"` }
KnowledgeBaseSummary The summary of a Knowledge Base.
func (KnowledgeBaseSummary) String ¶
func (m KnowledgeBaseSummary) String() string
func (KnowledgeBaseSummary) ValidateEnumValue ¶
func (m KnowledgeBaseSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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. // Default order for gav is ascending where ascending corresponds to alphanumerical order. // Default order for nodeId is ascending where ascending corresponds to alphanumerical order. SortBy ListApplicationDependencyVulnerabilitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given. Gav *string `mandatory:"false" contributesTo:"query" name:"gav"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListApplicationDependencyVulnerabilitiesRequest wrapper for the ListApplicationDependencyVulnerabilities operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListApplicationDependencyVulnerabilities.go.html to see an example of how to use ListApplicationDependencyVulnerabilitiesRequest.
func (ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListApplicationDependencyVulnerabilitiesRequest) String ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) String() string
func (ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue ¶
func (request ListApplicationDependencyVulnerabilitiesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListApplicationDependencyVulnerabilitiesResponse ¶
type ListApplicationDependencyVulnerabilitiesResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplicationDependencyVulnerabilityCollection instances ApplicationDependencyVulnerabilityCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListApplicationDependencyVulnerabilitiesResponse wrapper for the ListApplicationDependencyVulnerabilities operation
func (ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse ¶
func (response ListApplicationDependencyVulnerabilitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListApplicationDependencyVulnerabilitiesResponse) String ¶
func (response ListApplicationDependencyVulnerabilitiesResponse) String() string
type ListApplicationDependencyVulnerabilitiesSortByEnum ¶
type ListApplicationDependencyVulnerabilitiesSortByEnum string
ListApplicationDependencyVulnerabilitiesSortByEnum Enum with underlying type: string
const ( ListApplicationDependencyVulnerabilitiesSortByGav ListApplicationDependencyVulnerabilitiesSortByEnum = "gav" ListApplicationDependencyVulnerabilitiesSortByNodeid ListApplicationDependencyVulnerabilitiesSortByEnum = "nodeId" )
Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortByEnum
func GetListApplicationDependencyVulnerabilitiesSortByEnumValues ¶
func GetListApplicationDependencyVulnerabilitiesSortByEnumValues() []ListApplicationDependencyVulnerabilitiesSortByEnum
GetListApplicationDependencyVulnerabilitiesSortByEnumValues Enumerates the set of values for ListApplicationDependencyVulnerabilitiesSortByEnum
func GetMappingListApplicationDependencyVulnerabilitiesSortByEnum ¶
func GetMappingListApplicationDependencyVulnerabilitiesSortByEnum(val string) (ListApplicationDependencyVulnerabilitiesSortByEnum, bool)
GetMappingListApplicationDependencyVulnerabilitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListApplicationDependencyVulnerabilitiesSortOrderEnum ¶
type ListApplicationDependencyVulnerabilitiesSortOrderEnum string
ListApplicationDependencyVulnerabilitiesSortOrderEnum Enum with underlying type: string
const ( ListApplicationDependencyVulnerabilitiesSortOrderAsc ListApplicationDependencyVulnerabilitiesSortOrderEnum = "ASC" ListApplicationDependencyVulnerabilitiesSortOrderDesc ListApplicationDependencyVulnerabilitiesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListApplicationDependencyVulnerabilitiesSortOrderEnum
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues ¶
func GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues() []ListApplicationDependencyVulnerabilitiesSortOrderEnum
GetListApplicationDependencyVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListApplicationDependencyVulnerabilitiesSortOrderEnum
func GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum ¶
func GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum(val string) (ListApplicationDependencyVulnerabilitiesSortOrderEnum, bool)
GetMappingListApplicationDependencyVulnerabilitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListKnowledgeBasesRequest ¶
type ListKnowledgeBasesRequest struct { // A filter to return only resources that match the specified identifier. 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 }
ListKnowledgeBasesRequest wrapper for the ListKnowledgeBases operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListKnowledgeBases.go.html to see an example of how to use ListKnowledgeBasesRequest.
func (ListKnowledgeBasesRequest) BinaryRequestBody ¶
func (request ListKnowledgeBasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListKnowledgeBasesRequest) HTTPRequest ¶
func (request ListKnowledgeBasesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListKnowledgeBasesRequest) RetryPolicy ¶
func (request ListKnowledgeBasesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListKnowledgeBasesRequest) String ¶
func (request ListKnowledgeBasesRequest) String() string
func (ListKnowledgeBasesRequest) ValidateEnumValue ¶
func (request ListKnowledgeBasesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListKnowledgeBasesResponse ¶
type ListKnowledgeBasesResponse struct { // The underlying http response RawResponse *http.Response // A list of KnowledgeBaseCollection instances KnowledgeBaseCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListKnowledgeBasesResponse wrapper for the ListKnowledgeBases operation
func (ListKnowledgeBasesResponse) HTTPResponse ¶
func (response ListKnowledgeBasesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListKnowledgeBasesResponse) String ¶
func (response ListKnowledgeBasesResponse) String() string
type ListKnowledgeBasesSortByEnum ¶
type ListKnowledgeBasesSortByEnum string
ListKnowledgeBasesSortByEnum Enum with underlying type: string
const ( ListKnowledgeBasesSortByDisplayName ListKnowledgeBasesSortByEnum = "DISPLAY_NAME" ListKnowledgeBasesSortByLifecycleState ListKnowledgeBasesSortByEnum = "LIFECYCLE_STATE" ListKnowledgeBasesSortByTimeCreated ListKnowledgeBasesSortByEnum = "TIME_CREATED" ListKnowledgeBasesSortByTimeUpdated ListKnowledgeBasesSortByEnum = "TIME_UPDATED" )
Set of constants representing the allowable values for ListKnowledgeBasesSortByEnum
func GetListKnowledgeBasesSortByEnumValues ¶
func GetListKnowledgeBasesSortByEnumValues() []ListKnowledgeBasesSortByEnum
GetListKnowledgeBasesSortByEnumValues Enumerates the set of values for ListKnowledgeBasesSortByEnum
func GetMappingListKnowledgeBasesSortByEnum ¶
func GetMappingListKnowledgeBasesSortByEnum(val string) (ListKnowledgeBasesSortByEnum, bool)
GetMappingListKnowledgeBasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListKnowledgeBasesSortOrderEnum ¶
type ListKnowledgeBasesSortOrderEnum string
ListKnowledgeBasesSortOrderEnum Enum with underlying type: string
const ( ListKnowledgeBasesSortOrderAsc ListKnowledgeBasesSortOrderEnum = "ASC" ListKnowledgeBasesSortOrderDesc ListKnowledgeBasesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListKnowledgeBasesSortOrderEnum
func GetListKnowledgeBasesSortOrderEnumValues ¶
func GetListKnowledgeBasesSortOrderEnumValues() []ListKnowledgeBasesSortOrderEnum
GetListKnowledgeBasesSortOrderEnumValues Enumerates the set of values for ListKnowledgeBasesSortOrderEnum
func GetMappingListKnowledgeBasesSortOrderEnum ¶
func GetMappingListKnowledgeBasesSortOrderEnum(val string) (ListKnowledgeBasesSortOrderEnum, bool)
GetMappingListKnowledgeBasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type 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 _timeCreated_ is **descending**. // Default order for _vulnerableArtifactsCount_ 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 }
ListVulnerabilityAuditsRequest wrapper for the ListVulnerabilityAudits operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListVulnerabilityAudits.go.html to see an example of how to use ListVulnerabilityAuditsRequest.
func (ListVulnerabilityAuditsRequest) BinaryRequestBody ¶
func (request ListVulnerabilityAuditsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListVulnerabilityAuditsRequest) HTTPRequest ¶
func (request ListVulnerabilityAuditsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListVulnerabilityAuditsRequest) RetryPolicy ¶
func (request ListVulnerabilityAuditsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListVulnerabilityAuditsRequest) String ¶
func (request ListVulnerabilityAuditsRequest) String() string
func (ListVulnerabilityAuditsRequest) ValidateEnumValue ¶
func (request ListVulnerabilityAuditsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListVulnerabilityAuditsResponse ¶
type ListVulnerabilityAuditsResponse struct { // The underlying http response RawResponse *http.Response // A list of VulnerabilityAuditCollection instances VulnerabilityAuditCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListVulnerabilityAuditsResponse wrapper for the ListVulnerabilityAudits operation
func (ListVulnerabilityAuditsResponse) HTTPResponse ¶
func (response ListVulnerabilityAuditsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListVulnerabilityAuditsResponse) String ¶
func (response ListVulnerabilityAuditsResponse) String() string
type ListVulnerabilityAuditsSortByEnum ¶
type ListVulnerabilityAuditsSortByEnum string
ListVulnerabilityAuditsSortByEnum Enum with underlying type: string
const ( ListVulnerabilityAuditsSortByMaxobservedcvssv2score ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV2Score" ListVulnerabilityAuditsSortByMaxobservedcvssv3score ListVulnerabilityAuditsSortByEnum = "maxObservedCvssV3Score" ListVulnerabilityAuditsSortByTimecreated ListVulnerabilityAuditsSortByEnum = "timeCreated" ListVulnerabilityAuditsSortByVulnerableartifactscount ListVulnerabilityAuditsSortByEnum = "vulnerableArtifactsCount" )
Set of constants representing the allowable values for ListVulnerabilityAuditsSortByEnum
func GetListVulnerabilityAuditsSortByEnumValues ¶
func GetListVulnerabilityAuditsSortByEnumValues() []ListVulnerabilityAuditsSortByEnum
GetListVulnerabilityAuditsSortByEnumValues Enumerates the set of values for ListVulnerabilityAuditsSortByEnum
func GetMappingListVulnerabilityAuditsSortByEnum ¶
func GetMappingListVulnerabilityAuditsSortByEnum(val string) (ListVulnerabilityAuditsSortByEnum, bool)
GetMappingListVulnerabilityAuditsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListVulnerabilityAuditsSortOrderEnum ¶
type ListVulnerabilityAuditsSortOrderEnum string
ListVulnerabilityAuditsSortOrderEnum Enum with underlying type: string
const ( ListVulnerabilityAuditsSortOrderAsc ListVulnerabilityAuditsSortOrderEnum = "ASC" ListVulnerabilityAuditsSortOrderDesc ListVulnerabilityAuditsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListVulnerabilityAuditsSortOrderEnum
func GetListVulnerabilityAuditsSortOrderEnumValues ¶
func GetListVulnerabilityAuditsSortOrderEnumValues() []ListVulnerabilityAuditsSortOrderEnum
GetListVulnerabilityAuditsSortOrderEnumValues Enumerates the set of values for ListVulnerabilityAuditsSortOrderEnum
func GetMappingListVulnerabilityAuditsSortOrderEnum ¶
func GetMappingListVulnerabilityAuditsSortOrderEnum(val string) (ListVulnerabilityAuditsSortOrderEnum, bool)
GetMappingListVulnerabilityAuditsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field used to sort WorkRequests. Only one sort order is allowed. Default order for _timeAccepted_ is **descending**. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field used to sort WorkRequests. Only one sort order is allowed. Default order for _timeAccepted_ is **descending**. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // A filter to return only resources that belong to the specified compartment identifier. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The identifier of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources that match the specified OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field used to sort WorkRequests. Only one sort order is allowed. Default order for _timeAccepted_ is **descending**. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateKnowledgeBase OperationTypeEnum = "CREATE_KNOWLEDGE_BASE" OperationTypeDeleteKnowledgeBase OperationTypeEnum = "DELETE_KNOWLEDGE_BASE" OperationTypeMoveKnowledgeBase OperationTypeEnum = "MOVE_KNOWLEDGE_BASE" OperationTypeUpdateKnowledgeBase OperationTypeEnum = "UPDATE_KNOWLEDGE_BASE" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type UpdateKnowledgeBaseDetails ¶
type UpdateKnowledgeBaseDetails struct { // The name of the Knowledge Base. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateKnowledgeBaseDetails Details to update an existing Knowledge Base.
func (UpdateKnowledgeBaseDetails) String ¶
func (m UpdateKnowledgeBaseDetails) String() string
func (UpdateKnowledgeBaseDetails) ValidateEnumValue ¶
func (m UpdateKnowledgeBaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateKnowledgeBaseRequest ¶
type UpdateKnowledgeBaseRequest struct { // The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter. KnowledgeBaseId *string `mandatory:"true" contributesTo:"path" name:"knowledgeBaseId"` // The details to update a Knowledge Base. UpdateKnowledgeBaseDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateKnowledgeBaseRequest wrapper for the UpdateKnowledgeBase operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateKnowledgeBase.go.html to see an example of how to use UpdateKnowledgeBaseRequest.
func (UpdateKnowledgeBaseRequest) BinaryRequestBody ¶
func (request UpdateKnowledgeBaseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateKnowledgeBaseRequest) HTTPRequest ¶
func (request UpdateKnowledgeBaseRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateKnowledgeBaseRequest) RetryPolicy ¶
func (request UpdateKnowledgeBaseRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateKnowledgeBaseRequest) String ¶
func (request UpdateKnowledgeBaseRequest) String() string
func (UpdateKnowledgeBaseRequest) ValidateEnumValue ¶
func (request UpdateKnowledgeBaseRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateKnowledgeBaseResponse ¶
type UpdateKnowledgeBaseResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateKnowledgeBaseResponse wrapper for the UpdateKnowledgeBase operation
func (UpdateKnowledgeBaseResponse) HTTPResponse ¶
func (response UpdateKnowledgeBaseResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateKnowledgeBaseResponse) String ¶
func (response UpdateKnowledgeBaseResponse) String() string
type UpdateVulnerabilityAuditDetails ¶
type UpdateVulnerabilityAuditDetails struct { // The name of the Vulnerability Audit. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateVulnerabilityAuditDetails Details to update a Vulnerability Audit.
func (UpdateVulnerabilityAuditDetails) String ¶
func (m UpdateVulnerabilityAuditDetails) String() string
func (UpdateVulnerabilityAuditDetails) ValidateEnumValue ¶
func (m UpdateVulnerabilityAuditDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVulnerabilityAuditRequest ¶
type UpdateVulnerabilityAuditRequest struct { // Unique Vulnerability Audit identifier path parameter. VulnerabilityAuditId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityAuditId"` // The details to update a Vulnerability Audit. UpdateVulnerabilityAuditDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateVulnerabilityAuditRequest wrapper for the UpdateVulnerabilityAudit operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/UpdateVulnerabilityAudit.go.html to see an example of how to use UpdateVulnerabilityAuditRequest.
func (UpdateVulnerabilityAuditRequest) BinaryRequestBody ¶
func (request UpdateVulnerabilityAuditRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateVulnerabilityAuditRequest) HTTPRequest ¶
func (request UpdateVulnerabilityAuditRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateVulnerabilityAuditRequest) RetryPolicy ¶
func (request UpdateVulnerabilityAuditRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateVulnerabilityAuditRequest) String ¶
func (request UpdateVulnerabilityAuditRequest) String() string
func (UpdateVulnerabilityAuditRequest) ValidateEnumValue ¶
func (request UpdateVulnerabilityAuditRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateVulnerabilityAuditResponse ¶
type UpdateVulnerabilityAuditResponse struct { // The underlying http response RawResponse *http.Response // The VulnerabilityAudit instance VulnerabilityAudit `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateVulnerabilityAuditResponse wrapper for the UpdateVulnerabilityAudit operation
func (UpdateVulnerabilityAuditResponse) HTTPResponse ¶
func (response UpdateVulnerabilityAuditResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateVulnerabilityAuditResponse) String ¶
func (response UpdateVulnerabilityAuditResponse) String() string
type Vulnerability ¶
type Vulnerability struct { // Unique vulnerability identifier. 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"` }
Vulnerability A vulnerability is a weakness or error in an artifact. A vulnerability is a generalization of a CVE (every CVE is a vulnerability, but not every vulnerability has a CVE).
func (Vulnerability) String ¶
func (m Vulnerability) String() string
func (Vulnerability) ValidateEnumValue ¶
func (m Vulnerability) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAudit ¶
type VulnerabilityAudit struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Vulnerability Audit. Id *string `mandatory:"true" json:"id"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // The creation date and time of the Vulnerability Audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The update date and time of the Vulnerability Audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the Vulnerability Audit. LifecycleState VulnerabilityAuditLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // List of vulnerabilities found in the Vulnerability Audit. Vulnerabilities []Vulnerability `mandatory:"true" json:"vulnerabilities"` // Maximum Common Vulnerability Scoring System Version 2 score of vulnerabilities. MaxObservedCvssV2Score *float32 `mandatory:"true" json:"maxObservedCvssV2Score"` // Maximum Common Vulnerability Scoring System Version 3 score of vulnerabilities. MaxObservedCvssV3Score *float32 `mandatory:"true" json:"maxObservedCvssV3Score"` // Count of vulnerable artifacts. VulnerableArtifactsCount *int `mandatory:"true" json:"vulnerableArtifactsCount"` // 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. 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"` }
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).
func (VulnerabilityAudit) String ¶
func (m VulnerabilityAudit) String() string
func (VulnerabilityAudit) ValidateEnumValue ¶
func (m VulnerabilityAudit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAuditBuildTypeEnum ¶
type VulnerabilityAuditBuildTypeEnum string
VulnerabilityAuditBuildTypeEnum Enum with underlying type: string
const (
VulnerabilityAuditBuildTypeMaven VulnerabilityAuditBuildTypeEnum = "MAVEN"
)
Set of constants representing the allowable values for VulnerabilityAuditBuildTypeEnum
func GetMappingVulnerabilityAuditBuildTypeEnum ¶
func GetMappingVulnerabilityAuditBuildTypeEnum(val string) (VulnerabilityAuditBuildTypeEnum, bool)
GetMappingVulnerabilityAuditBuildTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityAuditBuildTypeEnumValues ¶
func GetVulnerabilityAuditBuildTypeEnumValues() []VulnerabilityAuditBuildTypeEnum
GetVulnerabilityAuditBuildTypeEnumValues Enumerates the set of values for VulnerabilityAuditBuildTypeEnum
type VulnerabilityAuditCollection ¶
type VulnerabilityAuditCollection struct { // List of Vulnerability Audit summaries. Items []VulnerabilityAuditSummary `mandatory:"true" json:"items"` }
VulnerabilityAuditCollection Collection of Vulnerability Audit summaries.
func (VulnerabilityAuditCollection) String ¶
func (m VulnerabilityAuditCollection) String() string
func (VulnerabilityAuditCollection) ValidateEnumValue ¶
func (m VulnerabilityAuditCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAuditConfiguration ¶
type VulnerabilityAuditConfiguration struct { // The minimum CVSS V2 score for a vulnerability to be considered by the audit as failed. MaxPermissibleCvssV2Score *float32 `mandatory:"false" json:"maxPermissibleCvssV2Score"` // The minimum CVSS V3 score for a vulnerability to be considered by the audit as failed. MaxPermissibleCvssV3Score *float32 `mandatory:"false" json:"maxPermissibleCvssV3Score"` // Pattern to exclude artifacts from audit. Exclusions []string `mandatory:"false" json:"exclusions"` }
VulnerabilityAuditConfiguration Configuration for a Vulnerability Audit type: object
func (VulnerabilityAuditConfiguration) String ¶
func (m VulnerabilityAuditConfiguration) String() string
func (VulnerabilityAuditConfiguration) ValidateEnumValue ¶
func (m VulnerabilityAuditConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VulnerabilityAuditLifecycleStateEnum ¶
type VulnerabilityAuditLifecycleStateEnum string
VulnerabilityAuditLifecycleStateEnum Enum with underlying type: string
const ( VulnerabilityAuditLifecycleStateActive VulnerabilityAuditLifecycleStateEnum = "ACTIVE" VulnerabilityAuditLifecycleStateCreating VulnerabilityAuditLifecycleStateEnum = "CREATING" VulnerabilityAuditLifecycleStateDeleted VulnerabilityAuditLifecycleStateEnum = "DELETED" VulnerabilityAuditLifecycleStateDeleting VulnerabilityAuditLifecycleStateEnum = "DELETING" VulnerabilityAuditLifecycleStateFailed VulnerabilityAuditLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for VulnerabilityAuditLifecycleStateEnum
func GetMappingVulnerabilityAuditLifecycleStateEnum ¶
func GetMappingVulnerabilityAuditLifecycleStateEnum(val string) (VulnerabilityAuditLifecycleStateEnum, bool)
GetMappingVulnerabilityAuditLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVulnerabilityAuditLifecycleStateEnumValues ¶
func GetVulnerabilityAuditLifecycleStateEnumValues() []VulnerabilityAuditLifecycleStateEnum
GetVulnerabilityAuditLifecycleStateEnumValues Enumerates the set of values for VulnerabilityAuditLifecycleStateEnum
type VulnerabilityAuditSummary ¶
type VulnerabilityAuditSummary struct { // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Vulnerability Audit. Id *string `mandatory:"true" json:"id"` // The Oracle Cloud identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base. KnowledgeBaseId *string `mandatory:"true" json:"knowledgeBaseId"` // The creation date and time of the Vulnerability Audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The update date and time of the Vulnerability Audit (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current lifecycle state of the Vulnerability Audit. LifecycleState VulnerabilityAuditLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Maximum Common Vulnerability Scoring System Version 2 score of vulnerabilities. MaxObservedCvssV2Score *float32 `mandatory:"true" json:"maxObservedCvssV2Score"` // Maximum Common Vulnerability Scoring System Version 3 score of vulnerabilities. MaxObservedCvssV3Score *float32 `mandatory:"true" json:"maxObservedCvssV3Score"` // Count of vulnerable artifacts. VulnerableArtifactsCount *int `mandatory:"true" json:"vulnerableArtifactsCount"` // 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"` }
VulnerabilityAuditSummary Vulnerability Audit summary.
func (VulnerabilityAuditSummary) String ¶
func (m VulnerabilityAuditSummary) String() string
func (VulnerabilityAuditSummary) ValidateEnumValue ¶
func (m VulnerabilityAuditSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequest ¶
type WorkRequest struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest A description of workrequest status
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResourceMetadataKeyEnum ¶
type WorkRequestResourceMetadataKeyEnum string
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
const (
WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
func GetMappingWorkRequestResourceMetadataKeyEnum ¶
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues ¶
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary A summary of the status of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files
¶
- action_type.go
- 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
- 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
- operation_status.go
- operation_type.go
- sort_order.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_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