Grafeas V1 Client - Class ComplianceNote (0.7.1)

Reference documentation and code samples for the Grafeas V1 Client class ComplianceNote.

Generated from protobuf message grafeas.v1.ComplianceNote

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ title string

The title that identifies this compliance check.

↳ description string

A description about this compliance check.

↳ version array<Grafeas\V1\ComplianceVersion>

The OS and config versions the benchmark applies to.

↳ rationale string

A rationale for the existence of this compliance check.

↳ remediation string

A description of remediation steps if the compliance check fails.

↳ cis_benchmark Grafeas\V1\ComplianceNote\CisBenchmark
↳ scan_instructions string

Serialized scan instructions with a predefined format.

getTitle

The title that identifies this compliance check.

Returns
TypeDescription
string

setTitle

The title that identifies this compliance check.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

A description about this compliance check.

Returns
TypeDescription
string

setDescription

A description about this compliance check.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

The OS and config versions the benchmark applies to.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVersion

The OS and config versions the benchmark applies to.

Parameter
NameDescription
var array<Grafeas\V1\ComplianceVersion>
Returns
TypeDescription
$this

getRationale

A rationale for the existence of this compliance check.

Returns
TypeDescription
string

setRationale

A rationale for the existence of this compliance check.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRemediation

A description of remediation steps if the compliance check fails.

Returns
TypeDescription
string

setRemediation

A description of remediation steps if the compliance check fails.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCisBenchmark

Generated from protobuf field .grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;

Returns
TypeDescription
Grafeas\V1\ComplianceNote\CisBenchmark|null

hasCisBenchmark

setCisBenchmark

Generated from protobuf field .grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;

Parameter
NameDescription
var Grafeas\V1\ComplianceNote\CisBenchmark
Returns
TypeDescription
$this

getScanInstructions

Serialized scan instructions with a predefined format.

Returns
TypeDescription
string

setScanInstructions

Serialized scan instructions with a predefined format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getComplianceType

Returns
TypeDescription
string