Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Tauchen <[email protected]>
  • Loading branch information
electricjesus and ctauchen authored Mar 8, 2024
1 parent 95c2503 commit b9a9383
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions calico-enterprise/threat/web-application-firewall.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ SecRuleEngine DetectionOnly

The configuration file starts with importing the appropriate rule set config. We use Coraza WAF's recommended [Core Rule Set setup](https://coraza.io/docs/tutorials/corerule set/) files:

1. Coraza recommended [config](https://github.com/corazawaf/coraza/blob/main/coraza.conf-recommended)
1. Coraza recommended [configuration](https://github.com/corazawaf/coraza/blob/main/coraza.conf-recommended)
1. The rest of the [corerule set](https://github.com/corerule set/corerule set) files, currently [v4.0.0-rc2](https://github.com/corerule set/corerule set/tree/v4.0.0-rc2)

These files can be customized if desired. Add all your customizations directly under `tigera.conf`:
Expand Down Expand Up @@ -238,7 +238,7 @@ Include @owasp_crs/*.conf

SecRuleEngine DetectionOnly

# --- all customisations appear below this line, unless they need a specific loading order like plugins ---
# --- all customizations appear below this line, unless they need a specific loading order like plugins ---

# --- Add sampling mode
# Read about sampling mode here https://corerule set.org/docs/concepts/sampling_mode/
Expand Down Expand Up @@ -269,7 +269,7 @@ Change anomaly scoring threshold:
setvar:tx.outbound_anomaly_score_threshold=20"
```

Or even change rule action parameters, behaviour e.g.:
Or even change rule action parameters or behavior. For example:

```bash
# --- append to more allowed content types to request bodies
Expand Down Expand Up @@ -302,7 +302,7 @@ wordpress-rule-exclusions-before.conf
wordpress-rule-exclusions-config.conf
```

and then tigera.conf contents should be:
and then `tigera.conf` contents should be:

```bash
Include @coraza.conf-recommended
Expand Down

0 comments on commit b9a9383

Please sign in to comment.