Service Client: Google::Cloud::Cloudsecuritycompliance::V1::Audit::AuditClient

Client stub representing the remote Audit gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to cloudsecuritycompliance.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Cloudsecuritycompliance::V1::Audit - Compiled Protocol Buffers messages for google/cloud/cloudsecuritycompliance/v1/audit.proto

SYNOPSIS

use Google::Cloud::Cloudsecuritycompliance::V1::Audit;

my $msg = Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportRequest->new({
    scope => $scope,
    report_format => $report_format,
    compliance_framework => $compliance_framework,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportRequest->parse($bytes);

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

DESCRIPTION

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

MESSAGES

Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportRequest

The request message for [GenerateFrameworkAuditScopeReport][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The organization, folder or project for the audit report.

    Supported formats are the following:

    * `projects/{project_id}/locations/{location}` * `folders/{folder_id}/locations/{location}` * `organizations/{organization_id}/locations/{location}`

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

    Type: Enum (Google::Cloud::Cloudsecuritycompliance::V1::GenerateFrameworkAuditScopeReportRequest::Format)

    Required. The format that the scope report bytes is returned in.

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

    Type: String

    Required. The compliance framework that the scope report is generated for.

Enum: GenerateFrameworkAuditScopeReportRequest::Format

  • FORMAT_UNSPECIFIED => 0

  • ODF => 1

Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportResponse

The response message for [GenerateFrameworkAuditScopeReport][].

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    The audit scope report content in byte format.

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

    Type: String

    Identifier. The name of the audit report, in the format that was given in the request.

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

    Type: String

    Required. The compliance framework that the audit scope report is generated for.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::ReportSummary

Additional information for an audit operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Output only. The total number of checks.

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

    Type: Int32

    Output only. The number of compliant checks.

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

    Type: Int32

    Output only. The number of checks with violations.

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

    Type: Int32

    Output only. The number of checks with "manual review needed" status.

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

    Type: Int32

    Output only. The number of checks that can't be performed due to errors.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::CreateFrameworkAuditRequest

The request message for [CreateFrameworkAudit][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this framework audit is created.

    Supported formats are the following:

    * `organizations/{organization_id}/locations/{location}` * `folders/{folder_id}/locations/{location}` * `projects/{project_id}/locations/{location}`

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

    Type: String

    Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

    The ID must be between 4-63 characters, and valid characters are `\[a-z][0-9]-\`.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAudit)

    Required. The framework audit to create.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAuditDestination

A destination for the framework audit.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Audit::BucketDestination

A Cloud Storage bucket destination.

Inherits from Protobuf::Message.

Accessors

Enum: BucketDestination::Format

  • FORMAT_UNSPECIFIED => 0

  • ODF => 1

Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAudit

A framework audit.

Inherits from Protobuf::Message.

Accessors

Enum: FrameworkAudit::State

  • STATE_UNSPECIFIED => 0

  • SCHEDULED => 1

  • RUNNING => 2

  • UPLOADING => 3

  • FAILED => 4

  • SUCCEEDED => 5

Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsRequest

The request message for [ListFrameworkAudits][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where the framework audits are listed.

    Supported formats are the following:

    * `organizations/{organization_id}/locations/{location}` * `folders/{folder_id}/locations/{location}` * `projects/{project_id}/locations/{location}`

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

    Type: Int32

    Optional. The maximum number of framework audits to return. The service might return fewer audits than this value. If unspecified, a maximum of 10 framework audits are returned. The maximum value is 50; values above 50 are limited to 50.

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

    Type: String

    Optional. The `next_page_token` value that's returned from a previous list request, if any.

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

    Type: String

    Optional. The filters to apply to the framework audits. Supported filters are `compliance_framework`, `compliance_state`, `create_time,` and `framework_audit_name`. If the filter is invalid, an invalid argument error is returned. For syntax details, see [AIP-160][https://google.aip.dev/160].

Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsResponse

The response message for [ListFrameworkAudits][].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAudit)

    The framework audits.

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

    Type: String

    A token, which you can send as the `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::GetFrameworkAuditRequest

The request message for [GetFrameworkAudit][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the framework audit to retrieve.

    Supported formats are the following:

    * `organizations/{organization_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` * `folders/{folder_id}/locations/{location}/frameworkAudits/{frameworkAuditName}` * `projects/{project_id}/locations/{location}/frameworkAudits/{frameworkAuditName}`

Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlGroupAuditDetails

The details for a cloud control group.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The ID of the cloud control group.

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

    Type: String

    Output only. The display name of the cloud control group.

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

    Type: String

    Output only. The description of the cloud control group.

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

    Type: String

    Output only. The responsibility type.

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

    Type: String

    Output only. The description of Google's responsibility.

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

    Type: String

    Output only. The implementation of Google's responsibility.

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

    Type: String

    Output only. The description of your responsibility.

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

    Type: String

    Output only. The implementation of your responsibility.

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

    Type: Enum (Google::Cloud::Cloudsecuritycompliance::V1::ComplianceState)

    Output only. The compliance state of the control group.

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

    Type: String

    Output only. The ID of the regulatory control.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Common::ControlFamily)

    Output only. The control family.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlAuditDetails)

    Output only. The details for the cloud controls within this group.

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

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::Audit::ReportSummary)

    Output only. The summary of the report.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::FindingDetails

The details for a finding.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::Audit::ObservationDetails

The observation details for a finding.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The current value.

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

    Type: String

    Optional. The expected value.

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

    Type: String

    Output only. Any guidance for the observation.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::EvidenceDetails

The evidence details for a finding.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource identifier.

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

    Type: String

    Output only. The service identifier.

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

    Type: String

    Output only. The path to the evidence.

Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlAuditDetails

The details for a cloud control audit.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Cloudsecuritycompliance::V1::Audit::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.