otdfctl policy actions create
create - Create a Custom Action
Synopsis
otdfctl policy actions create [flags]
Description
Add a custom action
to the platform Policy.
An action name
is normalized to lower case and may contain hyphens or dashes between other alphanumeric
characters.
For more information, see the actions
subcommand.
Examples
Create a custom action named 'install_package':
otdfctl policy actions create --name install_package
Options
-n
,--name <name>
- Name of the custom action (must be unique within Policy) (required:
true
)
-l
,--label <label>
- Optional metadata 'labels' in the format: key=value (required:
false
)
Aliases
c
, add
, new