func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetContainerScanRegistryTypeEnumStringValues() []string
GetContainerScanRegistryTypeEnumStringValues Enumerates the set of values in String for ContainerScanRegistryTypeEnum
func GetContainerScanResultSortByEnumStringValues() []string
GetContainerScanResultSortByEnumStringValues Enumerates the set of values in String for ContainerScanResultSortByEnum
func GetContainerScanSettingsScanLevelEnumStringValues() []string
GetContainerScanSettingsScanLevelEnumStringValues Enumerates the set of values in String for ContainerScanSettingsScanLevelEnum
func GetDayOfWeekEnumStringValues() []string
GetDayOfWeekEnumStringValues Enumerates the set of values in String for DayOfWeekEnum
func GetHostAgentScanLevelEnumStringValues() []string
GetHostAgentScanLevelEnumStringValues Enumerates the set of values in String for HostAgentScanLevelEnum
func GetHostAgentScanResultSortByEnumStringValues() []string
GetHostAgentScanResultSortByEnumStringValues Enumerates the set of values in String for HostAgentScanResultSortByEnum
func GetHostCisBenchmarkScanLevelEnumStringValues() []string
GetHostCisBenchmarkScanLevelEnumStringValues Enumerates the set of values in String for HostCisBenchmarkScanLevelEnum
func GetHostCisBenchmarkScanResultSortByEnumStringValues() []string
GetHostCisBenchmarkScanResultSortByEnumStringValues Enumerates the set of values in String for HostCisBenchmarkScanResultSortByEnum
func GetHostEndpointProtectionScanLevelEnumStringValues() []string
GetHostEndpointProtectionScanLevelEnumStringValues Enumerates the set of values in String for HostEndpointProtectionScanLevelEnum
func GetHostEndpointProtectionScanResultSortByEnumStringValues() []string
GetHostEndpointProtectionScanResultSortByEnumStringValues Enumerates the set of values in String for HostEndpointProtectionScanResultSortByEnum
func GetHostPortScanLevelEnumStringValues() []string
GetHostPortScanLevelEnumStringValues Enumerates the set of values in String for HostPortScanLevelEnum
func GetHostPortScanResultSortByEnumStringValues() []string
GetHostPortScanResultSortByEnumStringValues Enumerates the set of values in String for HostPortScanResultSortByEnum
func GetHostVulnerabilitySortByEnumStringValues() []string
GetHostVulnerabilitySortByEnumStringValues Enumerates the set of values in String for HostVulnerabilitySortByEnum
func GetImpactedHostSortByEnumStringValues() []string
GetImpactedHostSortByEnumStringValues Enumerates the set of values in String for ImpactedHostSortByEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListContainerScanRecipesLifecycleStateEnumStringValues() []string
GetListContainerScanRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListContainerScanRecipesLifecycleStateEnum
func GetListContainerScanRecipesSortByEnumStringValues() []string
GetListContainerScanRecipesSortByEnumStringValues Enumerates the set of values in String for ListContainerScanRecipesSortByEnum
func GetListContainerScanRecipesSortOrderEnumStringValues() []string
GetListContainerScanRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListContainerScanRecipesSortOrderEnum
func GetListContainerScanResultsHighestProblemSeverityEnumStringValues() []string
GetListContainerScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListContainerScanResultsHighestProblemSeverityEnum
func GetListContainerScanResultsSortByEnumStringValues() []string
GetListContainerScanResultsSortByEnumStringValues Enumerates the set of values in String for ListContainerScanResultsSortByEnum
func GetListContainerScanResultsSortOrderEnumStringValues() []string
GetListContainerScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListContainerScanResultsSortOrderEnum
func GetListContainerScanTargetsLifecycleStateEnumStringValues() []string
GetListContainerScanTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListContainerScanTargetsLifecycleStateEnum
func GetListContainerScanTargetsSortByEnumStringValues() []string
GetListContainerScanTargetsSortByEnumStringValues Enumerates the set of values in String for ListContainerScanTargetsSortByEnum
func GetListContainerScanTargetsSortOrderEnumStringValues() []string
GetListContainerScanTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListContainerScanTargetsSortOrderEnum
func GetListHostAgentScanResultsHighestProblemSeverityEnumStringValues() []string
GetListHostAgentScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostAgentScanResultsHighestProblemSeverityEnum
func GetListHostAgentScanResultsSortByEnumStringValues() []string
GetListHostAgentScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostAgentScanResultsSortByEnum
func GetListHostAgentScanResultsSortOrderEnumStringValues() []string
GetListHostAgentScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostAgentScanResultsSortOrderEnum
func GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumStringValues() []string
GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum
func GetListHostCisBenchmarkScanResultsSortByEnumStringValues() []string
GetListHostCisBenchmarkScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostCisBenchmarkScanResultsSortByEnum
func GetListHostCisBenchmarkScanResultsSortOrderEnumStringValues() []string
GetListHostCisBenchmarkScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostCisBenchmarkScanResultsSortOrderEnum
func GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumStringValues() []string
GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum
func GetListHostEndpointProtectionScanResultsSortByEnumStringValues() []string
GetListHostEndpointProtectionScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostEndpointProtectionScanResultsSortByEnum
func GetListHostEndpointProtectionScanResultsSortOrderEnumStringValues() []string
GetListHostEndpointProtectionScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostEndpointProtectionScanResultsSortOrderEnum
func GetListHostPortScanResultsHighestProblemSeverityEnumStringValues() []string
GetListHostPortScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostPortScanResultsHighestProblemSeverityEnum
func GetListHostPortScanResultsSortByEnumStringValues() []string
GetListHostPortScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostPortScanResultsSortByEnum
func GetListHostPortScanResultsSortOrderEnumStringValues() []string
GetListHostPortScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostPortScanResultsSortOrderEnum
func GetListHostScanRecipesLifecycleStateEnumStringValues() []string
GetListHostScanRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListHostScanRecipesLifecycleStateEnum
func GetListHostScanRecipesSortByEnumStringValues() []string
GetListHostScanRecipesSortByEnumStringValues Enumerates the set of values in String for ListHostScanRecipesSortByEnum
func GetListHostScanRecipesSortOrderEnumStringValues() []string
GetListHostScanRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListHostScanRecipesSortOrderEnum
func GetListHostScanTargetErrorsLifecycleStateEnumStringValues() []string
GetListHostScanTargetErrorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListHostScanTargetErrorsLifecycleStateEnum
func GetListHostScanTargetErrorsSortByEnumStringValues() []string
GetListHostScanTargetErrorsSortByEnumStringValues Enumerates the set of values in String for ListHostScanTargetErrorsSortByEnum
func GetListHostScanTargetErrorsSortOrderEnumStringValues() []string
GetListHostScanTargetErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListHostScanTargetErrorsSortOrderEnum
func GetListHostScanTargetsLifecycleStateEnumStringValues() []string
GetListHostScanTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListHostScanTargetsLifecycleStateEnum
func GetListHostScanTargetsSortByEnumStringValues() []string
GetListHostScanTargetsSortByEnumStringValues Enumerates the set of values in String for ListHostScanTargetsSortByEnum
func GetListHostScanTargetsSortOrderEnumStringValues() []string
GetListHostScanTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListHostScanTargetsSortOrderEnum
func GetListHostVulnerabilitiesSeverityEnumStringValues() []string
GetListHostVulnerabilitiesSeverityEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesSeverityEnum
func GetListHostVulnerabilitiesSortByEnumStringValues() []string
GetListHostVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesSortByEnum
func GetListHostVulnerabilitiesSortOrderEnumStringValues() []string
GetListHostVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesSortOrderEnum
func GetListHostVulnerabilitiesVulnerabilityTypeEnumStringValues() []string
GetListHostVulnerabilitiesVulnerabilityTypeEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesVulnerabilityTypeEnum
func GetListHostVulnerabilityImpactedHostsSortByEnumStringValues() []string
GetListHostVulnerabilityImpactedHostsSortByEnumStringValues Enumerates the set of values in String for ListHostVulnerabilityImpactedHostsSortByEnum
func GetListHostVulnerabilityImpactedHostsSortOrderEnumStringValues() []string
GetListHostVulnerabilityImpactedHostsSortOrderEnumStringValues Enumerates the set of values in String for ListHostVulnerabilityImpactedHostsSortOrderEnum
func GetListVulnerabilitiesSeverityEnumStringValues() []string
GetListVulnerabilitiesSeverityEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSeverityEnum
func GetListVulnerabilitiesSortByEnumStringValues() []string
GetListVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortByEnum
func GetListVulnerabilitiesSortOrderEnumStringValues() []string
GetListVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortOrderEnum
func GetListVulnerabilitiesVulnerabilityTypeEnumStringValues() []string
GetListVulnerabilitiesVulnerabilityTypeEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesVulnerabilityTypeEnum
func GetListVulnerabilityImpactedContainersSortByEnumStringValues() []string
GetListVulnerabilityImpactedContainersSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedContainersSortByEnum
func GetListVulnerabilityImpactedContainersSortOrderEnumStringValues() []string
GetListVulnerabilityImpactedContainersSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedContainersSortOrderEnum
func GetListVulnerabilityImpactedHostsSortByEnumStringValues() []string
GetListVulnerabilityImpactedHostsSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedHostsSortByEnum
func GetListVulnerabilityImpactedHostsSortOrderEnumStringValues() []string
GetListVulnerabilityImpactedHostsSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedHostsSortOrderEnum
func GetModelPackageTypeEnumStringValues() []string
GetModelPackageTypeEnumStringValues Enumerates the set of values in String for ModelPackageTypeEnum
func GetOperatingSystemEnumStringValues() []string
GetOperatingSystemEnumStringValues Enumerates the set of values in String for OperatingSystemEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetScanResultProblemSeverityEnumStringValues() []string
GetScanResultProblemSeverityEnumStringValues Enumerates the set of values in String for ScanResultProblemSeverityEnum
func GetScanResultScoreEnumStringValues() []string
GetScanResultScoreEnumStringValues Enumerates the set of values in String for ScanResultScoreEnum
func GetScanResultVulnerabilityStateEnumStringValues() []string
GetScanResultVulnerabilityStateEnumStringValues Enumerates the set of values in String for ScanResultVulnerabilityStateEnum
func GetScheduleTypeEnumStringValues() []string
GetScheduleTypeEnumStringValues Enumerates the set of values in String for ScheduleTypeEnum
func GetSortByEnumStringValues() []string
GetSortByEnumStringValues Enumerates the set of values in String for SortByEnum
func GetSortByTimeEnumStringValues() []string
GetSortByTimeEnumStringValues Enumerates the set of values in String for SortByTimeEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetVendorTypeEnumStringValues() []string
GetVendorTypeEnumStringValues Enumerates the set of values in String for VendorTypeEnum
func GetVulnerabilityTypeEnumStringValues() []string
GetVulnerabilityTypeEnumStringValues Enumerates the set of values in String for VulnerabilityTypeEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ApplicationScanSettings Agent scan settings for applicaiton scan
type ApplicationScanSettings struct { // Scan recurrences in RFC-5545 section 3.3.10 format. // Only supported input are weekly, biweekly, monthly listed below // FREQ=WEEKLY;WKST=<weekday>;INTERVAL=1 - This weekly scan on the specified weekday (e.g. Sunday) // FREQ=WEEKLY;WKST=<weekday>;INTERVAL=2 - This bi-weekly scan on the specified weekday (e.g. Sunday) // FREQ=MONTHLY;WKST=<weekday>;INTERVAL=1 - This monthly scan on the specified weekday (e.g. Sunday, starting from the next such weekday based on the time of setting creation) ApplicationScanRecurrence *string `mandatory:"true" json:"applicationScanRecurrence"` // Enable or disable application scan IsEnabled *bool `mandatory:"true" json:"isEnabled"` // List of folders selected for scanning FoldersToScan []FolderToScan `mandatory:"true" json:"foldersToScan"` }
func (m ApplicationScanSettings) String() string
func (m ApplicationScanSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanRecipeCompartmentDetails Details for a ContainerScanRecipe compartment change
type ChangeContainerScanRecipeCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the container scan recipe should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeContainerScanRecipeCompartmentDetails) String() string
func (m ChangeContainerScanRecipeCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanRecipeCompartmentRequest wrapper for the ChangeContainerScanRecipeCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeContainerScanRecipeCompartment.go.html to see an example of how to use ChangeContainerScanRecipeCompartmentRequest.
type ChangeContainerScanRecipeCompartmentRequest struct { // unique ContainerScanRecipe identifier ContainerScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"containerScanRecipeId"` // The compartment information to update. ChangeContainerScanRecipeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeContainerScanRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeContainerScanRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeContainerScanRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeContainerScanRecipeCompartmentRequest) String() string
func (request ChangeContainerScanRecipeCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanRecipeCompartmentResponse wrapper for the ChangeContainerScanRecipeCompartment operation
type ChangeContainerScanRecipeCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeContainerScanRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeContainerScanRecipeCompartmentResponse) String() string
ChangeContainerScanResultCompartmentDetails Details for a ContainerScanResult compartment change
type ChangeContainerScanResultCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the container scan should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeContainerScanResultCompartmentDetails) String() string
func (m ChangeContainerScanResultCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanResultCompartmentRequest wrapper for the ChangeContainerScanResultCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeContainerScanResultCompartment.go.html to see an example of how to use ChangeContainerScanResultCompartmentRequest.
type ChangeContainerScanResultCompartmentRequest struct { // unique container scan identifier ContainerScanResultId *string `mandatory:"true" contributesTo:"path" name:"containerScanResultId"` // The compartment information to update. ChangeContainerScanResultCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeContainerScanResultCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeContainerScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeContainerScanResultCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeContainerScanResultCompartmentRequest) String() string
func (request ChangeContainerScanResultCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanResultCompartmentResponse wrapper for the ChangeContainerScanResultCompartment operation
type ChangeContainerScanResultCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeContainerScanResultCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeContainerScanResultCompartmentResponse) String() string
ChangeContainerScanTargetCompartmentDetails Details for a ContainerScanTarget compartment change
type ChangeContainerScanTargetCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the container scan target should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeContainerScanTargetCompartmentDetails) String() string
func (m ChangeContainerScanTargetCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanTargetCompartmentRequest wrapper for the ChangeContainerScanTargetCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeContainerScanTargetCompartment.go.html to see an example of how to use ChangeContainerScanTargetCompartmentRequest.
type ChangeContainerScanTargetCompartmentRequest struct { // unique ContainerScanTarget identifier ContainerScanTargetId *string `mandatory:"true" contributesTo:"path" name:"containerScanTargetId"` // The compartment information to update. ChangeContainerScanTargetCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeContainerScanTargetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeContainerScanTargetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeContainerScanTargetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeContainerScanTargetCompartmentRequest) String() string
func (request ChangeContainerScanTargetCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeContainerScanTargetCompartmentResponse wrapper for the ChangeContainerScanTargetCompartment operation
type ChangeContainerScanTargetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeContainerScanTargetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeContainerScanTargetCompartmentResponse) String() string
ChangeHostAgentScanResultCompartmentDetails Details for a HostAgentScanResult compartment change
type ChangeHostAgentScanResultCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the host agent scan should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostAgentScanResultCompartmentDetails) String() string
func (m ChangeHostAgentScanResultCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostAgentScanResultCompartmentRequest wrapper for the ChangeHostAgentScanResultCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeHostAgentScanResultCompartment.go.html to see an example of how to use ChangeHostAgentScanResultCompartmentRequest.
type ChangeHostAgentScanResultCompartmentRequest struct { // unique host agent scan identifier HostAgentScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostAgentScanResultId"` // The compartment information to update. ChangeHostAgentScanResultCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeHostAgentScanResultCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostAgentScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostAgentScanResultCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostAgentScanResultCompartmentRequest) String() string
func (request ChangeHostAgentScanResultCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostAgentScanResultCompartmentResponse wrapper for the ChangeHostAgentScanResultCompartment operation
type ChangeHostAgentScanResultCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeHostAgentScanResultCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostAgentScanResultCompartmentResponse) String() string
ChangeHostCisBenchmarkScanResultCompartmentDetails Details for a HostCisBenchmarkScanResult compartment change
type ChangeHostCisBenchmarkScanResultCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the host port scan should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostCisBenchmarkScanResultCompartmentDetails) String() string
func (m ChangeHostCisBenchmarkScanResultCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostCisBenchmarkScanResultCompartmentRequest wrapper for the ChangeHostCisBenchmarkScanResultCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeHostCisBenchmarkScanResultCompartment.go.html to see an example of how to use ChangeHostCisBenchmarkScanResultCompartmentRequest.
type ChangeHostCisBenchmarkScanResultCompartmentRequest struct { // unique host Cis benchmark scan identifier HostCisBenchmarkScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostCisBenchmarkScanResultId"` // The compartment information to update. ChangeHostCisBenchmarkScanResultCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeHostCisBenchmarkScanResultCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostCisBenchmarkScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostCisBenchmarkScanResultCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostCisBenchmarkScanResultCompartmentRequest) String() string
func (request ChangeHostCisBenchmarkScanResultCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostCisBenchmarkScanResultCompartmentResponse wrapper for the ChangeHostCisBenchmarkScanResultCompartment operation
type ChangeHostCisBenchmarkScanResultCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeHostCisBenchmarkScanResultCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostCisBenchmarkScanResultCompartmentResponse) String() string
ChangeHostEndpointProtectionScanResultCompartmentDetails Details for a HostEndpointProtectionScanResult compartment change
type ChangeHostEndpointProtectionScanResultCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the host port scan should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostEndpointProtectionScanResultCompartmentDetails) String() string
func (m ChangeHostEndpointProtectionScanResultCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostEndpointProtectionScanResultCompartmentRequest wrapper for the ChangeHostEndpointProtectionScanResultCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeHostEndpointProtectionScanResultCompartment.go.html to see an example of how to use ChangeHostEndpointProtectionScanResultCompartmentRequest.
type ChangeHostEndpointProtectionScanResultCompartmentRequest struct { // unique host endpoint protection scan identifier HostEndpointProtectionScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostEndpointProtectionScanResultId"` // The compartment information to update. ChangeHostEndpointProtectionScanResultCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeHostEndpointProtectionScanResultCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostEndpointProtectionScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostEndpointProtectionScanResultCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostEndpointProtectionScanResultCompartmentRequest) String() string
func (request ChangeHostEndpointProtectionScanResultCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostEndpointProtectionScanResultCompartmentResponse wrapper for the ChangeHostEndpointProtectionScanResultCompartment operation
type ChangeHostEndpointProtectionScanResultCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeHostEndpointProtectionScanResultCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostEndpointProtectionScanResultCompartmentResponse) String() string
ChangeHostPortScanResultCompartmentDetails Details for a HostPortScanResult compartment change
type ChangeHostPortScanResultCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the host port scan should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostPortScanResultCompartmentDetails) String() string
func (m ChangeHostPortScanResultCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostPortScanResultCompartmentRequest wrapper for the ChangeHostPortScanResultCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeHostPortScanResultCompartment.go.html to see an example of how to use ChangeHostPortScanResultCompartmentRequest.
type ChangeHostPortScanResultCompartmentRequest struct { // unique host port scan identifier HostPortScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostPortScanResultId"` // The compartment information to update. ChangeHostPortScanResultCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeHostPortScanResultCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostPortScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostPortScanResultCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostPortScanResultCompartmentRequest) String() string
func (request ChangeHostPortScanResultCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostPortScanResultCompartmentResponse wrapper for the ChangeHostPortScanResultCompartment operation
type ChangeHostPortScanResultCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeHostPortScanResultCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostPortScanResultCompartmentResponse) String() string
ChangeHostScanRecipeCompartmentDetails Details for a HostScanRecipe compartment change
type ChangeHostScanRecipeCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the host scan recipe should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostScanRecipeCompartmentDetails) String() string
func (m ChangeHostScanRecipeCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostScanRecipeCompartmentRequest wrapper for the ChangeHostScanRecipeCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeHostScanRecipeCompartment.go.html to see an example of how to use ChangeHostScanRecipeCompartmentRequest.
type ChangeHostScanRecipeCompartmentRequest struct { // unique HostScanRecipe identifier HostScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"hostScanRecipeId"` // The compartment information to update. ChangeHostScanRecipeCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeHostScanRecipeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostScanRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostScanRecipeCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostScanRecipeCompartmentRequest) String() string
func (request ChangeHostScanRecipeCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostScanRecipeCompartmentResponse wrapper for the ChangeHostScanRecipeCompartment operation
type ChangeHostScanRecipeCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeHostScanRecipeCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostScanRecipeCompartmentResponse) String() string
ChangeHostScanTargetCompartmentDetails Details for a HostScanTarget compartment change
type ChangeHostScanTargetCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the host scan target should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeHostScanTargetCompartmentDetails) String() string
func (m ChangeHostScanTargetCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostScanTargetCompartmentRequest wrapper for the ChangeHostScanTargetCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ChangeHostScanTargetCompartment.go.html to see an example of how to use ChangeHostScanTargetCompartmentRequest.
type ChangeHostScanTargetCompartmentRequest struct { // unique HostScanTarget identifier HostScanTargetId *string `mandatory:"true" contributesTo:"path" name:"hostScanTargetId"` // The compartment information to update. ChangeHostScanTargetCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeHostScanTargetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeHostScanTargetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeHostScanTargetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeHostScanTargetCompartmentRequest) String() string
func (request ChangeHostScanTargetCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeHostScanTargetCompartmentResponse wrapper for the ChangeHostScanTargetCompartment operation
type ChangeHostScanTargetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeHostScanTargetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeHostScanTargetCompartmentResponse) String() string
ContainerScanRecipe A container scan recipe (collection of container scanning configuration settings)
type ContainerScanRecipe struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan recipe. Immutable and generated on creation. Id *string `mandatory:"true" json:"id"` // User friendly name of container scan recipe DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan recipe's compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the recipe was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the recipe was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` ScanSettings *ContainerScanSettings `mandatory:"true" json:"scanSettings"` // This field is set equal to the number of images we want to scan in the first go when the recipe is created ImageCount *int `mandatory:"false" json:"imageCount"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ContainerScanRecipe) String() string
func (m ContainerScanRecipe) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanRecipeSummary Summary of a container scan recipe (collection of container scanning configuration settings)
type ContainerScanRecipeSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan recipe. Immutable and generated on creation. Id *string `mandatory:"true" json:"id"` // User friendly name of container scan recipe DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan recipe's compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the recipe was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the recipe was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ContainerScanRecipeSummary) String() string
func (m ContainerScanRecipeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanRecipeSummaryCollection A collection of ContainerScanRecipeSummary objects
type ContainerScanRecipeSummaryCollection struct { // The ContainerScanRecipeSummary objects in the collection Items []ContainerScanRecipeSummary `mandatory:"true" json:"items"` }
func (m ContainerScanRecipeSummaryCollection) String() string
func (m ContainerScanRecipeSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanRegistry Registry information for a container scan target
type ContainerScanRegistry interface { // URL of the registry. GetUrl() *string }
ContainerScanRegistryTypeEnum Enum with underlying type: string
type ContainerScanRegistryTypeEnum string
Set of constants representing the allowable values for ContainerScanRegistryTypeEnum
const ( ContainerScanRegistryTypeOcir ContainerScanRegistryTypeEnum = "OCIR" )
func GetContainerScanRegistryTypeEnumValues() []ContainerScanRegistryTypeEnum
GetContainerScanRegistryTypeEnumValues Enumerates the set of values for ContainerScanRegistryTypeEnum
func GetMappingContainerScanRegistryTypeEnum(val string) (ContainerScanRegistryTypeEnum, bool)
GetMappingContainerScanRegistryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ContainerScanResult A scan result for a container scan
type ContainerScanResult struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan result. Immutable and generated on creation. Id *string `mandatory:"true" json:"id"` // Repository in which the container image scanned is located Repository *string `mandatory:"true" json:"repository"` // Image name Image *string `mandatory:"true" json:"image"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan result's compartment. This is set to the same as the compartmentId of the container scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Highest problem severity in this report HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"highestProblemSeverity"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // List of problems found in this scan Problems []ContainerScanResultProblem `mandatory:"true" json:"problems"` // The URL of the docker registry the repository is located in. RegistryUrl *string `mandatory:"false" json:"registryUrl"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to where scan was performed. TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan target. ContainerScanTargetId *string `mandatory:"false" json:"containerScanTargetId"` // Total number of problems found in this scan ProblemCount *int `mandatory:"false" json:"problemCount"` }
func (m ContainerScanResult) String() string
func (m ContainerScanResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanResultProblem A problem found in a container scan
type ContainerScanResultProblem struct { // Name of the problem Name *string `mandatory:"true" json:"name"` // Problem severity Severity ScanResultProblemSeverityEnum `mandatory:"true" json:"severity"` // Problem description Description *string `mandatory:"false" json:"description"` // State of the vulnerability State ScanResultVulnerabilityStateEnum `mandatory:"false" json:"state,omitempty"` // Reference to problem MITRE CVE ID CveReference *string `mandatory:"false" json:"cveReference"` // Date of scan result that first reported the vulnerability TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"` // Date of scan result that most recently reported the vulnerability TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"` // Packages in which the problem is detected VulnerablePackages []ModelPackage `mandatory:"false" json:"vulnerablePackages"` }
func (m ContainerScanResultProblem) String() string
func (m ContainerScanResultProblem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanResultSortByEnum Enum with underlying type: string
type ContainerScanResultSortByEnum string
Set of constants representing the allowable values for ContainerScanResultSortByEnum
const ( ContainerScanResultSortByTimeStarted ContainerScanResultSortByEnum = "timeStarted" ContainerScanResultSortByProblemCount ContainerScanResultSortByEnum = "problemCount" ContainerScanResultSortByHighestProblemSeverity ContainerScanResultSortByEnum = "highestProblemSeverity" )
func GetContainerScanResultSortByEnumValues() []ContainerScanResultSortByEnum
GetContainerScanResultSortByEnumValues Enumerates the set of values for ContainerScanResultSortByEnum
func GetMappingContainerScanResultSortByEnum(val string) (ContainerScanResultSortByEnum, bool)
GetMappingContainerScanResultSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ContainerScanResultSummary A summary of a result for a container scan
type ContainerScanResultSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan result. Immutable and generated on creation. Id *string `mandatory:"true" json:"id"` // Repository in which the container image scanned is located Repository *string `mandatory:"true" json:"repository"` // Image name Image *string `mandatory:"true" json:"image"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan result's compartment. This is set to the same as the compartmentId of the container scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Highest problem severity in this report HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"highestProblemSeverity"` // Total number of problems found in this scan ProblemCount *int `mandatory:"true" json:"problemCount"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan target. Immutable and generated on creation. ContainerScanTargetId *string `mandatory:"false" json:"containerScanTargetId"` }
func (m ContainerScanResultSummary) String() string
func (m ContainerScanResultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanResultSummaryCollection A collection of ContainerScanResultSummary
type ContainerScanResultSummaryCollection struct { // The ContainerScanResultSummary objects in the collection Items []ContainerScanResultSummary `mandatory:"true" json:"items"` }
func (m ContainerScanResultSummaryCollection) String() string
func (m ContainerScanResultSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanSettings A collection of container scan settings
type ContainerScanSettings struct { // The scan level ScanLevel ContainerScanSettingsScanLevelEnum `mandatory:"true" json:"scanLevel"` }
func (m ContainerScanSettings) String() string
func (m ContainerScanSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanSettingsScanLevelEnum Enum with underlying type: string
type ContainerScanSettingsScanLevelEnum string
Set of constants representing the allowable values for ContainerScanSettingsScanLevelEnum
const ( ContainerScanSettingsScanLevelNone ContainerScanSettingsScanLevelEnum = "NONE" ContainerScanSettingsScanLevelStandard ContainerScanSettingsScanLevelEnum = "STANDARD" )
func GetContainerScanSettingsScanLevelEnumValues() []ContainerScanSettingsScanLevelEnum
GetContainerScanSettingsScanLevelEnumValues Enumerates the set of values for ContainerScanSettingsScanLevelEnum
func GetMappingContainerScanSettingsScanLevelEnum(val string) (ContainerScanSettingsScanLevelEnum, bool)
GetMappingContainerScanSettingsScanLevelEnum performs case Insensitive comparison on enum value and return the desired enum
ContainerScanTarget A container scan target (application of a container scan recipe to the registry or list of repos)
type ContainerScanTarget struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan target. Immutable and generated on creation. Id *string `mandatory:"true" json:"id"` // User friendly name of container scan target DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan target's compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // ID of the container scan recipe this target applies. ContainerScanRecipeId *string `mandatory:"true" json:"containerScanRecipeId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the target was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the target was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Target description. Description *string `mandatory:"false" json:"description"` TargetRegistry ContainerScanRegistry `mandatory:"false" json:"targetRegistry"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ContainerScanTarget) String() string
func (m *ContainerScanTarget) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ContainerScanTarget) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanTargetSummary Summary of a container scan target (application of a container scan recipe to the registry or list of repos)
type ContainerScanTargetSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of container scan target. Immutable and generated on creation. Id *string `mandatory:"true" json:"id"` // User friendly name of container scan target DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan target's compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` // ID of the container scan recipe this target applies. ContainerScanRecipeId *string `mandatory:"true" json:"containerScanRecipeId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the target was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the target was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` TargetRegistry ContainerScanRegistry `mandatory:"false" json:"targetRegistry"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ContainerScanTargetSummary) String() string
func (m *ContainerScanTargetSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ContainerScanTargetSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerScanTargetSummaryCollection A collection of ContainerScanTargetSummary objects
type ContainerScanTargetSummaryCollection struct { // The ContainerScanTargetSummary objects in the collection Items []ContainerScanTargetSummary `mandatory:"true" json:"items"` }
func (m ContainerScanTargetSummaryCollection) String() string
func (m ContainerScanTargetSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateContainerScanRecipeDetails The information for a new container scan recipe
type CreateContainerScanRecipeDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan recipe's compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` ScanSettings *ContainerScanSettings `mandatory:"true" json:"scanSettings"` // User friendly name of container scan recipe. If not present, will be auto-generated. DisplayName *string `mandatory:"false" json:"displayName"` // This field is set equal to the number of images we want to scan in the first go when the recipe is created ImageCount *int `mandatory:"false" json:"imageCount"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateContainerScanRecipeDetails) String() string
func (m CreateContainerScanRecipeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateContainerScanRecipeRequest wrapper for the CreateContainerScanRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/CreateContainerScanRecipe.go.html to see an example of how to use CreateContainerScanRecipeRequest.
type CreateContainerScanRecipeRequest struct { // Details for the new ContainerScanRecipe CreateContainerScanRecipeDetails `contributesTo:"body"` // 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"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateContainerScanRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateContainerScanRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateContainerScanRecipeRequest) String() string
func (request CreateContainerScanRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateContainerScanRecipeResponse wrapper for the CreateContainerScanRecipe operation
type CreateContainerScanRecipeResponse struct { // The underlying http response RawResponse *http.Response // The ContainerScanRecipe instance ContainerScanRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateContainerScanRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateContainerScanRecipeResponse) String() string
CreateContainerScanRegistryDetails Registry information for a container scan target
type CreateContainerScanRegistryDetails interface { // URL of the registry. Required for non-OCIR registry types (for OCIR registry types, it can be inferred from the tenancy). GetUrl() *string }
CreateContainerScanTargetDetails The information for a new container scan target
type CreateContainerScanTargetDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container scan target's compartment CompartmentId *string `mandatory:"true" json:"compartmentId"` TargetRegistry CreateContainerScanRegistryDetails `mandatory:"true" json:"targetRegistry"` // ID of the container scan recipe this target applies. ContainerScanRecipeId *string `mandatory:"true" json:"containerScanRecipeId"` // User friendly name of container scan target. If not present, will be auto-generated. DisplayName *string `mandatory:"false" json:"displayName"` // Target description. Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateContainerScanTargetDetails) String() string
func (m *CreateContainerScanTargetDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateContainerScanTargetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateContainerScanTargetRequest wrapper for the CreateContainerScanTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/CreateContainerScanTarget.go.html to see an example of how to use CreateContainerScanTargetRequest.
type CreateContainerScanTargetRequest struct { // Details for the new ContainerScanTarget CreateContainerScanTargetDetails `contributesTo:"body"` // 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"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateContainerScanTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateContainerScanTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateContainerScanTargetRequest) String() string
func (request CreateContainerScanTargetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateContainerScanTargetResponse wrapper for the CreateContainerScanTarget operation
type CreateContainerScanTargetResponse struct { // The underlying http response RawResponse *http.Response // The ContainerScanTarget instance ContainerScanTarget `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateContainerScanTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateContainerScanTargetResponse) String() string
CreateHostScanRecipeDetails The information for a new host scan recipe
type CreateHostScanRecipeDetails struct { // Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned CompartmentId *string `mandatory:"true" json:"compartmentId"` PortSettings *HostScanPortSettings `mandatory:"true" json:"portSettings"` AgentSettings *HostScanAgentSettings `mandatory:"true" json:"agentSettings"` Schedule *Schedule `mandatory:"true" json:"schedule"` // Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` ApplicationSettings *ApplicationScanSettings `mandatory:"false" json:"applicationSettings"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateHostScanRecipeDetails) String() string
func (m CreateHostScanRecipeDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostScanRecipeRequest wrapper for the CreateHostScanRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/CreateHostScanRecipe.go.html to see an example of how to use CreateHostScanRecipeRequest.
type CreateHostScanRecipeRequest struct { // Details for the new HostScanRecipe CreateHostScanRecipeDetails `contributesTo:"body"` // 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"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateHostScanRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateHostScanRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateHostScanRecipeRequest) String() string
func (request CreateHostScanRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostScanRecipeResponse wrapper for the CreateHostScanRecipe operation
type CreateHostScanRecipeResponse struct { // The underlying http response RawResponse *http.Response // The HostScanRecipe instance HostScanRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateHostScanRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateHostScanRecipeResponse) String() string
CreateHostScanTargetDetails The information for a new host scan target
type CreateHostScanTargetDetails struct { // Compartment ID of the object (this). CompartmentId *string `mandatory:"true" json:"compartmentId"` // Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` // ID of the host scan recipe this target applies. HostScanRecipeId *string `mandatory:"true" json:"hostScanRecipeId"` // Target identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Target description. Description *string `mandatory:"false" json:"description"` // List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. InstanceIds []string `mandatory:"false" json:"instanceIds"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateHostScanTargetDetails) String() string
func (m CreateHostScanTargetDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostScanTargetRequest wrapper for the CreateHostScanTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/CreateHostScanTarget.go.html to see an example of how to use CreateHostScanTargetRequest.
type CreateHostScanTargetRequest struct { // Details for the new HostScanTarget CreateHostScanTargetDetails `contributesTo:"body"` // 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"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateHostScanTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateHostScanTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateHostScanTargetRequest) String() string
func (request CreateHostScanTargetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateHostScanTargetResponse wrapper for the CreateHostScanTarget operation
type CreateHostScanTargetResponse struct { // The underlying http response RawResponse *http.Response // The HostScanTarget instance HostScanTarget `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateHostScanTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateHostScanTargetResponse) String() string
CreateOcirContainerScanRegistryDetails Registry information for a OCI Registry target
type CreateOcirContainerScanRegistryDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to perform the scans in. All listed repositories must be in the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // URL of the registry. Required for non-OCIR registry types (for OCIR registry types, it can be inferred from the tenancy). Url *string `mandatory:"false" json:"url"` // List of repositories to scan images in. If left empty, the target defaults to scanning all repos in the compartmentId Repositories []string `mandatory:"false" json:"repositories"` }
func (m CreateOcirContainerScanRegistryDetails) GetUrl() *string
GetUrl returns Url
func (m CreateOcirContainerScanRegistryDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOcirContainerScanRegistryDetails) String() string
func (m CreateOcirContainerScanRegistryDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CveDetails Details on a CVE.
type CveDetails struct { // CVE ID. CveReference *string `mandatory:"true" json:"cveReference"` // Vulnerability title. Title *string `mandatory:"true" json:"title"` // CVSS 3 Score. Cvss3 *string `mandatory:"true" json:"cvss3"` // Date/time the CVE was published. TimePublished *common.SDKTime `mandatory:"true" json:"timePublished"` // Date/time the CVE was last modified. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // CVE description. Description *string `mandatory:"false" json:"description"` // ID of related CVE, if applicable. RelatedCveReference *string `mandatory:"false" json:"relatedCveReference"` // Threat this item poses to resource. Threat *string `mandatory:"false" json:"threat"` // Impact on resource if this vulnerability is exploited. Impact *string `mandatory:"false" json:"impact"` // Recommended solution to fix this vulnerability. Solution *string `mandatory:"false" json:"solution"` // Can this vulnerability be patched. Patchable *string `mandatory:"false" json:"patchable"` // Can this vulnerability be exploited. Exploitable *string `mandatory:"false" json:"exploitable"` // Reference link to know more about this vulnerability. ReferenceUrl *string `mandatory:"false" json:"referenceUrl"` }
func (m CveDetails) String() string
func (m CveDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DayOfWeekEnum Enum with underlying type: string
type DayOfWeekEnum string
Set of constants representing the allowable values for DayOfWeekEnum
const ( DayOfWeekSunday DayOfWeekEnum = "SUNDAY" DayOfWeekMonday DayOfWeekEnum = "MONDAY" DayOfWeekTuesday DayOfWeekEnum = "TUESDAY" DayOfWeekWednesday DayOfWeekEnum = "WEDNESDAY" DayOfWeekThursday DayOfWeekEnum = "THURSDAY" DayOfWeekFriday DayOfWeekEnum = "FRIDAY" DayOfWeekSaturday DayOfWeekEnum = "SATURDAY" )
func GetDayOfWeekEnumValues() []DayOfWeekEnum
GetDayOfWeekEnumValues Enumerates the set of values for DayOfWeekEnum
func GetMappingDayOfWeekEnum(val string) (DayOfWeekEnum, bool)
GetMappingDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteContainerScanRecipeRequest wrapper for the DeleteContainerScanRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteContainerScanRecipe.go.html to see an example of how to use DeleteContainerScanRecipeRequest.
type DeleteContainerScanRecipeRequest struct { // unique ContainerScanRecipe identifier ContainerScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"containerScanRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteContainerScanRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteContainerScanRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteContainerScanRecipeRequest) String() string
func (request DeleteContainerScanRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteContainerScanRecipeResponse wrapper for the DeleteContainerScanRecipe operation
type DeleteContainerScanRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteContainerScanRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteContainerScanRecipeResponse) String() string
DeleteContainerScanResultRequest wrapper for the DeleteContainerScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteContainerScanResult.go.html to see an example of how to use DeleteContainerScanResultRequest.
type DeleteContainerScanResultRequest struct { // unique container scan identifier ContainerScanResultId *string `mandatory:"true" contributesTo:"path" name:"containerScanResultId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteContainerScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteContainerScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteContainerScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteContainerScanResultRequest) String() string
func (request DeleteContainerScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteContainerScanResultResponse wrapper for the DeleteContainerScanResult operation
type DeleteContainerScanResultResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteContainerScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteContainerScanResultResponse) String() string
DeleteContainerScanTargetRequest wrapper for the DeleteContainerScanTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteContainerScanTarget.go.html to see an example of how to use DeleteContainerScanTargetRequest.
type DeleteContainerScanTargetRequest struct { // unique ContainerScanTarget identifier ContainerScanTargetId *string `mandatory:"true" contributesTo:"path" name:"containerScanTargetId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteContainerScanTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteContainerScanTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteContainerScanTargetRequest) String() string
func (request DeleteContainerScanTargetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteContainerScanTargetResponse wrapper for the DeleteContainerScanTarget operation
type DeleteContainerScanTargetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteContainerScanTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteContainerScanTargetResponse) String() string
DeleteHostAgentScanResultRequest wrapper for the DeleteHostAgentScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteHostAgentScanResult.go.html to see an example of how to use DeleteHostAgentScanResultRequest.
type DeleteHostAgentScanResultRequest struct { // unique host agent scan identifier HostAgentScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostAgentScanResultId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteHostAgentScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostAgentScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostAgentScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostAgentScanResultRequest) String() string
func (request DeleteHostAgentScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostAgentScanResultResponse wrapper for the DeleteHostAgentScanResult operation
type DeleteHostAgentScanResultResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteHostAgentScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostAgentScanResultResponse) String() string
DeleteHostCisBenchmarkScanResultRequest wrapper for the DeleteHostCisBenchmarkScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteHostCisBenchmarkScanResult.go.html to see an example of how to use DeleteHostCisBenchmarkScanResultRequest.
type DeleteHostCisBenchmarkScanResultRequest struct { // unique host Cis benchmark scan identifier HostCisBenchmarkScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostCisBenchmarkScanResultId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteHostCisBenchmarkScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostCisBenchmarkScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostCisBenchmarkScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostCisBenchmarkScanResultRequest) String() string
func (request DeleteHostCisBenchmarkScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostCisBenchmarkScanResultResponse wrapper for the DeleteHostCisBenchmarkScanResult operation
type DeleteHostCisBenchmarkScanResultResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteHostCisBenchmarkScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostCisBenchmarkScanResultResponse) String() string
DeleteHostEndpointProtectionScanResultRequest wrapper for the DeleteHostEndpointProtectionScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteHostEndpointProtectionScanResult.go.html to see an example of how to use DeleteHostEndpointProtectionScanResultRequest.
type DeleteHostEndpointProtectionScanResultRequest struct { // unique host endpoint protection scan identifier HostEndpointProtectionScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostEndpointProtectionScanResultId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteHostEndpointProtectionScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostEndpointProtectionScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostEndpointProtectionScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostEndpointProtectionScanResultRequest) String() string
func (request DeleteHostEndpointProtectionScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostEndpointProtectionScanResultResponse wrapper for the DeleteHostEndpointProtectionScanResult operation
type DeleteHostEndpointProtectionScanResultResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteHostEndpointProtectionScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostEndpointProtectionScanResultResponse) String() string
DeleteHostPortScanResultRequest wrapper for the DeleteHostPortScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteHostPortScanResult.go.html to see an example of how to use DeleteHostPortScanResultRequest.
type DeleteHostPortScanResultRequest struct { // unique host port scan identifier HostPortScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostPortScanResultId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteHostPortScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostPortScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostPortScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostPortScanResultRequest) String() string
func (request DeleteHostPortScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostPortScanResultResponse wrapper for the DeleteHostPortScanResult operation
type DeleteHostPortScanResultResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteHostPortScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostPortScanResultResponse) String() string
DeleteHostScanRecipeRequest wrapper for the DeleteHostScanRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteHostScanRecipe.go.html to see an example of how to use DeleteHostScanRecipeRequest.
type DeleteHostScanRecipeRequest struct { // unique HostScanRecipe identifier HostScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"hostScanRecipeId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteHostScanRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostScanRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostScanRecipeRequest) String() string
func (request DeleteHostScanRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostScanRecipeResponse wrapper for the DeleteHostScanRecipe operation
type DeleteHostScanRecipeResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteHostScanRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostScanRecipeResponse) String() string
DeleteHostScanTargetRequest wrapper for the DeleteHostScanTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/DeleteHostScanTarget.go.html to see an example of how to use DeleteHostScanTargetRequest.
type DeleteHostScanTargetRequest struct { // unique HostScanTarget identifier HostScanTargetId *string `mandatory:"true" contributesTo:"path" name:"hostScanTargetId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteHostScanTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteHostScanTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteHostScanTargetRequest) String() string
func (request DeleteHostScanTargetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteHostScanTargetResponse wrapper for the DeleteHostScanTarget operation
type DeleteHostScanTargetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteHostScanTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteHostScanTargetResponse) String() string
ExportHostAgentScanResultCsvDetails Details for a HostAgentScan list export to CSV action
type ExportHostAgentScanResultCsvDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to list scans in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time after which scans were started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStartedAfter *common.SDKTime `mandatory:"true" json:"timeStartedAfter"` // Date and time before which scans were started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStartedBefore *common.SDKTime `mandatory:"true" json:"timeStartedBefore"` // Parameter to filter by highestProblemSeverity for scan results HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"false" json:"highestProblemSeverity,omitempty"` // Parameter to filter by a single compute instance ID for scan results InstanceId *string `mandatory:"false" json:"instanceId"` // Parameter to filter by operating system for scan results OperatingSystem *string `mandatory:"false" json:"operatingSystem"` }
func (m ExportHostAgentScanResultCsvDetails) String() string
func (m ExportHostAgentScanResultCsvDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExportHostAgentScanResultCsvRequest wrapper for the ExportHostAgentScanResultCsv operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ExportHostAgentScanResultCsv.go.html to see an example of how to use ExportHostAgentScanResultCsvRequest.
type ExportHostAgentScanResultCsvRequest struct { // Information on which scan results to export to CSV ExportHostAgentScanResultCsvDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ExportHostAgentScanResultCsvRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ExportHostAgentScanResultCsvRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExportHostAgentScanResultCsvRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExportHostAgentScanResultCsvRequest) String() string
func (request ExportHostAgentScanResultCsvRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExportHostAgentScanResultCsvResponse wrapper for the ExportHostAgentScanResultCsv operation
type ExportHostAgentScanResultCsvResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ExportHostAgentScanResultCsvResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExportHostAgentScanResultCsvResponse) String() string
ExportHostVulnerabilityCsvDetails Details for a Host Vulnerability list export to CSV action
type ExportHostVulnerabilityCsvDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to list vulnerabilities in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time on or after which this vulnerability was last detected, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeLastDetectedGreaterThanOrEqualTo *common.SDKTime `mandatory:"true" json:"timeLastDetectedGreaterThanOrEqualTo"` // Date and time on or before which this vulnerability was last detected, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeLastDetectedLessThanOrEqualTo *common.SDKTime `mandatory:"true" json:"timeLastDetectedLessThanOrEqualTo"` }
func (m ExportHostVulnerabilityCsvDetails) String() string
func (m ExportHostVulnerabilityCsvDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExportHostVulnerabilityCsvRequest wrapper for the ExportHostVulnerabilityCsv operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ExportHostVulnerabilityCsv.go.html to see an example of how to use ExportHostVulnerabilityCsvRequest.
type ExportHostVulnerabilityCsvRequest struct { // Information on which scan results to export to CSV ExportHostVulnerabilityCsvDetails `contributesTo:"body"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ExportHostVulnerabilityCsvRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ExportHostVulnerabilityCsvRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExportHostVulnerabilityCsvRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExportHostVulnerabilityCsvRequest) String() string
func (request ExportHostVulnerabilityCsvRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExportHostVulnerabilityCsvResponse wrapper for the ExportHostVulnerabilityCsv operation
type ExportHostVulnerabilityCsvResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ExportHostVulnerabilityCsvResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExportHostVulnerabilityCsvResponse) String() string
FolderToScan Folder selected for scanning
type FolderToScan struct { // Operating system type Operatingsystem OperatingSystemEnum `mandatory:"true" json:"operatingsystem"` // Folder to be scanned in the corresponding operating system Folder *string `mandatory:"true" json:"folder"` }
func (m FolderToScan) String() string
func (m FolderToScan) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetContainerScanRecipeRequest wrapper for the GetContainerScanRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetContainerScanRecipe.go.html to see an example of how to use GetContainerScanRecipeRequest.
type GetContainerScanRecipeRequest struct { // unique ContainerScanRecipe identifier ContainerScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"containerScanRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetContainerScanRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetContainerScanRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetContainerScanRecipeRequest) String() string
func (request GetContainerScanRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetContainerScanRecipeResponse wrapper for the GetContainerScanRecipe operation
type GetContainerScanRecipeResponse struct { // The underlying http response RawResponse *http.Response // The ContainerScanRecipe instance ContainerScanRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetContainerScanRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetContainerScanRecipeResponse) String() string
GetContainerScanResultRequest wrapper for the GetContainerScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetContainerScanResult.go.html to see an example of how to use GetContainerScanResultRequest.
type GetContainerScanResultRequest struct { // unique container scan identifier ContainerScanResultId *string `mandatory:"true" contributesTo:"path" name:"containerScanResultId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetContainerScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetContainerScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetContainerScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetContainerScanResultRequest) String() string
func (request GetContainerScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetContainerScanResultResponse wrapper for the GetContainerScanResult operation
type GetContainerScanResultResponse struct { // The underlying http response RawResponse *http.Response // The ContainerScanResult instance ContainerScanResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetContainerScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetContainerScanResultResponse) String() string
GetContainerScanTargetRequest wrapper for the GetContainerScanTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetContainerScanTarget.go.html to see an example of how to use GetContainerScanTargetRequest.
type GetContainerScanTargetRequest struct { // unique ContainerScanTarget identifier ContainerScanTargetId *string `mandatory:"true" contributesTo:"path" name:"containerScanTargetId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetContainerScanTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetContainerScanTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetContainerScanTargetRequest) String() string
func (request GetContainerScanTargetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetContainerScanTargetResponse wrapper for the GetContainerScanTarget operation
type GetContainerScanTargetResponse struct { // The underlying http response RawResponse *http.Response // The ContainerScanTarget instance ContainerScanTarget `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetContainerScanTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetContainerScanTargetResponse) String() string
GetHostAgentScanResultRequest wrapper for the GetHostAgentScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostAgentScanResult.go.html to see an example of how to use GetHostAgentScanResultRequest.
type GetHostAgentScanResultRequest struct { // unique host agent scan identifier HostAgentScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostAgentScanResultId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostAgentScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostAgentScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostAgentScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostAgentScanResultRequest) String() string
func (request GetHostAgentScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostAgentScanResultResponse wrapper for the GetHostAgentScanResult operation
type GetHostAgentScanResultResponse struct { // The underlying http response RawResponse *http.Response // The HostAgentScanResult instance HostAgentScanResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostAgentScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostAgentScanResultResponse) String() string
GetHostCisBenchmarkScanResultRequest wrapper for the GetHostCisBenchmarkScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostCisBenchmarkScanResult.go.html to see an example of how to use GetHostCisBenchmarkScanResultRequest.
type GetHostCisBenchmarkScanResultRequest struct { // unique host Cis benchmark scan identifier HostCisBenchmarkScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostCisBenchmarkScanResultId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostCisBenchmarkScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostCisBenchmarkScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostCisBenchmarkScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostCisBenchmarkScanResultRequest) String() string
func (request GetHostCisBenchmarkScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostCisBenchmarkScanResultResponse wrapper for the GetHostCisBenchmarkScanResult operation
type GetHostCisBenchmarkScanResultResponse struct { // The underlying http response RawResponse *http.Response // The HostCisBenchmarkScanResult instance HostCisBenchmarkScanResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostCisBenchmarkScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostCisBenchmarkScanResultResponse) String() string
GetHostEndpointProtectionScanResultRequest wrapper for the GetHostEndpointProtectionScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostEndpointProtectionScanResult.go.html to see an example of how to use GetHostEndpointProtectionScanResultRequest.
type GetHostEndpointProtectionScanResultRequest struct { // unique host endpoint protection scan identifier HostEndpointProtectionScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostEndpointProtectionScanResultId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostEndpointProtectionScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostEndpointProtectionScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostEndpointProtectionScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostEndpointProtectionScanResultRequest) String() string
func (request GetHostEndpointProtectionScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostEndpointProtectionScanResultResponse wrapper for the GetHostEndpointProtectionScanResult operation
type GetHostEndpointProtectionScanResultResponse struct { // The underlying http response RawResponse *http.Response // The HostEndpointProtectionScanResult instance HostEndpointProtectionScanResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostEndpointProtectionScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostEndpointProtectionScanResultResponse) String() string
GetHostPortScanResultRequest wrapper for the GetHostPortScanResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostPortScanResult.go.html to see an example of how to use GetHostPortScanResultRequest.
type GetHostPortScanResultRequest struct { // unique host port scan identifier HostPortScanResultId *string `mandatory:"true" contributesTo:"path" name:"hostPortScanResultId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostPortScanResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostPortScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostPortScanResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostPortScanResultRequest) String() string
func (request GetHostPortScanResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostPortScanResultResponse wrapper for the GetHostPortScanResult operation
type GetHostPortScanResultResponse struct { // The underlying http response RawResponse *http.Response // The HostPortScanResult instance HostPortScanResult `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostPortScanResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostPortScanResultResponse) String() string
GetHostScanRecipeRequest wrapper for the GetHostScanRecipe operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostScanRecipe.go.html to see an example of how to use GetHostScanRecipeRequest.
type GetHostScanRecipeRequest struct { // unique HostScanRecipe identifier HostScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"hostScanRecipeId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostScanRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostScanRecipeRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostScanRecipeRequest) String() string
func (request GetHostScanRecipeRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostScanRecipeResponse wrapper for the GetHostScanRecipe operation
type GetHostScanRecipeResponse struct { // The underlying http response RawResponse *http.Response // The HostScanRecipe instance HostScanRecipe `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostScanRecipeResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostScanRecipeResponse) String() string
GetHostScanTargetRequest wrapper for the GetHostScanTarget operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostScanTarget.go.html to see an example of how to use GetHostScanTargetRequest.
type GetHostScanTargetRequest struct { // unique HostScanTarget identifier HostScanTargetId *string `mandatory:"true" contributesTo:"path" name:"hostScanTargetId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostScanTargetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostScanTargetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostScanTargetRequest) String() string
func (request GetHostScanTargetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostScanTargetResponse wrapper for the GetHostScanTarget operation
type GetHostScanTargetResponse struct { // The underlying http response RawResponse *http.Response // The HostScanTarget instance HostScanTarget `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostScanTargetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostScanTargetResponse) String() string
GetHostVulnerabilityRequest wrapper for the GetHostVulnerability operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetHostVulnerability.go.html to see an example of how to use GetHostVulnerabilityRequest.
type GetHostVulnerabilityRequest struct { // unique host scan vulnerability identifier HostVulnerabilityId *string `mandatory:"true" contributesTo:"path" name:"hostVulnerabilityId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetHostVulnerabilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetHostVulnerabilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetHostVulnerabilityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetHostVulnerabilityRequest) String() string
func (request GetHostVulnerabilityRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetHostVulnerabilityResponse wrapper for the GetHostVulnerability operation
type GetHostVulnerabilityResponse struct { // The underlying http response RawResponse *http.Response // The HostVulnerability instance HostVulnerability `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetHostVulnerabilityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetHostVulnerabilityResponse) String() string
GetVulnerabilityRequest wrapper for the GetVulnerability operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetVulnerability.go.html to see an example of how to use GetVulnerabilityRequest.
type GetVulnerabilityRequest struct { // unique vulnerability identifier VulnerabilityId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetVulnerabilityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetVulnerabilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetVulnerabilityRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetVulnerabilityRequest) String() string
func (request GetVulnerabilityRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetVulnerabilityResponse wrapper for the GetVulnerability operation
type GetVulnerabilityResponse struct { // The underlying http response RawResponse *http.Response // The Vulnerability instance Vulnerability `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetVulnerabilityResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetVulnerabilityResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `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"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
HostAgentScanLevelEnum Enum with underlying type: string
type HostAgentScanLevelEnum string
Set of constants representing the allowable values for HostAgentScanLevelEnum
const ( HostAgentScanLevelNone HostAgentScanLevelEnum = "NONE" HostAgentScanLevelStandard HostAgentScanLevelEnum = "STANDARD" )
func GetHostAgentScanLevelEnumValues() []HostAgentScanLevelEnum
GetHostAgentScanLevelEnumValues Enumerates the set of values for HostAgentScanLevelEnum
func GetMappingHostAgentScanLevelEnum(val string) (HostAgentScanLevelEnum, bool)
GetMappingHostAgentScanLevelEnum performs case Insensitive comparison on enum value and return the desired enum
HostAgentScanResult A scan result for a host agent scan
type HostAgentScanResult struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Highest problem severity in this report HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"highestProblemSeverity"` // Operating system of the host OperatingSystem *string `mandatory:"true" json:"operatingSystem"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // List of problems found in this scan Problems []HostAgentScanResultProblem `mandatory:"true" json:"problems"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // Kernel version of the operating system KernelVersion *string `mandatory:"false" json:"kernelVersion"` // Total number of problems found in this scan ProblemCount *int `mandatory:"false" json:"problemCount"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Vendor which was used for this host scan agent. Vendor VendorTypeEnum `mandatory:"false" json:"vendor,omitempty"` }
func (m HostAgentScanResult) String() string
func (m HostAgentScanResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostAgentScanResultProblem A problem found in a host agent scan
type HostAgentScanResultProblem struct { // Name of the problem Name *string `mandatory:"true" json:"name"` // Problem severity Severity ScanResultProblemSeverityEnum `mandatory:"true" json:"severity"` // Problem description Description *string `mandatory:"false" json:"description"` // State of the vulnerability State ScanResultVulnerabilityStateEnum `mandatory:"false" json:"state,omitempty"` // Reference to problem MITRE CVE ID CveReference *string `mandatory:"false" json:"cveReference"` // Reference to problem issue ID IssueId *int `mandatory:"false" json:"issueId"` // Date of scan result that first reported the vulnerability TimeFirstDetected *common.SDKTime `mandatory:"false" json:"timeFirstDetected"` // Date of scan result that most recently reported the vulnerability TimeLastDetected *common.SDKTime `mandatory:"false" json:"timeLastDetected"` // Packages in which the problem is detected VulnerablePackages []ModelPackage `mandatory:"false" json:"vulnerablePackages"` }
func (m HostAgentScanResultProblem) String() string
func (m HostAgentScanResultProblem) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostAgentScanResultSortByEnum Enum with underlying type: string
type HostAgentScanResultSortByEnum string
Set of constants representing the allowable values for HostAgentScanResultSortByEnum
const ( HostAgentScanResultSortByTimeStarted HostAgentScanResultSortByEnum = "timeStarted" HostAgentScanResultSortByTimeFinished HostAgentScanResultSortByEnum = "timeFinished" HostAgentScanResultSortByProblemCount HostAgentScanResultSortByEnum = "problemCount" HostAgentScanResultSortByHighestProblemSeverity HostAgentScanResultSortByEnum = "highestProblemSeverity" HostAgentScanResultSortByTimeCompleted HostAgentScanResultSortByEnum = "timeCompleted" )
func GetHostAgentScanResultSortByEnumValues() []HostAgentScanResultSortByEnum
GetHostAgentScanResultSortByEnumValues Enumerates the set of values for HostAgentScanResultSortByEnum
func GetMappingHostAgentScanResultSortByEnum(val string) (HostAgentScanResultSortByEnum, bool)
GetMappingHostAgentScanResultSortByEnum performs case Insensitive comparison on enum value and return the desired enum
HostAgentScanResultSummary A summary of a result for a host agent scan
type HostAgentScanResultSummary struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Highest problem severity in this report HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"highestProblemSeverity"` // Operating system of the host OperatingSystem *string `mandatory:"true" json:"operatingSystem"` // Total number of problems found in this scan ProblemCount *int `mandatory:"true" json:"problemCount"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Vendor which was used for this host scan agent. Vendor VendorTypeEnum `mandatory:"false" json:"vendor,omitempty"` }
func (m HostAgentScanResultSummary) String() string
func (m HostAgentScanResultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostAgentScanResultSummaryCollection A collection of HostAgentScanResultSummary
type HostAgentScanResultSummaryCollection struct { // The HostAgentScanResultSummary objects in the collection Items []HostAgentScanResultSummary `mandatory:"true" json:"items"` }
func (m HostAgentScanResultSummaryCollection) String() string
func (m HostAgentScanResultSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCisBenchmarkScanLevelEnum Enum with underlying type: string
type HostCisBenchmarkScanLevelEnum string
Set of constants representing the allowable values for HostCisBenchmarkScanLevelEnum
const ( HostCisBenchmarkScanLevelNone HostCisBenchmarkScanLevelEnum = "NONE" HostCisBenchmarkScanLevelLight HostCisBenchmarkScanLevelEnum = "LIGHT" HostCisBenchmarkScanLevelMedium HostCisBenchmarkScanLevelEnum = "MEDIUM" HostCisBenchmarkScanLevelStrict HostCisBenchmarkScanLevelEnum = "STRICT" )
func GetHostCisBenchmarkScanLevelEnumValues() []HostCisBenchmarkScanLevelEnum
GetHostCisBenchmarkScanLevelEnumValues Enumerates the set of values for HostCisBenchmarkScanLevelEnum
func GetMappingHostCisBenchmarkScanLevelEnum(val string) (HostCisBenchmarkScanLevelEnum, bool)
GetMappingHostCisBenchmarkScanLevelEnum performs case Insensitive comparison on enum value and return the desired enum
HostCisBenchmarkScanResult A scan result of all CIS (Center for Internet Security) benchmark execution for this host
type HostCisBenchmarkScanResult struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // Total number of CIS (Center for Internet Security) benchmark issues found in this scan CisBenchmarkScanIssuesCount *int `mandatory:"true" json:"cisBenchmarkScanIssuesCount"` // A single CIS (Center for Internet Security) benchmark scan executed on a host. CisBenchmarkScanResultScores []HostCisBenchmarkScanResultScore `mandatory:"true" json:"cisBenchmarkScanResultScores"` // Name of the result DisplayName *string `mandatory:"false" json:"displayName"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostCisBenchmarkScanResult) String() string
func (m HostCisBenchmarkScanResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCisBenchmarkScanResultScore A single CIS (Center for Internet Security) benchmark executed in a host scan
type HostCisBenchmarkScanResultScore struct { // Identifier for this CIS (Center for Internet Security) benchmark BenchmarkIdentifier *string `mandatory:"true" json:"benchmarkIdentifier"` // Details about what this CIS (Center for Internet Security) benchmark represents Description *string `mandatory:"true" json:"description"` // Result score of CIS (Center for Internet Security) benchmark execution (Pass/Fail) Score ScanResultScoreEnum `mandatory:"true" json:"score"` }
func (m HostCisBenchmarkScanResultScore) String() string
func (m HostCisBenchmarkScanResultScore) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCisBenchmarkScanResultSortByEnum Enum with underlying type: string
type HostCisBenchmarkScanResultSortByEnum string
Set of constants representing the allowable values for HostCisBenchmarkScanResultSortByEnum
const ( HostCisBenchmarkScanResultSortByTimeStarted HostCisBenchmarkScanResultSortByEnum = "timeStarted" HostCisBenchmarkScanResultSortByTimeFinished HostCisBenchmarkScanResultSortByEnum = "timeFinished" HostCisBenchmarkScanResultSortByCisBenchmarkScanIssuesCount HostCisBenchmarkScanResultSortByEnum = "cisBenchmarkScanIssuesCount" )
func GetHostCisBenchmarkScanResultSortByEnumValues() []HostCisBenchmarkScanResultSortByEnum
GetHostCisBenchmarkScanResultSortByEnumValues Enumerates the set of values for HostCisBenchmarkScanResultSortByEnum
func GetMappingHostCisBenchmarkScanResultSortByEnum(val string) (HostCisBenchmarkScanResultSortByEnum, bool)
GetMappingHostCisBenchmarkScanResultSortByEnum performs case Insensitive comparison on enum value and return the desired enum
HostCisBenchmarkScanResultSummary A summary of a result for all CIS (Center for Internet Security) benchmark execution for this host
type HostCisBenchmarkScanResultSummary struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // Total number of CIS (Center for Internet Security) benchmark issues found in this scan CisBenchmarkScanIssuesCount *int `mandatory:"true" json:"cisBenchmarkScanIssuesCount"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostCisBenchmarkScanResultSummary) String() string
func (m HostCisBenchmarkScanResultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCisBenchmarkScanResultSummaryCollection A collection of multiple Host CIS (Center for Internet Security) Benchmark Scan Result Summary
type HostCisBenchmarkScanResultSummaryCollection struct { // The HostCisBenchmarkScanResultSummary objects in the collection Items []HostCisBenchmarkScanResultSummary `mandatory:"true" json:"items"` }
func (m HostCisBenchmarkScanResultSummaryCollection) String() string
func (m HostCisBenchmarkScanResultSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostCisBenchmarkSettings CIS (Center for Internet Security) Benchmark scan settings for a host scan
type HostCisBenchmarkSettings struct { // The level of strictness to apply for CIS Benchmarks. Use 'NONE' to disable CIS Benchmark checks entirely. ScanLevel HostCisBenchmarkScanLevelEnum `mandatory:"false" json:"scanLevel,omitempty"` }
func (m HostCisBenchmarkSettings) String() string
func (m HostCisBenchmarkSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostEndpointProtectionScanLevelEnum Enum with underlying type: string
type HostEndpointProtectionScanLevelEnum string
Set of constants representing the allowable values for HostEndpointProtectionScanLevelEnum
const ( HostEndpointProtectionScanLevelNone HostEndpointProtectionScanLevelEnum = "NONE" HostEndpointProtectionScanLevelStandard HostEndpointProtectionScanLevelEnum = "STANDARD" )
func GetHostEndpointProtectionScanLevelEnumValues() []HostEndpointProtectionScanLevelEnum
GetHostEndpointProtectionScanLevelEnumValues Enumerates the set of values for HostEndpointProtectionScanLevelEnum
func GetMappingHostEndpointProtectionScanLevelEnum(val string) (HostEndpointProtectionScanLevelEnum, bool)
GetMappingHostEndpointProtectionScanLevelEnum performs case Insensitive comparison on enum value and return the desired enum
HostEndpointProtectionScanResult A scan result for a host endpoint protection scan
type HostEndpointProtectionScanResult struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // Problem severity in this report ProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"problemSeverity"` // Total number of endpoint protections found in this scan EndpointProtectionsCount *int `mandatory:"true" json:"endpointProtectionsCount"` // List of endpoint protections found in this scan EndpointProtections []HostEndpointProtectionScanResultEndpointProtection `mandatory:"true" json:"endpointProtections"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostEndpointProtectionScanResult) String() string
func (m HostEndpointProtectionScanResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostEndpointProtectionScanResultEndpointProtection An endpoint protection found in a host scan
type HostEndpointProtectionScanResultEndpointProtection struct { // Name of endpoint protection service Service *string `mandatory:"true" json:"service"` // Configuration information for endpoint protection service at the time of scan ConfigurationFinding *string `mandatory:"true" json:"configurationFinding"` // Date and time endpoint protection signature was updated, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeSignatureUpdated *common.SDKTime `mandatory:"true" json:"timeSignatureUpdated"` // Problem severity Severity ScanResultProblemSeverityEnum `mandatory:"true" json:"severity"` }
func (m HostEndpointProtectionScanResultEndpointProtection) String() string
func (m HostEndpointProtectionScanResultEndpointProtection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostEndpointProtectionScanResultSortByEnum Enum with underlying type: string
type HostEndpointProtectionScanResultSortByEnum string
Set of constants representing the allowable values for HostEndpointProtectionScanResultSortByEnum
const ( HostEndpointProtectionScanResultSortByTimeStarted HostEndpointProtectionScanResultSortByEnum = "timeStarted" HostEndpointProtectionScanResultSortByTimeFinished HostEndpointProtectionScanResultSortByEnum = "timeFinished" HostEndpointProtectionScanResultSortByProblemSeverity HostEndpointProtectionScanResultSortByEnum = "problemSeverity" )
func GetHostEndpointProtectionScanResultSortByEnumValues() []HostEndpointProtectionScanResultSortByEnum
GetHostEndpointProtectionScanResultSortByEnumValues Enumerates the set of values for HostEndpointProtectionScanResultSortByEnum
func GetMappingHostEndpointProtectionScanResultSortByEnum(val string) (HostEndpointProtectionScanResultSortByEnum, bool)
GetMappingHostEndpointProtectionScanResultSortByEnum performs case Insensitive comparison on enum value and return the desired enum
HostEndpointProtectionScanResultSummary A summary of a result for endpoint protections found in a host scan
type HostEndpointProtectionScanResultSummary struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // Problem severity in this report ProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"problemSeverity"` // Total number of endpoint protections found in this scan EndpointProtectionsCount *int `mandatory:"true" json:"endpointProtectionsCount"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostEndpointProtectionScanResultSummary) String() string
func (m HostEndpointProtectionScanResultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostEndpointProtectionScanResultSummaryCollection A collection of multiple Host EndpointProtection Scan Result Summary
type HostEndpointProtectionScanResultSummaryCollection struct { // The HostEndpointProtectionScanResultSummary objects in the collection Items []HostEndpointProtectionScanResultSummary `mandatory:"true" json:"items"` }
func (m HostEndpointProtectionScanResultSummaryCollection) String() string
func (m HostEndpointProtectionScanResultSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostEndpointProtectionSettings Endpoint Protection scan settings for a host scan
type HostEndpointProtectionSettings struct { // The scan level. Use 'NONE' to disable Endpoint Protection checks entirely. ScanLevel HostEndpointProtectionScanLevelEnum `mandatory:"false" json:"scanLevel,omitempty"` }
func (m HostEndpointProtectionSettings) String() string
func (m HostEndpointProtectionSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostPortScanLevelEnum Enum with underlying type: string
type HostPortScanLevelEnum string
Set of constants representing the allowable values for HostPortScanLevelEnum
const ( HostPortScanLevelNone HostPortScanLevelEnum = "NONE" HostPortScanLevelLight HostPortScanLevelEnum = "LIGHT" HostPortScanLevelStandard HostPortScanLevelEnum = "STANDARD" )
func GetHostPortScanLevelEnumValues() []HostPortScanLevelEnum
GetHostPortScanLevelEnumValues Enumerates the set of values for HostPortScanLevelEnum
func GetMappingHostPortScanLevelEnum(val string) (HostPortScanLevelEnum, bool)
GetMappingHostPortScanLevelEnum performs case Insensitive comparison on enum value and return the desired enum
HostPortScanResult A scan result for a host port scan
type HostPortScanResult struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Highest problem severity in this report HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"highestProblemSeverity"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // List of open ports (including interface) found in this scan OpenPorts []HostPortScanResultOpenPort `mandatory:"true" json:"openPorts"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // Total number of open ports across all attached VNICs found in this scan OpenPortCount *int `mandatory:"false" json:"openPortCount"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostPortScanResult) String() string
func (m HostPortScanResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostPortScanResultOpenPort An open port found in a host port scan
type HostPortScanResultOpenPort struct { // Open port Port *int `mandatory:"true" json:"port"` // Protocol of the open port Protocol *string `mandatory:"true" json:"protocol"` // IP Address open port was found on IpAddress *string `mandatory:"true" json:"ipAddress"` // ID of the attached VNIC that exposed the IP Address scanned VnicId *string `mandatory:"true" json:"vnicId"` // Problem severity Severity ScanResultProblemSeverityEnum `mandatory:"true" json:"severity"` // Service running on the port (if detected) Service *string `mandatory:"false" json:"service"` }
func (m HostPortScanResultOpenPort) String() string
func (m HostPortScanResultOpenPort) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostPortScanResultSortByEnum Enum with underlying type: string
type HostPortScanResultSortByEnum string
Set of constants representing the allowable values for HostPortScanResultSortByEnum
const ( HostPortScanResultSortByTimeStarted HostPortScanResultSortByEnum = "timeStarted" HostPortScanResultSortByTimeFinished HostPortScanResultSortByEnum = "timeFinished" HostPortScanResultSortByOpenPortCount HostPortScanResultSortByEnum = "openPortCount" HostPortScanResultSortByHighestProblemSeverity HostPortScanResultSortByEnum = "highestProblemSeverity" HostPortScanResultSortByTimeCompleted HostPortScanResultSortByEnum = "timeCompleted" )
func GetHostPortScanResultSortByEnumValues() []HostPortScanResultSortByEnum
GetHostPortScanResultSortByEnumValues Enumerates the set of values for HostPortScanResultSortByEnum
func GetMappingHostPortScanResultSortByEnum(val string) (HostPortScanResultSortByEnum, bool)
GetMappingHostPortScanResultSortByEnum performs case Insensitive comparison on enum value and return the desired enum
HostPortScanResultSummary A summary of a result for a host agent scan
type HostPortScanResultSummary struct { // Unique identifier of the scan Id *string `mandatory:"true" json:"id"` // Instance ID of the Compute Instance scanned InstanceId *string `mandatory:"true" json:"instanceId"` // Compartment ID of the resource. This is set to the same as the compartment ID of the scan target CompartmentId *string `mandatory:"true" json:"compartmentId"` // Highest problem severity in this report HighestProblemSeverity ScanResultProblemSeverityEnum `mandatory:"true" json:"highestProblemSeverity"` // Total number of open ports across all attached VNICs found in this scan OpenPortCount *int `mandatory:"true" json:"openPortCount"` // Date and time the scan was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` // Name of the resource DisplayName *string `mandatory:"false" json:"displayName"` // The current state of the result. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostPortScanResultSummary) String() string
func (m HostPortScanResultSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostPortScanResultSummaryCollection A collection of HostPortScanResultSummary
type HostPortScanResultSummaryCollection struct { // The HostPortScanResultSummary objects in the collection Items []HostPortScanResultSummary `mandatory:"true" json:"items"` }
func (m HostPortScanResultSummaryCollection) String() string
func (m HostPortScanResultSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanAgentConfiguration Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.
type HostScanAgentConfiguration interface { // Vendor to use for the host scan agent. GetVendorType() VendorTypeEnum }
HostScanAgentConfigurationOci Agent configuration options for the OCI host scan agent
type HostScanAgentConfigurationOci struct { CisBenchmarkSettings *HostCisBenchmarkSettings `mandatory:"false" json:"cisBenchmarkSettings"` EndpointProtectionSettings *HostEndpointProtectionSettings `mandatory:"false" json:"endpointProtectionSettings"` // Vendor to use for the host scan agent. VendorType VendorTypeEnum `mandatory:"false" json:"vendorType,omitempty"` }
func (m HostScanAgentConfigurationOci) GetVendorType() VendorTypeEnum
GetVendorType returns VendorType
func (m HostScanAgentConfigurationOci) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostScanAgentConfigurationOci) String() string
func (m HostScanAgentConfigurationOci) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanAgentConfigurationQualys Agent configuration options for vendor Qualys.
type HostScanAgentConfigurationQualys struct { // Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license. VaultSecretId *string `mandatory:"true" json:"vaultSecretId"` // Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped. ShouldUnInstall *bool `mandatory:"true" json:"shouldUnInstall"` // Vendor to use for the host scan agent. VendorType VendorTypeEnum `mandatory:"false" json:"vendorType,omitempty"` }
func (m HostScanAgentConfigurationQualys) GetVendorType() VendorTypeEnum
GetVendorType returns VendorType
func (m HostScanAgentConfigurationQualys) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HostScanAgentConfigurationQualys) String() string
func (m HostScanAgentConfigurationQualys) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanAgentSettings Agent scan settings for a host scan
type HostScanAgentSettings struct { // The scan level ScanLevel HostAgentScanLevelEnum `mandatory:"true" json:"scanLevel"` AgentConfiguration HostScanAgentConfiguration `mandatory:"false" json:"agentConfiguration"` }
func (m HostScanAgentSettings) String() string
func (m *HostScanAgentSettings) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m HostScanAgentSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanPortSettings Port scan settings for a host scan
type HostScanPortSettings struct { // The scan level ScanLevel HostPortScanLevelEnum `mandatory:"true" json:"scanLevel"` }
func (m HostScanPortSettings) String() string
func (m HostScanPortSettings) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanRecipe A host scan recipe (collection of host scanning configuration settings)
type HostScanRecipe struct { // Unique identifier of the config that is immutable on creation Id *string `mandatory:"true" json:"id"` // Recipe identifier, which can be renamed DisplayName *string `mandatory:"true" json:"displayName"` // Compartment ID of the scan recipe CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the recipe was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the recipe was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` PortSettings *HostScanPortSettings `mandatory:"true" json:"portSettings"` AgentSettings *HostScanAgentSettings `mandatory:"true" json:"agentSettings"` Schedule *Schedule `mandatory:"true" json:"schedule"` ApplicationSettings *ApplicationScanSettings `mandatory:"false" json:"applicationSettings"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m HostScanRecipe) String() string
func (m HostScanRecipe) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanRecipeSummary Summary of a host scan recipe (collection of host scanning configuration settings)
type HostScanRecipeSummary struct { // Unique identifier of the config that is immutable on creation Id *string `mandatory:"true" json:"id"` // Recipe identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment ID of the scan recipe CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the recipe was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the recipe was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m HostScanRecipeSummary) String() string
func (m HostScanRecipeSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanRecipeSummaryCollection A collection of HostScanRecipeSummary objects
type HostScanRecipeSummaryCollection struct { // The HostScanRecipeSummary objects in the collection Items []HostScanRecipeSummary `mandatory:"true" json:"items"` }
func (m HostScanRecipeSummaryCollection) String() string
func (m HostScanRecipeSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanTarget A host scan target (application of a host scan recipe to a compartment or list of hosts)
type HostScanTarget struct { // Unique identifier of the config that is immutable on creation Id *string `mandatory:"true" json:"id"` // Target identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment ID of the object (this). CompartmentId *string `mandatory:"true" json:"compartmentId"` // Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` // ID of the host scan recipe this target applies. HostScanRecipeId *string `mandatory:"true" json:"hostScanRecipeId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the target was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the target was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Target description. Description *string `mandatory:"false" json:"description"` // List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. InstanceIds []string `mandatory:"false" json:"instanceIds"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m HostScanTarget) String() string
func (m HostScanTarget) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanTargetErrorSummary One of the error during scanning on instances associated with a host scan target (application of a host scan recipe to a compartment or list of hosts).
type HostScanTargetErrorSummary struct { // Vendor which was used for the host scan agent. Vendor VendorTypeEnum `mandatory:"true" json:"vendor"` // Error message detailing task failure. Message *string `mandatory:"true" json:"message"` // OCID of the host instance where scan was done. InstanceId *string `mandatory:"true" json:"instanceId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the error was updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Task during scan which failed. Task *string `mandatory:"false" json:"task"` // Error code of task failure. ErrorCode *string `mandatory:"false" json:"errorCode"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m HostScanTargetErrorSummary) String() string
func (m HostScanTargetErrorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanTargetErrorSummaryCollection A collection of HostScanTargetError objects.
type HostScanTargetErrorSummaryCollection struct { // The HostScanTargetError objects in the collection. Items []HostScanTargetErrorSummary `mandatory:"true" json:"items"` }
func (m HostScanTargetErrorSummaryCollection) String() string
func (m HostScanTargetErrorSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanTargetSummary Summary of a host scan target (application of a host scan recipe to a compartment or list of hosts)
type HostScanTargetSummary struct { // Unique identifier of the config that is immutable on creation Id *string `mandatory:"true" json:"id"` // Target identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment ID of the object (this). CompartmentId *string `mandatory:"true" json:"compartmentId"` // Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` // ID of the host scan recipe this target applies. HostScanRecipeId *string `mandatory:"true" json:"hostScanRecipeId"` // The current state of the config. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Date and time the target was created, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the target was last updated, format as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. InstanceIds []string `mandatory:"false" json:"instanceIds"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m HostScanTargetSummary) String() string
func (m HostScanTargetSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostScanTargetSummaryCollection A collection of HostScanTargetSummary objects
type HostScanTargetSummaryCollection struct { // The HostScanTargetSummary objects in the collection Items []HostScanTargetSummary `mandatory:"true" json:"items"` }
func (m HostScanTargetSummaryCollection) String() string
func (m HostScanTargetSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostVulnerability A vulnerability found in one or more host scans in a compartment
type HostVulnerability struct { // ID of the vulnerability Id *string `mandatory:"true" json:"id"` // Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments, based on scan target location CompartmentId *string `mandatory:"true" json:"compartmentId"` // Severity of the vulnerability Severity ScanResultProblemSeverityEnum `mandatory:"true" json:"severity"` // Vulnerability name Name *string `mandatory:"true" json:"name"` // Date of scan result that most recently reported the vulnerability TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"` // Date of scan result that first reported the vulnerability TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"` // Number of scanned hosts in this compartment whose scan results currently report this vulnerability HostCount *int `mandatory:"true" json:"hostCount"` // Specifies the type of Vulnerability VulnerabilityType VulnerabilityTypeEnum `mandatory:"true" json:"vulnerabilityType"` // Mechanism used for scan authentication Authentication *string `mandatory:"false" json:"authentication"` // Reference to MITRE CVE ID CveReference *string `mandatory:"false" json:"cveReference"` CveDetails *CveDetails `mandatory:"false" json:"cveDetails"` // State of the vulnerability State ScanResultVulnerabilityStateEnum `mandatory:"false" json:"state,omitempty"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostVulnerability) String() string
func (m HostVulnerability) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostVulnerabilityImpactedHostSummary Information on a host impacted by a vulnerability
type HostVulnerabilityImpactedHostSummary struct { // The compute instance ID of the impacted host InstanceId *string `mandatory:"true" json:"instanceId"` // The compartment ID of the impacted host CompartmentId *string `mandatory:"true" json:"compartmentId"` // The ID of the last host agent scan result LastAgentScanId *string `mandatory:"true" json:"lastAgentScanId"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostVulnerabilityImpactedHostSummary) String() string
func (m HostVulnerabilityImpactedHostSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostVulnerabilityImpactedHostSummaryCollection A collection of HostVulnerabilityImpactedHost
type HostVulnerabilityImpactedHostSummaryCollection struct { // The ImpactedHostSummary objects in the collection Items []HostVulnerabilityImpactedHostSummary `mandatory:"true" json:"items"` }
func (m HostVulnerabilityImpactedHostSummaryCollection) String() string
func (m HostVulnerabilityImpactedHostSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostVulnerabilitySortByEnum Enum with underlying type: string
type HostVulnerabilitySortByEnum string
Set of constants representing the allowable values for HostVulnerabilitySortByEnum
const ( HostVulnerabilitySortByName HostVulnerabilitySortByEnum = "name" HostVulnerabilitySortBySeverity HostVulnerabilitySortByEnum = "severity" HostVulnerabilitySortByImpactedHosts HostVulnerabilitySortByEnum = "impactedHosts" HostVulnerabilitySortByFirstDetected HostVulnerabilitySortByEnum = "firstDetected" HostVulnerabilitySortByLastDetected HostVulnerabilitySortByEnum = "lastDetected" )
func GetHostVulnerabilitySortByEnumValues() []HostVulnerabilitySortByEnum
GetHostVulnerabilitySortByEnumValues Enumerates the set of values for HostVulnerabilitySortByEnum
func GetMappingHostVulnerabilitySortByEnum(val string) (HostVulnerabilitySortByEnum, bool)
GetMappingHostVulnerabilitySortByEnum performs case Insensitive comparison on enum value and return the desired enum
HostVulnerabilitySummary Summary of a host scan vulnerability
type HostVulnerabilitySummary struct { // ID of the vulnerability Id *string `mandatory:"true" json:"id"` // Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Severity of the vulnerability Severity ScanResultProblemSeverityEnum `mandatory:"true" json:"severity"` // Vulnerability name Name *string `mandatory:"true" json:"name"` // Date of scan result that most recently reported the vulnerability TimeLastDetected *common.SDKTime `mandatory:"true" json:"timeLastDetected"` // Date of scan result that first reported the vulnerability TimeFirstDetected *common.SDKTime `mandatory:"true" json:"timeFirstDetected"` // Number of scanned hosts in this compartment whose scan results currently report this vulnerability HostCount *int `mandatory:"true" json:"hostCount"` // Specifies the type of Vulnerability VulnerabilityType VulnerabilityTypeEnum `mandatory:"true" json:"vulnerabilityType"` // Reference to MITRE CVE ID CveReference *string `mandatory:"false" json:"cveReference"` // State of the vulnerability State ScanResultVulnerabilityStateEnum `mandatory:"false" json:"state,omitempty"` // The current state of the resource. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m HostVulnerabilitySummary) String() string
func (m HostVulnerabilitySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HostVulnerabilitySummaryCollection A collection of HostVulnerabilitySummary
type HostVulnerabilitySummaryCollection struct { // The HostVulnerabilitySummary objects in the collection Items []HostVulnerabilitySummary `mandatory:"true" json:"items"` }
func (m HostVulnerabilitySummaryCollection) String() string
func (m HostVulnerabilitySummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ImpactedHostSortByEnum Enum with underlying type: string
type ImpactedHostSortByEnum string
Set of constants representing the allowable values for ImpactedHostSortByEnum
const ( ImpactedHostSortByInstanceId ImpactedHostSortByEnum = "instanceId" )
func GetImpactedHostSortByEnumValues() []ImpactedHostSortByEnum
GetImpactedHostSortByEnumValues Enumerates the set of values for ImpactedHostSortByEnum
func GetMappingImpactedHostSortByEnum(val string) (ImpactedHostSortByEnum, bool)
GetMappingImpactedHostSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ImpactedResourcesCount Number of resources impacted in this compartment whose scan results currently report this vulnerability
type ImpactedResourcesCount struct { // Number of scanned hosts in this compartment whose scan results currently report this vulnerability HostCount *int `mandatory:"true" json:"hostCount"` // Number of scanned container images in this compartment whose scan results currently report this vulnerability ImageCount *int `mandatory:"true" json:"imageCount"` }
func (m ImpactedResourcesCount) String() string
func (m ImpactedResourcesCount) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanRecipesLifecycleStateEnum Enum with underlying type: string
type ListContainerScanRecipesLifecycleStateEnum string
Set of constants representing the allowable values for ListContainerScanRecipesLifecycleStateEnum
const ( ListContainerScanRecipesLifecycleStateCreating ListContainerScanRecipesLifecycleStateEnum = "CREATING" ListContainerScanRecipesLifecycleStateUpdating ListContainerScanRecipesLifecycleStateEnum = "UPDATING" ListContainerScanRecipesLifecycleStateActive ListContainerScanRecipesLifecycleStateEnum = "ACTIVE" ListContainerScanRecipesLifecycleStateDeleting ListContainerScanRecipesLifecycleStateEnum = "DELETING" ListContainerScanRecipesLifecycleStateDeleted ListContainerScanRecipesLifecycleStateEnum = "DELETED" ListContainerScanRecipesLifecycleStateFailed ListContainerScanRecipesLifecycleStateEnum = "FAILED" )
func GetListContainerScanRecipesLifecycleStateEnumValues() []ListContainerScanRecipesLifecycleStateEnum
GetListContainerScanRecipesLifecycleStateEnumValues Enumerates the set of values for ListContainerScanRecipesLifecycleStateEnum
func GetMappingListContainerScanRecipesLifecycleStateEnum(val string) (ListContainerScanRecipesLifecycleStateEnum, bool)
GetMappingListContainerScanRecipesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanRecipesRequest wrapper for the ListContainerScanRecipes operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ListContainerScanRecipes.go.html to see an example of how to use ListContainerScanRecipesRequest.
type ListContainerScanRecipesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources whose lifecycleState matches the given lifecycleState. LifecycleState ListContainerScanRecipesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListContainerScanRecipesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListContainerScanRecipesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListContainerScanRecipesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListContainerScanRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListContainerScanRecipesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListContainerScanRecipesRequest) String() string
func (request ListContainerScanRecipesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListContainerScanRecipesResponse wrapper for the ListContainerScanRecipes operation
type ListContainerScanRecipesResponse struct { // The underlying http response RawResponse *http.Response // A list of ContainerScanRecipeSummaryCollection instances ContainerScanRecipeSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListContainerScanRecipesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListContainerScanRecipesResponse) String() string
ListContainerScanRecipesSortByEnum Enum with underlying type: string
type ListContainerScanRecipesSortByEnum string
Set of constants representing the allowable values for ListContainerScanRecipesSortByEnum
const ( ListContainerScanRecipesSortByTimecreated ListContainerScanRecipesSortByEnum = "timeCreated" ListContainerScanRecipesSortByDisplayname ListContainerScanRecipesSortByEnum = "displayName" )
func GetListContainerScanRecipesSortByEnumValues() []ListContainerScanRecipesSortByEnum
GetListContainerScanRecipesSortByEnumValues Enumerates the set of values for ListContainerScanRecipesSortByEnum
func GetMappingListContainerScanRecipesSortByEnum(val string) (ListContainerScanRecipesSortByEnum, bool)
GetMappingListContainerScanRecipesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanRecipesSortOrderEnum Enum with underlying type: string
type ListContainerScanRecipesSortOrderEnum string
Set of constants representing the allowable values for ListContainerScanRecipesSortOrderEnum
const ( ListContainerScanRecipesSortOrderAsc ListContainerScanRecipesSortOrderEnum = "ASC" ListContainerScanRecipesSortOrderDesc ListContainerScanRecipesSortOrderEnum = "DESC" )
func GetListContainerScanRecipesSortOrderEnumValues() []ListContainerScanRecipesSortOrderEnum
GetListContainerScanRecipesSortOrderEnumValues Enumerates the set of values for ListContainerScanRecipesSortOrderEnum
func GetMappingListContainerScanRecipesSortOrderEnum(val string) (ListContainerScanRecipesSortOrderEnum, bool)
GetMappingListContainerScanRecipesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanResultsHighestProblemSeverityEnum Enum with underlying type: string
type ListContainerScanResultsHighestProblemSeverityEnum string
Set of constants representing the allowable values for ListContainerScanResultsHighestProblemSeverityEnum
const ( ListContainerScanResultsHighestProblemSeverityNone ListContainerScanResultsHighestProblemSeverityEnum = "NONE" ListContainerScanResultsHighestProblemSeverityLow ListContainerScanResultsHighestProblemSeverityEnum = "LOW" ListContainerScanResultsHighestProblemSeverityMedium ListContainerScanResultsHighestProblemSeverityEnum = "MEDIUM" ListContainerScanResultsHighestProblemSeverityHigh ListContainerScanResultsHighestProblemSeverityEnum = "HIGH" ListContainerScanResultsHighestProblemSeverityCritical ListContainerScanResultsHighestProblemSeverityEnum = "CRITICAL" )
func GetListContainerScanResultsHighestProblemSeverityEnumValues() []ListContainerScanResultsHighestProblemSeverityEnum
GetListContainerScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListContainerScanResultsHighestProblemSeverityEnum
func GetMappingListContainerScanResultsHighestProblemSeverityEnum(val string) (ListContainerScanResultsHighestProblemSeverityEnum, bool)
GetMappingListContainerScanResultsHighestProblemSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanResultsRequest wrapper for the ListContainerScanResults operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ListContainerScanResults.go.html to see an example of how to use ListContainerScanResultsRequest.
type ListContainerScanResultsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Repository name Repository *string `mandatory:"false" contributesTo:"query" name:"repository"` // Image name Image *string `mandatory:"false" contributesTo:"query" name:"image"` // When listing with one or more filters, whether to include subcompartments for the compartmentId being listed for. Does nothing if no filters are present in the query. AreSubcompartmentsIncluded *bool `mandatory:"false" contributesTo:"query" name:"areSubcompartmentsIncluded"` // Parameter to filter by highestProblemSeverity for scan results HighestProblemSeverity ListContainerScanResultsHighestProblemSeverityEnum `mandatory:"false" contributesTo:"query" name:"highestProblemSeverity" omitEmpty:"true"` // Date and time on or after which scans were started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStartedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedGreaterThanOrEqualTo"` // Date and time on or before which scans were started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStartedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedLessThanOrEqualTo"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListContainerScanResultsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order is descending. If no value is specified timeStarted is default. SortBy ListContainerScanResultsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A flag to return only the latest scan result of an instance. IsLatestOnly *bool `mandatory:"false" contributesTo:"query" name:"isLatestOnly"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListContainerScanResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListContainerScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListContainerScanResultsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListContainerScanResultsRequest) String() string
func (request ListContainerScanResultsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListContainerScanResultsResponse wrapper for the ListContainerScanResults operation
type ListContainerScanResultsResponse struct { // The underlying http response RawResponse *http.Response // A list of ContainerScanResultSummaryCollection instances ContainerScanResultSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListContainerScanResultsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListContainerScanResultsResponse) String() string
ListContainerScanResultsSortByEnum Enum with underlying type: string
type ListContainerScanResultsSortByEnum string
Set of constants representing the allowable values for ListContainerScanResultsSortByEnum
const ( ListContainerScanResultsSortByTimestarted ListContainerScanResultsSortByEnum = "timeStarted" ListContainerScanResultsSortByProblemcount ListContainerScanResultsSortByEnum = "problemCount" ListContainerScanResultsSortByHighestproblemseverity ListContainerScanResultsSortByEnum = "highestProblemSeverity" )
func GetListContainerScanResultsSortByEnumValues() []ListContainerScanResultsSortByEnum
GetListContainerScanResultsSortByEnumValues Enumerates the set of values for ListContainerScanResultsSortByEnum
func GetMappingListContainerScanResultsSortByEnum(val string) (ListContainerScanResultsSortByEnum, bool)
GetMappingListContainerScanResultsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanResultsSortOrderEnum Enum with underlying type: string
type ListContainerScanResultsSortOrderEnum string
Set of constants representing the allowable values for ListContainerScanResultsSortOrderEnum
const ( ListContainerScanResultsSortOrderAsc ListContainerScanResultsSortOrderEnum = "ASC" ListContainerScanResultsSortOrderDesc ListContainerScanResultsSortOrderEnum = "DESC" )
func GetListContainerScanResultsSortOrderEnumValues() []ListContainerScanResultsSortOrderEnum
GetListContainerScanResultsSortOrderEnumValues Enumerates the set of values for ListContainerScanResultsSortOrderEnum
func GetMappingListContainerScanResultsSortOrderEnum(val string) (ListContainerScanResultsSortOrderEnum, bool)
GetMappingListContainerScanResultsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanTargetsLifecycleStateEnum Enum with underlying type: string
type ListContainerScanTargetsLifecycleStateEnum string
Set of constants representing the allowable values for ListContainerScanTargetsLifecycleStateEnum
const ( ListContainerScanTargetsLifecycleStateCreating ListContainerScanTargetsLifecycleStateEnum = "CREATING" ListContainerScanTargetsLifecycleStateUpdating ListContainerScanTargetsLifecycleStateEnum = "UPDATING" ListContainerScanTargetsLifecycleStateActive ListContainerScanTargetsLifecycleStateEnum = "ACTIVE" ListContainerScanTargetsLifecycleStateDeleting ListContainerScanTargetsLifecycleStateEnum = "DELETING" ListContainerScanTargetsLifecycleStateDeleted ListContainerScanTargetsLifecycleStateEnum = "DELETED" ListContainerScanTargetsLifecycleStateFailed ListContainerScanTargetsLifecycleStateEnum = "FAILED" )
func GetListContainerScanTargetsLifecycleStateEnumValues() []ListContainerScanTargetsLifecycleStateEnum
GetListContainerScanTargetsLifecycleStateEnumValues Enumerates the set of values for ListContainerScanTargetsLifecycleStateEnum
func GetMappingListContainerScanTargetsLifecycleStateEnum(val string) (ListContainerScanTargetsLifecycleStateEnum, bool)
GetMappingListContainerScanTargetsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanTargetsRequest wrapper for the ListContainerScanTargets operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ListContainerScanTargets.go.html to see an example of how to use ListContainerScanTargetsRequest.
type ListContainerScanTargetsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources whose lifecycleState matches the given lifecycleState. LifecycleState ListContainerScanTargetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListContainerScanTargetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListContainerScanTargetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListContainerScanTargetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListContainerScanTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListContainerScanTargetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListContainerScanTargetsRequest) String() string
func (request ListContainerScanTargetsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListContainerScanTargetsResponse wrapper for the ListContainerScanTargets operation
type ListContainerScanTargetsResponse struct { // The underlying http response RawResponse *http.Response // A list of ContainerScanTargetSummaryCollection instances ContainerScanTargetSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListContainerScanTargetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListContainerScanTargetsResponse) String() string
ListContainerScanTargetsSortByEnum Enum with underlying type: string
type ListContainerScanTargetsSortByEnum string
Set of constants representing the allowable values for ListContainerScanTargetsSortByEnum
const ( ListContainerScanTargetsSortByTimecreated ListContainerScanTargetsSortByEnum = "timeCreated" ListContainerScanTargetsSortByDisplayname ListContainerScanTargetsSortByEnum = "displayName" )
func GetListContainerScanTargetsSortByEnumValues() []ListContainerScanTargetsSortByEnum
GetListContainerScanTargetsSortByEnumValues Enumerates the set of values for ListContainerScanTargetsSortByEnum
func GetMappingListContainerScanTargetsSortByEnum(val string) (ListContainerScanTargetsSortByEnum, bool)
GetMappingListContainerScanTargetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListContainerScanTargetsSortOrderEnum Enum with underlying type: string
type ListContainerScanTargetsSortOrderEnum string
Set of constants representing the allowable values for ListContainerScanTargetsSortOrderEnum
const ( ListContainerScanTargetsSortOrderAsc ListContainerScanTargetsSortOrderEnum = "ASC" ListContainerScanTargetsSortOrderDesc ListContainerScanTargetsSortOrderEnum = "DESC" )
func GetListContainerScanTargetsSortOrderEnumValues() []ListContainerScanTargetsSortOrderEnum
GetListContainerScanTargetsSortOrderEnumValues Enumerates the set of values for ListContainerScanTargetsSortOrderEnum
func GetMappingListContainerScanTargetsSortOrderEnum(val string) (ListContainerScanTargetsSortOrderEnum, bool)
GetMappingListContainerScanTargetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostAgentScanResultsHighestProblemSeverityEnum Enum with underlying type: string
type ListHostAgentScanResultsHighestProblemSeverityEnum string
Set of constants representing the allowable values for ListHostAgentScanResultsHighestProblemSeverityEnum
const ( ListHostAgentScanResultsHighestProblemSeverityNone ListHostAgentScanResultsHighestProblemSeverityEnum = "NONE" ListHostAgentScanResultsHighestProblemSeverityLow ListHostAgentScanResultsHighestProblemSeverityEnum = "LOW" ListHostAgentScanResultsHighestProblemSeverityMedium ListHostAgentScanResultsHighestProblemSeverityEnum = "MEDIUM" ListHostAgentScanResultsHighestProblemSeverityHigh ListHostAgentScanResultsHighestProblemSeverityEnum = "HIGH" ListHostAgentScanResultsHighestProblemSeverityCritical ListHostAgentScanResultsHighestProblemSeverityEnum = "CRITICAL" )
func GetListHostAgentScanResultsHighestProblemSeverityEnumValues() []ListHostAgentScanResultsHighestProblemSeverityEnum
GetListHostAgentScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListHostAgentScanResultsHighestProblemSeverityEnum
func GetMappingListHostAgentScanResultsHighestProblemSeverityEnum(val string) (ListHostAgentScanResultsHighestProblemSeverityEnum, bool)
GetMappingListHostAgentScanResultsHighestProblemSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostAgentScanResultsRequest wrapper for the ListHostAgentScanResults operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ListHostAgentScanResults.go.html to see an example of how to use ListHostAgentScanResultsRequest.
type ListHostAgentScanResultsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of a compute instance InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"` // Parameter to filter by highestProblemSeverity for scan results HighestProblemSeverity ListHostAgentScanResultsHighestProblemSeverityEnum `mandatory:"false" contributesTo:"query" name:"highestProblemSeverity" omitEmpty:"true"` // Parameter to filter by operating system for scan results OperatingSystem *string `mandatory:"false" contributesTo:"query" name:"operatingSystem"` // Date and time on or after which scans were started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStartedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedGreaterThanOrEqualTo"` // Date and time on or before which scans were started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) TimeStartedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStartedLessThanOrEqualTo"` // The sort order to use, either 'ASC' or 'DESC'. SortOrder ListHostAgentScanResultsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order is descending. If no value is specified timeStarted is default. SortBy ListHostAgentScanResultsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A flag to return only the latest scan result of an instance. IsLatestOnly *bool `mandatory:"false" contributesTo:"query" name:"isLatestOnly"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListHostAgentScanResultsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListHostAgentScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListHostAgentScanResultsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListHostAgentScanResultsRequest) String() string
func (request ListHostAgentScanResultsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListHostAgentScanResultsResponse wrapper for the ListHostAgentScanResults operation
type ListHostAgentScanResultsResponse struct { // The underlying http response RawResponse *http.Response // A list of HostAgentScanResultSummaryCollection instances HostAgentScanResultSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListHostAgentScanResultsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListHostAgentScanResultsResponse) String() string
ListHostAgentScanResultsSortByEnum Enum with underlying type: string
type ListHostAgentScanResultsSortByEnum string
Set of constants representing the allowable values for ListHostAgentScanResultsSortByEnum
const ( ListHostAgentScanResultsSortByTimestarted ListHostAgentScanResultsSortByEnum = "timeStarted" ListHostAgentScanResultsSortByTimefinished ListHostAgentScanResultsSortByEnum = "timeFinished" ListHostAgentScanResultsSortByProblemcount ListHostAgentScanResultsSortByEnum = "problemCount" ListHostAgentScanResultsSortByHighestproblemseverity ListHostAgentScanResultsSortByEnum = "highestProblemSeverity" ListHostAgentScanResultsSortByTimecompleted ListHostAgentScanResultsSortByEnum = "timeCompleted" )
func GetListHostAgentScanResultsSortByEnumValues() []ListHostAgentScanResultsSortByEnum
GetListHostAgentScanResultsSortByEnumValues Enumerates the set of values for ListHostAgentScanResultsSortByEnum
func GetMappingListHostAgentScanResultsSortByEnum(val string) (ListHostAgentScanResultsSortByEnum, bool)
GetMappingListHostAgentScanResultsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostAgentScanResultsSortOrderEnum Enum with underlying type: string
type ListHostAgentScanResultsSortOrderEnum string
Set of constants representing the allowable values for ListHostAgentScanResultsSortOrderEnum
const ( ListHostAgentScanResultsSortOrderAsc ListHostAgentScanResultsSortOrderEnum = "ASC" ListHostAgentScanResultsSortOrderDesc ListHostAgentScanResultsSortOrderEnum = "DESC" )
func GetListHostAgentScanResultsSortOrderEnumValues() []ListHostAgentScanResultsSortOrderEnum
GetListHostAgentScanResultsSortOrderEnumValues Enumerates the set of values for ListHostAgentScanResultsSortOrderEnum
func GetMappingListHostAgentScanResultsSortOrderEnum(val string) (ListHostAgentScanResultsSortOrderEnum, bool)
GetMappingListHostAgentScanResultsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum Enum with underlying type: string
type ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum string
Set of constants representing the allowable values for ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum
const ( ListHostCisBenchmarkScanResultsHighestProblemSeverityNone ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "NONE" ListHostCisBenchmarkScanResultsHighestProblemSeverityLow ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "LOW" ListHostCisBenchmarkScanResultsHighestProblemSeverityMedium ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "MEDIUM" ListHostCisBenchmarkScanResultsHighestProblemSeverityHigh ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "HIGH" ListHostCisBenchmarkScanResultsHighestProblemSeverityCritical ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "CRITICAL" )
func GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumValues() []ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum
GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum
func GetMappingListHostCisBenchmarkScanResultsHighestProblemSeverityEnum(val string) (ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum, bool)
GetMappingListHostCisBenchmarkScanResultsHighestProblemSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
ListHostCisBenchmarkScanResultsRequest wrapper for the ListHostCisBenchmarkScanResults operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vulnerabilityscanning/ListHostCisBenchmarkScanResults.go.html to see an example of how to use ListHostCisBenchmarkScanResultsRequest.
type ListHostCisBenchmarkScanResultsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of a compute instance InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"` // Parameter to filter by highestProblemSeverity for scan result