CreateContainerScanRecipeDetails

class oci.vulnerability_scanning.models.CreateContainerScanRecipeDetails(**kwargs)

Bases: object

The information for a new container scan recipe

Methods

__init__(**kwargs) Initializes a new CreateContainerScanRecipeDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateContainerScanRecipeDetails.
defined_tags Gets the defined_tags of this CreateContainerScanRecipeDetails.
display_name Gets the display_name of this CreateContainerScanRecipeDetails.
freeform_tags Gets the freeform_tags of this CreateContainerScanRecipeDetails.
scan_settings [Required] Gets the scan_settings of this CreateContainerScanRecipeDetails.
__init__(**kwargs)

Initializes a new CreateContainerScanRecipeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateContainerScanRecipeDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateContainerScanRecipeDetails.
  • scan_settings (oci.vulnerability_scanning.models.ContainerScanSettings) – The value to assign to the scan_settings property of this CreateContainerScanRecipeDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateContainerScanRecipeDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateContainerScanRecipeDetails.
compartment_id

[Required] Gets the compartment_id of this CreateContainerScanRecipeDetails. The OCID of the container scan recipe’s compartment

Returns:The compartment_id of this CreateContainerScanRecipeDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateContainerScanRecipeDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateContainerScanRecipeDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateContainerScanRecipeDetails. User friendly name of container scan recipe. If not present, will be auto-generated.

Returns:The display_name of this CreateContainerScanRecipeDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateContainerScanRecipeDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateContainerScanRecipeDetails.
Return type:dict(str, str)
scan_settings

[Required] Gets the scan_settings of this CreateContainerScanRecipeDetails.

Returns:The scan_settings of this CreateContainerScanRecipeDetails.
Return type:oci.vulnerability_scanning.models.ContainerScanSettings