waf
policy
CLI reference for policy (waf).
gi waf policySubcommands
| Command | Description |
|---|---|
gi waf policy create | Create a new policy. |
gi waf policy delete <id> | Delete a policy. |
Flags
create flags
| Flag | Alias | Description |
|---|---|---|
--file | — | Path to a YAML or JSON file describing the asset |
Examples
# Create from file
gi waf policy create --file asset.yaml
# Delete
gi waf policy delete <id>