# Grafeas V1 API - Class Grafeas::V1::ComplianceNote (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.1 1.0.0 0.16.1 0.15.0 0.14.2 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.1 Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::ComplianceNote.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cis_benchmark

    def cis_benchmark() -> ::Grafeas::V1::ComplianceNote::CisBenchmark

**Returns**

- ([::Grafeas::V1::ComplianceNote::CisBenchmark](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-ComplianceNote-CisBenchmark))

### #cis_benchmark=

    def cis_benchmark=(value) -> ::Grafeas::V1::ComplianceNote::CisBenchmark

**Parameter**

- **value** ([::Grafeas::V1::ComplianceNote::CisBenchmark](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-ComplianceNote-CisBenchmark))
**Returns**

- ([::Grafeas::V1::ComplianceNote::CisBenchmark](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-ComplianceNote-CisBenchmark))

### #description

    def description() -> ::String

**Returns**

- (::String) --- A description about this compliance check.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- A description about this compliance check.
**Returns**

- (::String) --- A description about this compliance check.

### #impact

    def impact() -> ::String

**Returns**

- (::String)

### #impact=

    def impact=(value) -> ::String

**Parameter**

- **value** (::String)
**Returns**

- (::String)

### #rationale

    def rationale() -> ::String

**Returns**

- (::String) --- A rationale for the existence of this compliance check.

### #rationale=

    def rationale=(value) -> ::String

**Parameter**

- **value** (::String) --- A rationale for the existence of this compliance check.
**Returns**

- (::String) --- A rationale for the existence of this compliance check.

### #remediation

    def remediation() -> ::String

**Returns**

- (::String) --- A description of remediation steps if the compliance check fails.

### #remediation=

    def remediation=(value) -> ::String

**Parameter**

- **value** (::String) --- A description of remediation steps if the compliance check fails.
**Returns**

- (::String) --- A description of remediation steps if the compliance check fails.

### #scan_instructions

    def scan_instructions() -> ::String

**Returns**

- (::String) --- Serialized scan instructions with a predefined format.

### #scan_instructions=

    def scan_instructions=(value) -> ::String

**Parameter**

- **value** (::String) --- Serialized scan instructions with a predefined format.
**Returns**

- (::String) --- Serialized scan instructions with a predefined format.

### #title

    def title() -> ::String

**Returns**

- (::String) --- The title that identifies this compliance check.

### #title=

    def title=(value) -> ::String

**Parameter**

- **value** (::String) --- The title that identifies this compliance check.
**Returns**

- (::String) --- The title that identifies this compliance check.

### #version

    def version() -> ::Array<::Grafeas::V1::ComplianceVersion>

**Returns**

- (::Array\<[::Grafeas::V1::ComplianceVersion](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-ComplianceVersion)\>) --- The OS and config versions the benchmark applies to.

### #version=

    def version=(value) -> ::Array<::Grafeas::V1::ComplianceVersion>

**Parameter**

- **value** (::Array\<[::Grafeas::V1::ComplianceVersion](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-ComplianceVersion)\>) --- The OS and config versions the benchmark applies to.
**Returns**

- (::Array\<[::Grafeas::V1::ComplianceVersion](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-ComplianceVersion)\>) --- The OS and config versions the benchmark applies to.