📣
TiDB Cloud Essential is now in public preview. Try it out →

ticloud serverless audit-log filter-rule list

List audit log filter rules for a TiDB Cloud Essential cluster.

ticloud serverless audit-log filter-rule list [flags]

Examples

List all audit log filter rules in interactive mode:

ticloud serverless audit-log filter-rule list

List all audit log filter rules in non-interactive mode:

ticloud serverless audit-log filter-rule list -c <cluster-id>

List all audit log filter rules with JSON format in non-interactive mode:

ticloud serverless audit-log filter-rule list -c <cluster-id> -o json

Flags

FlagDescriptionRequiredNote
-c, --cluster-id stringThe ID of the cluster.NoOnly works in non-interactive mode.
-o, --output stringSpecifies the output format. Valid values are human (default) or json. For the complete result, use the json format.NoWorks in both interactive and non-interactive modes.
-h, --helpShows help information for this command.NoWorks in both interactive and non-interactive modes.

Inherited flags

FlagDescriptionRequiredNote
-D, --debugEnables debug mode.NoWorks in both interactive and non-interactive modes.
--no-colorDisables color output.NoOnly works in non-interactive mode.
-P, --profile stringSpecifies the profile to use from your configuration file.NoWorks in both interactive and non-interactive modes.

Feedback

If you have any questions or suggestions on the TiDB Cloud CLI, feel free to create an issue. Also, we welcome any contributions.

Was this page helpful?