HostCisBenchmarkScanResultScore

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

Bases: object

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

Attributes

SCORE_FAIL A constant which can be used with the score property of a HostCisBenchmarkScanResultScore.
SCORE_PASS A constant which can be used with the score property of a HostCisBenchmarkScanResultScore.
benchmark_identifier [Required] Gets the benchmark_identifier of this HostCisBenchmarkScanResultScore.
description [Required] Gets the description of this HostCisBenchmarkScanResultScore.
score [Required] Gets the score of this HostCisBenchmarkScanResultScore.

Methods

__init__(**kwargs) Initializes a new HostCisBenchmarkScanResultScore object with values from keyword arguments.
SCORE_FAIL = 'FAIL'

A constant which can be used with the score property of a HostCisBenchmarkScanResultScore. This constant has a value of “FAIL”

SCORE_PASS = 'PASS'

A constant which can be used with the score property of a HostCisBenchmarkScanResultScore. This constant has a value of “PASS”

__init__(**kwargs)

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

Parameters:
  • benchmark_identifier (str) – The value to assign to the benchmark_identifier property of this HostCisBenchmarkScanResultScore.
  • description (str) – The value to assign to the description property of this HostCisBenchmarkScanResultScore.
  • score (str) – The value to assign to the score property of this HostCisBenchmarkScanResultScore. Allowed values for this property are: “PASS”, “FAIL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
benchmark_identifier

[Required] Gets the benchmark_identifier of this HostCisBenchmarkScanResultScore. Identifier for this CIS (Center for Internet Security) benchmark

Returns:The benchmark_identifier of this HostCisBenchmarkScanResultScore.
Return type:str
description

[Required] Gets the description of this HostCisBenchmarkScanResultScore. Details about what this CIS (Center for Internet Security) benchmark represents

Returns:The description of this HostCisBenchmarkScanResultScore.
Return type:str
score

[Required] Gets the score of this HostCisBenchmarkScanResultScore. Result score of CIS (Center for Internet Security) benchmark execution (Pass/Fail)

Allowed values for this property are: “PASS”, “FAIL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The score of this HostCisBenchmarkScanResultScore.
Return type:str