CLICommand referenceaudit
audit
Commands, arguments, and options for openship audit.
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
openship audit
Inspect audit events and retention settings
openship audit [options] [command]| Subcommand | Purpose |
|---|---|
list [options] | List audit events with pagination |
facets [options] | Show counts and available audit filters |
settings | Manage audit logging and retention |
openship audit facets
Show counts and available audit filters
openship audit facets [options]| Option | Meaning |
|---|---|
--query <file> | JSON audit filters, dates, cursor or page settings |
openship audit list
List audit events with pagination
openship audit list [options]| Option | Meaning |
|---|---|
--query <file> | JSON audit filters, dates, cursor or page settings |
openship audit settings
Manage audit logging and retention
openship audit settings [options] [command]| Subcommand | Purpose |
|---|---|
get | Show audit settings and management capability |
set <file> | Update audit settings |
openship audit settings get
Show audit settings and management capability
openship audit settings get [options]openship audit settings set
Update audit settings
openship audit settings set [options] <file>| Argument | Meaning |
|---|---|
file | JSON patch with enabled and/or retentionDays |