File: //opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/simple_rpc/schema/wp-waf.yaml
wordpress-plugin waf set:
help: |
Bulk enable or disable WAF for hosting users.
Examples:
imunify360-agent wordpress-plugin waf set --status enabled --all-users
imunify360-agent wordpress-plugin waf set --status disabled --users alice bob carol
type: dict
cli:
users:
- root
schema:
status:
type: string
required: true
allowed: [enabled, disabled]
help: Target WAF state for the selected users.
all_users:
type: boolean
default: false
help: Apply to every hosting user on the server.
users:
type: list
nullable: true
schema: {type: string}
help: Apply to a space-separated list of hosting users (e.g. --users alice bob carol).