vulnerabilityscanning

package
v65.67.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetContainerScanRegistryTypeEnumStringValues

func GetContainerScanRegistryTypeEnumStringValues() []string

GetContainerScanRegistryTypeEnumStringValues Enumerates the set of values in String for ContainerScanRegistryTypeEnum

func GetContainerScanResultSortByEnumStringValues

func GetContainerScanResultSortByEnumStringValues() []string

GetContainerScanResultSortByEnumStringValues Enumerates the set of values in String for ContainerScanResultSortByEnum

func GetContainerScanSettingsScanLevelEnumStringValues

func GetContainerScanSettingsScanLevelEnumStringValues() []string

GetContainerScanSettingsScanLevelEnumStringValues Enumerates the set of values in String for ContainerScanSettingsScanLevelEnum

func GetDayOfWeekEnumStringValues

func GetDayOfWeekEnumStringValues() []string

GetDayOfWeekEnumStringValues Enumerates the set of values in String for DayOfWeekEnum

func GetHostAgentScanLevelEnumStringValues

func GetHostAgentScanLevelEnumStringValues() []string

GetHostAgentScanLevelEnumStringValues Enumerates the set of values in String for HostAgentScanLevelEnum

func GetHostAgentScanResultSortByEnumStringValues

func GetHostAgentScanResultSortByEnumStringValues() []string

GetHostAgentScanResultSortByEnumStringValues Enumerates the set of values in String for HostAgentScanResultSortByEnum

func GetHostCisBenchmarkScanLevelEnumStringValues

func GetHostCisBenchmarkScanLevelEnumStringValues() []string

GetHostCisBenchmarkScanLevelEnumStringValues Enumerates the set of values in String for HostCisBenchmarkScanLevelEnum

func GetHostCisBenchmarkScanResultSortByEnumStringValues

func GetHostCisBenchmarkScanResultSortByEnumStringValues() []string

GetHostCisBenchmarkScanResultSortByEnumStringValues Enumerates the set of values in String for HostCisBenchmarkScanResultSortByEnum

func GetHostEndpointProtectionScanLevelEnumStringValues

func GetHostEndpointProtectionScanLevelEnumStringValues() []string

GetHostEndpointProtectionScanLevelEnumStringValues Enumerates the set of values in String for HostEndpointProtectionScanLevelEnum

func GetHostEndpointProtectionScanResultSortByEnumStringValues

func GetHostEndpointProtectionScanResultSortByEnumStringValues() []string

GetHostEndpointProtectionScanResultSortByEnumStringValues Enumerates the set of values in String for HostEndpointProtectionScanResultSortByEnum

func GetHostPortScanLevelEnumStringValues

func GetHostPortScanLevelEnumStringValues() []string

GetHostPortScanLevelEnumStringValues Enumerates the set of values in String for HostPortScanLevelEnum

func GetHostPortScanResultSortByEnumStringValues

func GetHostPortScanResultSortByEnumStringValues() []string

GetHostPortScanResultSortByEnumStringValues Enumerates the set of values in String for HostPortScanResultSortByEnum

func GetHostVulnerabilitySortByEnumStringValues

func GetHostVulnerabilitySortByEnumStringValues() []string

GetHostVulnerabilitySortByEnumStringValues Enumerates the set of values in String for HostVulnerabilitySortByEnum

func GetImpactedHostSortByEnumStringValues

func GetImpactedHostSortByEnumStringValues() []string

GetImpactedHostSortByEnumStringValues Enumerates the set of values in String for ImpactedHostSortByEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListContainerScanRecipesLifecycleStateEnumStringValues

func GetListContainerScanRecipesLifecycleStateEnumStringValues() []string

GetListContainerScanRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListContainerScanRecipesLifecycleStateEnum

func GetListContainerScanRecipesSortByEnumStringValues

func GetListContainerScanRecipesSortByEnumStringValues() []string

GetListContainerScanRecipesSortByEnumStringValues Enumerates the set of values in String for ListContainerScanRecipesSortByEnum

func GetListContainerScanRecipesSortOrderEnumStringValues

func GetListContainerScanRecipesSortOrderEnumStringValues() []string

GetListContainerScanRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListContainerScanRecipesSortOrderEnum

func GetListContainerScanResultsHighestProblemSeverityEnumStringValues

func GetListContainerScanResultsHighestProblemSeverityEnumStringValues() []string

GetListContainerScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListContainerScanResultsHighestProblemSeverityEnum

func GetListContainerScanResultsSortByEnumStringValues

func GetListContainerScanResultsSortByEnumStringValues() []string

GetListContainerScanResultsSortByEnumStringValues Enumerates the set of values in String for ListContainerScanResultsSortByEnum

func GetListContainerScanResultsSortOrderEnumStringValues

func GetListContainerScanResultsSortOrderEnumStringValues() []string

GetListContainerScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListContainerScanResultsSortOrderEnum

func GetListContainerScanTargetsLifecycleStateEnumStringValues

func GetListContainerScanTargetsLifecycleStateEnumStringValues() []string

GetListContainerScanTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListContainerScanTargetsLifecycleStateEnum

func GetListContainerScanTargetsSortByEnumStringValues

func GetListContainerScanTargetsSortByEnumStringValues() []string

GetListContainerScanTargetsSortByEnumStringValues Enumerates the set of values in String for ListContainerScanTargetsSortByEnum

func GetListContainerScanTargetsSortOrderEnumStringValues

func GetListContainerScanTargetsSortOrderEnumStringValues() []string

GetListContainerScanTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListContainerScanTargetsSortOrderEnum

func GetListHostAgentScanResultsHighestProblemSeverityEnumStringValues

func GetListHostAgentScanResultsHighestProblemSeverityEnumStringValues() []string

GetListHostAgentScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostAgentScanResultsHighestProblemSeverityEnum

func GetListHostAgentScanResultsSortByEnumStringValues

func GetListHostAgentScanResultsSortByEnumStringValues() []string

GetListHostAgentScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostAgentScanResultsSortByEnum

func GetListHostAgentScanResultsSortOrderEnumStringValues

func GetListHostAgentScanResultsSortOrderEnumStringValues() []string

GetListHostAgentScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostAgentScanResultsSortOrderEnum

func GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumStringValues

func GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumStringValues() []string

GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum

func GetListHostCisBenchmarkScanResultsSortByEnumStringValues

func GetListHostCisBenchmarkScanResultsSortByEnumStringValues() []string

GetListHostCisBenchmarkScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostCisBenchmarkScanResultsSortByEnum

func GetListHostCisBenchmarkScanResultsSortOrderEnumStringValues

func GetListHostCisBenchmarkScanResultsSortOrderEnumStringValues() []string

GetListHostCisBenchmarkScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostCisBenchmarkScanResultsSortOrderEnum

func GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumStringValues

func GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumStringValues() []string

GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum

func GetListHostEndpointProtectionScanResultsSortByEnumStringValues

func GetListHostEndpointProtectionScanResultsSortByEnumStringValues() []string

GetListHostEndpointProtectionScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostEndpointProtectionScanResultsSortByEnum

func GetListHostEndpointProtectionScanResultsSortOrderEnumStringValues

func GetListHostEndpointProtectionScanResultsSortOrderEnumStringValues() []string

GetListHostEndpointProtectionScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostEndpointProtectionScanResultsSortOrderEnum

func GetListHostPortScanResultsHighestProblemSeverityEnumStringValues

func GetListHostPortScanResultsHighestProblemSeverityEnumStringValues() []string

GetListHostPortScanResultsHighestProblemSeverityEnumStringValues Enumerates the set of values in String for ListHostPortScanResultsHighestProblemSeverityEnum

func GetListHostPortScanResultsSortByEnumStringValues

func GetListHostPortScanResultsSortByEnumStringValues() []string

GetListHostPortScanResultsSortByEnumStringValues Enumerates the set of values in String for ListHostPortScanResultsSortByEnum

func GetListHostPortScanResultsSortOrderEnumStringValues

func GetListHostPortScanResultsSortOrderEnumStringValues() []string

GetListHostPortScanResultsSortOrderEnumStringValues Enumerates the set of values in String for ListHostPortScanResultsSortOrderEnum

func GetListHostScanRecipesLifecycleStateEnumStringValues

func GetListHostScanRecipesLifecycleStateEnumStringValues() []string

GetListHostScanRecipesLifecycleStateEnumStringValues Enumerates the set of values in String for ListHostScanRecipesLifecycleStateEnum

func GetListHostScanRecipesSortByEnumStringValues

func GetListHostScanRecipesSortByEnumStringValues() []string

GetListHostScanRecipesSortByEnumStringValues Enumerates the set of values in String for ListHostScanRecipesSortByEnum

func GetListHostScanRecipesSortOrderEnumStringValues

func GetListHostScanRecipesSortOrderEnumStringValues() []string

GetListHostScanRecipesSortOrderEnumStringValues Enumerates the set of values in String for ListHostScanRecipesSortOrderEnum

func GetListHostScanTargetErrorsLifecycleStateEnumStringValues added in v65.25.0

func GetListHostScanTargetErrorsLifecycleStateEnumStringValues() []string

GetListHostScanTargetErrorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListHostScanTargetErrorsLifecycleStateEnum

func GetListHostScanTargetErrorsSortByEnumStringValues added in v65.25.0

func GetListHostScanTargetErrorsSortByEnumStringValues() []string

GetListHostScanTargetErrorsSortByEnumStringValues Enumerates the set of values in String for ListHostScanTargetErrorsSortByEnum

func GetListHostScanTargetErrorsSortOrderEnumStringValues added in v65.25.0

func GetListHostScanTargetErrorsSortOrderEnumStringValues() []string

GetListHostScanTargetErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListHostScanTargetErrorsSortOrderEnum

func GetListHostScanTargetsLifecycleStateEnumStringValues

func GetListHostScanTargetsLifecycleStateEnumStringValues() []string

GetListHostScanTargetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListHostScanTargetsLifecycleStateEnum

func GetListHostScanTargetsSortByEnumStringValues

func GetListHostScanTargetsSortByEnumStringValues() []string

GetListHostScanTargetsSortByEnumStringValues Enumerates the set of values in String for ListHostScanTargetsSortByEnum

func GetListHostScanTargetsSortOrderEnumStringValues

func GetListHostScanTargetsSortOrderEnumStringValues() []string

GetListHostScanTargetsSortOrderEnumStringValues Enumerates the set of values in String for ListHostScanTargetsSortOrderEnum

func GetListHostVulnerabilitiesSeverityEnumStringValues

func GetListHostVulnerabilitiesSeverityEnumStringValues() []string

GetListHostVulnerabilitiesSeverityEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesSeverityEnum

func GetListHostVulnerabilitiesSortByEnumStringValues

func GetListHostVulnerabilitiesSortByEnumStringValues() []string

GetListHostVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesSortByEnum

func GetListHostVulnerabilitiesSortOrderEnumStringValues

func GetListHostVulnerabilitiesSortOrderEnumStringValues() []string

GetListHostVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesSortOrderEnum

func GetListHostVulnerabilitiesVulnerabilityTypeEnumStringValues

func GetListHostVulnerabilitiesVulnerabilityTypeEnumStringValues() []string

GetListHostVulnerabilitiesVulnerabilityTypeEnumStringValues Enumerates the set of values in String for ListHostVulnerabilitiesVulnerabilityTypeEnum

func GetListHostVulnerabilityImpactedHostsSortByEnumStringValues

func GetListHostVulnerabilityImpactedHostsSortByEnumStringValues() []string

GetListHostVulnerabilityImpactedHostsSortByEnumStringValues Enumerates the set of values in String for ListHostVulnerabilityImpactedHostsSortByEnum

func GetListHostVulnerabilityImpactedHostsSortOrderEnumStringValues

func GetListHostVulnerabilityImpactedHostsSortOrderEnumStringValues() []string

GetListHostVulnerabilityImpactedHostsSortOrderEnumStringValues Enumerates the set of values in String for ListHostVulnerabilityImpactedHostsSortOrderEnum

func GetListVulnerabilitiesSeverityEnumStringValues

func GetListVulnerabilitiesSeverityEnumStringValues() []string

GetListVulnerabilitiesSeverityEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSeverityEnum

func GetListVulnerabilitiesSortByEnumStringValues

func GetListVulnerabilitiesSortByEnumStringValues() []string

GetListVulnerabilitiesSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortByEnum

func GetListVulnerabilitiesSortOrderEnumStringValues

func GetListVulnerabilitiesSortOrderEnumStringValues() []string

GetListVulnerabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesSortOrderEnum

func GetListVulnerabilitiesVulnerabilityTypeEnumStringValues

func GetListVulnerabilitiesVulnerabilityTypeEnumStringValues() []string

GetListVulnerabilitiesVulnerabilityTypeEnumStringValues Enumerates the set of values in String for ListVulnerabilitiesVulnerabilityTypeEnum

func GetListVulnerabilityImpactedContainersSortByEnumStringValues

func GetListVulnerabilityImpactedContainersSortByEnumStringValues() []string

GetListVulnerabilityImpactedContainersSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedContainersSortByEnum

func GetListVulnerabilityImpactedContainersSortOrderEnumStringValues

func GetListVulnerabilityImpactedContainersSortOrderEnumStringValues() []string

GetListVulnerabilityImpactedContainersSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedContainersSortOrderEnum

func GetListVulnerabilityImpactedHostsSortByEnumStringValues

func GetListVulnerabilityImpactedHostsSortByEnumStringValues() []string

GetListVulnerabilityImpactedHostsSortByEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedHostsSortByEnum

func GetListVulnerabilityImpactedHostsSortOrderEnumStringValues

func GetListVulnerabilityImpactedHostsSortOrderEnumStringValues() []string

GetListVulnerabilityImpactedHostsSortOrderEnumStringValues Enumerates the set of values in String for ListVulnerabilityImpactedHostsSortOrderEnum

func GetModelPackageTypeEnumStringValues added in v65.11.0

func GetModelPackageTypeEnumStringValues() []string

GetModelPackageTypeEnumStringValues Enumerates the set of values in String for ModelPackageTypeEnum

func GetOperatingSystemEnumStringValues added in v65.11.0

func GetOperatingSystemEnumStringValues() []string

GetOperatingSystemEnumStringValues Enumerates the set of values in String for OperatingSystemEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetScanResultProblemSeverityEnumStringValues

func GetScanResultProblemSeverityEnumStringValues() []string

GetScanResultProblemSeverityEnumStringValues Enumerates the set of values in String for ScanResultProblemSeverityEnum

func GetScanResultScoreEnumStringValues

func GetScanResultScoreEnumStringValues() []string

GetScanResultScoreEnumStringValues Enumerates the set of values in String for ScanResultScoreEnum

func GetScanResultVulnerabilityStateEnumStringValues

func GetScanResultVulnerabilityStateEnumStringValues() []string

GetScanResultVulnerabilityStateEnumStringValues Enumerates the set of values in String for ScanResultVulnerabilityStateEnum

func GetScheduleTypeEnumStringValues

func GetScheduleTypeEnumStringValues() []string

GetScheduleTypeEnumStringValues Enumerates the set of values in String for ScheduleTypeEnum

func GetSortByEnumStringValues

func GetSortByEnumStringValues() []string

GetSortByEnumStringValues Enumerates the set of values in String for SortByEnum

func GetSortByTimeEnumStringValues added in v65.25.0

func GetSortByTimeEnumStringValues() []string

GetSortByTimeEnumStringValues Enumerates the set of values in String for SortByTimeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetVendorTypeEnumStringValues added in v65.25.0

func GetVendorTypeEnumStringValues() []string

GetVendorTypeEnumStringValues Enumerates the set of values in String for VendorTypeEnum

func GetVulnerabilityTypeEnumStringValues

func GetVulnerabilityTypeEnumStringValues() []string

GetVulnerabilityTypeEnumStringValues Enumerates the set of values in String for VulnerabilityTypeEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type ApplicationScanSettings added in v65.11.0

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

ApplicationScanSettings Agent scan settings for applicaiton scan

func (ApplicationScanSettings) String added in v65.11.0

func (m ApplicationScanSettings) String() string

func (ApplicationScanSettings) ValidateEnumValue added in v65.11.0

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

type ChangeContainerScanRecipeCompartmentDetails

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

ChangeContainerScanRecipeCompartmentDetails Details for a ContainerScanRecipe compartment change

func (ChangeContainerScanRecipeCompartmentDetails) String

func (ChangeContainerScanRecipeCompartmentDetails) ValidateEnumValue

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

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

ChangeContainerScanRecipeCompartmentRequest wrapper for the ChangeContainerScanRecipeCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeContainerScanRecipeCompartment.go.html to see an example of how to use ChangeContainerScanRecipeCompartmentRequest.

func (ChangeContainerScanRecipeCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeContainerScanRecipeCompartmentRequest) HTTPRequest

func (request ChangeContainerScanRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeContainerScanRecipeCompartmentRequest) RetryPolicy

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

func (ChangeContainerScanRecipeCompartmentRequest) String

func (ChangeContainerScanRecipeCompartmentRequest) ValidateEnumValue

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

type ChangeContainerScanRecipeCompartmentResponse

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

ChangeContainerScanRecipeCompartmentResponse wrapper for the ChangeContainerScanRecipeCompartment operation

func (ChangeContainerScanRecipeCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeContainerScanRecipeCompartmentResponse) String

type ChangeContainerScanResultCompartmentDetails

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

ChangeContainerScanResultCompartmentDetails Details for a ContainerScanResult compartment change

func (ChangeContainerScanResultCompartmentDetails) String

func (ChangeContainerScanResultCompartmentDetails) ValidateEnumValue

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

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

ChangeContainerScanResultCompartmentRequest wrapper for the ChangeContainerScanResultCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeContainerScanResultCompartment.go.html to see an example of how to use ChangeContainerScanResultCompartmentRequest.

func (ChangeContainerScanResultCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeContainerScanResultCompartmentRequest) HTTPRequest

func (request ChangeContainerScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeContainerScanResultCompartmentRequest) RetryPolicy

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

func (ChangeContainerScanResultCompartmentRequest) String

func (ChangeContainerScanResultCompartmentRequest) ValidateEnumValue

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

type ChangeContainerScanResultCompartmentResponse

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

ChangeContainerScanResultCompartmentResponse wrapper for the ChangeContainerScanResultCompartment operation

func (ChangeContainerScanResultCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeContainerScanResultCompartmentResponse) String

type ChangeContainerScanTargetCompartmentDetails

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

ChangeContainerScanTargetCompartmentDetails Details for a ContainerScanTarget compartment change

func (ChangeContainerScanTargetCompartmentDetails) String

func (ChangeContainerScanTargetCompartmentDetails) ValidateEnumValue

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

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

ChangeContainerScanTargetCompartmentRequest wrapper for the ChangeContainerScanTargetCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeContainerScanTargetCompartment.go.html to see an example of how to use ChangeContainerScanTargetCompartmentRequest.

func (ChangeContainerScanTargetCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeContainerScanTargetCompartmentRequest) HTTPRequest

func (request ChangeContainerScanTargetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeContainerScanTargetCompartmentRequest) RetryPolicy

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

func (ChangeContainerScanTargetCompartmentRequest) String

func (ChangeContainerScanTargetCompartmentRequest) ValidateEnumValue

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

type ChangeContainerScanTargetCompartmentResponse

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

ChangeContainerScanTargetCompartmentResponse wrapper for the ChangeContainerScanTargetCompartment operation

func (ChangeContainerScanTargetCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeContainerScanTargetCompartmentResponse) String

type ChangeHostAgentScanResultCompartmentDetails

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

ChangeHostAgentScanResultCompartmentDetails Details for a HostAgentScanResult compartment change

func (ChangeHostAgentScanResultCompartmentDetails) String

func (ChangeHostAgentScanResultCompartmentDetails) ValidateEnumValue

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

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

ChangeHostAgentScanResultCompartmentRequest wrapper for the ChangeHostAgentScanResultCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostAgentScanResultCompartment.go.html to see an example of how to use ChangeHostAgentScanResultCompartmentRequest.

func (ChangeHostAgentScanResultCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeHostAgentScanResultCompartmentRequest) HTTPRequest

func (request ChangeHostAgentScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHostAgentScanResultCompartmentRequest) RetryPolicy

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

func (ChangeHostAgentScanResultCompartmentRequest) String

func (ChangeHostAgentScanResultCompartmentRequest) ValidateEnumValue

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

type ChangeHostAgentScanResultCompartmentResponse

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

ChangeHostAgentScanResultCompartmentResponse wrapper for the ChangeHostAgentScanResultCompartment operation

func (ChangeHostAgentScanResultCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeHostAgentScanResultCompartmentResponse) String

type ChangeHostCisBenchmarkScanResultCompartmentDetails

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

ChangeHostCisBenchmarkScanResultCompartmentDetails Details for a HostCisBenchmarkScanResult compartment change

func (ChangeHostCisBenchmarkScanResultCompartmentDetails) String

