Grafeas V1 API - Class Grafeas::V1::ComplianceVersion (v0.13.0)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::ComplianceVersion.

Describes the CIS benchmark version that is applicable to a given OS and os version.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#benchmark_document

def benchmark_document() -> ::String
Returns
  • (::String) — The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".

#benchmark_document=

def benchmark_document=(value) -> ::String
Parameter
  • value (::String) — The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".
Returns
  • (::String) — The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".

#cpe_uri

def cpe_uri() -> ::String
Returns
  • (::String) — The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.

#cpe_uri=

def cpe_uri=(value) -> ::String
Parameter
  • value (::String) — The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
Returns
  • (::String) — The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.

#version

def version() -> ::String
Returns
  • (::String) — The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
Returns
  • (::String) — The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.