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.
| Direction | Description | Default |
|---|---|---|
asc | Ascending order | No |
desc | Descending order | Yes |
| Field | Description | Default |
|---|---|---|
name | Obligation name | No |
fqn | Obligation FQN | No |
created_at | Creation timestamp | Yes |
updated_at | Last update timestamp | No |
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