Class AuditSchedule (0.3.5)

AuditSchedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An audit schedule, in one of the following formats:

  • projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
  • folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
  • organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}

Attributes

Name Description
name str
Identifier. Unique identifier for the audit schedule. Format: projects/{project}/locations/{location}/auditSchedules/{audit_schedule} folders/{folder}/locations/{location}/auditSchedules/{audit_schedule} organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
display_name str
Optional. Display name for the audit schedule.
gcs_uri str
Required. Cloud Storage bucket where Audit Manager can upload the audit report and evidence. The format is gs://{bucket_name}.
compliance_framework str
Required. Framework (set of controls) that the audit scope report is generated against. For example, NIST_800_53.
report_format google.cloud.auditmanager_v1.types.AuditSchedule.AuditReportFormat
Required. Format for the audit report.
schedule_config google.cloud.auditmanager_v1.types.ScheduleConfig
Required. Configuration that defines when and how often audit runs are automatically triggered for this schedule.
state google.cloud.auditmanager_v1.types.ScheduleState
Optional. State of the audit schedule. While most states are managed by the system, you can use UpdateAuditSchedule to start, pause, or delete the schedule.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the schedule was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the schedule was last updated.
next_run_time google.protobuf.timestamp_pb2.Timestamp
Output only. Calculated timestamp for the next scheduled run.
last_trigger_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the audit run was last triggered.
error_message str
Output only. Describes the error if the schedule is in an error state.
parameter_overrides MutableMapping[str, google.cloud.auditmanager_v1.types.ParameterOverrides]
Optional. Maps dynamic parameter overrides by Cloud Control resource name at execution time. For example, {"organizations/123/locations/global/cloudControls/control-1": {parameters: [...]}}
report_export_formats MutableSequence[google.cloud.auditmanager_v1.types.ReportExportFormat]
Optional. Formats in which to export each scheduled audit report, in addition to the ODF report. Each format can be listed only once.

Classes

AuditReportFormat

AuditReportFormat(value)

Format for the audit report.

ParameterOverridesEntry

ParameterOverridesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.