Back to CLI Reference

$ sccfm-cli policies access-rule update --help

Usage: sccfm-cli policies access-rule update [OPTIONS]

  Update an ASA access rule.

Options:
  --uid TEXT                   UID of the access rule to update.  [required]
  --index INTEGER              New position of the rule in the ordered list.
  --rule-action [permit|deny]  Rule action.
  --remark TEXT                Human-readable description of the rule.
  --source-network TEXT        Source network object name.
  --destination-network TEXT   Destination network object name.
  --protocol TEXT              Protocol (e.g. tcp, udp, ip).
  --source-port TEXT           Source port or port range.
  --destination-port TEXT      Destination port or port range.
  --log-level TEXT             Log level.
  --log-interval INTEGER       Log interval in seconds.
  --active / --inactive        Whether the rule is active.
  --format [table|json]        Output format  [default: table]
  --config-path PATH           Path to the configuration file (defaults to
                               ~/.sccfm-cli/config.json).
  --help                       Show this message and exit.