Resource: AuditSchedule
An audit schedule, in one of the following formats:
projects/{project}/locations/{location}/auditSchedules/{auditSchedule}folders/{folder}/locations/{location}/auditSchedules/{auditSchedule}organizations/{organization}/locations/{location}/auditSchedules/{auditSchedule}
| JSON representation |
|---|
{ "name": string, "displayName": string, "gcsUri": string, "complianceFramework": string, "reportFormat": enum ( |
| Fields | |
|---|---|
name |
Identifier. Unique identifier for the audit schedule. Format: projects/{project}/locations/{location}/auditSchedules/{auditSchedule} folders/{folder}/locations/{location}/auditSchedules/{auditSchedule} organizations/{organization}/locations/{location}/auditSchedules/{auditSchedule} |
displayName |
Optional. Display name for the audit schedule. |
gcsUri |
Required. Cloud Storage bucket where Audit Manager can upload the audit report and evidence. The format is |
complianceFramework |
Required. Framework (set of controls) that the audit scope report is generated against. For example, |
reportFormat |
Required. Format for the audit report. |
scheduleConfig |
Required. Configuration that defines when and how often audit runs are automatically triggered for this schedule. |
state |
Optional. State of the audit schedule. While most states are managed by the system, you can use |
createTime |
Output only. Timestamp when the schedule was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Timestamp when the schedule was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
nextRunTime |
Output only. Calculated timestamp for the next scheduled run. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastTriggerTime |
Output only. Timestamp when the audit run was last triggered. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
errorMessage |
Output only. Describes the error if the schedule is in an error state. |
Methods |
|
|---|---|
|
Creates a new audit schedule in a given organization and location. |
|
Gets details of a single audit schedule. |
|
Lists audit schedules in a given organization and location. |
|
Updates an existing audit schedule. |