Skip to main content

update - Update an attribute definition

Synopsis

otdfctl policy attributes unsafe update [flags]

Description

Unsafe Update Warning

Name Update

Renaming an Attribute Definition means any Values and any associated mappings underneath will now be tied to the new name.

Any existing TDFs containing attributes under the old definition name will be rendered inaccessible, and any TDFs tied to the new name and already created may now become accessible.

Rule Update

Altering a rule of an Attribute Definition changes the evaluation of entitlement to data. Existing TDFs of the same definition name and values will now be accessible based on the updated rule. An anyOf rule becoming hierarchy or vice versa, for example, have entirely different meanings and access evaluations.

Values-Order Update

In the case of a hierarchy Attribute Definition Rule, the order of Values on the attribute has significant impact on data access. Changing this order (complete, destructive replacement of the existing order) will impact access to data.

To remove Values from an Attribute Definition, delete them separately via the values unsafe commands. To add, utilize safe values create commands.

Make sure you know what you are doing.

For more general information about attributes, see the attributes subcommand.

Options

-i, --id <id>
ID of the attribute definition (required: true)
-n, --name <name>
Name of the attribute definition (required: false)
-r, --rule <rule>
Rule of the attribute definition (required: false)
-o, --values-order <values-order>
Order of the attribute values (IDs) (required: false)