NAME

Grafeas::V1::Compliance - Compiled Protocol Buffers messages for grafeas/v1/compliance.proto

SYNOPSIS

use Grafeas::V1::Compliance;

my $msg = Grafeas::V1::Compliance::ComplianceNote->new({
    title => $title,
    description => $description,
    version => $version,
    rationale => $rationale,
});

# Read or update a field
my $val = $msg->title();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Grafeas::V1::Compliance::ComplianceNote->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/compliance.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Grafeas::V1::Compliance::ComplianceNote

Inherits from Protobuf::Message.

Accessors

  • $msg->title() / $msg->title($value)

    Type: String

    The title that identifies this compliance check.

  • $msg->description() / $msg->description($value)

    Type: String

    A description about this compliance check.

  • $msg->version() / $msg->version($value)

    Type: Message (Grafeas::V1::Compliance::ComplianceVersion)

    The OS and config versions the benchmark applies to.

  • $msg->rationale() / $msg->rationale($value)

    Type: String

    A rationale for the existence of this compliance check.

  • $msg->remediation() / $msg->remediation($value)

    Type: String

    A description of remediation steps if the compliance check fails.

  • $msg->cis_benchmark() / $msg->cis_benchmark($value)

    Type: Message (Grafeas::V1::Compliance::ComplianceNote::CisBenchmark)

  • $msg->scan_instructions() / $msg->scan_instructions($value)

    Type: Bytes

    Serialized scan instructions with a predefined format.

  • $msg->impact() / $msg->impact($value)

    Type: String

Grafeas::V1::Compliance::ComplianceVersion

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

Inherits from Protobuf::Message.

Accessors

  • $msg->cpe_uri() / $msg->cpe_uri($value)

    Type: String

    The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.

  • $msg->benchmark_document() / $msg->benchmark_document($value)

    Type: String

    The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".

  • $msg->version() / $msg->version($value)

    Type: String

    The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.

Grafeas::V1::Compliance::ComplianceOccurrence

An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.

Inherits from Protobuf::Message.

Accessors

Grafeas::V1::Compliance::NonCompliantFile

Details about files that caused a compliance check to fail.

Inherits from Protobuf::Message.

Accessors

  • $msg->path() / $msg->path($value)

    Type: String

    Empty if `display_command` is set.

  • $msg->display_command() / $msg->display_command($value)

    Type: String

    Command to display the non-compliant files.

  • $msg->reason() / $msg->reason($value)

    Type: String

    Explains why a file is non compliant for a CIS check.

SEE ALSO

Protobuf, Protobuf::Message, Grafeas::V1::Compliance::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.