mc admin audit info
Lists the audit status for global, bucket, and account level.
Syntax
- CLI
-
mc admin audit info alias [ bucket=<bucket name> ] [ account=<account name> ] FLAGS: --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help
Parameters
Parameter | Description |
---|---|
bucket |
Displays the auditenable flag status for the bucket
specified. |
account |
Displays the auditenable and
forceauditenable flag status for the account specified. |
None. | If no parameter is specified, displays the status of global level auditing. |
Examples
- CLI
- Shows the
auditenable
flag status for a bucket namedmybucket
:mc admin audit info alias --bucket='mybucket'
- CLI
- Shows the
auditenable
andforceauditenable
flag status for an account namedmyaccount
:mc admin audit info alias --account='myaccount'