pw platform firewall block
pw platform firewall block
Block every request from an address or range
pw platform firewall block [--for duration] [--note text] <address or CIDR> [flags]Examples
pw platform firewall block --for 24h --note "credential stuffing" 203.0.113.7
# Block a range until it is unblocked
pw platform firewall block 198.51.100.0/24Options
--for duration How long the block lasts, such as 30m or 24h; absent blocks until unblocked
-h, --help help for block
--note string Why it is blockedOptions inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
-v, --verbose Enable verbose loggingSEE ALSO
- pw platform firewall - Manage the platform firewall