HostCisBenchmarkSettings¶
- class oci.vulnerability_scanning.models.HostCisBenchmarkSettings(**kwargs)¶
Bases:
objectCIS (Center for Internet Security) Benchmark scan settings for a host scan
Attributes:
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings.
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings.
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings.
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings.
Gets the scan_level of this HostCisBenchmarkSettings.
Methods:
__init__(**kwargs)Initializes a new HostCisBenchmarkSettings object with values from keyword arguments.
- SCAN_LEVEL_LIGHT = 'LIGHT'¶
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings. This constant has a value of “LIGHT”
- SCAN_LEVEL_MEDIUM = 'MEDIUM'¶
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings. This constant has a value of “MEDIUM”
- SCAN_LEVEL_NONE = 'NONE'¶
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings. This constant has a value of “NONE”
- SCAN_LEVEL_STRICT = 'STRICT'¶
A constant which can be used with the scan_level property of a HostCisBenchmarkSettings. This constant has a value of “STRICT”
- __init__(**kwargs)¶
Initializes a new HostCisBenchmarkSettings 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 HostCisBenchmarkSettings. Allowed values for this property are: “NONE”, “LIGHT”, “MEDIUM”, “STRICT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property scan_level¶
Gets the scan_level of this HostCisBenchmarkSettings. The level of strictness to apply for CIS Benchmarks. Use ‘NONE’ to disable CIS Benchmark checks entirely.
Allowed values for this property are: “NONE”, “LIGHT”, “MEDIUM”, “STRICT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The scan_level of this HostCisBenchmarkSettings.
- Return type
str