Skip to main content

otdfctl policy dynamic-value-mappings update

update - Update a dynamic value mapping

Synopsis

otdfctl policy dynamic-value-mappings update [flags]

Description

Update a Dynamic Value Mapping.

Actions are updated in place, destructively replacing the current set. If you want to add or remove actions, provide the full set of actions on update.

To replace the dynamic value resolver, provide both --selector and --operator together. Omit both to leave the resolver unchanged.

For more information about dynamic value mappings, see the dynamic-value-mappings subcommand.

Example

otdfctl policy dynamic-value-mappings update --id 39866dd2-368b-41f6-b292-b4b68c01888b --action read

Options

-i, --id <id>
The ID of the dynamic value mapping to update (required: true)
-s, --selector <selector>
Replacement selector for a field on the flattened Entity Representation (requires --operator) (required: false)
-o, --operator <operator>
Replacement comparison operator (requires --selector) (required: false)
--action <action>
Each 'id' or 'name' of an Action to be entitled (i.e. 'create', 'read', 'update', 'delete') (required: false)
--subject-condition-set-id <subject-condition-set-id>
Replacement static pre-gate Subject Condition Set Id (required: false)
-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