Skip to main content

otdfctl policy obligations list

list - List obligation definitions

Synopsis

otdfctl policy obligations list [flags]

Description

List obligations definitions (optionally by namespace).

For more information about obligations, see the obligations subcommand.

Sort Options

Use --sort <field> with optional --order <direction>. Either flag may be omitted.

DirectionDescriptionDefault
ascAscending orderNo
descDescending orderYes
FieldDescriptionDefault
nameObligation nameNo
fqnObligation FQNNo
created_atCreation timestampYes
updated_atLast update timestampNo

Omit direction and let the server choose the default direction:

otdfctl policy obligations list --sort name

Omit field and let the server choose the default field:

otdfctl policy obligations list --order asc

Example

otdfctl policy obligations list --limit 10 --offset 0

Sort obligations by name ascending:

otdfctl policy obligations list --sort name --order asc

Options

-l, --limit <limit>
Limit retrieved count (required: false)
-o, --offset <offset>
Offset (page) quantity from start of the list (required: false)
-n, --namespace <namespace>
Namespace ID or FQN by which to filter results (required: false)
--sort <sort>
Sort list results by field (required: false)
--order <order>
Sort order direction. Accepted values are asc and desc (required: false)

Aliases

l