fastly ngwaf workspace/threshold/create

Create a workspace threshold.

Syntax

$ fastly ngwaf workspace/threshold/create --action=ACTION --do-not-notify=DO-NOT-NOTIFY --duration=DURATION --enabled=ENABLED --interval=INTERVAL --limit=LIMIT --name=NAME --signal=SIGNAL

Options

KeyRequired?DefaultDescription
--actionYesThe action to take when the threshold is exceeded. [block, log]
--do-not-notifyYesWhether to silence notifications when action is taken. [true, false]
--durationYesThe duration the action is in place in seconds. Default duration is 86,400 seconds (1 day).
--enabledYesWhether the threshold is active. [true, false]
--intervalYesThe threshold interval in seconds. The default interval is 3600 seconds (1 hour).
--limitYesThe threshold limit. Input must be between 1 and 10000. Default limit is 10.
--nameYesUser submitted display name of a signal threshold. Input must be between 3 and 50 characters
--signalYesThe name of the signal this threshold is acting on
--workspace-idNoAlphanumeric string identifying the NGWAF Workspace (falls back to FASTLY_WORKSPACE_ID)
--jsonNoRender output as JSON

Global options

KeyRequired?DefaultDescription
--helpNoShow context-sensitive help.
--accept-defaultsNoAccept default options for all interactive prompts apart from Yes/No confirmations
--auto-yesNoAnswer yes automatically to all Yes/No confirmations. This may suppress security warnings
--debug-modeNoPrint API request and response details (NOTE: can disrupt the normal CLI flow output formatting)
--enable-ssoNoEnable Single-Sign On (SSO) for current profile execution (see also: 'fastly sso')
--non-interactiveNoDo not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes
--profileNoSwitch account profile for single command execution (see also: 'fastly profile switch')
--quietNoSilence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive)
--tokenNoFastly API token (or via FASTLY_API_TOKEN)
--verboseNoVerbose logging