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]
SubcommandPurpose
list [options]List audit events with pagination
facets [options]Show counts and available audit filters
settingsManage audit logging and retention

openship audit facets

Show counts and available audit filters

openship audit facets [options]
OptionMeaning
--query <file>JSON audit filters, dates, cursor or page settings

openship audit list

List audit events with pagination

openship audit list [options]
OptionMeaning
--query <file>JSON audit filters, dates, cursor or page settings

openship audit settings

Manage audit logging and retention

openship audit settings [options] [command]
SubcommandPurpose
getShow 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>
ArgumentMeaning
fileJSON patch with enabled and/or retentionDays

On this page