Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/includes/nic/compatibility-tables/nic-nap.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The following table shows compatibility between NGINX Ingress Controller (NIC) a
{{< bootstrap-table "table table-striped table-responsive" >}}
| NIC Version | NAP-WAF Version | Config Manager | Enforcer |
| ------------------- | --------------- | -------------- | -------- |
| {{< nic-version >}} | 35+5.527 | 5.9.0 | 5.9.0 |
| {{< nic-version >}} | {{< nic-waf-version >}} | {{< nic-waf-release-version >}} | {{< nic-waf-release-version >}} |
| 5.1.1 | 35+5.498 | 5.8.0 | 5.8.0 |
| 5.0.0 | 34+5.342 | 5.6.0 | 5.6.0 |
| 4.0.1 | 33+5.264 | 5.5.0 | 5.5.0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This is accomplished with the following steps:
Pull the `waf-compiler` image with:

```shell
docker pull private-registry.nginx.com/nap/waf-compiler:5.9.0
docker pull private-registry.nginx.com/nap/waf-compiler:{{<nic-waf-release-version>}}
```

Download the [provided WAF Policy JSON](https://raw.githubusercontent.com/nginx/kubernetes-ingress/main/tests/data/ap-waf-v5/wafv5.json):
Expand All @@ -53,13 +53,13 @@ Download the [provided WAF Policy JSON](https://raw.githubusercontent.com/nginx/
curl -L https://raw.githubusercontent.com/nginx/kubernetes-ingress/main/tests/data/ap-waf-v5/wafv5.json -o /tmp/wafv5.json
```

Use your pulled NAP Docker image (`private-registry.nginx.com/nap/waf-compiler:5.9.0`) to compile the policy bundle:
Use your pulled NAP Docker image (`private-registry.nginx.com/nap/waf-compiler:{{<nic-waf-release-version>}}`) to compile the policy bundle:

```shell
# Using your newly created image
docker run --rm \
-v /tmp:/tmp \
private-registry.nginx.com/nap/waf-compiler:5.9.0 \
private-registry.nginx.com/nap/waf-compiler:{{<nic-waf-release-version>}} \
-p /tmp/wafv5.json \
-o /tmp/compiled_policy.tgz
```
Expand Down
1 change: 1 addition & 0 deletions layouts/shortcodes/nic-waf-release-version.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.9.0
1 change: 1 addition & 0 deletions layouts/shortcodes/nic-waf-version.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35+5.527