func (ChangeHostCisBenchmarkScanResultCompartmentDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

ChangeHostCisBenchmarkScanResultCompartmentRequest wrapper for the ChangeHostCisBenchmarkScanResultCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostCisBenchmarkScanResultCompartment.go.html to see an example of how to use ChangeHostCisBenchmarkScanResultCompartmentRequest.

func (ChangeHostCisBenchmarkScanResultCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeHostCisBenchmarkScanResultCompartmentRequest) HTTPRequest

func (request ChangeHostCisBenchmarkScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHostCisBenchmarkScanResultCompartmentRequest) RetryPolicy

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

func (ChangeHostCisBenchmarkScanResultCompartmentRequest) String

func (ChangeHostCisBenchmarkScanResultCompartmentRequest) ValidateEnumValue

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

type ChangeHostCisBenchmarkScanResultCompartmentResponse

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

ChangeHostCisBenchmarkScanResultCompartmentResponse wrapper for the ChangeHostCisBenchmarkScanResultCompartment operation

func (ChangeHostCisBenchmarkScanResultCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeHostCisBenchmarkScanResultCompartmentResponse) String

type ChangeHostEndpointProtectionScanResultCompartmentDetails

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

ChangeHostEndpointProtectionScanResultCompartmentDetails Details for a HostEndpointProtectionScanResult compartment change

func (ChangeHostEndpointProtectionScanResultCompartmentDetails) String

func (ChangeHostEndpointProtectionScanResultCompartmentDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

ChangeHostEndpointProtectionScanResultCompartmentRequest wrapper for the ChangeHostEndpointProtectionScanResultCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostEndpointProtectionScanResultCompartment.go.html to see an example of how to use ChangeHostEndpointProtectionScanResultCompartmentRequest.

func (ChangeHostEndpointProtectionScanResultCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeHostEndpointProtectionScanResultCompartmentRequest) HTTPRequest

func (request ChangeHostEndpointProtectionScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHostEndpointProtectionScanResultCompartmentRequest) RetryPolicy

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

func (ChangeHostEndpointProtectionScanResultCompartmentRequest) String

func (ChangeHostEndpointProtectionScanResultCompartmentRequest) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeHostEndpointProtectionScanResultCompartmentResponse

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

ChangeHostEndpointProtectionScanResultCompartmentResponse wrapper for the ChangeHostEndpointProtectionScanResultCompartment operation

func (ChangeHostEndpointProtectionScanResultCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeHostEndpointProtectionScanResultCompartmentResponse) String

type ChangeHostPortScanResultCompartmentDetails

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

ChangeHostPortScanResultCompartmentDetails Details for a HostPortScanResult compartment change

func (ChangeHostPortScanResultCompartmentDetails) String

func (ChangeHostPortScanResultCompartmentDetails) ValidateEnumValue

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

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

ChangeHostPortScanResultCompartmentRequest wrapper for the ChangeHostPortScanResultCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostPortScanResultCompartment.go.html to see an example of how to use ChangeHostPortScanResultCompartmentRequest.

func (ChangeHostPortScanResultCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeHostPortScanResultCompartmentRequest) HTTPRequest

func (request ChangeHostPortScanResultCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHostPortScanResultCompartmentRequest) RetryPolicy

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

func (ChangeHostPortScanResultCompartmentRequest) String

func (ChangeHostPortScanResultCompartmentRequest) ValidateEnumValue

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

type ChangeHostPortScanResultCompartmentResponse

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

ChangeHostPortScanResultCompartmentResponse wrapper for the ChangeHostPortScanResultCompartment operation

func (ChangeHostPortScanResultCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeHostPortScanResultCompartmentResponse) String

type ChangeHostScanRecipeCompartmentDetails

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

ChangeHostScanRecipeCompartmentDetails Details for a HostScanRecipe compartment change

func (ChangeHostScanRecipeCompartmentDetails) String

func (ChangeHostScanRecipeCompartmentDetails) ValidateEnumValue

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

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

ChangeHostScanRecipeCompartmentRequest wrapper for the ChangeHostScanRecipeCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostScanRecipeCompartment.go.html to see an example of how to use ChangeHostScanRecipeCompartmentRequest.

func (ChangeHostScanRecipeCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeHostScanRecipeCompartmentRequest) HTTPRequest

func (request ChangeHostScanRecipeCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHostScanRecipeCompartmentRequest) RetryPolicy

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

func (ChangeHostScanRecipeCompartmentRequest) String

func (ChangeHostScanRecipeCompartmentRequest) ValidateEnumValue

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

type ChangeHostScanRecipeCompartmentResponse

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

ChangeHostScanRecipeCompartmentResponse wrapper for the ChangeHostScanRecipeCompartment operation

func (ChangeHostScanRecipeCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeHostScanRecipeCompartmentResponse) String

type ChangeHostScanTargetCompartmentDetails

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

ChangeHostScanTargetCompartmentDetails Details for a HostScanTarget compartment change

func (ChangeHostScanTargetCompartmentDetails) String

func (ChangeHostScanTargetCompartmentDetails) ValidateEnumValue

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

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

ChangeHostScanTargetCompartmentRequest wrapper for the ChangeHostScanTargetCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostScanTargetCompartment.go.html to see an example of how to use ChangeHostScanTargetCompartmentRequest.

func (ChangeHostScanTargetCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeHostScanTargetCompartmentRequest) HTTPRequest

func (request ChangeHostScanTargetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHostScanTargetCompartmentRequest) RetryPolicy

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

func (ChangeHostScanTargetCompartmentRequest) String

func (ChangeHostScanTargetCompartmentRequest) ValidateEnumValue

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

type ChangeHostScanTargetCompartmentResponse

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

ChangeHostScanTargetCompartmentResponse wrapper for the ChangeHostScanTargetCompartment operation

func (ChangeHostScanTargetCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeHostScanTargetCompartmentResponse) String

type ContainerScanRecipe

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

ContainerScanRecipe A container scan recipe (collection of container scanning configuration settings)

func (ContainerScanRecipe) String

func (m ContainerScanRecipe) String() string

func (ContainerScanRecipe) ValidateEnumValue

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

type ContainerScanRecipeSummary

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

ContainerScanRecipeSummary Summary of a container scan recipe (collection of container scanning configuration settings)

func (ContainerScanRecipeSummary) String

func (ContainerScanRecipeSummary) ValidateEnumValue

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

type ContainerScanRecipeSummaryCollection

type ContainerScanRecipeSummaryCollection struct {

	// The ContainerScanRecipeSummary objects in the collection
	Items []ContainerScanRecipeSummary `mandatory:"true" json:"items"`
}

ContainerScanRecipeSummaryCollection A collection of ContainerScanRecipeSummary objects

func (ContainerScanRecipeSummaryCollection) String

func (ContainerScanRecipeSummaryCollection) ValidateEnumValue

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

type ContainerScanRegistry

type ContainerScanRegistry interface {

	// URL of the registry.
	GetUrl() *string
}

ContainerScanRegistry Registry information for a container scan target

type ContainerScanRegistryTypeEnum

type ContainerScanRegistryTypeEnum string

ContainerScanRegistryTypeEnum Enum with underlying type: string

const (
	ContainerScanRegistryTypeOcir ContainerScanRegistryTypeEnum = "OCIR"
)

Set of constants representing the allowable values for ContainerScanRegistryTypeEnum

func GetContainerScanRegistryTypeEnumValues

func GetContainerScanRegistryTypeEnumValues() []ContainerScanRegistryTypeEnum

GetContainerScanRegistryTypeEnumValues Enumerates the set of values for ContainerScanRegistryTypeEnum

func GetMappingContainerScanRegistryTypeEnum

func GetMappingContainerScanRegistryTypeEnum(val string) (ContainerScanRegistryTypeEnum, bool)

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

type ContainerScanResult

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

ContainerScanResult A scan result for a container scan

func (ContainerScanResult) String

func (m ContainerScanResult) String() string

func (ContainerScanResult) ValidateEnumValue

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

type ContainerScanResultProblem

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

ContainerScanResultProblem A problem found in a container scan

func (ContainerScanResultProblem) String

func (ContainerScanResultProblem) ValidateEnumValue

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

type ContainerScanResultSortByEnum

type ContainerScanResultSortByEnum string

ContainerScanResultSortByEnum Enum with underlying type: string

const (
	ContainerScanResultSortByTimeStarted            ContainerScanResultSortByEnum = "timeStarted"
	ContainerScanResultSortByProblemCount           ContainerScanResultSortByEnum = "problemCount"
	ContainerScanResultSortByHighestProblemSeverity ContainerScanResultSortByEnum = "highestProblemSeverity"
)

Set of constants representing the allowable values for ContainerScanResultSortByEnum

func GetContainerScanResultSortByEnumValues

func GetContainerScanResultSortByEnumValues() []ContainerScanResultSortByEnum

GetContainerScanResultSortByEnumValues Enumerates the set of values for ContainerScanResultSortByEnum

func GetMappingContainerScanResultSortByEnum

func GetMappingContainerScanResultSortByEnum(val string) (ContainerScanResultSortByEnum, bool)

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

type ContainerScanResultSummary

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

ContainerScanResultSummary A summary of a result for a container scan

func (ContainerScanResultSummary) String

func (ContainerScanResultSummary) ValidateEnumValue

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

type ContainerScanResultSummaryCollection

type ContainerScanResultSummaryCollection struct {

	// The ContainerScanResultSummary objects in the collection
	Items []ContainerScanResultSummary `mandatory:"true" json:"items"`
}

ContainerScanResultSummaryCollection A collection of ContainerScanResultSummary

func (ContainerScanResultSummaryCollection) String

func (ContainerScanResultSummaryCollection) ValidateEnumValue

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

type ContainerScanSettings

type ContainerScanSettings struct {

	// The scan level
	ScanLevel ContainerScanSettingsScanLevelEnum `mandatory:"true" json:"scanLevel"`
}

ContainerScanSettings A collection of container scan settings

func (ContainerScanSettings) String

func (m ContainerScanSettings) String() string

func (ContainerScanSettings) ValidateEnumValue

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

type ContainerScanSettingsScanLevelEnum

type ContainerScanSettingsScanLevelEnum string

ContainerScanSettingsScanLevelEnum Enum with underlying type: string

const (
	ContainerScanSettingsScanLevelNone     ContainerScanSettingsScanLevelEnum = "NONE"
	ContainerScanSettingsScanLevelStandard ContainerScanSettingsScanLevelEnum = "STANDARD"
)

Set of constants representing the allowable values for ContainerScanSettingsScanLevelEnum

func GetContainerScanSettingsScanLevelEnumValues

func GetContainerScanSettingsScanLevelEnumValues() []ContainerScanSettingsScanLevelEnum

GetContainerScanSettingsScanLevelEnumValues Enumerates the set of values for ContainerScanSettingsScanLevelEnum

func GetMappingContainerScanSettingsScanLevelEnum

func GetMappingContainerScanSettingsScanLevelEnum(val string) (ContainerScanSettingsScanLevelEnum, bool)

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

type ContainerScanTarget

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

ContainerScanTarget A container scan target (application of a container scan recipe to the registry or list of repos)

func (ContainerScanTarget) String

func (m ContainerScanTarget) String() string

func (*ContainerScanTarget) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ContainerScanTarget) ValidateEnumValue

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

type ContainerScanTargetSummary

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

ContainerScanTargetSummary Summary of a container scan target (application of a container scan recipe to the registry or list of repos)

func (ContainerScanTargetSummary) String

func (*ContainerScanTargetSummary) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ContainerScanTargetSummary) ValidateEnumValue

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

type ContainerScanTargetSummaryCollection

type ContainerScanTargetSummaryCollection struct {

	// The ContainerScanTargetSummary objects in the collection
	Items []ContainerScanTargetSummary `mandatory:"true" json:"items"`
}

ContainerScanTargetSummaryCollection A collection of ContainerScanTargetSummary objects

func (ContainerScanTargetSummaryCollection) String

func (ContainerScanTargetSummaryCollection) ValidateEnumValue

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

type CreateContainerScanRecipeDetails

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

CreateContainerScanRecipeDetails The information for a new container scan recipe

func (CreateContainerScanRecipeDetails) String

func (CreateContainerScanRecipeDetails) ValidateEnumValue

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

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

CreateContainerScanRecipeRequest wrapper for the CreateContainerScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateContainerScanRecipe.go.html to see an example of how to use CreateContainerScanRecipeRequest.

func (CreateContainerScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateContainerScanRecipeRequest) HTTPRequest

func (request CreateContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateContainerScanRecipeRequest) RetryPolicy

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

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

func (CreateContainerScanRecipeRequest) String

func (request CreateContainerScanRecipeRequest) String() string

func (CreateContainerScanRecipeRequest) ValidateEnumValue

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

type CreateContainerScanRecipeResponse

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

CreateContainerScanRecipeResponse wrapper for the CreateContainerScanRecipe operation

func (CreateContainerScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateContainerScanRecipeResponse) String

func (response CreateContainerScanRecipeResponse) String() string

type CreateContainerScanRegistryDetails

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
}

CreateContainerScanRegistryDetails Registry information for a container scan target

type CreateContainerScanTargetDetails

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

CreateContainerScanTargetDetails The information for a new container scan target

func (CreateContainerScanTargetDetails) String

func (*CreateContainerScanTargetDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateContainerScanTargetDetails) ValidateEnumValue

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

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

CreateContainerScanTargetRequest wrapper for the CreateContainerScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateContainerScanTarget.go.html to see an example of how to use CreateContainerScanTargetRequest.

func (CreateContainerScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateContainerScanTargetRequest) HTTPRequest

func (request CreateContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateContainerScanTargetRequest) RetryPolicy

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

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

func (CreateContainerScanTargetRequest) String

func (request CreateContainerScanTargetRequest) String() string

func (CreateContainerScanTargetRequest) ValidateEnumValue

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

type CreateContainerScanTargetResponse

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

CreateContainerScanTargetResponse wrapper for the CreateContainerScanTarget operation

func (CreateContainerScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateContainerScanTargetResponse) String

func (response CreateContainerScanTargetResponse) String() string

type CreateHostScanRecipeDetails

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

CreateHostScanRecipeDetails The information for a new host scan recipe

func (CreateHostScanRecipeDetails) String

func (CreateHostScanRecipeDetails) ValidateEnumValue

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

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

CreateHostScanRecipeRequest wrapper for the CreateHostScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateHostScanRecipe.go.html to see an example of how to use CreateHostScanRecipeRequest.

func (CreateHostScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateHostScanRecipeRequest) HTTPRequest

func (request CreateHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateHostScanRecipeRequest) RetryPolicy

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

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

func (CreateHostScanRecipeRequest) String

func (request CreateHostScanRecipeRequest) String() string

func (CreateHostScanRecipeRequest) ValidateEnumValue

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

type CreateHostScanRecipeResponse

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

CreateHostScanRecipeResponse wrapper for the CreateHostScanRecipe operation

func (CreateHostScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateHostScanRecipeResponse) String

func (response CreateHostScanRecipeResponse) String() string

type CreateHostScanTargetDetails

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

CreateHostScanTargetDetails The information for a new host scan target

func (CreateHostScanTargetDetails) String

func (CreateHostScanTargetDetails) ValidateEnumValue

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

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

CreateHostScanTargetRequest wrapper for the CreateHostScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateHostScanTarget.go.html to see an example of how to use CreateHostScanTargetRequest.

func (CreateHostScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateHostScanTargetRequest) HTTPRequest

func (request CreateHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateHostScanTargetRequest) RetryPolicy

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

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

func (CreateHostScanTargetRequest) String

func (request CreateHostScanTargetRequest) String() string

func (CreateHostScanTargetRequest) ValidateEnumValue

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

type CreateHostScanTargetResponse

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

CreateHostScanTargetResponse wrapper for the CreateHostScanTarget operation

func (CreateHostScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateHostScanTargetResponse) String

func (response CreateHostScanTargetResponse) String() string

type CreateOcirContainerScanRegistryDetails

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

CreateOcirContainerScanRegistryDetails Registry information for a OCI Registry target

func (CreateOcirContainerScanRegistryDetails) GetUrl

GetUrl returns Url

func (CreateOcirContainerScanRegistryDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateOcirContainerScanRegistryDetails) String

func (CreateOcirContainerScanRegistryDetails) ValidateEnumValue

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

type CveDetails

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

CveDetails Details on a CVE.

func (CveDetails) String

func (m CveDetails) String() string

func (CveDetails) ValidateEnumValue

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

type DayOfWeekEnum

type DayOfWeekEnum string

DayOfWeekEnum Enum with underlying type: string

const (
	DayOfWeekSunday    DayOfWeekEnum = "SUNDAY"
	DayOfWeekMonday    DayOfWeekEnum = "MONDAY"
	DayOfWeekTuesday   DayOfWeekEnum = "TUESDAY"
	DayOfWeekWednesday DayOfWeekEnum = "WEDNESDAY"
	DayOfWeekThursday  DayOfWeekEnum = "THURSDAY"
	DayOfWeekFriday    DayOfWeekEnum = "FRIDAY"
	DayOfWeekSaturday  DayOfWeekEnum = "SATURDAY"
)

Set of constants representing the allowable values for DayOfWeekEnum

func GetDayOfWeekEnumValues

func GetDayOfWeekEnumValues() []DayOfWeekEnum

GetDayOfWeekEnumValues Enumerates the set of values for DayOfWeekEnum

func GetMappingDayOfWeekEnum

func GetMappingDayOfWeekEnum(val string) (DayOfWeekEnum, bool)

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

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

DeleteContainerScanRecipeRequest wrapper for the DeleteContainerScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteContainerScanRecipe.go.html to see an example of how to use DeleteContainerScanRecipeRequest.

func (DeleteContainerScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteContainerScanRecipeRequest) HTTPRequest

func (request DeleteContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteContainerScanRecipeRequest) RetryPolicy

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

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

func (DeleteContainerScanRecipeRequest) String

func (request DeleteContainerScanRecipeRequest) String() string

func (DeleteContainerScanRecipeRequest) ValidateEnumValue

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

type DeleteContainerScanRecipeResponse

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

DeleteContainerScanRecipeResponse wrapper for the DeleteContainerScanRecipe operation

func (DeleteContainerScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteContainerScanRecipeResponse) String

func (response DeleteContainerScanRecipeResponse) String() string

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

DeleteContainerScanResultRequest wrapper for the DeleteContainerScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteContainerScanResult.go.html to see an example of how to use DeleteContainerScanResultRequest.

func (DeleteContainerScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteContainerScanResultRequest) HTTPRequest

func (request DeleteContainerScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteContainerScanResultRequest) RetryPolicy

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

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

func (DeleteContainerScanResultRequest) String

func (request DeleteContainerScanResultRequest) String() string

func (DeleteContainerScanResultRequest) ValidateEnumValue

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

type DeleteContainerScanResultResponse

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

DeleteContainerScanResultResponse wrapper for the DeleteContainerScanResult operation

func (DeleteContainerScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteContainerScanResultResponse) String

func (response DeleteContainerScanResultResponse) String() string

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

DeleteContainerScanTargetRequest wrapper for the DeleteContainerScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteContainerScanTarget.go.html to see an example of how to use DeleteContainerScanTargetRequest.

func (DeleteContainerScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteContainerScanTargetRequest) HTTPRequest

func (request DeleteContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteContainerScanTargetRequest) RetryPolicy

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

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

func (DeleteContainerScanTargetRequest) String

func (request DeleteContainerScanTargetRequest) String() string

func (DeleteContainerScanTargetRequest) ValidateEnumValue

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

type DeleteContainerScanTargetResponse

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

DeleteContainerScanTargetResponse wrapper for the DeleteContainerScanTarget operation

func (DeleteContainerScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteContainerScanTargetResponse) String

func (response DeleteContainerScanTargetResponse) String() string

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

DeleteHostAgentScanResultRequest wrapper for the DeleteHostAgentScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostAgentScanResult.go.html to see an example of how to use DeleteHostAgentScanResultRequest.

func (DeleteHostAgentScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteHostAgentScanResultRequest) HTTPRequest

func (request DeleteHostAgentScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHostAgentScanResultRequest) RetryPolicy

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

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

func (DeleteHostAgentScanResultRequest) String

func (request DeleteHostAgentScanResultRequest) String() string

func (DeleteHostAgentScanResultRequest) ValidateEnumValue

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

type DeleteHostAgentScanResultResponse

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

DeleteHostAgentScanResultResponse wrapper for the DeleteHostAgentScanResult operation

func (DeleteHostAgentScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteHostAgentScanResultResponse) String

func (response DeleteHostAgentScanResultResponse) String() string

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

DeleteHostCisBenchmarkScanResultRequest wrapper for the DeleteHostCisBenchmarkScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostCisBenchmarkScanResult.go.html to see an example of how to use DeleteHostCisBenchmarkScanResultRequest.

func (DeleteHostCisBenchmarkScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteHostCisBenchmarkScanResultRequest) HTTPRequest

func (request DeleteHostCisBenchmarkScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHostCisBenchmarkScanResultRequest) RetryPolicy

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

func (DeleteHostCisBenchmarkScanResultRequest) String

func (DeleteHostCisBenchmarkScanResultRequest) ValidateEnumValue

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

type DeleteHostCisBenchmarkScanResultResponse

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

DeleteHostCisBenchmarkScanResultResponse wrapper for the DeleteHostCisBenchmarkScanResult operation

func (DeleteHostCisBenchmarkScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteHostCisBenchmarkScanResultResponse) String

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

DeleteHostEndpointProtectionScanResultRequest wrapper for the DeleteHostEndpointProtectionScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostEndpointProtectionScanResult.go.html to see an example of how to use DeleteHostEndpointProtectionScanResultRequest.

func (DeleteHostEndpointProtectionScanResultRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (DeleteHostEndpointProtectionScanResultRequest) HTTPRequest

func (request DeleteHostEndpointProtectionScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHostEndpointProtectionScanResultRequest) RetryPolicy

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

func (DeleteHostEndpointProtectionScanResultRequest) String

func (DeleteHostEndpointProtectionScanResultRequest) ValidateEnumValue

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

type DeleteHostEndpointProtectionScanResultResponse

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

DeleteHostEndpointProtectionScanResultResponse wrapper for the DeleteHostEndpointProtectionScanResult operation

func (DeleteHostEndpointProtectionScanResultResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (DeleteHostEndpointProtectionScanResultResponse) String

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

DeleteHostPortScanResultRequest wrapper for the DeleteHostPortScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostPortScanResult.go.html to see an example of how to use DeleteHostPortScanResultRequest.

func (DeleteHostPortScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteHostPortScanResultRequest) HTTPRequest

func (request DeleteHostPortScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHostPortScanResultRequest) RetryPolicy

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

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

func (DeleteHostPortScanResultRequest) String

func (request DeleteHostPortScanResultRequest) String() string

func (DeleteHostPortScanResultRequest) ValidateEnumValue

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

type DeleteHostPortScanResultResponse

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

DeleteHostPortScanResultResponse wrapper for the DeleteHostPortScanResult operation

func (DeleteHostPortScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteHostPortScanResultResponse) String

func (response DeleteHostPortScanResultResponse) String() string

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

DeleteHostScanRecipeRequest wrapper for the DeleteHostScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostScanRecipe.go.html to see an example of how to use DeleteHostScanRecipeRequest.

func (DeleteHostScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteHostScanRecipeRequest) HTTPRequest

func (request DeleteHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHostScanRecipeRequest) RetryPolicy

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

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

func (DeleteHostScanRecipeRequest) String

func (request DeleteHostScanRecipeRequest) String() string

func (DeleteHostScanRecipeRequest) ValidateEnumValue

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

type DeleteHostScanRecipeResponse

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

DeleteHostScanRecipeResponse wrapper for the DeleteHostScanRecipe operation

func (DeleteHostScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteHostScanRecipeResponse) String

func (response DeleteHostScanRecipeResponse) String() string

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

DeleteHostScanTargetRequest wrapper for the DeleteHostScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostScanTarget.go.html to see an example of how to use DeleteHostScanTargetRequest.

func (DeleteHostScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteHostScanTargetRequest) HTTPRequest

func (request DeleteHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHostScanTargetRequest) RetryPolicy

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

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

func (DeleteHostScanTargetRequest) String

func (request DeleteHostScanTargetRequest) String() string

func (DeleteHostScanTargetRequest) ValidateEnumValue

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

type DeleteHostScanTargetResponse

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

DeleteHostScanTargetResponse wrapper for the DeleteHostScanTarget operation

func (DeleteHostScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteHostScanTargetResponse) String

func (response DeleteHostScanTargetResponse) String() string

type ExportHostAgentScanResultCsvDetails

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

ExportHostAgentScanResultCsvDetails Details for a HostAgentScan list export to CSV action

func (ExportHostAgentScanResultCsvDetails) String

func (ExportHostAgentScanResultCsvDetails) ValidateEnumValue

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

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

ExportHostAgentScanResultCsvRequest wrapper for the ExportHostAgentScanResultCsv operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ExportHostAgentScanResultCsv.go.html to see an example of how to use ExportHostAgentScanResultCsvRequest.

func (ExportHostAgentScanResultCsvRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ExportHostAgentScanResultCsvRequest) HTTPRequest

func (request ExportHostAgentScanResultCsvRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExportHostAgentScanResultCsvRequest) RetryPolicy

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

func (ExportHostAgentScanResultCsvRequest) String

func (ExportHostAgentScanResultCsvRequest) ValidateEnumValue

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

type ExportHostAgentScanResultCsvResponse

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

ExportHostAgentScanResultCsvResponse wrapper for the ExportHostAgentScanResultCsv operation

func (ExportHostAgentScanResultCsvResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ExportHostAgentScanResultCsvResponse) String

func (response ExportHostAgentScanResultCsvResponse) String() string

type ExportHostVulnerabilityCsvDetails

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

ExportHostVulnerabilityCsvDetails Details for a Host Vulnerability list export to CSV action

func (ExportHostVulnerabilityCsvDetails) String

func (ExportHostVulnerabilityCsvDetails) ValidateEnumValue

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

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

ExportHostVulnerabilityCsvRequest wrapper for the ExportHostVulnerabilityCsv operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ExportHostVulnerabilityCsv.go.html to see an example of how to use ExportHostVulnerabilityCsvRequest.

func (ExportHostVulnerabilityCsvRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ExportHostVulnerabilityCsvRequest) HTTPRequest

func (request ExportHostVulnerabilityCsvRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExportHostVulnerabilityCsvRequest) RetryPolicy

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

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

func (ExportHostVulnerabilityCsvRequest) String

func (request ExportHostVulnerabilityCsvRequest) String() string

func (ExportHostVulnerabilityCsvRequest) ValidateEnumValue

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

type ExportHostVulnerabilityCsvResponse

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

ExportHostVulnerabilityCsvResponse wrapper for the ExportHostVulnerabilityCsv operation

func (ExportHostVulnerabilityCsvResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ExportHostVulnerabilityCsvResponse) String

func (response ExportHostVulnerabilityCsvResponse) String() string

type FolderToScan added in v65.11.0

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

FolderToScan Folder selected for scanning

func (FolderToScan) String added in v65.11.0

func (m FolderToScan) String() string

func (FolderToScan) ValidateEnumValue added in v65.11.0

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

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

GetContainerScanRecipeRequest wrapper for the GetContainerScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetContainerScanRecipe.go.html to see an example of how to use GetContainerScanRecipeRequest.

func (GetContainerScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetContainerScanRecipeRequest) HTTPRequest

func (request GetContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerScanRecipeRequest) RetryPolicy

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

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

func (GetContainerScanRecipeRequest) String

func (request GetContainerScanRecipeRequest) String() string

func (GetContainerScanRecipeRequest) ValidateEnumValue

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

type GetContainerScanRecipeResponse

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

GetContainerScanRecipeResponse wrapper for the GetContainerScanRecipe operation

func (GetContainerScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetContainerScanRecipeResponse) String

func (response GetContainerScanRecipeResponse) String() string

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

GetContainerScanResultRequest wrapper for the GetContainerScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetContainerScanResult.go.html to see an example of how to use GetContainerScanResultRequest.

func (GetContainerScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetContainerScanResultRequest) HTTPRequest

func (request GetContainerScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerScanResultRequest) RetryPolicy

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

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

func (GetContainerScanResultRequest) String

func (request GetContainerScanResultRequest) String() string

func (GetContainerScanResultRequest) ValidateEnumValue

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

type GetContainerScanResultResponse

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

GetContainerScanResultResponse wrapper for the GetContainerScanResult operation

func (GetContainerScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetContainerScanResultResponse) String

func (response GetContainerScanResultResponse) String() string

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

GetContainerScanTargetRequest wrapper for the GetContainerScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetContainerScanTarget.go.html to see an example of how to use GetContainerScanTargetRequest.

func (GetContainerScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetContainerScanTargetRequest) HTTPRequest

func (request GetContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerScanTargetRequest) RetryPolicy

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

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

func (GetContainerScanTargetRequest) String

func (request GetContainerScanTargetRequest) String() string

func (GetContainerScanTargetRequest) ValidateEnumValue

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

type GetContainerScanTargetResponse

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

GetContainerScanTargetResponse wrapper for the GetContainerScanTarget operation

func (GetContainerScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetContainerScanTargetResponse) String

func (response GetContainerScanTargetResponse) String() string

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

GetHostAgentScanResultRequest wrapper for the GetHostAgentScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostAgentScanResult.go.html to see an example of how to use GetHostAgentScanResultRequest.

func (GetHostAgentScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetHostAgentScanResultRequest) HTTPRequest

func (request GetHostAgentScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostAgentScanResultRequest) RetryPolicy

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

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

func (GetHostAgentScanResultRequest) String

func (request GetHostAgentScanResultRequest) String() string

func (GetHostAgentScanResultRequest) ValidateEnumValue

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

type GetHostAgentScanResultResponse

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

GetHostAgentScanResultResponse wrapper for the GetHostAgentScanResult operation

func (GetHostAgentScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetHostAgentScanResultResponse) String

func (response GetHostAgentScanResultResponse) String() string

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

GetHostCisBenchmarkScanResultRequest wrapper for the GetHostCisBenchmarkScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostCisBenchmarkScanResult.go.html to see an example of how to use GetHostCisBenchmarkScanResultRequest.

func (GetHostCisBenchmarkScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetHostCisBenchmarkScanResultRequest) HTTPRequest

func (request GetHostCisBenchmarkScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostCisBenchmarkScanResultRequest) RetryPolicy

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

func (GetHostCisBenchmarkScanResultRequest) String

func (GetHostCisBenchmarkScanResultRequest) ValidateEnumValue

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

type GetHostCisBenchmarkScanResultResponse

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

GetHostCisBenchmarkScanResultResponse wrapper for the GetHostCisBenchmarkScanResult operation

func (GetHostCisBenchmarkScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetHostCisBenchmarkScanResultResponse) String

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

GetHostEndpointProtectionScanResultRequest wrapper for the GetHostEndpointProtectionScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostEndpointProtectionScanResult.go.html to see an example of how to use GetHostEndpointProtectionScanResultRequest.

func (GetHostEndpointProtectionScanResultRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (GetHostEndpointProtectionScanResultRequest) HTTPRequest

func (request GetHostEndpointProtectionScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostEndpointProtectionScanResultRequest) RetryPolicy

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

func (GetHostEndpointProtectionScanResultRequest) String

func (GetHostEndpointProtectionScanResultRequest) ValidateEnumValue

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

type GetHostEndpointProtectionScanResultResponse

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

GetHostEndpointProtectionScanResultResponse wrapper for the GetHostEndpointProtectionScanResult operation

func (GetHostEndpointProtectionScanResultResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (GetHostEndpointProtectionScanResultResponse) String

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

GetHostPortScanResultRequest wrapper for the GetHostPortScanResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostPortScanResult.go.html to see an example of how to use GetHostPortScanResultRequest.

func (GetHostPortScanResultRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetHostPortScanResultRequest) HTTPRequest

func (request GetHostPortScanResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostPortScanResultRequest) RetryPolicy

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

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

func (GetHostPortScanResultRequest) String

func (request GetHostPortScanResultRequest) String() string

func (GetHostPortScanResultRequest) ValidateEnumValue

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

type GetHostPortScanResultResponse

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

GetHostPortScanResultResponse wrapper for the GetHostPortScanResult operation

func (GetHostPortScanResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetHostPortScanResultResponse) String

func (response GetHostPortScanResultResponse) String() string

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

GetHostScanRecipeRequest wrapper for the GetHostScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostScanRecipe.go.html to see an example of how to use GetHostScanRecipeRequest.

func (GetHostScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetHostScanRecipeRequest) HTTPRequest

func (request GetHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostScanRecipeRequest) RetryPolicy

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

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

func (GetHostScanRecipeRequest) String

func (request GetHostScanRecipeRequest) String() string

func (GetHostScanRecipeRequest) ValidateEnumValue

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

type GetHostScanRecipeResponse

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

GetHostScanRecipeResponse wrapper for the GetHostScanRecipe operation

func (GetHostScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetHostScanRecipeResponse) String

func (response GetHostScanRecipeResponse) String() string

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

GetHostScanTargetRequest wrapper for the GetHostScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostScanTarget.go.html to see an example of how to use GetHostScanTargetRequest.

func (GetHostScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetHostScanTargetRequest) HTTPRequest

func (request GetHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostScanTargetRequest) RetryPolicy

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

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

func (GetHostScanTargetRequest) String

func (request GetHostScanTargetRequest) String() string

func (GetHostScanTargetRequest) ValidateEnumValue

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

type GetHostScanTargetResponse

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

GetHostScanTargetResponse wrapper for the GetHostScanTarget operation

func (GetHostScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetHostScanTargetResponse) String

func (response GetHostScanTargetResponse) String() string

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

GetHostVulnerabilityRequest wrapper for the GetHostVulnerability operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostVulnerability.go.html to see an example of how to use GetHostVulnerabilityRequest.

func (GetHostVulnerabilityRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetHostVulnerabilityRequest) HTTPRequest

func (request GetHostVulnerabilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHostVulnerabilityRequest) RetryPolicy

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

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

func (GetHostVulnerabilityRequest) String

func (request GetHostVulnerabilityRequest) String() string

func (GetHostVulnerabilityRequest) ValidateEnumValue

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

type GetHostVulnerabilityResponse

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

GetHostVulnerabilityResponse wrapper for the GetHostVulnerability operation

func (GetHostVulnerabilityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetHostVulnerabilityResponse) String

func (response GetHostVulnerabilityResponse) String() string

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

GetVulnerabilityRequest wrapper for the GetVulnerability operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetVulnerability.go.html to see an example of how to use GetVulnerabilityRequest.

func (GetVulnerabilityRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVulnerabilityRequest) HTTPRequest

func (request GetVulnerabilityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVulnerabilityRequest) RetryPolicy

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

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

func (GetVulnerabilityRequest) String

func (request GetVulnerabilityRequest) String() string

func (GetVulnerabilityRequest) ValidateEnumValue

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

type GetVulnerabilityResponse

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

GetVulnerabilityResponse wrapper for the GetVulnerability operation

func (GetVulnerabilityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVulnerabilityResponse) String

func (response GetVulnerabilityResponse) String() string

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `presentIn:"body"`

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HostAgentScanLevelEnum

type HostAgentScanLevelEnum string

HostAgentScanLevelEnum Enum with underlying type: string

const (
	HostAgentScanLevelNone     HostAgentScanLevelEnum = "NONE"
	HostAgentScanLevelStandard HostAgentScanLevelEnum = "STANDARD"
)

Set of constants representing the allowable values for HostAgentScanLevelEnum

func GetHostAgentScanLevelEnumValues

func GetHostAgentScanLevelEnumValues() []HostAgentScanLevelEnum

GetHostAgentScanLevelEnumValues Enumerates the set of values for HostAgentScanLevelEnum

func GetMappingHostAgentScanLevelEnum

func GetMappingHostAgentScanLevelEnum(val string) (HostAgentScanLevelEnum, bool)

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

type HostAgentScanResult

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

HostAgentScanResult A scan result for a host agent scan

func (HostAgentScanResult) String

func (m HostAgentScanResult) String() string

func (HostAgentScanResult) ValidateEnumValue

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

type HostAgentScanResultProblem

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

HostAgentScanResultProblem A problem found in a host agent scan

func (HostAgentScanResultProblem) String

func (HostAgentScanResultProblem) ValidateEnumValue

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

type HostAgentScanResultSortByEnum

type HostAgentScanResultSortByEnum string

HostAgentScanResultSortByEnum Enum with underlying type: string

const (
	HostAgentScanResultSortByTimeStarted            HostAgentScanResultSortByEnum = "timeStarted"
	HostAgentScanResultSortByTimeFinished           HostAgentScanResultSortByEnum = "timeFinished"
	HostAgentScanResultSortByProblemCount           HostAgentScanResultSortByEnum = "problemCount"
	HostAgentScanResultSortByHighestProblemSeverity HostAgentScanResultSortByEnum = "highestProblemSeverity"
	HostAgentScanResultSortByTimeCompleted          HostAgentScanResultSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for HostAgentScanResultSortByEnum

func GetHostAgentScanResultSortByEnumValues

func GetHostAgentScanResultSortByEnumValues() []HostAgentScanResultSortByEnum

GetHostAgentScanResultSortByEnumValues Enumerates the set of values for HostAgentScanResultSortByEnum

func GetMappingHostAgentScanResultSortByEnum

func GetMappingHostAgentScanResultSortByEnum(val string) (HostAgentScanResultSortByEnum, bool)

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

type HostAgentScanResultSummary

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

HostAgentScanResultSummary A summary of a result for a host agent scan

func (HostAgentScanResultSummary) String

func (HostAgentScanResultSummary) ValidateEnumValue

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

type HostAgentScanResultSummaryCollection

type HostAgentScanResultSummaryCollection struct {

	// The HostAgentScanResultSummary objects in the collection
	Items []HostAgentScanResultSummary `mandatory:"true" json:"items"`
}

HostAgentScanResultSummaryCollection A collection of HostAgentScanResultSummary

func (HostAgentScanResultSummaryCollection) String

func (HostAgentScanResultSummaryCollection) ValidateEnumValue

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

type HostCisBenchmarkScanLevelEnum

type HostCisBenchmarkScanLevelEnum string

HostCisBenchmarkScanLevelEnum Enum with underlying type: string

const (
	HostCisBenchmarkScanLevelNone   HostCisBenchmarkScanLevelEnum = "NONE"
	HostCisBenchmarkScanLevelLight  HostCisBenchmarkScanLevelEnum = "LIGHT"
	HostCisBenchmarkScanLevelMedium HostCisBenchmarkScanLevelEnum = "MEDIUM"
	HostCisBenchmarkScanLevelStrict HostCisBenchmarkScanLevelEnum = "STRICT"
)

Set of constants representing the allowable values for HostCisBenchmarkScanLevelEnum

func GetHostCisBenchmarkScanLevelEnumValues

func GetHostCisBenchmarkScanLevelEnumValues() []HostCisBenchmarkScanLevelEnum

GetHostCisBenchmarkScanLevelEnumValues Enumerates the set of values for HostCisBenchmarkScanLevelEnum

func GetMappingHostCisBenchmarkScanLevelEnum

func GetMappingHostCisBenchmarkScanLevelEnum(val string) (HostCisBenchmarkScanLevelEnum, bool)

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

type HostCisBenchmarkScanResult

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

HostCisBenchmarkScanResult A scan result of all CIS (Center for Internet Security) benchmark execution for this host

func (HostCisBenchmarkScanResult) String

func (HostCisBenchmarkScanResult) ValidateEnumValue

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

type HostCisBenchmarkScanResultScore

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

HostCisBenchmarkScanResultScore A single CIS (Center for Internet Security) benchmark executed in a host scan

func (HostCisBenchmarkScanResultScore) String

func (HostCisBenchmarkScanResultScore) ValidateEnumValue

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

type HostCisBenchmarkScanResultSortByEnum

type HostCisBenchmarkScanResultSortByEnum string

HostCisBenchmarkScanResultSortByEnum Enum with underlying type: string

const (
	HostCisBenchmarkScanResultSortByTimeStarted                 HostCisBenchmarkScanResultSortByEnum = "timeStarted"
	HostCisBenchmarkScanResultSortByTimeFinished                HostCisBenchmarkScanResultSortByEnum = "timeFinished"
	HostCisBenchmarkScanResultSortByCisBenchmarkScanIssuesCount HostCisBenchmarkScanResultSortByEnum = "cisBenchmarkScanIssuesCount"
)

Set of constants representing the allowable values for HostCisBenchmarkScanResultSortByEnum

func GetHostCisBenchmarkScanResultSortByEnumValues

func GetHostCisBenchmarkScanResultSortByEnumValues() []HostCisBenchmarkScanResultSortByEnum

GetHostCisBenchmarkScanResultSortByEnumValues Enumerates the set of values for HostCisBenchmarkScanResultSortByEnum

func GetMappingHostCisBenchmarkScanResultSortByEnum

func GetMappingHostCisBenchmarkScanResultSortByEnum(val string) (HostCisBenchmarkScanResultSortByEnum, bool)

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

type HostCisBenchmarkScanResultSummary

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

HostCisBenchmarkScanResultSummary A summary of a result for all CIS (Center for Internet Security) benchmark execution for this host

func (HostCisBenchmarkScanResultSummary) String

func (HostCisBenchmarkScanResultSummary) ValidateEnumValue

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

type HostCisBenchmarkScanResultSummaryCollection

type HostCisBenchmarkScanResultSummaryCollection struct {

	// The HostCisBenchmarkScanResultSummary objects in the collection
	Items []HostCisBenchmarkScanResultSummary `mandatory:"true" json:"items"`
}

HostCisBenchmarkScanResultSummaryCollection A collection of multiple Host CIS (Center for Internet Security) Benchmark Scan Result Summary

func (HostCisBenchmarkScanResultSummaryCollection) String

func (HostCisBenchmarkScanResultSummaryCollection) ValidateEnumValue

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

type HostCisBenchmarkSettings

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

HostCisBenchmarkSettings CIS (Center for Internet Security) Benchmark scan settings for a host scan

func (HostCisBenchmarkSettings) String

func (m HostCisBenchmarkSettings) String() string

func (HostCisBenchmarkSettings) ValidateEnumValue

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

type HostEndpointProtectionScanLevelEnum

type HostEndpointProtectionScanLevelEnum string

HostEndpointProtectionScanLevelEnum Enum with underlying type: string

const (
	HostEndpointProtectionScanLevelNone     HostEndpointProtectionScanLevelEnum = "NONE"
	HostEndpointProtectionScanLevelStandard HostEndpointProtectionScanLevelEnum = "STANDARD"
)

Set of constants representing the allowable values for HostEndpointProtectionScanLevelEnum

func GetHostEndpointProtectionScanLevelEnumValues

func GetHostEndpointProtectionScanLevelEnumValues() []HostEndpointProtectionScanLevelEnum

GetHostEndpointProtectionScanLevelEnumValues Enumerates the set of values for HostEndpointProtectionScanLevelEnum

func GetMappingHostEndpointProtectionScanLevelEnum

func GetMappingHostEndpointProtectionScanLevelEnum(val string) (HostEndpointProtectionScanLevelEnum, bool)

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

type HostEndpointProtectionScanResult

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

HostEndpointProtectionScanResult A scan result for a host endpoint protection scan

func (HostEndpointProtectionScanResult) String

func (HostEndpointProtectionScanResult) ValidateEnumValue

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

type HostEndpointProtectionScanResultEndpointProtection

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

HostEndpointProtectionScanResultEndpointProtection An endpoint protection found in a host scan

func (HostEndpointProtectionScanResultEndpointProtection) String

func (HostEndpointProtectionScanResultEndpointProtection) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HostEndpointProtectionScanResultSortByEnum

type HostEndpointProtectionScanResultSortByEnum string

HostEndpointProtectionScanResultSortByEnum Enum with underlying type: string

const (
	HostEndpointProtectionScanResultSortByTimeStarted     HostEndpointProtectionScanResultSortByEnum = "timeStarted"
	HostEndpointProtectionScanResultSortByTimeFinished    HostEndpointProtectionScanResultSortByEnum = "timeFinished"
	HostEndpointProtectionScanResultSortByProblemSeverity HostEndpointProtectionScanResultSortByEnum = "problemSeverity"
)

Set of constants representing the allowable values for HostEndpointProtectionScanResultSortByEnum

func GetHostEndpointProtectionScanResultSortByEnumValues

func GetHostEndpointProtectionScanResultSortByEnumValues() []HostEndpointProtectionScanResultSortByEnum

GetHostEndpointProtectionScanResultSortByEnumValues Enumerates the set of values for HostEndpointProtectionScanResultSortByEnum

func GetMappingHostEndpointProtectionScanResultSortByEnum

func GetMappingHostEndpointProtectionScanResultSortByEnum(val string) (HostEndpointProtectionScanResultSortByEnum, bool)

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

type HostEndpointProtectionScanResultSummary

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

HostEndpointProtectionScanResultSummary A summary of a result for endpoint protections found in a host scan

func (HostEndpointProtectionScanResultSummary) String

func (HostEndpointProtectionScanResultSummary) ValidateEnumValue

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

type HostEndpointProtectionScanResultSummaryCollection

type HostEndpointProtectionScanResultSummaryCollection struct {

	// The HostEndpointProtectionScanResultSummary objects in the collection
	Items []HostEndpointProtectionScanResultSummary `mandatory:"true" json:"items"`
}

HostEndpointProtectionScanResultSummaryCollection A collection of multiple Host EndpointProtection Scan Result Summary

func (HostEndpointProtectionScanResultSummaryCollection) String

func (HostEndpointProtectionScanResultSummaryCollection) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HostEndpointProtectionSettings

type HostEndpointProtectionSettings struct {

	// The scan level. Use 'NONE' to disable Endpoint Protection checks entirely.
	ScanLevel HostEndpointProtectionScanLevelEnum `mandatory:"false" json:"scanLevel,omitempty"`
}

HostEndpointProtectionSettings Endpoint Protection scan settings for a host scan

func (HostEndpointProtectionSettings) String

func (HostEndpointProtectionSettings) ValidateEnumValue

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

type HostPortScanLevelEnum

type HostPortScanLevelEnum string

HostPortScanLevelEnum Enum with underlying type: string

const (
	HostPortScanLevelNone     HostPortScanLevelEnum = "NONE"
	HostPortScanLevelLight    HostPortScanLevelEnum = "LIGHT"
	HostPortScanLevelStandard HostPortScanLevelEnum = "STANDARD"
)

Set of constants representing the allowable values for HostPortScanLevelEnum

func GetHostPortScanLevelEnumValues

func GetHostPortScanLevelEnumValues() []HostPortScanLevelEnum

GetHostPortScanLevelEnumValues Enumerates the set of values for HostPortScanLevelEnum

func GetMappingHostPortScanLevelEnum

func GetMappingHostPortScanLevelEnum(val string) (HostPortScanLevelEnum, bool)

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

type HostPortScanResult

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

HostPortScanResult A scan result for a host port scan

func (HostPortScanResult) String

func (m HostPortScanResult) String() string

func (HostPortScanResult) ValidateEnumValue

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

type HostPortScanResultOpenPort

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

HostPortScanResultOpenPort An open port found in a host port scan

func (HostPortScanResultOpenPort) String

func (HostPortScanResultOpenPort) ValidateEnumValue

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

type HostPortScanResultSortByEnum

type HostPortScanResultSortByEnum string

HostPortScanResultSortByEnum Enum with underlying type: string

const (
	HostPortScanResultSortByTimeStarted            HostPortScanResultSortByEnum = "timeStarted"
	HostPortScanResultSortByTimeFinished           HostPortScanResultSortByEnum = "timeFinished"
	HostPortScanResultSortByOpenPortCount          HostPortScanResultSortByEnum = "openPortCount"
	HostPortScanResultSortByHighestProblemSeverity HostPortScanResultSortByEnum = "highestProblemSeverity"
	HostPortScanResultSortByTimeCompleted          HostPortScanResultSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for HostPortScanResultSortByEnum

func GetHostPortScanResultSortByEnumValues

func GetHostPortScanResultSortByEnumValues() []HostPortScanResultSortByEnum

GetHostPortScanResultSortByEnumValues Enumerates the set of values for HostPortScanResultSortByEnum

func GetMappingHostPortScanResultSortByEnum

func GetMappingHostPortScanResultSortByEnum(val string) (HostPortScanResultSortByEnum, bool)

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

type HostPortScanResultSummary

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

HostPortScanResultSummary A summary of a result for a host agent scan

func (HostPortScanResultSummary) String

func (m HostPortScanResultSummary) String() string

func (HostPortScanResultSummary) ValidateEnumValue

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

type HostPortScanResultSummaryCollection

type HostPortScanResultSummaryCollection struct {

	// The HostPortScanResultSummary objects in the collection
	Items []HostPortScanResultSummary `mandatory:"true" json:"items"`
}

HostPortScanResultSummaryCollection A collection of HostPortScanResultSummary

func (HostPortScanResultSummaryCollection) String

func (HostPortScanResultSummaryCollection) ValidateEnumValue

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

type HostScanAgentConfiguration

type HostScanAgentConfiguration interface {

	// Vendor to use for the host scan agent.
	GetVendorType() VendorTypeEnum
}

HostScanAgentConfiguration Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.

type HostScanAgentConfigurationOci

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

HostScanAgentConfigurationOci Agent configuration options for the OCI host scan agent

func (HostScanAgentConfigurationOci) GetVendorType added in v65.25.0

GetVendorType returns VendorType

func (HostScanAgentConfigurationOci) MarshalJSON

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

MarshalJSON marshals to json representation

func (HostScanAgentConfigurationOci) String

func (HostScanAgentConfigurationOci) ValidateEnumValue

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

type HostScanAgentConfigurationQualys added in v65.25.0

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

HostScanAgentConfigurationQualys Agent configuration options for vendor Qualys.

func (HostScanAgentConfigurationQualys) GetVendorType added in v65.25.0

GetVendorType returns VendorType

func (HostScanAgentConfigurationQualys) MarshalJSON added in v65.25.0

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

MarshalJSON marshals to json representation

func (HostScanAgentConfigurationQualys) String added in v65.25.0

func (HostScanAgentConfigurationQualys) ValidateEnumValue added in v65.25.0

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

type HostScanAgentSettings

type HostScanAgentSettings struct {

	// The scan level
	ScanLevel HostAgentScanLevelEnum `mandatory:"true" json:"scanLevel"`

	AgentConfiguration HostScanAgentConfiguration `mandatory:"false" json:"agentConfiguration"`
}

HostScanAgentSettings Agent scan settings for a host scan

func (HostScanAgentSettings) String

func (m HostScanAgentSettings) String() string

func (*HostScanAgentSettings) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (HostScanAgentSettings) ValidateEnumValue

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

type HostScanPortSettings

type HostScanPortSettings struct {

	// The scan level
	ScanLevel HostPortScanLevelEnum `mandatory:"true" json:"scanLevel"`
}

HostScanPortSettings Port scan settings for a host scan

func (HostScanPortSettings) String

func (m HostScanPortSettings) String() string

func (HostScanPortSettings) ValidateEnumValue

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

type HostScanRecipe

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

HostScanRecipe A host scan recipe (collection of host scanning configuration settings)

func (HostScanRecipe) String

func (m HostScanRecipe) String() string

func (HostScanRecipe) ValidateEnumValue

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

type HostScanRecipeSummary

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

HostScanRecipeSummary Summary of a host scan recipe (collection of host scanning configuration settings)

func (HostScanRecipeSummary) String

func (m HostScanRecipeSummary) String() string

func (HostScanRecipeSummary) ValidateEnumValue

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

type HostScanRecipeSummaryCollection

type HostScanRecipeSummaryCollection struct {

	// The HostScanRecipeSummary objects in the collection
	Items []HostScanRecipeSummary `mandatory:"true" json:"items"`
}

HostScanRecipeSummaryCollection A collection of HostScanRecipeSummary objects

func (HostScanRecipeSummaryCollection) String

func (HostScanRecipeSummaryCollection) ValidateEnumValue

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

type HostScanTarget

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

HostScanTarget A host scan target (application of a host scan recipe to a compartment or list of hosts)

func (HostScanTarget) String

func (m HostScanTarget) String() string

func (HostScanTarget) ValidateEnumValue

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

type HostScanTargetErrorSummary added in v65.25.0

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

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

func (HostScanTargetErrorSummary) String added in v65.25.0

func (HostScanTargetErrorSummary) ValidateEnumValue added in v65.25.0

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

type HostScanTargetErrorSummaryCollection added in v65.25.0

type HostScanTargetErrorSummaryCollection struct {

	// The HostScanTargetError objects in the collection.
	Items []HostScanTargetErrorSummary `mandatory:"true" json:"items"`
}

HostScanTargetErrorSummaryCollection A collection of HostScanTargetError objects.

func (HostScanTargetErrorSummaryCollection) String added in v65.25.0

func (HostScanTargetErrorSummaryCollection) ValidateEnumValue added in v65.25.0

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

type HostScanTargetSummary

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

HostScanTargetSummary Summary of a host scan target (application of a host scan recipe to a compartment or list of hosts)

func (HostScanTargetSummary) String

func (m HostScanTargetSummary) String() string

func (HostScanTargetSummary) ValidateEnumValue

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

type HostScanTargetSummaryCollection

type HostScanTargetSummaryCollection struct {

	// The HostScanTargetSummary objects in the collection
	Items []HostScanTargetSummary `mandatory:"true" json:"items"`
}

HostScanTargetSummaryCollection A collection of HostScanTargetSummary objects

func (HostScanTargetSummaryCollection) String

func (HostScanTargetSummaryCollection) ValidateEnumValue

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

type HostVulnerability

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

HostVulnerability A vulnerability found in one or more host scans in a compartment

func (HostVulnerability) String

func (m HostVulnerability) String() string

func (HostVulnerability) ValidateEnumValue

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

type HostVulnerabilityImpactedHostSummary

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

HostVulnerabilityImpactedHostSummary Information on a host impacted by a vulnerability

func (HostVulnerabilityImpactedHostSummary) String

func (HostVulnerabilityImpactedHostSummary) ValidateEnumValue

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

type HostVulnerabilityImpactedHostSummaryCollection

type HostVulnerabilityImpactedHostSummaryCollection struct {

	// The ImpactedHostSummary objects in the collection
	Items []HostVulnerabilityImpactedHostSummary `mandatory:"true" json:"items"`
}

HostVulnerabilityImpactedHostSummaryCollection A collection of HostVulnerabilityImpactedHost

func (HostVulnerabilityImpactedHostSummaryCollection) String

func (HostVulnerabilityImpactedHostSummaryCollection) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HostVulnerabilitySortByEnum

type HostVulnerabilitySortByEnum string

HostVulnerabilitySortByEnum Enum with underlying type: string

const (
	HostVulnerabilitySortByName          HostVulnerabilitySortByEnum = "name"
	HostVulnerabilitySortBySeverity      HostVulnerabilitySortByEnum = "severity"
	HostVulnerabilitySortByImpactedHosts HostVulnerabilitySortByEnum = "impactedHosts"
	HostVulnerabilitySortByFirstDetected HostVulnerabilitySortByEnum = "firstDetected"
	HostVulnerabilitySortByLastDetected  HostVulnerabilitySortByEnum = "lastDetected"
)

Set of constants representing the allowable values for HostVulnerabilitySortByEnum

func GetHostVulnerabilitySortByEnumValues

func GetHostVulnerabilitySortByEnumValues() []HostVulnerabilitySortByEnum

GetHostVulnerabilitySortByEnumValues Enumerates the set of values for HostVulnerabilitySortByEnum

func GetMappingHostVulnerabilitySortByEnum

func GetMappingHostVulnerabilitySortByEnum(val string) (HostVulnerabilitySortByEnum, bool)

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

type HostVulnerabilitySummary

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

HostVulnerabilitySummary Summary of a host scan vulnerability

func (HostVulnerabilitySummary) String

func (m HostVulnerabilitySummary) String() string

func (HostVulnerabilitySummary) ValidateEnumValue

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

type HostVulnerabilitySummaryCollection

type HostVulnerabilitySummaryCollection struct {

	// The HostVulnerabilitySummary objects in the collection
	Items []HostVulnerabilitySummary `mandatory:"true" json:"items"`
}

HostVulnerabilitySummaryCollection A collection of HostVulnerabilitySummary

func (HostVulnerabilitySummaryCollection) String

func (HostVulnerabilitySummaryCollection) ValidateEnumValue

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

type ImpactedHostSortByEnum

type ImpactedHostSortByEnum string

ImpactedHostSortByEnum Enum with underlying type: string

const (
	ImpactedHostSortByInstanceId ImpactedHostSortByEnum = "instanceId"
)

Set of constants representing the allowable values for ImpactedHostSortByEnum

func GetImpactedHostSortByEnumValues

func GetImpactedHostSortByEnumValues() []ImpactedHostSortByEnum

GetImpactedHostSortByEnumValues Enumerates the set of values for ImpactedHostSortByEnum

func GetMappingImpactedHostSortByEnum

func GetMappingImpactedHostSortByEnum(val string) (ImpactedHostSortByEnum, bool)

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

type ImpactedResourcesCount

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

ImpactedResourcesCount Number of resources impacted in this compartment whose scan results currently report this vulnerability

func (ImpactedResourcesCount) String

func (m ImpactedResourcesCount) String() string

func (ImpactedResourcesCount) ValidateEnumValue

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

type LifecycleStateEnum

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListContainerScanRecipesLifecycleStateEnum

type ListContainerScanRecipesLifecycleStateEnum string

ListContainerScanRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListContainerScanRecipesLifecycleStateCreating ListContainerScanRecipesLifecycleStateEnum = "CREATING"
	ListContainerScanRecipesLifecycleStateUpdating ListContainerScanRecipesLifecycleStateEnum = "UPDATING"
	ListContainerScanRecipesLifecycleStateActive   ListContainerScanRecipesLifecycleStateEnum = "ACTIVE"
	ListContainerScanRecipesLifecycleStateDeleting ListContainerScanRecipesLifecycleStateEnum = "DELETING"
	ListContainerScanRecipesLifecycleStateDeleted  ListContainerScanRecipesLifecycleStateEnum = "DELETED"
	ListContainerScanRecipesLifecycleStateFailed   ListContainerScanRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListContainerScanRecipesLifecycleStateEnum

func GetListContainerScanRecipesLifecycleStateEnumValues

func GetListContainerScanRecipesLifecycleStateEnumValues() []ListContainerScanRecipesLifecycleStateEnum

GetListContainerScanRecipesLifecycleStateEnumValues Enumerates the set of values for ListContainerScanRecipesLifecycleStateEnum

func GetMappingListContainerScanRecipesLifecycleStateEnum

func GetMappingListContainerScanRecipesLifecycleStateEnum(val string) (ListContainerScanRecipesLifecycleStateEnum, bool)

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

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

ListContainerScanRecipesRequest wrapper for the ListContainerScanRecipes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListContainerScanRecipes.go.html to see an example of how to use ListContainerScanRecipesRequest.

func (ListContainerScanRecipesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListContainerScanRecipesRequest) HTTPRequest

func (request ListContainerScanRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListContainerScanRecipesRequest) RetryPolicy

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

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

func (ListContainerScanRecipesRequest) String

func (request ListContainerScanRecipesRequest) String() string

func (ListContainerScanRecipesRequest) ValidateEnumValue

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

type ListContainerScanRecipesResponse

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

ListContainerScanRecipesResponse wrapper for the ListContainerScanRecipes operation

func (ListContainerScanRecipesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListContainerScanRecipesResponse) String

func (response ListContainerScanRecipesResponse) String() string

type ListContainerScanRecipesSortByEnum

type ListContainerScanRecipesSortByEnum string

ListContainerScanRecipesSortByEnum Enum with underlying type: string

const (
	ListContainerScanRecipesSortByTimecreated ListContainerScanRecipesSortByEnum = "timeCreated"
	ListContainerScanRecipesSortByDisplayname ListContainerScanRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListContainerScanRecipesSortByEnum

func GetListContainerScanRecipesSortByEnumValues

func GetListContainerScanRecipesSortByEnumValues() []ListContainerScanRecipesSortByEnum

GetListContainerScanRecipesSortByEnumValues Enumerates the set of values for ListContainerScanRecipesSortByEnum

func GetMappingListContainerScanRecipesSortByEnum

func GetMappingListContainerScanRecipesSortByEnum(val string) (ListContainerScanRecipesSortByEnum, bool)

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

type ListContainerScanRecipesSortOrderEnum

type ListContainerScanRecipesSortOrderEnum string

ListContainerScanRecipesSortOrderEnum Enum with underlying type: string

const (
	ListContainerScanRecipesSortOrderAsc  ListContainerScanRecipesSortOrderEnum = "ASC"
	ListContainerScanRecipesSortOrderDesc ListContainerScanRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListContainerScanRecipesSortOrderEnum

func GetListContainerScanRecipesSortOrderEnumValues

func GetListContainerScanRecipesSortOrderEnumValues() []ListContainerScanRecipesSortOrderEnum

GetListContainerScanRecipesSortOrderEnumValues Enumerates the set of values for ListContainerScanRecipesSortOrderEnum

func GetMappingListContainerScanRecipesSortOrderEnum

func GetMappingListContainerScanRecipesSortOrderEnum(val string) (ListContainerScanRecipesSortOrderEnum, bool)

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

type ListContainerScanResultsHighestProblemSeverityEnum

type ListContainerScanResultsHighestProblemSeverityEnum string

ListContainerScanResultsHighestProblemSeverityEnum Enum with underlying type: string

const (
	ListContainerScanResultsHighestProblemSeverityNone     ListContainerScanResultsHighestProblemSeverityEnum = "NONE"
	ListContainerScanResultsHighestProblemSeverityLow      ListContainerScanResultsHighestProblemSeverityEnum = "LOW"
	ListContainerScanResultsHighestProblemSeverityMedium   ListContainerScanResultsHighestProblemSeverityEnum = "MEDIUM"
	ListContainerScanResultsHighestProblemSeverityHigh     ListContainerScanResultsHighestProblemSeverityEnum = "HIGH"
	ListContainerScanResultsHighestProblemSeverityCritical ListContainerScanResultsHighestProblemSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListContainerScanResultsHighestProblemSeverityEnum

func GetListContainerScanResultsHighestProblemSeverityEnumValues

func GetListContainerScanResultsHighestProblemSeverityEnumValues() []ListContainerScanResultsHighestProblemSeverityEnum

GetListContainerScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListContainerScanResultsHighestProblemSeverityEnum

func GetMappingListContainerScanResultsHighestProblemSeverityEnum

func GetMappingListContainerScanResultsHighestProblemSeverityEnum(val string) (ListContainerScanResultsHighestProblemSeverityEnum, bool)

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

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

ListContainerScanResultsRequest wrapper for the ListContainerScanResults operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListContainerScanResults.go.html to see an example of how to use ListContainerScanResultsRequest.

func (ListContainerScanResultsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListContainerScanResultsRequest) HTTPRequest

func (request ListContainerScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListContainerScanResultsRequest) RetryPolicy

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

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

func (ListContainerScanResultsRequest) String

func (request ListContainerScanResultsRequest) String() string

func (ListContainerScanResultsRequest) ValidateEnumValue

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

type ListContainerScanResultsResponse

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

ListContainerScanResultsResponse wrapper for the ListContainerScanResults operation

func (ListContainerScanResultsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListContainerScanResultsResponse) String

func (response ListContainerScanResultsResponse) String() string

type ListContainerScanResultsSortByEnum

type ListContainerScanResultsSortByEnum string

ListContainerScanResultsSortByEnum Enum with underlying type: string

const (
	ListContainerScanResultsSortByTimestarted            ListContainerScanResultsSortByEnum = "timeStarted"
	ListContainerScanResultsSortByProblemcount           ListContainerScanResultsSortByEnum = "problemCount"
	ListContainerScanResultsSortByHighestproblemseverity ListContainerScanResultsSortByEnum = "highestProblemSeverity"
)

Set of constants representing the allowable values for ListContainerScanResultsSortByEnum

func GetListContainerScanResultsSortByEnumValues

func GetListContainerScanResultsSortByEnumValues() []ListContainerScanResultsSortByEnum

GetListContainerScanResultsSortByEnumValues Enumerates the set of values for ListContainerScanResultsSortByEnum

func GetMappingListContainerScanResultsSortByEnum

func GetMappingListContainerScanResultsSortByEnum(val string) (ListContainerScanResultsSortByEnum, bool)

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

type ListContainerScanResultsSortOrderEnum

type ListContainerScanResultsSortOrderEnum string

ListContainerScanResultsSortOrderEnum Enum with underlying type: string

const (
	ListContainerScanResultsSortOrderAsc  ListContainerScanResultsSortOrderEnum = "ASC"
	ListContainerScanResultsSortOrderDesc ListContainerScanResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListContainerScanResultsSortOrderEnum

func GetListContainerScanResultsSortOrderEnumValues

func GetListContainerScanResultsSortOrderEnumValues() []ListContainerScanResultsSortOrderEnum

GetListContainerScanResultsSortOrderEnumValues Enumerates the set of values for ListContainerScanResultsSortOrderEnum

func GetMappingListContainerScanResultsSortOrderEnum

func GetMappingListContainerScanResultsSortOrderEnum(val string) (ListContainerScanResultsSortOrderEnum, bool)

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

type ListContainerScanTargetsLifecycleStateEnum

type ListContainerScanTargetsLifecycleStateEnum string

ListContainerScanTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListContainerScanTargetsLifecycleStateCreating ListContainerScanTargetsLifecycleStateEnum = "CREATING"
	ListContainerScanTargetsLifecycleStateUpdating ListContainerScanTargetsLifecycleStateEnum = "UPDATING"
	ListContainerScanTargetsLifecycleStateActive   ListContainerScanTargetsLifecycleStateEnum = "ACTIVE"
	ListContainerScanTargetsLifecycleStateDeleting ListContainerScanTargetsLifecycleStateEnum = "DELETING"
	ListContainerScanTargetsLifecycleStateDeleted  ListContainerScanTargetsLifecycleStateEnum = "DELETED"
	ListContainerScanTargetsLifecycleStateFailed   ListContainerScanTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListContainerScanTargetsLifecycleStateEnum

func GetListContainerScanTargetsLifecycleStateEnumValues

func GetListContainerScanTargetsLifecycleStateEnumValues() []ListContainerScanTargetsLifecycleStateEnum

GetListContainerScanTargetsLifecycleStateEnumValues Enumerates the set of values for ListContainerScanTargetsLifecycleStateEnum

func GetMappingListContainerScanTargetsLifecycleStateEnum

func GetMappingListContainerScanTargetsLifecycleStateEnum(val string) (ListContainerScanTargetsLifecycleStateEnum, bool)

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

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

ListContainerScanTargetsRequest wrapper for the ListContainerScanTargets operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListContainerScanTargets.go.html to see an example of how to use ListContainerScanTargetsRequest.

func (ListContainerScanTargetsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListContainerScanTargetsRequest) HTTPRequest

func (request ListContainerScanTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListContainerScanTargetsRequest) RetryPolicy

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

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

func (ListContainerScanTargetsRequest) String

func (request ListContainerScanTargetsRequest) String() string

func (ListContainerScanTargetsRequest) ValidateEnumValue

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

type ListContainerScanTargetsResponse

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

ListContainerScanTargetsResponse wrapper for the ListContainerScanTargets operation

func (ListContainerScanTargetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListContainerScanTargetsResponse) String

func (response ListContainerScanTargetsResponse) String() string

type ListContainerScanTargetsSortByEnum

type ListContainerScanTargetsSortByEnum string

ListContainerScanTargetsSortByEnum Enum with underlying type: string

const (
	ListContainerScanTargetsSortByTimecreated ListContainerScanTargetsSortByEnum = "timeCreated"
	ListContainerScanTargetsSortByDisplayname ListContainerScanTargetsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListContainerScanTargetsSortByEnum

func GetListContainerScanTargetsSortByEnumValues

func GetListContainerScanTargetsSortByEnumValues() []ListContainerScanTargetsSortByEnum

GetListContainerScanTargetsSortByEnumValues Enumerates the set of values for ListContainerScanTargetsSortByEnum

func GetMappingListContainerScanTargetsSortByEnum

func GetMappingListContainerScanTargetsSortByEnum(val string) (ListContainerScanTargetsSortByEnum, bool)

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

type ListContainerScanTargetsSortOrderEnum

type ListContainerScanTargetsSortOrderEnum string

ListContainerScanTargetsSortOrderEnum Enum with underlying type: string

const (
	ListContainerScanTargetsSortOrderAsc  ListContainerScanTargetsSortOrderEnum = "ASC"
	ListContainerScanTargetsSortOrderDesc ListContainerScanTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListContainerScanTargetsSortOrderEnum

func GetListContainerScanTargetsSortOrderEnumValues

func GetListContainerScanTargetsSortOrderEnumValues() []ListContainerScanTargetsSortOrderEnum

GetListContainerScanTargetsSortOrderEnumValues Enumerates the set of values for ListContainerScanTargetsSortOrderEnum

func GetMappingListContainerScanTargetsSortOrderEnum

func GetMappingListContainerScanTargetsSortOrderEnum(val string) (ListContainerScanTargetsSortOrderEnum, bool)

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

type ListHostAgentScanResultsHighestProblemSeverityEnum

type ListHostAgentScanResultsHighestProblemSeverityEnum string

ListHostAgentScanResultsHighestProblemSeverityEnum Enum with underlying type: string

const (
	ListHostAgentScanResultsHighestProblemSeverityNone     ListHostAgentScanResultsHighestProblemSeverityEnum = "NONE"
	ListHostAgentScanResultsHighestProblemSeverityLow      ListHostAgentScanResultsHighestProblemSeverityEnum = "LOW"
	ListHostAgentScanResultsHighestProblemSeverityMedium   ListHostAgentScanResultsHighestProblemSeverityEnum = "MEDIUM"
	ListHostAgentScanResultsHighestProblemSeverityHigh     ListHostAgentScanResultsHighestProblemSeverityEnum = "HIGH"
	ListHostAgentScanResultsHighestProblemSeverityCritical ListHostAgentScanResultsHighestProblemSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListHostAgentScanResultsHighestProblemSeverityEnum

func GetListHostAgentScanResultsHighestProblemSeverityEnumValues

func GetListHostAgentScanResultsHighestProblemSeverityEnumValues() []ListHostAgentScanResultsHighestProblemSeverityEnum

GetListHostAgentScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListHostAgentScanResultsHighestProblemSeverityEnum

func GetMappingListHostAgentScanResultsHighestProblemSeverityEnum

func GetMappingListHostAgentScanResultsHighestProblemSeverityEnum(val string) (ListHostAgentScanResultsHighestProblemSeverityEnum, bool)

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

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

ListHostAgentScanResultsRequest wrapper for the ListHostAgentScanResults operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostAgentScanResults.go.html to see an example of how to use ListHostAgentScanResultsRequest.

func (ListHostAgentScanResultsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostAgentScanResultsRequest) HTTPRequest

func (request ListHostAgentScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostAgentScanResultsRequest) RetryPolicy

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

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

func (ListHostAgentScanResultsRequest) String

func (request ListHostAgentScanResultsRequest) String() string

func (ListHostAgentScanResultsRequest) ValidateEnumValue

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

type ListHostAgentScanResultsResponse

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

ListHostAgentScanResultsResponse wrapper for the ListHostAgentScanResults operation

func (ListHostAgentScanResultsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostAgentScanResultsResponse) String

func (response ListHostAgentScanResultsResponse) String() string

type ListHostAgentScanResultsSortByEnum

type ListHostAgentScanResultsSortByEnum string

ListHostAgentScanResultsSortByEnum Enum with underlying type: string

const (
	ListHostAgentScanResultsSortByTimestarted            ListHostAgentScanResultsSortByEnum = "timeStarted"
	ListHostAgentScanResultsSortByTimefinished           ListHostAgentScanResultsSortByEnum = "timeFinished"
	ListHostAgentScanResultsSortByProblemcount           ListHostAgentScanResultsSortByEnum = "problemCount"
	ListHostAgentScanResultsSortByHighestproblemseverity ListHostAgentScanResultsSortByEnum = "highestProblemSeverity"
	ListHostAgentScanResultsSortByTimecompleted          ListHostAgentScanResultsSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for ListHostAgentScanResultsSortByEnum

func GetListHostAgentScanResultsSortByEnumValues

func GetListHostAgentScanResultsSortByEnumValues() []ListHostAgentScanResultsSortByEnum

GetListHostAgentScanResultsSortByEnumValues Enumerates the set of values for ListHostAgentScanResultsSortByEnum

func GetMappingListHostAgentScanResultsSortByEnum

func GetMappingListHostAgentScanResultsSortByEnum(val string) (ListHostAgentScanResultsSortByEnum, bool)

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

type ListHostAgentScanResultsSortOrderEnum

type ListHostAgentScanResultsSortOrderEnum string

ListHostAgentScanResultsSortOrderEnum Enum with underlying type: string

const (
	ListHostAgentScanResultsSortOrderAsc  ListHostAgentScanResultsSortOrderEnum = "ASC"
	ListHostAgentScanResultsSortOrderDesc ListHostAgentScanResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostAgentScanResultsSortOrderEnum

func GetListHostAgentScanResultsSortOrderEnumValues

func GetListHostAgentScanResultsSortOrderEnumValues() []ListHostAgentScanResultsSortOrderEnum

GetListHostAgentScanResultsSortOrderEnumValues Enumerates the set of values for ListHostAgentScanResultsSortOrderEnum

func GetMappingListHostAgentScanResultsSortOrderEnum

func GetMappingListHostAgentScanResultsSortOrderEnum(val string) (ListHostAgentScanResultsSortOrderEnum, bool)

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

type ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum

type ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum string

ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum Enum with underlying type: string

const (
	ListHostCisBenchmarkScanResultsHighestProblemSeverityNone     ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "NONE"
	ListHostCisBenchmarkScanResultsHighestProblemSeverityLow      ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "LOW"
	ListHostCisBenchmarkScanResultsHighestProblemSeverityMedium   ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "MEDIUM"
	ListHostCisBenchmarkScanResultsHighestProblemSeverityHigh     ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "HIGH"
	ListHostCisBenchmarkScanResultsHighestProblemSeverityCritical ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum

func GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumValues

func GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumValues() []ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum

GetListHostCisBenchmarkScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum

func GetMappingListHostCisBenchmarkScanResultsHighestProblemSeverityEnum

func GetMappingListHostCisBenchmarkScanResultsHighestProblemSeverityEnum(val string) (ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum, bool)

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

type 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 results
	HighestProblemSeverity ListHostCisBenchmarkScanResultsHighestProblemSeverityEnum `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 ListHostCisBenchmarkScanResultsSortOrderEnum `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 timeFinished is default.
	SortBy ListHostCisBenchmarkScanResultsSortByEnum `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
}

ListHostCisBenchmarkScanResultsRequest wrapper for the ListHostCisBenchmarkScanResults operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostCisBenchmarkScanResults.go.html to see an example of how to use ListHostCisBenchmarkScanResultsRequest.

func (ListHostCisBenchmarkScanResultsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostCisBenchmarkScanResultsRequest) HTTPRequest

func (request ListHostCisBenchmarkScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostCisBenchmarkScanResultsRequest) RetryPolicy

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

func (ListHostCisBenchmarkScanResultsRequest) String

func (ListHostCisBenchmarkScanResultsRequest) ValidateEnumValue

func (request ListHostCisBenchmarkScanResultsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostCisBenchmarkScanResultsResponse

type ListHostCisBenchmarkScanResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostCisBenchmarkScanResultSummaryCollection instances
	HostCisBenchmarkScanResultSummaryCollection `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"`
}

ListHostCisBenchmarkScanResultsResponse wrapper for the ListHostCisBenchmarkScanResults operation

func (ListHostCisBenchmarkScanResultsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostCisBenchmarkScanResultsResponse) String

type ListHostCisBenchmarkScanResultsSortByEnum

type ListHostCisBenchmarkScanResultsSortByEnum string

ListHostCisBenchmarkScanResultsSortByEnum Enum with underlying type: string

const (
	ListHostCisBenchmarkScanResultsSortByTimestarted                 ListHostCisBenchmarkScanResultsSortByEnum = "timeStarted"
	ListHostCisBenchmarkScanResultsSortByTimefinished                ListHostCisBenchmarkScanResultsSortByEnum = "timeFinished"
	ListHostCisBenchmarkScanResultsSortByCisbenchmarkscanissuescount ListHostCisBenchmarkScanResultsSortByEnum = "cisBenchmarkScanIssuesCount"
)

Set of constants representing the allowable values for ListHostCisBenchmarkScanResultsSortByEnum

func GetListHostCisBenchmarkScanResultsSortByEnumValues

func GetListHostCisBenchmarkScanResultsSortByEnumValues() []ListHostCisBenchmarkScanResultsSortByEnum

GetListHostCisBenchmarkScanResultsSortByEnumValues Enumerates the set of values for ListHostCisBenchmarkScanResultsSortByEnum

func GetMappingListHostCisBenchmarkScanResultsSortByEnum

func GetMappingListHostCisBenchmarkScanResultsSortByEnum(val string) (ListHostCisBenchmarkScanResultsSortByEnum, bool)

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

type ListHostCisBenchmarkScanResultsSortOrderEnum

type ListHostCisBenchmarkScanResultsSortOrderEnum string

ListHostCisBenchmarkScanResultsSortOrderEnum Enum with underlying type: string

const (
	ListHostCisBenchmarkScanResultsSortOrderAsc  ListHostCisBenchmarkScanResultsSortOrderEnum = "ASC"
	ListHostCisBenchmarkScanResultsSortOrderDesc ListHostCisBenchmarkScanResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostCisBenchmarkScanResultsSortOrderEnum

func GetListHostCisBenchmarkScanResultsSortOrderEnumValues

func GetListHostCisBenchmarkScanResultsSortOrderEnumValues() []ListHostCisBenchmarkScanResultsSortOrderEnum

GetListHostCisBenchmarkScanResultsSortOrderEnumValues Enumerates the set of values for ListHostCisBenchmarkScanResultsSortOrderEnum

func GetMappingListHostCisBenchmarkScanResultsSortOrderEnum

func GetMappingListHostCisBenchmarkScanResultsSortOrderEnum(val string) (ListHostCisBenchmarkScanResultsSortOrderEnum, bool)

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

type ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum

type ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum string

ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum Enum with underlying type: string

const (
	ListHostEndpointProtectionScanResultsHighestProblemSeverityNone     ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum = "NONE"
	ListHostEndpointProtectionScanResultsHighestProblemSeverityLow      ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum = "LOW"
	ListHostEndpointProtectionScanResultsHighestProblemSeverityMedium   ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum = "MEDIUM"
	ListHostEndpointProtectionScanResultsHighestProblemSeverityHigh     ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum = "HIGH"
	ListHostEndpointProtectionScanResultsHighestProblemSeverityCritical ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum

func GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumValues

func GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumValues() []ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum

GetListHostEndpointProtectionScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum

func GetMappingListHostEndpointProtectionScanResultsHighestProblemSeverityEnum

func GetMappingListHostEndpointProtectionScanResultsHighestProblemSeverityEnum(val string) (ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum, bool)

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

type ListHostEndpointProtectionScanResultsRequest

type ListHostEndpointProtectionScanResultsRequest 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 ListHostEndpointProtectionScanResultsHighestProblemSeverityEnum `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 ListHostEndpointProtectionScanResultsSortOrderEnum `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 timeFinished is default.
	SortBy ListHostEndpointProtectionScanResultsSortByEnum `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
}

ListHostEndpointProtectionScanResultsRequest wrapper for the ListHostEndpointProtectionScanResults operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostEndpointProtectionScanResults.go.html to see an example of how to use ListHostEndpointProtectionScanResultsRequest.

func (ListHostEndpointProtectionScanResultsRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListHostEndpointProtectionScanResultsRequest) HTTPRequest

func (request ListHostEndpointProtectionScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostEndpointProtectionScanResultsRequest) RetryPolicy

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

func (ListHostEndpointProtectionScanResultsRequest) String

func (ListHostEndpointProtectionScanResultsRequest) ValidateEnumValue

func (request ListHostEndpointProtectionScanResultsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostEndpointProtectionScanResultsResponse

type ListHostEndpointProtectionScanResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostEndpointProtectionScanResultSummaryCollection instances
	HostEndpointProtectionScanResultSummaryCollection `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"`
}

ListHostEndpointProtectionScanResultsResponse wrapper for the ListHostEndpointProtectionScanResults operation

func (ListHostEndpointProtectionScanResultsResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListHostEndpointProtectionScanResultsResponse) String

type ListHostEndpointProtectionScanResultsSortByEnum

type ListHostEndpointProtectionScanResultsSortByEnum string

ListHostEndpointProtectionScanResultsSortByEnum Enum with underlying type: string

const (
	ListHostEndpointProtectionScanResultsSortByTimestarted     ListHostEndpointProtectionScanResultsSortByEnum = "timeStarted"
	ListHostEndpointProtectionScanResultsSortByTimefinished    ListHostEndpointProtectionScanResultsSortByEnum = "timeFinished"
	ListHostEndpointProtectionScanResultsSortByProblemseverity ListHostEndpointProtectionScanResultsSortByEnum = "problemSeverity"
)

Set of constants representing the allowable values for ListHostEndpointProtectionScanResultsSortByEnum

func GetListHostEndpointProtectionScanResultsSortByEnumValues

func GetListHostEndpointProtectionScanResultsSortByEnumValues() []ListHostEndpointProtectionScanResultsSortByEnum

GetListHostEndpointProtectionScanResultsSortByEnumValues Enumerates the set of values for ListHostEndpointProtectionScanResultsSortByEnum

func GetMappingListHostEndpointProtectionScanResultsSortByEnum

func GetMappingListHostEndpointProtectionScanResultsSortByEnum(val string) (ListHostEndpointProtectionScanResultsSortByEnum, bool)

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

type ListHostEndpointProtectionScanResultsSortOrderEnum

type ListHostEndpointProtectionScanResultsSortOrderEnum string

ListHostEndpointProtectionScanResultsSortOrderEnum Enum with underlying type: string

const (
	ListHostEndpointProtectionScanResultsSortOrderAsc  ListHostEndpointProtectionScanResultsSortOrderEnum = "ASC"
	ListHostEndpointProtectionScanResultsSortOrderDesc ListHostEndpointProtectionScanResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostEndpointProtectionScanResultsSortOrderEnum

func GetListHostEndpointProtectionScanResultsSortOrderEnumValues

func GetListHostEndpointProtectionScanResultsSortOrderEnumValues() []ListHostEndpointProtectionScanResultsSortOrderEnum

GetListHostEndpointProtectionScanResultsSortOrderEnumValues Enumerates the set of values for ListHostEndpointProtectionScanResultsSortOrderEnum

func GetMappingListHostEndpointProtectionScanResultsSortOrderEnum

func GetMappingListHostEndpointProtectionScanResultsSortOrderEnum(val string) (ListHostEndpointProtectionScanResultsSortOrderEnum, bool)

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

type ListHostPortScanResultsHighestProblemSeverityEnum

type ListHostPortScanResultsHighestProblemSeverityEnum string

ListHostPortScanResultsHighestProblemSeverityEnum Enum with underlying type: string

const (
	ListHostPortScanResultsHighestProblemSeverityNone     ListHostPortScanResultsHighestProblemSeverityEnum = "NONE"
	ListHostPortScanResultsHighestProblemSeverityLow      ListHostPortScanResultsHighestProblemSeverityEnum = "LOW"
	ListHostPortScanResultsHighestProblemSeverityMedium   ListHostPortScanResultsHighestProblemSeverityEnum = "MEDIUM"
	ListHostPortScanResultsHighestProblemSeverityHigh     ListHostPortScanResultsHighestProblemSeverityEnum = "HIGH"
	ListHostPortScanResultsHighestProblemSeverityCritical ListHostPortScanResultsHighestProblemSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListHostPortScanResultsHighestProblemSeverityEnum

func GetListHostPortScanResultsHighestProblemSeverityEnumValues

func GetListHostPortScanResultsHighestProblemSeverityEnumValues() []ListHostPortScanResultsHighestProblemSeverityEnum

GetListHostPortScanResultsHighestProblemSeverityEnumValues Enumerates the set of values for ListHostPortScanResultsHighestProblemSeverityEnum

func GetMappingListHostPortScanResultsHighestProblemSeverityEnum

func GetMappingListHostPortScanResultsHighestProblemSeverityEnum(val string) (ListHostPortScanResultsHighestProblemSeverityEnum, bool)

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

type ListHostPortScanResultsRequest

type ListHostPortScanResultsRequest 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 ListHostPortScanResultsHighestProblemSeverityEnum `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 ListHostPortScanResultsSortOrderEnum `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 timeFinished is default.
	SortBy ListHostPortScanResultsSortByEnum `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
}

ListHostPortScanResultsRequest wrapper for the ListHostPortScanResults operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostPortScanResults.go.html to see an example of how to use ListHostPortScanResultsRequest.

func (ListHostPortScanResultsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostPortScanResultsRequest) HTTPRequest

func (request ListHostPortScanResultsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostPortScanResultsRequest) RetryPolicy

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

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

func (ListHostPortScanResultsRequest) String

func (request ListHostPortScanResultsRequest) String() string

func (ListHostPortScanResultsRequest) ValidateEnumValue

func (request ListHostPortScanResultsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostPortScanResultsResponse

type ListHostPortScanResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostPortScanResultSummaryCollection instances
	HostPortScanResultSummaryCollection `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"`
}

ListHostPortScanResultsResponse wrapper for the ListHostPortScanResults operation

func (ListHostPortScanResultsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostPortScanResultsResponse) String

func (response ListHostPortScanResultsResponse) String() string

type ListHostPortScanResultsSortByEnum

type ListHostPortScanResultsSortByEnum string

ListHostPortScanResultsSortByEnum Enum with underlying type: string

const (
	ListHostPortScanResultsSortByTimestarted            ListHostPortScanResultsSortByEnum = "timeStarted"
	ListHostPortScanResultsSortByTimefinished           ListHostPortScanResultsSortByEnum = "timeFinished"
	ListHostPortScanResultsSortByOpenportcount          ListHostPortScanResultsSortByEnum = "openPortCount"
	ListHostPortScanResultsSortByHighestproblemseverity ListHostPortScanResultsSortByEnum = "highestProblemSeverity"
	ListHostPortScanResultsSortByTimecompleted          ListHostPortScanResultsSortByEnum = "timeCompleted"
)

Set of constants representing the allowable values for ListHostPortScanResultsSortByEnum

func GetListHostPortScanResultsSortByEnumValues

func GetListHostPortScanResultsSortByEnumValues() []ListHostPortScanResultsSortByEnum

GetListHostPortScanResultsSortByEnumValues Enumerates the set of values for ListHostPortScanResultsSortByEnum

func GetMappingListHostPortScanResultsSortByEnum

func GetMappingListHostPortScanResultsSortByEnum(val string) (ListHostPortScanResultsSortByEnum, bool)

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

type ListHostPortScanResultsSortOrderEnum

type ListHostPortScanResultsSortOrderEnum string

ListHostPortScanResultsSortOrderEnum Enum with underlying type: string

const (
	ListHostPortScanResultsSortOrderAsc  ListHostPortScanResultsSortOrderEnum = "ASC"
	ListHostPortScanResultsSortOrderDesc ListHostPortScanResultsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostPortScanResultsSortOrderEnum

func GetListHostPortScanResultsSortOrderEnumValues

func GetListHostPortScanResultsSortOrderEnumValues() []ListHostPortScanResultsSortOrderEnum

GetListHostPortScanResultsSortOrderEnumValues Enumerates the set of values for ListHostPortScanResultsSortOrderEnum

func GetMappingListHostPortScanResultsSortOrderEnum

func GetMappingListHostPortScanResultsSortOrderEnum(val string) (ListHostPortScanResultsSortOrderEnum, bool)

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

type ListHostScanRecipesLifecycleStateEnum

type ListHostScanRecipesLifecycleStateEnum string

ListHostScanRecipesLifecycleStateEnum Enum with underlying type: string

const (
	ListHostScanRecipesLifecycleStateCreating ListHostScanRecipesLifecycleStateEnum = "CREATING"
	ListHostScanRecipesLifecycleStateUpdating ListHostScanRecipesLifecycleStateEnum = "UPDATING"
	ListHostScanRecipesLifecycleStateActive   ListHostScanRecipesLifecycleStateEnum = "ACTIVE"
	ListHostScanRecipesLifecycleStateDeleting ListHostScanRecipesLifecycleStateEnum = "DELETING"
	ListHostScanRecipesLifecycleStateDeleted  ListHostScanRecipesLifecycleStateEnum = "DELETED"
	ListHostScanRecipesLifecycleStateFailed   ListHostScanRecipesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListHostScanRecipesLifecycleStateEnum

func GetListHostScanRecipesLifecycleStateEnumValues

func GetListHostScanRecipesLifecycleStateEnumValues() []ListHostScanRecipesLifecycleStateEnum

GetListHostScanRecipesLifecycleStateEnumValues Enumerates the set of values for ListHostScanRecipesLifecycleStateEnum

func GetMappingListHostScanRecipesLifecycleStateEnum

func GetMappingListHostScanRecipesLifecycleStateEnum(val string) (ListHostScanRecipesLifecycleStateEnum, bool)

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

type ListHostScanRecipesRequest

type ListHostScanRecipesRequest 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 ListHostScanRecipesLifecycleStateEnum `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 ListHostScanRecipesSortOrderEnum `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 ListHostScanRecipesSortByEnum `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
}

ListHostScanRecipesRequest wrapper for the ListHostScanRecipes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostScanRecipes.go.html to see an example of how to use ListHostScanRecipesRequest.

func (ListHostScanRecipesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostScanRecipesRequest) HTTPRequest

func (request ListHostScanRecipesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostScanRecipesRequest) RetryPolicy

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

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

func (ListHostScanRecipesRequest) String

func (request ListHostScanRecipesRequest) String() string

func (ListHostScanRecipesRequest) ValidateEnumValue

func (request ListHostScanRecipesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostScanRecipesResponse

type ListHostScanRecipesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostScanRecipeSummaryCollection instances
	HostScanRecipeSummaryCollection `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"`
}

ListHostScanRecipesResponse wrapper for the ListHostScanRecipes operation

func (ListHostScanRecipesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostScanRecipesResponse) String

func (response ListHostScanRecipesResponse) String() string

type ListHostScanRecipesSortByEnum

type ListHostScanRecipesSortByEnum string

ListHostScanRecipesSortByEnum Enum with underlying type: string

const (
	ListHostScanRecipesSortByTimecreated ListHostScanRecipesSortByEnum = "timeCreated"
	ListHostScanRecipesSortByDisplayname ListHostScanRecipesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListHostScanRecipesSortByEnum

func GetListHostScanRecipesSortByEnumValues

func GetListHostScanRecipesSortByEnumValues() []ListHostScanRecipesSortByEnum

GetListHostScanRecipesSortByEnumValues Enumerates the set of values for ListHostScanRecipesSortByEnum

func GetMappingListHostScanRecipesSortByEnum

func GetMappingListHostScanRecipesSortByEnum(val string) (ListHostScanRecipesSortByEnum, bool)

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

type ListHostScanRecipesSortOrderEnum

type ListHostScanRecipesSortOrderEnum string

ListHostScanRecipesSortOrderEnum Enum with underlying type: string

const (
	ListHostScanRecipesSortOrderAsc  ListHostScanRecipesSortOrderEnum = "ASC"
	ListHostScanRecipesSortOrderDesc ListHostScanRecipesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostScanRecipesSortOrderEnum

func GetListHostScanRecipesSortOrderEnumValues

func GetListHostScanRecipesSortOrderEnumValues() []ListHostScanRecipesSortOrderEnum

GetListHostScanRecipesSortOrderEnumValues Enumerates the set of values for ListHostScanRecipesSortOrderEnum

func GetMappingListHostScanRecipesSortOrderEnum

func GetMappingListHostScanRecipesSortOrderEnum(val string) (ListHostScanRecipesSortOrderEnum, bool)

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

type ListHostScanTargetErrorsLifecycleStateEnum added in v65.25.0

type ListHostScanTargetErrorsLifecycleStateEnum string

ListHostScanTargetErrorsLifecycleStateEnum Enum with underlying type: string

const (
	ListHostScanTargetErrorsLifecycleStateCreating ListHostScanTargetErrorsLifecycleStateEnum = "CREATING"
	ListHostScanTargetErrorsLifecycleStateUpdating ListHostScanTargetErrorsLifecycleStateEnum = "UPDATING"
	ListHostScanTargetErrorsLifecycleStateActive   ListHostScanTargetErrorsLifecycleStateEnum = "ACTIVE"
	ListHostScanTargetErrorsLifecycleStateDeleting ListHostScanTargetErrorsLifecycleStateEnum = "DELETING"
	ListHostScanTargetErrorsLifecycleStateDeleted  ListHostScanTargetErrorsLifecycleStateEnum = "DELETED"
	ListHostScanTargetErrorsLifecycleStateFailed   ListHostScanTargetErrorsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListHostScanTargetErrorsLifecycleStateEnum

func GetListHostScanTargetErrorsLifecycleStateEnumValues added in v65.25.0

func GetListHostScanTargetErrorsLifecycleStateEnumValues() []ListHostScanTargetErrorsLifecycleStateEnum

GetListHostScanTargetErrorsLifecycleStateEnumValues Enumerates the set of values for ListHostScanTargetErrorsLifecycleStateEnum

func GetMappingListHostScanTargetErrorsLifecycleStateEnum added in v65.25.0

func GetMappingListHostScanTargetErrorsLifecycleStateEnum(val string) (ListHostScanTargetErrorsLifecycleStateEnum, bool)

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

type ListHostScanTargetErrorsRequest added in v65.25.0

type ListHostScanTargetErrorsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// unique HostScanTarget identifier
	HostScanTargetId *string `mandatory:"true" contributesTo:"path" name:"hostScanTargetId"`

	// A filter to return only resources whose lifecycleState matches the given lifecycleState.
	LifecycleState ListHostScanTargetErrorsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListHostScanTargetErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeUpdated is descending. If no value is specified timeUpdated is default.
	SortBy ListHostScanTargetErrorsSortByEnum `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"`

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

ListHostScanTargetErrorsRequest wrapper for the ListHostScanTargetErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostScanTargetErrors.go.html to see an example of how to use ListHostScanTargetErrorsRequest.

func (ListHostScanTargetErrorsRequest) BinaryRequestBody added in v65.25.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostScanTargetErrorsRequest) HTTPRequest added in v65.25.0

func (request ListHostScanTargetErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostScanTargetErrorsRequest) RetryPolicy added in v65.25.0

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

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

func (ListHostScanTargetErrorsRequest) String added in v65.25.0

func (request ListHostScanTargetErrorsRequest) String() string

func (ListHostScanTargetErrorsRequest) ValidateEnumValue added in v65.25.0

func (request ListHostScanTargetErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostScanTargetErrorsResponse added in v65.25.0

type ListHostScanTargetErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostScanTargetErrorSummaryCollection instances
	HostScanTargetErrorSummaryCollection `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"`
}

ListHostScanTargetErrorsResponse wrapper for the ListHostScanTargetErrors operation

func (ListHostScanTargetErrorsResponse) HTTPResponse added in v65.25.0

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

HTTPResponse implements the OCIResponse interface

func (ListHostScanTargetErrorsResponse) String added in v65.25.0

func (response ListHostScanTargetErrorsResponse) String() string

type ListHostScanTargetErrorsSortByEnum added in v65.25.0

type ListHostScanTargetErrorsSortByEnum string

ListHostScanTargetErrorsSortByEnum Enum with underlying type: string

const (
	ListHostScanTargetErrorsSortByTimeupdated ListHostScanTargetErrorsSortByEnum = "timeUpdated"
)

Set of constants representing the allowable values for ListHostScanTargetErrorsSortByEnum

func GetListHostScanTargetErrorsSortByEnumValues added in v65.25.0

func GetListHostScanTargetErrorsSortByEnumValues() []ListHostScanTargetErrorsSortByEnum

GetListHostScanTargetErrorsSortByEnumValues Enumerates the set of values for ListHostScanTargetErrorsSortByEnum

func GetMappingListHostScanTargetErrorsSortByEnum added in v65.25.0

func GetMappingListHostScanTargetErrorsSortByEnum(val string) (ListHostScanTargetErrorsSortByEnum, bool)

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

type ListHostScanTargetErrorsSortOrderEnum added in v65.25.0

type ListHostScanTargetErrorsSortOrderEnum string

ListHostScanTargetErrorsSortOrderEnum Enum with underlying type: string

const (
	ListHostScanTargetErrorsSortOrderAsc  ListHostScanTargetErrorsSortOrderEnum = "ASC"
	ListHostScanTargetErrorsSortOrderDesc ListHostScanTargetErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostScanTargetErrorsSortOrderEnum

func GetListHostScanTargetErrorsSortOrderEnumValues added in v65.25.0

func GetListHostScanTargetErrorsSortOrderEnumValues() []ListHostScanTargetErrorsSortOrderEnum

GetListHostScanTargetErrorsSortOrderEnumValues Enumerates the set of values for ListHostScanTargetErrorsSortOrderEnum

func GetMappingListHostScanTargetErrorsSortOrderEnum added in v65.25.0

func GetMappingListHostScanTargetErrorsSortOrderEnum(val string) (ListHostScanTargetErrorsSortOrderEnum, bool)

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

type ListHostScanTargetsLifecycleStateEnum

type ListHostScanTargetsLifecycleStateEnum string

ListHostScanTargetsLifecycleStateEnum Enum with underlying type: string

const (
	ListHostScanTargetsLifecycleStateCreating ListHostScanTargetsLifecycleStateEnum = "CREATING"
	ListHostScanTargetsLifecycleStateUpdating ListHostScanTargetsLifecycleStateEnum = "UPDATING"
	ListHostScanTargetsLifecycleStateActive   ListHostScanTargetsLifecycleStateEnum = "ACTIVE"
	ListHostScanTargetsLifecycleStateDeleting ListHostScanTargetsLifecycleStateEnum = "DELETING"
	ListHostScanTargetsLifecycleStateDeleted  ListHostScanTargetsLifecycleStateEnum = "DELETED"
	ListHostScanTargetsLifecycleStateFailed   ListHostScanTargetsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListHostScanTargetsLifecycleStateEnum

func GetListHostScanTargetsLifecycleStateEnumValues

func GetListHostScanTargetsLifecycleStateEnumValues() []ListHostScanTargetsLifecycleStateEnum

GetListHostScanTargetsLifecycleStateEnumValues Enumerates the set of values for ListHostScanTargetsLifecycleStateEnum

func GetMappingListHostScanTargetsLifecycleStateEnum

func GetMappingListHostScanTargetsLifecycleStateEnum(val string) (ListHostScanTargetsLifecycleStateEnum, bool)

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

type ListHostScanTargetsRequest

type ListHostScanTargetsRequest 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 ListHostScanTargetsLifecycleStateEnum `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 ListHostScanTargetsSortOrderEnum `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 ListHostScanTargetsSortByEnum `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
}

ListHostScanTargetsRequest wrapper for the ListHostScanTargets operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostScanTargets.go.html to see an example of how to use ListHostScanTargetsRequest.

func (ListHostScanTargetsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostScanTargetsRequest) HTTPRequest

func (request ListHostScanTargetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostScanTargetsRequest) RetryPolicy

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

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

func (ListHostScanTargetsRequest) String

func (request ListHostScanTargetsRequest) String() string

func (ListHostScanTargetsRequest) ValidateEnumValue

func (request ListHostScanTargetsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostScanTargetsResponse

type ListHostScanTargetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostScanTargetSummaryCollection instances
	HostScanTargetSummaryCollection `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"`
}

ListHostScanTargetsResponse wrapper for the ListHostScanTargets operation

func (ListHostScanTargetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostScanTargetsResponse) String

func (response ListHostScanTargetsResponse) String() string

type ListHostScanTargetsSortByEnum

type ListHostScanTargetsSortByEnum string

ListHostScanTargetsSortByEnum Enum with underlying type: string

const (
	ListHostScanTargetsSortByTimecreated ListHostScanTargetsSortByEnum = "timeCreated"
	ListHostScanTargetsSortByDisplayname ListHostScanTargetsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListHostScanTargetsSortByEnum

func GetListHostScanTargetsSortByEnumValues

func GetListHostScanTargetsSortByEnumValues() []ListHostScanTargetsSortByEnum

GetListHostScanTargetsSortByEnumValues Enumerates the set of values for ListHostScanTargetsSortByEnum

func GetMappingListHostScanTargetsSortByEnum

func GetMappingListHostScanTargetsSortByEnum(val string) (ListHostScanTargetsSortByEnum, bool)

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

type ListHostScanTargetsSortOrderEnum

type ListHostScanTargetsSortOrderEnum string

ListHostScanTargetsSortOrderEnum Enum with underlying type: string

const (
	ListHostScanTargetsSortOrderAsc  ListHostScanTargetsSortOrderEnum = "ASC"
	ListHostScanTargetsSortOrderDesc ListHostScanTargetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostScanTargetsSortOrderEnum

func GetListHostScanTargetsSortOrderEnumValues

func GetListHostScanTargetsSortOrderEnumValues() []ListHostScanTargetsSortOrderEnum

GetListHostScanTargetsSortOrderEnumValues Enumerates the set of values for ListHostScanTargetsSortOrderEnum

func GetMappingListHostScanTargetsSortOrderEnum

func GetMappingListHostScanTargetsSortOrderEnum(val string) (ListHostScanTargetsSortOrderEnum, bool)

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

type ListHostVulnerabilitiesRequest

type ListHostVulnerabilitiesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// A filter to return only resources that have a severity that matches the given severity
	Severity ListHostVulnerabilitiesSeverityEnum `mandatory:"false" contributesTo:"query" name:"severity" omitEmpty:"true"`

	// A filter to return only resources that match the entire name given.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// Parameter to filter by CVE reference number for vulnerabilities
	CveReference *string `mandatory:"false" contributesTo:"query" name:"cveReference"`

	// The field to filter vulnerabilities based on its type. Only one value can be provided.
	VulnerabilityType ListHostVulnerabilitiesVulnerabilityTypeEnum `mandatory:"false" contributesTo:"query" name:"vulnerabilityType" omitEmpty:"true"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListHostVulnerabilitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for 'name' is Ascending. Default order for other values is descending. If no value is specified name is default.
	SortBy ListHostVulnerabilitiesSortByEnum `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
}

ListHostVulnerabilitiesRequest wrapper for the ListHostVulnerabilities operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostVulnerabilities.go.html to see an example of how to use ListHostVulnerabilitiesRequest.

func (ListHostVulnerabilitiesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListHostVulnerabilitiesRequest) HTTPRequest

func (request ListHostVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostVulnerabilitiesRequest) RetryPolicy

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

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

func (ListHostVulnerabilitiesRequest) String

func (request ListHostVulnerabilitiesRequest) String() string

func (ListHostVulnerabilitiesRequest) ValidateEnumValue

func (request ListHostVulnerabilitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostVulnerabilitiesResponse

type ListHostVulnerabilitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostVulnerabilitySummaryCollection instances
	HostVulnerabilitySummaryCollection `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"`
}

ListHostVulnerabilitiesResponse wrapper for the ListHostVulnerabilities operation

func (ListHostVulnerabilitiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostVulnerabilitiesResponse) String

func (response ListHostVulnerabilitiesResponse) String() string

type ListHostVulnerabilitiesSeverityEnum

type ListHostVulnerabilitiesSeverityEnum string

ListHostVulnerabilitiesSeverityEnum Enum with underlying type: string

const (
	ListHostVulnerabilitiesSeverityNone     ListHostVulnerabilitiesSeverityEnum = "NONE"
	ListHostVulnerabilitiesSeverityLow      ListHostVulnerabilitiesSeverityEnum = "LOW"
	ListHostVulnerabilitiesSeverityMedium   ListHostVulnerabilitiesSeverityEnum = "MEDIUM"
	ListHostVulnerabilitiesSeverityHigh     ListHostVulnerabilitiesSeverityEnum = "HIGH"
	ListHostVulnerabilitiesSeverityCritical ListHostVulnerabilitiesSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListHostVulnerabilitiesSeverityEnum

func GetListHostVulnerabilitiesSeverityEnumValues

func GetListHostVulnerabilitiesSeverityEnumValues() []ListHostVulnerabilitiesSeverityEnum

GetListHostVulnerabilitiesSeverityEnumValues Enumerates the set of values for ListHostVulnerabilitiesSeverityEnum

func GetMappingListHostVulnerabilitiesSeverityEnum

func GetMappingListHostVulnerabilitiesSeverityEnum(val string) (ListHostVulnerabilitiesSeverityEnum, bool)

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

type ListHostVulnerabilitiesSortByEnum

type ListHostVulnerabilitiesSortByEnum string

ListHostVulnerabilitiesSortByEnum Enum with underlying type: string

const (
	ListHostVulnerabilitiesSortByName          ListHostVulnerabilitiesSortByEnum = "name"
	ListHostVulnerabilitiesSortBySeverity      ListHostVulnerabilitiesSortByEnum = "severity"
	ListHostVulnerabilitiesSortByImpactedhosts ListHostVulnerabilitiesSortByEnum = "impactedHosts"
	ListHostVulnerabilitiesSortByFirstdetected ListHostVulnerabilitiesSortByEnum = "firstDetected"
	ListHostVulnerabilitiesSortByLastdetected  ListHostVulnerabilitiesSortByEnum = "lastDetected"
)

Set of constants representing the allowable values for ListHostVulnerabilitiesSortByEnum

func GetListHostVulnerabilitiesSortByEnumValues

func GetListHostVulnerabilitiesSortByEnumValues() []ListHostVulnerabilitiesSortByEnum

GetListHostVulnerabilitiesSortByEnumValues Enumerates the set of values for ListHostVulnerabilitiesSortByEnum

func GetMappingListHostVulnerabilitiesSortByEnum

func GetMappingListHostVulnerabilitiesSortByEnum(val string) (ListHostVulnerabilitiesSortByEnum, bool)

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

type ListHostVulnerabilitiesSortOrderEnum

type ListHostVulnerabilitiesSortOrderEnum string

ListHostVulnerabilitiesSortOrderEnum Enum with underlying type: string

const (
	ListHostVulnerabilitiesSortOrderAsc  ListHostVulnerabilitiesSortOrderEnum = "ASC"
	ListHostVulnerabilitiesSortOrderDesc ListHostVulnerabilitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostVulnerabilitiesSortOrderEnum

func GetListHostVulnerabilitiesSortOrderEnumValues

func GetListHostVulnerabilitiesSortOrderEnumValues() []ListHostVulnerabilitiesSortOrderEnum

GetListHostVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListHostVulnerabilitiesSortOrderEnum

func GetMappingListHostVulnerabilitiesSortOrderEnum

func GetMappingListHostVulnerabilitiesSortOrderEnum(val string) (ListHostVulnerabilitiesSortOrderEnum, bool)

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

type ListHostVulnerabilitiesVulnerabilityTypeEnum

type ListHostVulnerabilitiesVulnerabilityTypeEnum string

ListHostVulnerabilitiesVulnerabilityTypeEnum Enum with underlying type: string

const (
	ListHostVulnerabilitiesVulnerabilityTypeCve     ListHostVulnerabilitiesVulnerabilityTypeEnum = "CVE"
	ListHostVulnerabilitiesVulnerabilityTypeProblem ListHostVulnerabilitiesVulnerabilityTypeEnum = "PROBLEM"
)

Set of constants representing the allowable values for ListHostVulnerabilitiesVulnerabilityTypeEnum

func GetListHostVulnerabilitiesVulnerabilityTypeEnumValues

func GetListHostVulnerabilitiesVulnerabilityTypeEnumValues() []ListHostVulnerabilitiesVulnerabilityTypeEnum

GetListHostVulnerabilitiesVulnerabilityTypeEnumValues Enumerates the set of values for ListHostVulnerabilitiesVulnerabilityTypeEnum

func GetMappingListHostVulnerabilitiesVulnerabilityTypeEnum

func GetMappingListHostVulnerabilitiesVulnerabilityTypeEnum(val string) (ListHostVulnerabilitiesVulnerabilityTypeEnum, bool)

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

type ListHostVulnerabilityImpactedHostsRequest

type ListHostVulnerabilityImpactedHostsRequest struct {

	// unique host scan vulnerability identifier
	HostVulnerabilityId *string `mandatory:"true" contributesTo:"path" name:"hostVulnerabilityId"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListHostVulnerabilityImpactedHostsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order is Ascending. If no value is specified instanceId is default.
	SortBy ListHostVulnerabilityImpactedHostsSortByEnum `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"`

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

ListHostVulnerabilityImpactedHostsRequest wrapper for the ListHostVulnerabilityImpactedHosts operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostVulnerabilityImpactedHosts.go.html to see an example of how to use ListHostVulnerabilityImpactedHostsRequest.

func (ListHostVulnerabilityImpactedHostsRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListHostVulnerabilityImpactedHostsRequest) HTTPRequest

func (request ListHostVulnerabilityImpactedHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHostVulnerabilityImpactedHostsRequest) RetryPolicy

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

func (ListHostVulnerabilityImpactedHostsRequest) String

func (ListHostVulnerabilityImpactedHostsRequest) ValidateEnumValue

func (request ListHostVulnerabilityImpactedHostsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListHostVulnerabilityImpactedHostsResponse

type ListHostVulnerabilityImpactedHostsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of HostVulnerabilityImpactedHostSummaryCollection instances
	HostVulnerabilityImpactedHostSummaryCollection `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"`
}

ListHostVulnerabilityImpactedHostsResponse wrapper for the ListHostVulnerabilityImpactedHosts operation

func (ListHostVulnerabilityImpactedHostsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListHostVulnerabilityImpactedHostsResponse) String

type ListHostVulnerabilityImpactedHostsSortByEnum

type ListHostVulnerabilityImpactedHostsSortByEnum string

ListHostVulnerabilityImpactedHostsSortByEnum Enum with underlying type: string

const (
	ListHostVulnerabilityImpactedHostsSortByInstanceid ListHostVulnerabilityImpactedHostsSortByEnum = "instanceId"
)

Set of constants representing the allowable values for ListHostVulnerabilityImpactedHostsSortByEnum

func GetListHostVulnerabilityImpactedHostsSortByEnumValues

func GetListHostVulnerabilityImpactedHostsSortByEnumValues() []ListHostVulnerabilityImpactedHostsSortByEnum

GetListHostVulnerabilityImpactedHostsSortByEnumValues Enumerates the set of values for ListHostVulnerabilityImpactedHostsSortByEnum

func GetMappingListHostVulnerabilityImpactedHostsSortByEnum

func GetMappingListHostVulnerabilityImpactedHostsSortByEnum(val string) (ListHostVulnerabilityImpactedHostsSortByEnum, bool)

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

type ListHostVulnerabilityImpactedHostsSortOrderEnum

type ListHostVulnerabilityImpactedHostsSortOrderEnum string

ListHostVulnerabilityImpactedHostsSortOrderEnum Enum with underlying type: string

const (
	ListHostVulnerabilityImpactedHostsSortOrderAsc  ListHostVulnerabilityImpactedHostsSortOrderEnum = "ASC"
	ListHostVulnerabilityImpactedHostsSortOrderDesc ListHostVulnerabilityImpactedHostsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHostVulnerabilityImpactedHostsSortOrderEnum

func GetListHostVulnerabilityImpactedHostsSortOrderEnumValues

func GetListHostVulnerabilityImpactedHostsSortOrderEnumValues() []ListHostVulnerabilityImpactedHostsSortOrderEnum

GetListHostVulnerabilityImpactedHostsSortOrderEnumValues Enumerates the set of values for ListHostVulnerabilityImpactedHostsSortOrderEnum

func GetMappingListHostVulnerabilityImpactedHostsSortOrderEnum

func GetMappingListHostVulnerabilityImpactedHostsSortOrderEnum(val string) (ListHostVulnerabilityImpactedHostsSortOrderEnum, bool)

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

type ListVulnerabilitiesRequest

type ListVulnerabilitiesRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// A filter to return only resources that have a severity that matches the given severity
	Severity ListVulnerabilitiesSeverityEnum `mandatory:"false" contributesTo:"query" name:"severity" omitEmpty:"true"`

	// A filter to return only resources that match the entire name given.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// Parameter to filter the vulnerability type's unique identifier. For CVE, this is the MITRE CVE ID
	VulnerabilityReference *string `mandatory:"false" contributesTo:"query" name:"vulnerabilityReference"`

	// The field to filter vulnerabilities based on its type. Only one value can be provided.
	VulnerabilityType ListVulnerabilitiesVulnerabilityTypeEnum `mandatory:"false" contributesTo:"query" name:"vulnerabilityType" omitEmpty:"true"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListVulnerabilitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for 'name' is Ascending. Default order for other values is descending. If no value is specified name is default.
	SortBy ListVulnerabilitiesSortByEnum `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
}

ListVulnerabilitiesRequest wrapper for the ListVulnerabilities operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListVulnerabilities.go.html to see an example of how to use ListVulnerabilitiesRequest.

func (ListVulnerabilitiesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVulnerabilitiesRequest) HTTPRequest

func (request ListVulnerabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVulnerabilitiesRequest) RetryPolicy

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

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

func (ListVulnerabilitiesRequest) String

func (request ListVulnerabilitiesRequest) String() string

func (ListVulnerabilitiesRequest) ValidateEnumValue

func (request ListVulnerabilitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListVulnerabilitiesResponse

type ListVulnerabilitiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of VulnerabilitySummaryCollection instances
	VulnerabilitySummaryCollection `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"`
}

ListVulnerabilitiesResponse wrapper for the ListVulnerabilities operation

func (ListVulnerabilitiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilitiesResponse) String

func (response ListVulnerabilitiesResponse) String() string

type ListVulnerabilitiesSeverityEnum

type ListVulnerabilitiesSeverityEnum string

ListVulnerabilitiesSeverityEnum Enum with underlying type: string

const (
	ListVulnerabilitiesSeverityNone     ListVulnerabilitiesSeverityEnum = "NONE"
	ListVulnerabilitiesSeverityLow      ListVulnerabilitiesSeverityEnum = "LOW"
	ListVulnerabilitiesSeverityMedium   ListVulnerabilitiesSeverityEnum = "MEDIUM"
	ListVulnerabilitiesSeverityHigh     ListVulnerabilitiesSeverityEnum = "HIGH"
	ListVulnerabilitiesSeverityCritical ListVulnerabilitiesSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ListVulnerabilitiesSeverityEnum

func GetListVulnerabilitiesSeverityEnumValues

func GetListVulnerabilitiesSeverityEnumValues() []ListVulnerabilitiesSeverityEnum

GetListVulnerabilitiesSeverityEnumValues Enumerates the set of values for ListVulnerabilitiesSeverityEnum

func GetMappingListVulnerabilitiesSeverityEnum

func GetMappingListVulnerabilitiesSeverityEnum(val string) (ListVulnerabilitiesSeverityEnum, bool)

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

type ListVulnerabilitiesSortByEnum

type ListVulnerabilitiesSortByEnum string

ListVulnerabilitiesSortByEnum Enum with underlying type: string

const (
	ListVulnerabilitiesSortByName               ListVulnerabilitiesSortByEnum = "name"
	ListVulnerabilitiesSortBySeverity           ListVulnerabilitiesSortByEnum = "severity"
	ListVulnerabilitiesSortByFirstdetected      ListVulnerabilitiesSortByEnum = "firstDetected"
	ListVulnerabilitiesSortByLastdetected       ListVulnerabilitiesSortByEnum = "lastDetected"
	ListVulnerabilitiesSortByImpactedhosts      ListVulnerabilitiesSortByEnum = "impactedHosts"
	ListVulnerabilitiesSortByImpactedcontainers ListVulnerabilitiesSortByEnum = "impactedContainers"
	ListVulnerabilitiesSortByImpactedresources  ListVulnerabilitiesSortByEnum = "impactedResources"
)

Set of constants representing the allowable values for ListVulnerabilitiesSortByEnum

func GetListVulnerabilitiesSortByEnumValues

func GetListVulnerabilitiesSortByEnumValues() []ListVulnerabilitiesSortByEnum

GetListVulnerabilitiesSortByEnumValues Enumerates the set of values for ListVulnerabilitiesSortByEnum

func GetMappingListVulnerabilitiesSortByEnum

func GetMappingListVulnerabilitiesSortByEnum(val string) (ListVulnerabilitiesSortByEnum, bool)

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

type ListVulnerabilitiesSortOrderEnum

type ListVulnerabilitiesSortOrderEnum string

ListVulnerabilitiesSortOrderEnum Enum with underlying type: string

const (
	ListVulnerabilitiesSortOrderAsc  ListVulnerabilitiesSortOrderEnum = "ASC"
	ListVulnerabilitiesSortOrderDesc ListVulnerabilitiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVulnerabilitiesSortOrderEnum

func GetListVulnerabilitiesSortOrderEnumValues

func GetListVulnerabilitiesSortOrderEnumValues() []ListVulnerabilitiesSortOrderEnum

GetListVulnerabilitiesSortOrderEnumValues Enumerates the set of values for ListVulnerabilitiesSortOrderEnum

func GetMappingListVulnerabilitiesSortOrderEnum

func GetMappingListVulnerabilitiesSortOrderEnum(val string) (ListVulnerabilitiesSortOrderEnum, bool)

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

type ListVulnerabilitiesVulnerabilityTypeEnum

type ListVulnerabilitiesVulnerabilityTypeEnum string

ListVulnerabilitiesVulnerabilityTypeEnum Enum with underlying type: string

const (
	ListVulnerabilitiesVulnerabilityTypeCve     ListVulnerabilitiesVulnerabilityTypeEnum = "CVE"
	ListVulnerabilitiesVulnerabilityTypeProblem ListVulnerabilitiesVulnerabilityTypeEnum = "PROBLEM"
)

Set of constants representing the allowable values for ListVulnerabilitiesVulnerabilityTypeEnum

func GetListVulnerabilitiesVulnerabilityTypeEnumValues

func GetListVulnerabilitiesVulnerabilityTypeEnumValues() []ListVulnerabilitiesVulnerabilityTypeEnum

GetListVulnerabilitiesVulnerabilityTypeEnumValues Enumerates the set of values for ListVulnerabilitiesVulnerabilityTypeEnum

func GetMappingListVulnerabilitiesVulnerabilityTypeEnum

func GetMappingListVulnerabilitiesVulnerabilityTypeEnum(val string) (ListVulnerabilitiesVulnerabilityTypeEnum, bool)

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

type ListVulnerabilityImpactedContainersRequest

type ListVulnerabilityImpactedContainersRequest struct {

	// unique vulnerability identifier
	VulnerabilityId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityId"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListVulnerabilityImpactedContainersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`

	// The field to sort by. Only one sort order may be provided. Default order is Ascending. If no value is specified image name is default.
	SortBy ListVulnerabilityImpactedContainersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListVulnerabilityImpactedContainersRequest wrapper for the ListVulnerabilityImpactedContainers operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListVulnerabilityImpactedContainers.go.html to see an example of how to use ListVulnerabilityImpactedContainersRequest.

func (ListVulnerabilityImpactedContainersRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ListVulnerabilityImpactedContainersRequest) HTTPRequest

func (request ListVulnerabilityImpactedContainersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVulnerabilityImpactedContainersRequest) RetryPolicy

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

func (ListVulnerabilityImpactedContainersRequest) String

func (ListVulnerabilityImpactedContainersRequest) ValidateEnumValue

func (request ListVulnerabilityImpactedContainersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListVulnerabilityImpactedContainersResponse

type ListVulnerabilityImpactedContainersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of VulnerabilityImpactedContainerSummaryCollection instances
	VulnerabilityImpactedContainerSummaryCollection `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"`
}

ListVulnerabilityImpactedContainersResponse wrapper for the ListVulnerabilityImpactedContainers operation

func (ListVulnerabilityImpactedContainersResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilityImpactedContainersResponse) String

type ListVulnerabilityImpactedContainersSortByEnum

type ListVulnerabilityImpactedContainersSortByEnum string

ListVulnerabilityImpactedContainersSortByEnum Enum with underlying type: string

const (
	ListVulnerabilityImpactedContainersSortByImage      ListVulnerabilityImpactedContainersSortByEnum = "image"
	ListVulnerabilityImpactedContainersSortByRepository ListVulnerabilityImpactedContainersSortByEnum = "repository"
	ListVulnerabilityImpactedContainersSortByRegistry   ListVulnerabilityImpactedContainersSortByEnum = "registry"
)

Set of constants representing the allowable values for ListVulnerabilityImpactedContainersSortByEnum

func GetListVulnerabilityImpactedContainersSortByEnumValues

func GetListVulnerabilityImpactedContainersSortByEnumValues() []ListVulnerabilityImpactedContainersSortByEnum

GetListVulnerabilityImpactedContainersSortByEnumValues Enumerates the set of values for ListVulnerabilityImpactedContainersSortByEnum

func GetMappingListVulnerabilityImpactedContainersSortByEnum

func GetMappingListVulnerabilityImpactedContainersSortByEnum(val string) (ListVulnerabilityImpactedContainersSortByEnum, bool)

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

type ListVulnerabilityImpactedContainersSortOrderEnum

type ListVulnerabilityImpactedContainersSortOrderEnum string

ListVulnerabilityImpactedContainersSortOrderEnum Enum with underlying type: string

const (
	ListVulnerabilityImpactedContainersSortOrderAsc  ListVulnerabilityImpactedContainersSortOrderEnum = "ASC"
	ListVulnerabilityImpactedContainersSortOrderDesc ListVulnerabilityImpactedContainersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVulnerabilityImpactedContainersSortOrderEnum

func GetListVulnerabilityImpactedContainersSortOrderEnumValues

func GetListVulnerabilityImpactedContainersSortOrderEnumValues() []ListVulnerabilityImpactedContainersSortOrderEnum

GetListVulnerabilityImpactedContainersSortOrderEnumValues Enumerates the set of values for ListVulnerabilityImpactedContainersSortOrderEnum

func GetMappingListVulnerabilityImpactedContainersSortOrderEnum

func GetMappingListVulnerabilityImpactedContainersSortOrderEnum(val string) (ListVulnerabilityImpactedContainersSortOrderEnum, bool)

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

type ListVulnerabilityImpactedHostsRequest

type ListVulnerabilityImpactedHostsRequest struct {

	// unique vulnerability identifier
	VulnerabilityId *string `mandatory:"true" contributesTo:"path" name:"vulnerabilityId"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListVulnerabilityImpactedHostsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order is Ascending. If no value is specified instanceId is default.
	SortBy ListVulnerabilityImpactedHostsSortByEnum `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"`

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

ListVulnerabilityImpactedHostsRequest wrapper for the ListVulnerabilityImpactedHosts operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListVulnerabilityImpactedHosts.go.html to see an example of how to use ListVulnerabilityImpactedHostsRequest.

func (ListVulnerabilityImpactedHostsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVulnerabilityImpactedHostsRequest) HTTPRequest

func (request ListVulnerabilityImpactedHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVulnerabilityImpactedHostsRequest) RetryPolicy

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

func (ListVulnerabilityImpactedHostsRequest) String

func (ListVulnerabilityImpactedHostsRequest) ValidateEnumValue

func (request ListVulnerabilityImpactedHostsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListVulnerabilityImpactedHostsResponse

type ListVulnerabilityImpactedHostsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of VulnerabilityImpactedHostSummaryCollection instances
	VulnerabilityImpactedHostSummaryCollection `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"`
}

ListVulnerabilityImpactedHostsResponse wrapper for the ListVulnerabilityImpactedHosts operation

func (ListVulnerabilityImpactedHostsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVulnerabilityImpactedHostsResponse) String

type ListVulnerabilityImpactedHostsSortByEnum

type ListVulnerabilityImpactedHostsSortByEnum string

ListVulnerabilityImpactedHostsSortByEnum Enum with underlying type: string

const (
	ListVulnerabilityImpactedHostsSortByInstanceid ListVulnerabilityImpactedHostsSortByEnum = "instanceId"
)

Set of constants representing the allowable values for ListVulnerabilityImpactedHostsSortByEnum

func GetListVulnerabilityImpactedHostsSortByEnumValues

func GetListVulnerabilityImpactedHostsSortByEnumValues() []ListVulnerabilityImpactedHostsSortByEnum

GetListVulnerabilityImpactedHostsSortByEnumValues Enumerates the set of values for ListVulnerabilityImpactedHostsSortByEnum

func GetMappingListVulnerabilityImpactedHostsSortByEnum

func GetMappingListVulnerabilityImpactedHostsSortByEnum(val string) (ListVulnerabilityImpactedHostsSortByEnum, bool)

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

type ListVulnerabilityImpactedHostsSortOrderEnum

type ListVulnerabilityImpactedHostsSortOrderEnum string

ListVulnerabilityImpactedHostsSortOrderEnum Enum with underlying type: string

const (
	ListVulnerabilityImpactedHostsSortOrderAsc  ListVulnerabilityImpactedHostsSortOrderEnum = "ASC"
	ListVulnerabilityImpactedHostsSortOrderDesc ListVulnerabilityImpactedHostsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVulnerabilityImpactedHostsSortOrderEnum

func GetListVulnerabilityImpactedHostsSortOrderEnumValues

func GetListVulnerabilityImpactedHostsSortOrderEnumValues() []ListVulnerabilityImpactedHostsSortOrderEnum

GetListVulnerabilityImpactedHostsSortOrderEnumValues Enumerates the set of values for ListVulnerabilityImpactedHostsSortOrderEnum

func GetMappingListVulnerabilityImpactedHostsSortOrderEnum

func GetMappingListVulnerabilityImpactedHostsSortOrderEnum(val string) (ListVulnerabilityImpactedHostsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest 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"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest 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"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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 maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestCollection instances
	WorkRequestCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ModelPackage added in v65.11.0

type ModelPackage struct {

	// Name of the package
	Name *string `mandatory:"true" json:"name"`

	// Package version
	Version *string `mandatory:"true" json:"version"`

	// Package type
	Type ModelPackageTypeEnum `mandatory:"true" json:"type"`

	// Package version in which the CVE was fixed
	CveFixVersion *string `mandatory:"false" json:"cveFixVersion"`

	// Disk locations where package was found
	Locations []string `mandatory:"false" json:"locations"`
}

ModelPackage Details of the vulnerable package found

func (ModelPackage) String added in v65.11.0

func (m ModelPackage) String() string

func (ModelPackage) ValidateEnumValue added in v65.11.0

func (m ModelPackage) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ModelPackageTypeEnum added in v65.11.0

type ModelPackageTypeEnum string

ModelPackageTypeEnum Enum with underlying type: string

const (
	ModelPackageTypeJava        ModelPackageTypeEnum = "JAVA"
	ModelPackageTypeApk         ModelPackageTypeEnum = "APK"
	ModelPackageTypeRpm         ModelPackageTypeEnum = "RPM"
	ModelPackageTypeDeb         ModelPackageTypeEnum = "DEB"
	ModelPackageTypeGo          ModelPackageTypeEnum = "GO"
	ModelPackageTypeNpm         ModelPackageTypeEnum = "NPM"
	ModelPackageTypePython      ModelPackageTypeEnum = "PYTHON"
	ModelPackageTypeRust        ModelPackageTypeEnum = "RUST"
	ModelPackageTypePhpComposer ModelPackageTypeEnum = "PHP_COMPOSER"
	ModelPackageTypeGem         ModelPackageTypeEnum = "GEM"
	ModelPackageTypeMsrcKb      ModelPackageTypeEnum = "MSRC_KB"
)

Set of constants representing the allowable values for ModelPackageTypeEnum

func GetMappingModelPackageTypeEnum added in v65.11.0

func GetMappingModelPackageTypeEnum(val string) (ModelPackageTypeEnum, bool)

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

func GetModelPackageTypeEnumValues added in v65.11.0

func GetModelPackageTypeEnumValues() []ModelPackageTypeEnum

GetModelPackageTypeEnumValues Enumerates the set of values for ModelPackageTypeEnum

type OcirContainerScanRegistry

type OcirContainerScanRegistry struct {

	// URL of the registry.
	Url *string `mandatory:"true" json:"url"`

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

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

OcirContainerScanRegistry Registry information for a OCI Registry target

func (OcirContainerScanRegistry) GetUrl

func (m OcirContainerScanRegistry) GetUrl() *string

GetUrl returns Url

func (OcirContainerScanRegistry) MarshalJSON

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

MarshalJSON marshals to json representation

func (OcirContainerScanRegistry) String

func (m OcirContainerScanRegistry) String() string

func (OcirContainerScanRegistry) ValidateEnumValue

func (m OcirContainerScanRegistry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperatingSystemEnum added in v65.11.0

type OperatingSystemEnum string

OperatingSystemEnum Enum with underlying type: string

const (
	OperatingSystemLinux   OperatingSystemEnum = "LINUX"
	OperatingSystemWindows OperatingSystemEnum = "WINDOWS"
)

Set of constants representing the allowable values for OperatingSystemEnum

func GetMappingOperatingSystemEnum added in v65.11.0

func GetMappingOperatingSystemEnum(val string) (OperatingSystemEnum, bool)

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

func GetOperatingSystemEnumValues added in v65.11.0

func GetOperatingSystemEnumValues() []OperatingSystemEnum

GetOperatingSystemEnumValues Enumerates the set of values for OperatingSystemEnum

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateHostScanRecipe             OperationTypeEnum = "CREATE_HOST_SCAN_RECIPE"
	OperationTypeUpdateHostScanRecipe             OperationTypeEnum = "UPDATE_HOST_SCAN_RECIPE"
	OperationTypeDeleteHostScanRecipe             OperationTypeEnum = "DELETE_HOST_SCAN_RECIPE"
	OperationTypeCreateHostScanTarget             OperationTypeEnum = "CREATE_HOST_SCAN_TARGET"
	OperationTypeUpdateHostScanTarget             OperationTypeEnum = "UPDATE_HOST_SCAN_TARGET"
	OperationTypeDeleteHostScanTarget             OperationTypeEnum = "DELETE_HOST_SCAN_TARGET"
	OperationTypeCreateContainerScanRecipe        OperationTypeEnum = "CREATE_CONTAINER_SCAN_RECIPE"
	OperationTypeUpdateContainerScanRecipe        OperationTypeEnum = "UPDATE_CONTAINER_SCAN_RECIPE"
	OperationTypeDeleteContainerScanRecipe        OperationTypeEnum = "DELETE_CONTAINER_SCAN_RECIPE"
	OperationTypeCreateContainerScanTarget        OperationTypeEnum = "CREATE_CONTAINER_SCAN_TARGET"
	OperationTypeUpdateContainerScanTarget        OperationTypeEnum = "UPDATE_CONTAINER_SCAN_TARGET"
	OperationTypeDeleteContainerScanTarget        OperationTypeEnum = "DELETE_CONTAINER_SCAN_TARGET"
	OperationTypeDeleteHostAgentScanResult        OperationTypeEnum = "DELETE_HOST_AGENT_SCAN_RESULT"
	OperationTypeDeleteHostPortScanResult         OperationTypeEnum = "DELETE_HOST_PORT_SCAN_RESULT"
	OperationTypeDeleteHostCisBenchmarkScanResult OperationTypeEnum = "DELETE_HOST_CIS_BENCHMARK_SCAN_RESULT"
	OperationTypeDeleteContainerScanResult        OperationTypeEnum = "DELETE_CONTAINER_SCAN_RESULT"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type ScanResultProblemSeverityEnum

type ScanResultProblemSeverityEnum string

ScanResultProblemSeverityEnum Enum with underlying type: string

const (
	ScanResultProblemSeverityNone     ScanResultProblemSeverityEnum = "NONE"
	ScanResultProblemSeverityLow      ScanResultProblemSeverityEnum = "LOW"
	ScanResultProblemSeverityMedium   ScanResultProblemSeverityEnum = "MEDIUM"
	ScanResultProblemSeverityHigh     ScanResultProblemSeverityEnum = "HIGH"
	ScanResultProblemSeverityCritical ScanResultProblemSeverityEnum = "CRITICAL"
)

Set of constants representing the allowable values for ScanResultProblemSeverityEnum

func GetMappingScanResultProblemSeverityEnum

func GetMappingScanResultProblemSeverityEnum(val string) (ScanResultProblemSeverityEnum, bool)

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

func GetScanResultProblemSeverityEnumValues

func GetScanResultProblemSeverityEnumValues() []ScanResultProblemSeverityEnum

GetScanResultProblemSeverityEnumValues Enumerates the set of values for ScanResultProblemSeverityEnum

type ScanResultScoreEnum

type ScanResultScoreEnum string

ScanResultScoreEnum Enum with underlying type: string

const (
	ScanResultScorePass ScanResultScoreEnum = "PASS"
	ScanResultScoreFail ScanResultScoreEnum = "FAIL"
)

Set of constants representing the allowable values for ScanResultScoreEnum

func GetMappingScanResultScoreEnum

func GetMappingScanResultScoreEnum(val string) (ScanResultScoreEnum, bool)

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

func GetScanResultScoreEnumValues

func GetScanResultScoreEnumValues() []ScanResultScoreEnum

GetScanResultScoreEnumValues Enumerates the set of values for ScanResultScoreEnum

type ScanResultVulnerabilityStateEnum

type ScanResultVulnerabilityStateEnum string

ScanResultVulnerabilityStateEnum Enum with underlying type: string

const (
	ScanResultVulnerabilityStateOpen          ScanResultVulnerabilityStateEnum = "OPEN"
	ScanResultVulnerabilityStateFixed         ScanResultVulnerabilityStateEnum = "FIXED"
	ScanResultVulnerabilityStateNotApplicable ScanResultVulnerabilityStateEnum = "NOT_APPLICABLE"
)

Set of constants representing the allowable values for ScanResultVulnerabilityStateEnum

func GetMappingScanResultVulnerabilityStateEnum

func GetMappingScanResultVulnerabilityStateEnum(val string) (ScanResultVulnerabilityStateEnum, bool)

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

func GetScanResultVulnerabilityStateEnumValues

func GetScanResultVulnerabilityStateEnumValues() []ScanResultVulnerabilityStateEnum

GetScanResultVulnerabilityStateEnumValues Enumerates the set of values for ScanResultVulnerabilityStateEnum

type Schedule

type Schedule struct {

	// How often the scan occurs
	Type ScheduleTypeEnum `mandatory:"true" json:"type"`

	// Day of week the scheduled scan occurs (not applicable for DAILY type)
	DayOfWeek DayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"`
}

Schedule A scanning schedule

func (Schedule) String

func (m Schedule) String() string

func (Schedule) ValidateEnumValue

func (m Schedule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleTypeEnum

type ScheduleTypeEnum string

ScheduleTypeEnum Enum with underlying type: string

const (
	ScheduleTypeDaily  ScheduleTypeEnum = "DAILY"
	ScheduleTypeWeekly ScheduleTypeEnum = "WEEKLY"
)

Set of constants representing the allowable values for ScheduleTypeEnum

func GetMappingScheduleTypeEnum

func GetMappingScheduleTypeEnum(val string) (ScheduleTypeEnum, bool)

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

func GetScheduleTypeEnumValues

func GetScheduleTypeEnumValues() []ScheduleTypeEnum

GetScheduleTypeEnumValues Enumerates the set of values for ScheduleTypeEnum

type SortByEnum

type SortByEnum string

SortByEnum Enum with underlying type: string

const (
	SortByTimeCreated SortByEnum = "timeCreated"
	SortByDisplayName SortByEnum = "displayName"
)

Set of constants representing the allowable values for SortByEnum

func GetMappingSortByEnum

func GetMappingSortByEnum(val string) (SortByEnum, bool)

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

func GetSortByEnumValues

func GetSortByEnumValues() []SortByEnum

GetSortByEnumValues Enumerates the set of values for SortByEnum

type SortByTimeEnum added in v65.25.0

type SortByTimeEnum string

SortByTimeEnum Enum with underlying type: string

const (
	SortByTimeTimeUpdated SortByTimeEnum = "timeUpdated"
)

Set of constants representing the allowable values for SortByTimeEnum

func GetMappingSortByTimeEnum added in v65.25.0

func GetMappingSortByTimeEnum(val string) (SortByTimeEnum, bool)

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

func GetSortByTimeEnumValues added in v65.25.0

func GetSortByTimeEnumValues() []SortByTimeEnum

GetSortByTimeEnumValues Enumerates the set of values for SortByTimeEnum

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateContainerScanRecipeDetails

type UpdateContainerScanRecipeDetails struct {

	// User friendly name of container scan recipe
	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"`

	ScanSettings *ContainerScanSettings `mandatory:"false" json:"scanSettings"`

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

UpdateContainerScanRecipeDetails The information to update an existing container scan recipe

func (UpdateContainerScanRecipeDetails) String

func (UpdateContainerScanRecipeDetails) ValidateEnumValue

func (m UpdateContainerScanRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerScanRecipeRequest

type UpdateContainerScanRecipeRequest struct {

	// unique ContainerScanRecipe identifier
	ContainerScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"containerScanRecipeId"`

	// The information to be updated.
	UpdateContainerScanRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateContainerScanRecipeRequest wrapper for the UpdateContainerScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateContainerScanRecipe.go.html to see an example of how to use UpdateContainerScanRecipeRequest.

func (UpdateContainerScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateContainerScanRecipeRequest) HTTPRequest

func (request UpdateContainerScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateContainerScanRecipeRequest) RetryPolicy

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

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

func (UpdateContainerScanRecipeRequest) String

func (request UpdateContainerScanRecipeRequest) String() string

func (UpdateContainerScanRecipeRequest) ValidateEnumValue

func (request UpdateContainerScanRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerScanRecipeResponse

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

UpdateContainerScanRecipeResponse wrapper for the UpdateContainerScanRecipe operation

func (UpdateContainerScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateContainerScanRecipeResponse) String

func (response UpdateContainerScanRecipeResponse) String() string

type UpdateContainerScanRegistryDetails

type UpdateContainerScanRegistryDetails interface {

	// URL of the registry. Required for non-OCIR registry types (for OCIR registry types, it can be inferred from the tenancy). If null, will not be updated.
	GetUrl() *string
}

UpdateContainerScanRegistryDetails Registry information for a container scan target

type UpdateContainerScanTargetDetails

type UpdateContainerScanTargetDetails struct {

	// User friendly name of container scan target
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Target description.
	Description *string `mandatory:"false" json:"description"`

	TargetRegistry UpdateContainerScanRegistryDetails `mandatory:"false" json:"targetRegistry"`

	// ID of the container scan recipe this target applies.
	ContainerScanRecipeId *string `mandatory:"false" json:"containerScanRecipeId"`

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

UpdateContainerScanTargetDetails The information to update an existing container scan target

func (UpdateContainerScanTargetDetails) String

func (*UpdateContainerScanTargetDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateContainerScanTargetDetails) ValidateEnumValue

func (m UpdateContainerScanTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerScanTargetRequest

type UpdateContainerScanTargetRequest struct {

	// unique ContainerScanTarget identifier
	ContainerScanTargetId *string `mandatory:"true" contributesTo:"path" name:"containerScanTargetId"`

	// The information to be updated.
	UpdateContainerScanTargetDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateContainerScanTargetRequest wrapper for the UpdateContainerScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateContainerScanTarget.go.html to see an example of how to use UpdateContainerScanTargetRequest.

func (UpdateContainerScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateContainerScanTargetRequest) HTTPRequest

func (request UpdateContainerScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateContainerScanTargetRequest) RetryPolicy

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

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

func (UpdateContainerScanTargetRequest) String

func (request UpdateContainerScanTargetRequest) String() string

func (UpdateContainerScanTargetRequest) ValidateEnumValue

func (request UpdateContainerScanTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerScanTargetResponse

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

UpdateContainerScanTargetResponse wrapper for the UpdateContainerScanTarget operation

func (UpdateContainerScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateContainerScanTargetResponse) String

func (response UpdateContainerScanTargetResponse) String() string

type UpdateHostScanRecipeDetails

type UpdateHostScanRecipeDetails struct {

	// Recipe identifier, which can be renamed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	PortSettings *HostScanPortSettings `mandatory:"false" json:"portSettings"`

	AgentSettings *HostScanAgentSettings `mandatory:"false" json:"agentSettings"`

	ApplicationSettings *ApplicationScanSettings `mandatory:"false" json:"applicationSettings"`

	Schedule *Schedule `mandatory:"false" json:"schedule"`

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

UpdateHostScanRecipeDetails The information to update an existing host scan recipe

func (UpdateHostScanRecipeDetails) String

func (UpdateHostScanRecipeDetails) ValidateEnumValue

func (m UpdateHostScanRecipeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHostScanRecipeRequest

type UpdateHostScanRecipeRequest struct {

	// unique HostScanRecipe identifier
	HostScanRecipeId *string `mandatory:"true" contributesTo:"path" name:"hostScanRecipeId"`

	// The information to be updated.
	UpdateHostScanRecipeDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateHostScanRecipeRequest wrapper for the UpdateHostScanRecipe operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateHostScanRecipe.go.html to see an example of how to use UpdateHostScanRecipeRequest.

func (UpdateHostScanRecipeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateHostScanRecipeRequest) HTTPRequest

func (request UpdateHostScanRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateHostScanRecipeRequest) RetryPolicy

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

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

func (UpdateHostScanRecipeRequest) String

func (request UpdateHostScanRecipeRequest) String() string

func (UpdateHostScanRecipeRequest) ValidateEnumValue

func (request UpdateHostScanRecipeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHostScanRecipeResponse

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

UpdateHostScanRecipeResponse wrapper for the UpdateHostScanRecipe operation

func (UpdateHostScanRecipeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateHostScanRecipeResponse) String

func (response UpdateHostScanRecipeResponse) String() string

type UpdateHostScanTargetDetails

type UpdateHostScanTargetDetails struct {

	// Target identifier, which can be renamed. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Target description.
	Description *string `mandatory:"false" json:"description"`

	// Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment.
	TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"`

	// List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId.
	InstanceIds []string `mandatory:"false" json:"instanceIds"`

	// ID of the host scan recipe this target applies.
	HostScanRecipeId *string `mandatory:"false" json:"hostScanRecipeId"`

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

UpdateHostScanTargetDetails The information to update an existing host scan target

func (UpdateHostScanTargetDetails) String

func (UpdateHostScanTargetDetails) ValidateEnumValue

func (m UpdateHostScanTargetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHostScanTargetRequest

type UpdateHostScanTargetRequest struct {

	// unique HostScanTarget identifier
	HostScanTargetId *string `mandatory:"true" contributesTo:"path" name:"hostScanTargetId"`

	// The information to be updated.
	UpdateHostScanTargetDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateHostScanTargetRequest wrapper for the UpdateHostScanTarget operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateHostScanTarget.go.html to see an example of how to use UpdateHostScanTargetRequest.

func (UpdateHostScanTargetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateHostScanTargetRequest) HTTPRequest

func (request UpdateHostScanTargetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateHostScanTargetRequest) RetryPolicy

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

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

func (UpdateHostScanTargetRequest) String

func (request UpdateHostScanTargetRequest) String() string

func (UpdateHostScanTargetRequest) ValidateEnumValue

func (request UpdateHostScanTargetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateHostScanTargetResponse

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

UpdateHostScanTargetResponse wrapper for the UpdateHostScanTarget operation

func (UpdateHostScanTargetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateHostScanTargetResponse) String

func (response UpdateHostScanTargetResponse) String() string

type UpdateOcirContainerScanRegistryDetails

type UpdateOcirContainerScanRegistryDetails struct {

	// URL of the registry. Required for non-OCIR registry types (for OCIR registry types, it can be inferred from the tenancy). If null, will not be updated.
	Url *string `mandatory:"false" json:"url"`

	// 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:"false" json:"compartmentId"`

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

UpdateOcirContainerScanRegistryDetails Registry information for a OCI Registry target

func (UpdateOcirContainerScanRegistryDetails) GetUrl

GetUrl returns Url

func (UpdateOcirContainerScanRegistryDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateOcirContainerScanRegistryDetails) String

func (UpdateOcirContainerScanRegistryDetails) ValidateEnumValue

func (m UpdateOcirContainerScanRegistryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VendorTypeEnum added in v65.25.0

type VendorTypeEnum string

VendorTypeEnum Enum with underlying type: string

const (
	VendorTypeOci    VendorTypeEnum = "OCI"
	VendorTypeQualys VendorTypeEnum = "QUALYS"
)

Set of constants representing the allowable values for VendorTypeEnum

func GetMappingVendorTypeEnum added in v65.25.0

func GetMappingVendorTypeEnum(val string) (VendorTypeEnum, bool)

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

func GetVendorTypeEnumValues added in v65.25.0

func GetVendorTypeEnumValues() []VendorTypeEnum

GetVendorTypeEnumValues Enumerates the set of values for VendorTypeEnum

type Vulnerability

type Vulnerability 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"`

	ImpactedResourcesCount *ImpactedResourcesCount `mandatory:"true" json:"impactedResourcesCount"`

	// Specifies the type of Vulnerability
	VulnerabilityType VulnerabilityTypeEnum `mandatory:"true" json:"vulnerabilityType"`

	// Mechanism used for scan authentication
	Authentication *string `mandatory:"false" json:"authentication"`

	// Reference to the vulnerability type's unique identifier. For CVE, this is the MITRE CVE ID
	VulnerabilityReference *string `mandatory:"false" json:"vulnerabilityReference"`

	CveDetails *CveDetails `mandatory:"false" json:"cveDetails"`

	// State of the vulnerability
	State ScanResultVulnerabilityStateEnum `mandatory:"false" json:"state,omitempty"`

	// The description of CVE vulnerability
	CveDescription *string `mandatory:"false" json:"cveDescription"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

Vulnerability A vulnerability found from scans in a compartment

func (Vulnerability) String

func (m Vulnerability) String() string

func (Vulnerability) ValidateEnumValue

func (m Vulnerability) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilityImpactedContainerSummary

type VulnerabilityImpactedContainerSummary struct {

	// The scan target id of the repository scan result
	ContainerScanTargetId *string `mandatory:"true" json:"containerScanTargetId"`

	// The repository id of the container image.
	Repository *string `mandatory:"true" json:"repository"`

	// The registry key of the container image.
	Registry *string `mandatory:"true" json:"registry"`

	// The name of the container image.
	Image *string `mandatory:"true" json:"image"`

	// The ID of the last container image scan result Id
	LastContainerScanId *string `mandatory:"true" json:"lastContainerScanId"`

	// Date and time the scan was completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
	TimeScanCompleted *common.SDKTime `mandatory:"true" json:"timeScanCompleted"`
}

VulnerabilityImpactedContainerSummary Information on a container image impacted by a vulnerability

func (VulnerabilityImpactedContainerSummary) String

func (VulnerabilityImpactedContainerSummary) ValidateEnumValue

func (m VulnerabilityImpactedContainerSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilityImpactedContainerSummaryCollection

type VulnerabilityImpactedContainerSummaryCollection struct {

	// The ImpactedContainerSummary objects in the collection
	Items []VulnerabilityImpactedContainerSummary `mandatory:"true" json:"items"`
}

VulnerabilityImpactedContainerSummaryCollection A collection of VulnerabilityImpactedContainer

func (VulnerabilityImpactedContainerSummaryCollection) String

func (VulnerabilityImpactedContainerSummaryCollection) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilityImpactedHostSummary

type VulnerabilityImpactedHostSummary 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host agent scan result. Immutable and generated on creation.
	LastAgentScanId *string `mandatory:"true" json:"lastAgentScanId"`
}

VulnerabilityImpactedHostSummary Information on a host impacted by a vulnerability

func (VulnerabilityImpactedHostSummary) String

func (VulnerabilityImpactedHostSummary) ValidateEnumValue

func (m VulnerabilityImpactedHostSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilityImpactedHostSummaryCollection

type VulnerabilityImpactedHostSummaryCollection struct {

	// The ImpactedHostSummary objects in the collection
	Items []VulnerabilityImpactedHostSummary `mandatory:"true" json:"items"`
}

VulnerabilityImpactedHostSummaryCollection A collection of HostVulnerabilityImpactedHost

func (VulnerabilityImpactedHostSummaryCollection) String

func (VulnerabilityImpactedHostSummaryCollection) ValidateEnumValue

func (m VulnerabilityImpactedHostSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilityScanningClient

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

VulnerabilityScanningClient a client for VulnerabilityScanning

func NewVulnerabilityScanningClientWithConfigurationProvider

func NewVulnerabilityScanningClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client VulnerabilityScanningClient, err error)

NewVulnerabilityScanningClientWithConfigurationProvider Creates a new default VulnerabilityScanning client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewVulnerabilityScanningClientWithOboToken

func NewVulnerabilityScanningClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VulnerabilityScanningClient, err error)

NewVulnerabilityScanningClientWithOboToken Creates a new default VulnerabilityScanning client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (VulnerabilityScanningClient) ChangeContainerScanRecipeCompartment

ChangeContainerScanRecipeCompartment Moves a ContainerScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeContainerScanRecipeCompartment.go.html to see an example of how to use ChangeContainerScanRecipeCompartment API.

func (VulnerabilityScanningClient) ChangeContainerScanResultCompartment

ChangeContainerScanResultCompartment Moves a ContainerScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeContainerScanResultCompartment.go.html to see an example of how to use ChangeContainerScanResultCompartment API.

func (VulnerabilityScanningClient) ChangeContainerScanTargetCompartment

ChangeContainerScanTargetCompartment Moves a ContainerScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeContainerScanTargetCompartment.go.html to see an example of how to use ChangeContainerScanTargetCompartment API.

func (VulnerabilityScanningClient) ChangeHostAgentScanResultCompartment

ChangeHostAgentScanResultCompartment Moves a HostAgentScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostAgentScanResultCompartment.go.html to see an example of how to use ChangeHostAgentScanResultCompartment API.

func (VulnerabilityScanningClient) ChangeHostCisBenchmarkScanResultCompartment

ChangeHostCisBenchmarkScanResultCompartment Moves a HostCisBenchmarkScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostCisBenchmarkScanResultCompartment.go.html to see an example of how to use ChangeHostCisBenchmarkScanResultCompartment API.

func (VulnerabilityScanningClient) ChangeHostEndpointProtectionScanResultCompartment

ChangeHostEndpointProtectionScanResultCompartment Moves a HostEndpointProtectionScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostEndpointProtectionScanResultCompartment.go.html to see an example of how to use ChangeHostEndpointProtectionScanResultCompartment API.

func (VulnerabilityScanningClient) ChangeHostPortScanResultCompartment

ChangeHostPortScanResultCompartment Moves a HostPortScanResult into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostPortScanResultCompartment.go.html to see an example of how to use ChangeHostPortScanResultCompartment API.

func (VulnerabilityScanningClient) ChangeHostScanRecipeCompartment

func (client VulnerabilityScanningClient) ChangeHostScanRecipeCompartment(ctx context.Context, request ChangeHostScanRecipeCompartmentRequest) (response ChangeHostScanRecipeCompartmentResponse, err error)

ChangeHostScanRecipeCompartment Moves a HostScanRecipe into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostScanRecipeCompartment.go.html to see an example of how to use ChangeHostScanRecipeCompartment API.

func (VulnerabilityScanningClient) ChangeHostScanTargetCompartment

func (client VulnerabilityScanningClient) ChangeHostScanTargetCompartment(ctx context.Context, request ChangeHostScanTargetCompartmentRequest) (response ChangeHostScanTargetCompartmentResponse, err error)

ChangeHostScanTargetCompartment Moves a HostScanTarget into a different compartment. When provided, If-Match is checked against ETag values of the resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ChangeHostScanTargetCompartment.go.html to see an example of how to use ChangeHostScanTargetCompartment API.

func (*VulnerabilityScanningClient) ConfigurationProvider

func (client *VulnerabilityScanningClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (VulnerabilityScanningClient) CreateContainerScanRecipe

func (client VulnerabilityScanningClient) CreateContainerScanRecipe(ctx context.Context, request CreateContainerScanRecipeRequest) (response CreateContainerScanRecipeResponse, err error)

CreateContainerScanRecipe Creates a new ContainerScanRecipe. A recipe determines the types of security issues that you want scanned.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateContainerScanRecipe.go.html to see an example of how to use CreateContainerScanRecipe API.

func (VulnerabilityScanningClient) CreateContainerScanTarget

func (client VulnerabilityScanningClient) CreateContainerScanTarget(ctx context.Context, request CreateContainerScanTargetRequest) (response CreateContainerScanTargetResponse, err error)

CreateContainerScanTarget Creates a new ContainerScanTarget. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateContainerScanTarget.go.html to see an example of how to use CreateContainerScanTarget API.

func (VulnerabilityScanningClient) CreateHostScanRecipe

func (client VulnerabilityScanningClient) CreateHostScanRecipe(ctx context.Context, request CreateHostScanRecipeRequest) (response CreateHostScanRecipeResponse, err error)

CreateHostScanRecipe Creates a new HostScanRecipe. A recipe determines the types of security issues that you want scanned, and how often to scan.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateHostScanRecipe.go.html to see an example of how to use CreateHostScanRecipe API.

func (VulnerabilityScanningClient) CreateHostScanTarget

func (client VulnerabilityScanningClient) CreateHostScanTarget(ctx context.Context, request CreateHostScanTargetRequest) (response CreateHostScanTargetResponse, err error)

CreateHostScanTarget Creates a new HostScanTarget. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/CreateHostScanTarget.go.html to see an example of how to use CreateHostScanTarget API.

func (VulnerabilityScanningClient) DeleteContainerScanRecipe

func (client VulnerabilityScanningClient) DeleteContainerScanRecipe(ctx context.Context, request DeleteContainerScanRecipeRequest) (response DeleteContainerScanRecipeResponse, err error)

DeleteContainerScanRecipe Deletes the ContainerScanRecipe identified by the recipe ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteContainerScanRecipe.go.html to see an example of how to use DeleteContainerScanRecipe API.

func (VulnerabilityScanningClient) DeleteContainerScanResult

func (client VulnerabilityScanningClient) DeleteContainerScanResult(ctx context.Context, request DeleteContainerScanResultRequest) (response DeleteContainerScanResultResponse, err error)

DeleteContainerScanResult Deletes the ContainerScanResult identified by the container scan ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteContainerScanResult.go.html to see an example of how to use DeleteContainerScanResult API.

func (VulnerabilityScanningClient) DeleteContainerScanTarget

func (client VulnerabilityScanningClient) DeleteContainerScanTarget(ctx context.Context, request DeleteContainerScanTargetRequest) (response DeleteContainerScanTargetResponse, err error)

DeleteContainerScanTarget Deletes the ContainerScanTarget identified by the target ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteContainerScanTarget.go.html to see an example of how to use DeleteContainerScanTarget API.

func (VulnerabilityScanningClient) DeleteHostAgentScanResult

func (client VulnerabilityScanningClient) DeleteHostAgentScanResult(ctx context.Context, request DeleteHostAgentScanResultRequest) (response DeleteHostAgentScanResultResponse, err error)

DeleteHostAgentScanResult Deletes the HostAgentScanResult identified by the host agent scan ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostAgentScanResult.go.html to see an example of how to use DeleteHostAgentScanResult API.

func (VulnerabilityScanningClient) DeleteHostCisBenchmarkScanResult

func (client VulnerabilityScanningClient) DeleteHostCisBenchmarkScanResult(ctx context.Context, request DeleteHostCisBenchmarkScanResultRequest) (response DeleteHostCisBenchmarkScanResultResponse, err error)

DeleteHostCisBenchmarkScanResult Deletes the HostCisBenchmarkScanResult identified by the benchmark scan result ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostCisBenchmarkScanResult.go.html to see an example of how to use DeleteHostCisBenchmarkScanResult API.

func (VulnerabilityScanningClient) DeleteHostEndpointProtectionScanResult

DeleteHostEndpointProtectionScanResult Deletes the HostEndpointProtectionScanResult identified by the id

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostEndpointProtectionScanResult.go.html to see an example of how to use DeleteHostEndpointProtectionScanResult API.

func (VulnerabilityScanningClient) DeleteHostPortScanResult

func (client VulnerabilityScanningClient) DeleteHostPortScanResult(ctx context.Context, request DeleteHostPortScanResultRequest) (response DeleteHostPortScanResultResponse, err error)

DeleteHostPortScanResult Deletes the HostPortScanResult identified by the host port scan ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostPortScanResult.go.html to see an example of how to use DeleteHostPortScanResult API.

func (VulnerabilityScanningClient) DeleteHostScanRecipe

func (client VulnerabilityScanningClient) DeleteHostScanRecipe(ctx context.Context, request DeleteHostScanRecipeRequest) (response DeleteHostScanRecipeResponse, err error)

DeleteHostScanRecipe Deletes the HostScanRecipe identified by the recipe ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostScanRecipe.go.html to see an example of how to use DeleteHostScanRecipe API.

func (VulnerabilityScanningClient) DeleteHostScanTarget

func (client VulnerabilityScanningClient) DeleteHostScanTarget(ctx context.Context, request DeleteHostScanTargetRequest) (response DeleteHostScanTargetResponse, err error)

DeleteHostScanTarget Deletes the HostScanTarget identified by the target ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/DeleteHostScanTarget.go.html to see an example of how to use DeleteHostScanTarget API.

func (VulnerabilityScanningClient) ExportHostAgentScanResultCsv

func (client VulnerabilityScanningClient) ExportHostAgentScanResultCsv(ctx context.Context, request ExportHostAgentScanResultCsvRequest) (response ExportHostAgentScanResultCsvResponse, err error)

ExportHostAgentScanResultCsv Exports a list of HostAgentScanResultSummary objects within a compartment and during a specified time range in CSV format. You can filter the results by problem severity.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ExportHostAgentScanResultCsv.go.html to see an example of how to use ExportHostAgentScanResultCsv API.

func (VulnerabilityScanningClient) ExportHostVulnerabilityCsv

func (client VulnerabilityScanningClient) ExportHostVulnerabilityCsv(ctx context.Context, request ExportHostVulnerabilityCsvRequest) (response ExportHostVulnerabilityCsvResponse, err error)

ExportHostVulnerabilityCsv Exports a list of HostVulnerabilitySummary objects in a compartment in CSV format.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ExportHostVulnerabilityCsv.go.html to see an example of how to use ExportHostVulnerabilityCsv API.

func (VulnerabilityScanningClient) GetContainerScanRecipe

func (client VulnerabilityScanningClient) GetContainerScanRecipe(ctx context.Context, request GetContainerScanRecipeRequest) (response GetContainerScanRecipeResponse, err error)

GetContainerScanRecipe Retrieves a ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetContainerScanRecipe.go.html to see an example of how to use GetContainerScanRecipe API.

func (VulnerabilityScanningClient) GetContainerScanResult

func (client VulnerabilityScanningClient) GetContainerScanResult(ctx context.Context, request GetContainerScanResultRequest) (response GetContainerScanResultResponse, err error)

GetContainerScanResult Retrieves a ContainerScanResult identified by the container scan ID. The result includes a list of problems found in a specific image in a Docker repository.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetContainerScanResult.go.html to see an example of how to use GetContainerScanResult API.

func (VulnerabilityScanningClient) GetContainerScanTarget

func (client VulnerabilityScanningClient) GetContainerScanTarget(ctx context.Context, request GetContainerScanTargetRequest) (response GetContainerScanTargetResponse, err error)

GetContainerScanTarget Gets a ContainerScanTarget identified by the target ID. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetContainerScanTarget.go.html to see an example of how to use GetContainerScanTarget API.

func (VulnerabilityScanningClient) GetHostAgentScanResult

func (client VulnerabilityScanningClient) GetHostAgentScanResult(ctx context.Context, request GetHostAgentScanResultRequest) (response GetHostAgentScanResultResponse, err error)

GetHostAgentScanResult Retrieves a HostAgentScanResult identified by the host agent scan ID. The result includes a list of CVEs detected in a specific compute instance.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostAgentScanResult.go.html to see an example of how to use GetHostAgentScanResult API.

func (VulnerabilityScanningClient) GetHostCisBenchmarkScanResult

func (client VulnerabilityScanningClient) GetHostCisBenchmarkScanResult(ctx context.Context, request GetHostCisBenchmarkScanResultRequest) (response GetHostCisBenchmarkScanResultResponse, err error)

GetHostCisBenchmarkScanResult Retrieves a HostCisBenchmarkScanResult identified by the benchmark scan result ID. A CIS (Center for Internet Security) benchmark scan result includes a list of benchmarks that were tested on a specific compute instance, and whether each test passed or failed.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostCisBenchmarkScanResult.go.html to see an example of how to use GetHostCisBenchmarkScanResult API.

func (VulnerabilityScanningClient) GetHostEndpointProtectionScanResult

GetHostEndpointProtectionScanResult Returns HostEndpointProtectionScanResults for the given host endpoint protection scan result ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostEndpointProtectionScanResult.go.html to see an example of how to use GetHostEndpointProtectionScanResult API.

func (VulnerabilityScanningClient) GetHostPortScanResult

func (client VulnerabilityScanningClient) GetHostPortScanResult(ctx context.Context, request GetHostPortScanResultRequest) (response GetHostPortScanResultResponse, err error)

GetHostPortScanResult Retrieves a HostPortScanResult identified by the host port scan ID. The result includes a list of open ports that were detected in a specific compute instance.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostPortScanResult.go.html to see an example of how to use GetHostPortScanResult API.

func (VulnerabilityScanningClient) GetHostScanRecipe

func (client VulnerabilityScanningClient) GetHostScanRecipe(ctx context.Context, request GetHostScanRecipeRequest) (response GetHostScanRecipeResponse, err error)

GetHostScanRecipe Retrieves a HostScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned, and how often to scan.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostScanRecipe.go.html to see an example of how to use GetHostScanRecipe API.

func (VulnerabilityScanningClient) GetHostScanTarget

func (client VulnerabilityScanningClient) GetHostScanTarget(ctx context.Context, request GetHostScanTargetRequest) (response GetHostScanTargetResponse, err error)

GetHostScanTarget Retrieves a HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostScanTarget.go.html to see an example of how to use GetHostScanTarget API.

func (VulnerabilityScanningClient) GetHostVulnerability

func (client VulnerabilityScanningClient) GetHostVulnerability(ctx context.Context, request GetHostVulnerabilityRequest) (response GetHostVulnerabilityResponse, err error)

GetHostVulnerability Retrieves a HostVulnerability identified by the host vulnerability ID. A host vulnerability describes a security issue that was detected in scans of one or more compute instances. Common Vulnerabilities and Exposures (CVE) numbers identify security vulnerabilities for operating systems and other software, including Critical Patch Updates and Security Alert advisories.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetHostVulnerability.go.html to see an example of how to use GetHostVulnerability API.

func (VulnerabilityScanningClient) GetVulnerability

func (client VulnerabilityScanningClient) GetVulnerability(ctx context.Context, request GetVulnerabilityRequest) (response GetVulnerabilityResponse, err error)

GetVulnerability Retrieves a Vulnerability identified by the vulnerability ID. A vulnerability describes a security issue that was detected in scans of one or more compute instances, container scan repositories. Common Vulnerabilities and Exposures (CVE) numbers identify security vulnerabilities for operating systems and other software, including Critical Patch Updates and Security Alert advisories.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetVulnerability.go.html to see an example of how to use GetVulnerability API.

func (VulnerabilityScanningClient) GetWorkRequest

func (client VulnerabilityScanningClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the work request with the given ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.

func (VulnerabilityScanningClient) ListContainerScanRecipes

func (client VulnerabilityScanningClient) ListContainerScanRecipes(ctx context.Context, request ListContainerScanRecipesRequest) (response ListContainerScanRecipesResponse, err error)

ListContainerScanRecipes Retrieves a list of ContainerScanRecipeSummary objects in a compartment. A recipe determines the types of security issues that you want scanned.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListContainerScanRecipes.go.html to see an example of how to use ListContainerScanRecipes API.

func (VulnerabilityScanningClient) ListContainerScanResults

func (client VulnerabilityScanningClient) ListContainerScanResults(ctx context.Context, request ListContainerScanResultsRequest) (response ListContainerScanResultsResponse, err error)

ListContainerScanResults Retrieves a list of ContainerScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. A container scan result includes a list of problems detected in a specific image in a Docker repository.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListContainerScanResults.go.html to see an example of how to use ListContainerScanResults API.

func (VulnerabilityScanningClient) ListContainerScanTargets

func (client VulnerabilityScanningClient) ListContainerScanTargets(ctx context.Context, request ListContainerScanTargetsRequest) (response ListContainerScanTargetsResponse, err error)

ListContainerScanTargets Retrieves a list of ContainerScanTargetSummary objects in a compartment. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListContainerScanTargets.go.html to see an example of how to use ListContainerScanTargets API.

func (VulnerabilityScanningClient) ListHostAgentScanResults

func (client VulnerabilityScanningClient) ListHostAgentScanResults(ctx context.Context, request ListHostAgentScanResultsRequest) (response ListHostAgentScanResultsResponse, err error)

ListHostAgentScanResults Retrieves a list of HostAgentScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. An agent scan result includes a list of CVEs detected in a specific compute instance.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostAgentScanResults.go.html to see an example of how to use ListHostAgentScanResults API.

func (VulnerabilityScanningClient) ListHostCisBenchmarkScanResults

func (client VulnerabilityScanningClient) ListHostCisBenchmarkScanResults(ctx context.Context, request ListHostCisBenchmarkScanResultsRequest) (response ListHostCisBenchmarkScanResultsResponse, err error)

ListHostCisBenchmarkScanResults Retrieves a list of HostCisBenchmarkScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. A CIS (Center for Internet Security) benchmark scan result includes the number of failed benchmark tests on a specific compute instance.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostCisBenchmarkScanResults.go.html to see an example of how to use ListHostCisBenchmarkScanResults API.

func (VulnerabilityScanningClient) ListHostEndpointProtectionScanResults

ListHostEndpointProtectionScanResults Returns a collection of HostEndpointProtectionScanResultSummary objects

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostEndpointProtectionScanResults.go.html to see an example of how to use ListHostEndpointProtectionScanResults API.

func (VulnerabilityScanningClient) ListHostPortScanResults

func (client VulnerabilityScanningClient) ListHostPortScanResults(ctx context.Context, request ListHostPortScanResultsRequest) (response ListHostPortScanResultsResponse, err error)

ListHostPortScanResults Retrieves a list of HostPortScanResultSummary objects in a compartment. You can filter and sort the results by problem severity and time. A port scan result includes a list of open ports that were detected in a specific compute instance.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostPortScanResults.go.html to see an example of how to use ListHostPortScanResults API.

func (VulnerabilityScanningClient) ListHostScanRecipes

func (client VulnerabilityScanningClient) ListHostScanRecipes(ctx context.Context, request ListHostScanRecipesRequest) (response ListHostScanRecipesResponse, err error)

ListHostScanRecipes Retrieves a list of HostScanRecipeSummary objects in a compartment. A recipe determines the types of security issues that you want scanned, and how often to scan.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostScanRecipes.go.html to see an example of how to use ListHostScanRecipes API.

func (VulnerabilityScanningClient) ListHostScanTargetErrors added in v65.25.0

func (client VulnerabilityScanningClient) ListHostScanTargetErrors(ctx context.Context, request ListHostScanTargetErrorsRequest) (response ListHostScanTargetErrorsResponse, err error)

ListHostScanTargetErrors Retrieves list of errors during scanning on instances associated with HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostScanTargetErrors.go.html to see an example of how to use ListHostScanTargetErrors API.

func (VulnerabilityScanningClient) ListHostScanTargets

func (client VulnerabilityScanningClient) ListHostScanTargets(ctx context.Context, request ListHostScanTargetsRequest) (response ListHostScanTargetsResponse, err error)

ListHostScanTargets Retrieves a list of HostScanTargetSummary objects in a compartment. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostScanTargets.go.html to see an example of how to use ListHostScanTargets API.

func (VulnerabilityScanningClient) ListHostVulnerabilities

func (client VulnerabilityScanningClient) ListHostVulnerabilities(ctx context.Context, request ListHostVulnerabilitiesRequest) (response ListHostVulnerabilitiesResponse, err error)

ListHostVulnerabilities Retrieves a list of HostVulnerabilitySummary objects in a compartment. You can filter and sort the vulnerabilities by problem severity and time. A host vulnerability describes a security issue that was detected in scans of one or more compute instances.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostVulnerabilities.go.html to see an example of how to use ListHostVulnerabilities API.

func (VulnerabilityScanningClient) ListHostVulnerabilityImpactedHosts

func (client VulnerabilityScanningClient) ListHostVulnerabilityImpactedHosts(ctx context.Context, request ListHostVulnerabilityImpactedHostsRequest) (response ListHostVulnerabilityImpactedHostsResponse, err error)

ListHostVulnerabilityImpactedHosts Retrieves a list of HostVulnerabilityImpactedHostSummary objects for a specific host vulnerability ID. An impacted host summary identifies a compute instance on which the specified vulnerability was detected.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListHostVulnerabilityImpactedHosts.go.html to see an example of how to use ListHostVulnerabilityImpactedHosts API.

func (VulnerabilityScanningClient) ListVulnerabilities

func (client VulnerabilityScanningClient) ListVulnerabilities(ctx context.Context, request ListVulnerabilitiesRequest) (response ListVulnerabilitiesResponse, err error)

ListVulnerabilities Retrieves a list of VulnerabilitySummary objects in a compartment. You can filter and sort the vulnerabilities by problem severity and time and type. A vulnerability describes a security issue that was detected in scans of one or more compute instances, container images.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListVulnerabilities.go.html to see an example of how to use ListVulnerabilities API.

func (VulnerabilityScanningClient) ListVulnerabilityImpactedContainers

ListVulnerabilityImpactedContainers Retrieves a list of VulnerabilityImpactedContainerSummary objects for a specific vulnerability ID. An impacted container image summary identifies container images on which the specified vulnerability was detected.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListVulnerabilityImpactedContainers.go.html to see an example of how to use ListVulnerabilityImpactedContainers API.

func (VulnerabilityScanningClient) ListVulnerabilityImpactedHosts

func (client VulnerabilityScanningClient) ListVulnerabilityImpactedHosts(ctx context.Context, request ListVulnerabilityImpactedHostsRequest) (response ListVulnerabilityImpactedHostsResponse, err error)

ListVulnerabilityImpactedHosts Retrieves a list of VulnerabilityImpactedHostSummary objects for a specific host vulnerability ID. An impacted host summary identifies a compute instance on which the specified vulnerability was detected.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListVulnerabilityImpactedHosts.go.html to see an example of how to use ListVulnerabilityImpactedHosts API.

func (VulnerabilityScanningClient) ListWorkRequestErrors

func (client VulnerabilityScanningClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.

func (VulnerabilityScanningClient) ListWorkRequestLogs

func (client VulnerabilityScanningClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.

func (VulnerabilityScanningClient) ListWorkRequests

func (client VulnerabilityScanningClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.

func (*VulnerabilityScanningClient) SetRegion

func (client *VulnerabilityScanningClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (VulnerabilityScanningClient) UpdateContainerScanRecipe

func (client VulnerabilityScanningClient) UpdateContainerScanRecipe(ctx context.Context, request UpdateContainerScanRecipeRequest) (response UpdateContainerScanRecipeResponse, err error)

UpdateContainerScanRecipe Updates the ContainerScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateContainerScanRecipe.go.html to see an example of how to use UpdateContainerScanRecipe API.

func (VulnerabilityScanningClient) UpdateContainerScanTarget

func (client VulnerabilityScanningClient) UpdateContainerScanTarget(ctx context.Context, request UpdateContainerScanTargetRequest) (response UpdateContainerScanTargetResponse, err error)

UpdateContainerScanTarget Updates the ContainerScanTarget identified by the target ID. A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateContainerScanTarget.go.html to see an example of how to use UpdateContainerScanTarget API.

func (VulnerabilityScanningClient) UpdateHostScanRecipe

func (client VulnerabilityScanningClient) UpdateHostScanRecipe(ctx context.Context, request UpdateHostScanRecipeRequest) (response UpdateHostScanRecipeResponse, err error)

UpdateHostScanRecipe Updates the HostScanRecipe identified by the recipe ID. A recipe determines the types of security issues that you want scanned, and how often to scan.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateHostScanRecipe.go.html to see an example of how to use UpdateHostScanRecipe API.

func (VulnerabilityScanningClient) UpdateHostScanTarget

func (client VulnerabilityScanningClient) UpdateHostScanTarget(ctx context.Context, request UpdateHostScanTargetRequest) (response UpdateHostScanTargetResponse, err error)

UpdateHostScanTarget Updates the HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vulnerabilityscanning/UpdateHostScanTarget.go.html to see an example of how to use UpdateHostScanTarget API.

type VulnerabilitySummary

type VulnerabilitySummary 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"`

	ImpactedResourcesCount *ImpactedResourcesCount `mandatory:"true" json:"impactedResourcesCount"`

	// Specifies the type of Vulnerability
	VulnerabilityType VulnerabilityTypeEnum `mandatory:"true" json:"vulnerabilityType"`

	// Reference to the vulnerability type's unique identifier. For CVE, this is the MITRE CVE ID
	VulnerabilityReference *string `mandatory:"false" json:"vulnerabilityReference"`

	// State of the vulnerability
	State ScanResultVulnerabilityStateEnum `mandatory:"false" json:"state,omitempty"`

	// The description of CVE vulnerability
	CveDescription *string `mandatory:"false" json:"cveDescription"`

	// The current state of the resource.
	LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

VulnerabilitySummary Summary of a scan vulnerability

func (VulnerabilitySummary) String

func (m VulnerabilitySummary) String() string

func (VulnerabilitySummary) ValidateEnumValue

func (m VulnerabilitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilitySummaryCollection

type VulnerabilitySummaryCollection struct {

	// The VulnerabilitySummary objects in the collection
	Items []VulnerabilitySummary `mandatory:"true" json:"items"`
}

VulnerabilitySummaryCollection A collection of VulnerabilitySummary

func (VulnerabilitySummaryCollection) String

func (VulnerabilitySummaryCollection) ValidateEnumValue

func (m VulnerabilitySummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VulnerabilityTypeEnum

type VulnerabilityTypeEnum string

VulnerabilityTypeEnum Enum with underlying type: string

const (
	VulnerabilityTypeCve     VulnerabilityTypeEnum = "CVE"
	VulnerabilityTypeProblem VulnerabilityTypeEnum = "PROBLEM"
)

Set of constants representing the allowable values for VulnerabilityTypeEnum

func GetMappingVulnerabilityTypeEnum

func GetMappingVulnerabilityTypeEnum(val string) (VulnerabilityTypeEnum, bool)

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

func GetVulnerabilityTypeEnumValues

func GetVulnerabilityTypeEnumValues() []VulnerabilityTypeEnum

GetVulnerabilityTypeEnumValues Enumerates the set of values for VulnerabilityTypeEnum

type WorkRequest

type WorkRequest struct {

	// Type of the work request
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A description of workrequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestCollection

type WorkRequestCollection struct {

	// The WorkRequest objects in the collection
	Items []WorkRequest `mandatory:"true" json:"items"`
}

WorkRequestCollection A collection of WorkRequest objects

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

func (m WorkRequestCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
	Code *string `mandatory:"true" json:"code"`

	// A human readable description of the issue encountered.
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// The WorkRequestError objects in the collection
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection A collection of WorkRequestError objects

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339 formatted datetime string
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

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

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// The WorkRequestLigEntry objects in the collection
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection A collection of WorkRequestLogEntry objects

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource the work request affects.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that the user can do a GET on to access the resource metadata
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

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

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL