Skip to main content

otdfctl policy subject-mappings list

list - List subject mappings

Synopsis

otdfctl policy subject-mappings list [flags]

Description

For more information about subject mappings, see the subject-mappings subcommand.

Search Fields

The --search term is trimmed and matched as a substring against these values:

ValueDescription
Attribute value FQNFully qualified mapped attribute value, such as https://example.com/attr/classification/value/public
Metadata label valuesValues under subject mapping metadata labels

Sort Options

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

DirectionDescriptionDefault
ascAscending orderNo
descDescending orderYes
FieldDescriptionDefault
created_atCreation timestampYes
updated_atLast update timestampNo

Omit direction and let the server choose the default direction:

otdfctl policy subject-mappings list --sort created_at

Omit field and let the server choose the default field:

otdfctl policy subject-mappings list --order asc

Example

otdfctl policy subject-mappings list

otdfctl policy subject-mappings list --namespace "https://example.com"

Search subject mappings by mapped attribute value FQN or metadata label value:

otdfctl policy subject-mappings list --search public

Sort subject mappings by creation time ascending:

otdfctl policy subject-mappings 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)
--search <search>
Search term 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