AuditMode Parameter (Connect-GoogleBigQuery Cmdlet)
Specifies which provider actions should be recorded in audit tables.
Syntax
Connect-GoogleBigQuery -AuditMode string
Data Type
cstr
Default Value
""
Remarks
The cmdlet can log internal actions it performs when running queries. When this property is set, the cmdlet creates temporary in-memory audit tables to track the specified actions, including the timestamp, triggering query, and other relevant details.
By default, no audit modes are enabled, and the cmdlet does not log any audit information. To enable auditing, set this property to a comma-separated list of supported modes.
The following audit mode is currently available:
| Mode Name | Audit Table | Description | Columns |
| start-jobs | AuditJobs#TEMP | Records all jobs started by the cmdlet | Timestamp,Query,ProjectId,Location,JobId |
For example, to track Google BigQuery jobs started by the cmdlet, set this property to: start-jobs.
Use this property to gain visibility into internal operations for monitoring or troubleshooting.
Refer to AuditLimit for guidance on managing the size of audit tables.