# pw platform firewall rules update

> Source: https://parallelworks.com/docs/cli/pw/platform/firewall/rules/update

## pw platform firewall rules update

Change a rule's action, status or note

```
pw platform firewall rules update [--action deny|log] [--status code] [--note text] <id> [flags]
```

### Examples

```
  # Start blocking with a rule that has been logging
  pw platform firewall rules update --action deny 4
```

### Options

```
      --action string   deny blocks a matching request; log only reports it
  -h, --help            help for update
      --note string     Why it is needed
      --status int      Status a denied request gets
```

### Options 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 logging
```

### SEE ALSO

* [pw platform firewall rules](/docs/cli/pw/platform/firewall/rules)	 - Manage the platform's own firewall rules, to answer attacks the shipped rules miss
