Grafeas V1 Client - Class ComplianceNote (0.6.0)

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

Generated from protobuf message grafeas.v1.ComplianceNote

Methods

__construct

Constructor.

Parameters
Name
Description
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.

↳ scan_instructions
string

Serialized scan instructions with a predefined format.

getTitle

The title that identifies this compliance check.

Returns
Type
Description
string

setTitle

The title that identifies this compliance check.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

A description about this compliance check.

Returns
Type
Description
string

setDescription

A description about this compliance check.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getVersion

The OS and config versions the benchmark applies to.

Returns
Type
Description

setVersion

The OS and config versions the benchmark applies to.

Parameter
Name
Description
Returns
Type
Description
$this

getRationale

A rationale for the existence of this compliance check.

Returns
Type
Description
string

setRationale

A rationale for the existence of this compliance check.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRemediation

A description of remediation steps if the compliance check fails.

Returns
Type
Description
string

setRemediation

A description of remediation steps if the compliance check fails.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCisBenchmark

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

Returns
Type
Description

hasCisBenchmark

setCisBenchmark

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

Parameter
Name
Description
Returns
Type
Description
$this

getScanInstructions

Serialized scan instructions with a predefined format.

Returns
Type
Description
string

setScanInstructions

Serialized scan instructions with a predefined format.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getComplianceType

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: