ContainerScanSettings¶
- class oci.vulnerability_scanning.models.ContainerScanSettings(**kwargs)¶
Bases:
objectA collection of container scan settings
Attributes:
A constant which can be used with the scan_level property of a ContainerScanSettings.
A constant which can be used with the scan_level property of a ContainerScanSettings.
[Required] Gets the scan_level of this ContainerScanSettings.
Methods:
__init__(**kwargs)Initializes a new ContainerScanSettings object with values from keyword arguments.
- SCAN_LEVEL_NONE = 'NONE'¶
A constant which can be used with the scan_level property of a ContainerScanSettings. This constant has a value of “NONE”
- SCAN_LEVEL_STANDARD = 'STANDARD'¶
A constant which can be used with the scan_level property of a ContainerScanSettings. This constant has a value of “STANDARD”
- __init__(**kwargs)¶
Initializes a new ContainerScanSettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
scan_level (str) – The value to assign to the scan_level property of this ContainerScanSettings. Allowed values for this property are: “NONE”, “STANDARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property scan_level¶
[Required] Gets the scan_level of this ContainerScanSettings. The scan level
Allowed values for this property are: “NONE”, “STANDARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The scan_level of this ContainerScanSettings.
- Return type
str