otdfctl policy subject-condition-sets list
list - List Subject Condition Set
Synopsis
otdfctl policy subject-condition-sets list [flags]Description
For more information about subject condition sets, see the subject-condition-sets 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 |
|---|---|---|
created_at | Creation timestamp | Yes |
updated_at | Last update timestamp | No |
Omit direction and let the server choose the default direction:
otdfctl policy subject-condition-sets list --sort created_at
Omit field and let the server choose the default field:
otdfctl policy subject-condition-sets list --order asc
Example
otdfctl policy subject-condition-sets list
otdfctl policy subject-condition-sets list --namespace https://example.com
Sort subject condition sets by creation time ascending:
otdfctl policy subject-condition-sets list --sort created_at --order asc
Options
-n,--namespace <namespace>- Namespace ID or FQN to filter results (required:
false)
-l,--limit <limit>- Limit retrieved count (required:
false)
-o,--offset <offset>- Offset (page) quantity from start of the list (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