otdfctl policy subject-mappings update
update - Update a subject mapping
Synopsis
otdfctl policy subject-mappings update [flags]
Description
Update a Subject Mapping to alter entitlement of an entity to an Attribute Value.
Actions
are updated in place, destructively replacing the current set. If you want to add or remove actions, you must provide the full set of actions on update.
At this time, creation of a new SCS during update of a subject mapping is not supported.
For more information about subject mappings, see the subject-mappings
subcommand.
For more information about subject condition sets, see the subject-condition-sets
subcommand.
Example
otdfctl policy subject-mappings update --id 39866dd2-368b-41f6-b292-b4b68c01888b --action-standard DECRYPT,TRANSMIT
Options
-i
,--id <id>
- The ID of the subject mapping to update (required:
true
)
-s
,--action-standard <action-standard>
- The standard action to map to a subject set (required:
true
)
-c
,--action-custom <action-custom>
- The custom action to map to a subject set (required:
false
)
-
--subject-condition-set-id <subject-condition-set-id>
- Known preexisting Subject Condition Set Id (required:
true
)
-l
,--label <label>
- Optional metadata 'labels' in the format: key=value (required:
false
)
-
--force-replace-labels <force-replace-labels>
- Destructively replace entire set of existing metadata 'labels' with any provided to this command (required:
false
)
Aliases
u