Skip to content

Commit 59bd000

Browse files
authored
fix: Update setup-waf-config-management.md
1 parent 86dbb37 commit 59bd000

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

content/nim/nginx-app-protect/setup-waf-config-management.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ The table below shows which WAF compiler version to use for each version of NGIN
5555

5656
| NGINX App Protect WAF version | WAF compiler version |
5757
|-------------------------------|----------------------------|
58+
| 5.8.0 | nms-nap-compiler-v5.498.0 |
5859
| 5.7.0 | nms-nap-compiler-v5.442.0 |
5960
| 5.6.0 | nms-nap-compiler-v5.342.0 |
6061
| 5.5.0 | nms-nap-compiler-v5.264.0 |
6162
| 5.4.0 | nms-nap-compiler-v5.210.0 |
6263
| 5.3.0 | nms-nap-compiler-v5.144.0 |
6364
| 5.2.0 | nms-nap-compiler-v5.48.0 |
6465
| 5.1.0 | nms-nap-compiler-v5.17.0 |
66+
| 4.16.0 | nms-nap-compiler-v5.498.0 |
6567
| 4.15.0 | nms-nap-compiler-v5.442.0 |
6668
| 4.14.0 | nms-nap-compiler-v5.342.0 |
6769
| 4.13.0 | nms-nap-compiler-v5.264.0 |
@@ -88,13 +90,13 @@ The table below shows which WAF compiler version to use for each version of NGIN
8890
To install the WAF compiler on Debian or Ubuntu, run the following command:
8991

9092
```shell
91-
sudo apt-get install nms-nap-compiler-v5.442.0
93+
sudo apt-get install nms-nap-compiler-v5.498.0
9294
```
9395

9496
If you want to install more than one version of the WAF compiler on the same system, append the `--force-overwrite` option to the install command after the first installation:
9597

9698
```shell
97-
sudo apt-get install nms-nap-compiler-v5.442.0 -o Dpkg::Options::="--force-overwrite"
99+
sudo apt-get install nms-nap-compiler-v5.498.0 -o Dpkg::Options::="--force-overwrite"
98100
```
99101

100102
{{< include "nim/nap-waf/restart-nms-integrations.md" >}}
@@ -118,7 +120,7 @@ To install the WAF compiler on RHEL 8.1 :
118120
3. Install the WAF compiler:
119121

120122
```shell
121-
sudo yum install nms-nap-compiler-v5.442.0
123+
sudo yum install nms-nap-compiler-v5.498.0
122124
```
123125

124126
### RHEL 9
@@ -140,7 +142,7 @@ To install the WAF compiler on RHEL 9:
140142
3. Install the WAF compiler:
141143

142144
```shell
143-
sudo yum install nms-nap-compiler-v5.442.0
145+
sudo yum install nms-nap-compiler-v5.498.0
144146
```
145147

146148
4. {{< include "nim/nap-waf/restart-nms-integrations.md" >}}
@@ -164,7 +166,7 @@ To install the WAF compiler on Oracle Linux 8.1:
164166
3. Install the WAF compiler:
165167

166168
```shell
167-
sudo yum install nms-nap-compiler-v5.442.0
169+
sudo yum install nms-nap-compiler-v5.498.0
168170
```
169171

170172
4. {{< include "nim/nap-waf/restart-nms-integrations.md" >}}
@@ -248,7 +250,7 @@ To install the WAF compiler on a system without internet access, complete these
248250
- **Step 2:** Move the generated package to the offline target system and install it.
249251

250252
Note : Version of NAP compiler can be referred from the table at the top of this page.
251-
Current latest version 5.442.0 at the point of writing this document is used in below commands.
253+
Current latest version 5.498.0 at the point of writing this document is used in below commands.
252254

253255
{{<tabs name="WAF compiler installation in offline environment">}}
254256

@@ -276,10 +278,10 @@ sudo tee /etc/apt/sources.list.d/nms.list
276278
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
277279
mkdir -p compiler && cd compiler
278280
sudo apt-get update
279-
sudo apt-get download nms-nap-compiler-v5.442.0
281+
sudo apt-get download nms-nap-compiler-v5.498.0
280282
cd ../
281283
mkdir -p compiler/compiler.deps
282-
sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.442.0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
284+
sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.498.0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
283285
tar -czvf compiler.tar.gz compiler/
284286
```
285287

@@ -320,10 +322,10 @@ sudo tee /etc/apt/sources.list.d/nms.list
320322
sudo wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx
321323
mkdir -p compiler && cd compiler
322324
sudo apt-get update
323-
sudo apt-get download nms-nap-compiler-v5.442.0
325+
sudo apt-get download nms-nap-compiler-v5.498.0
324326
cd ../
325327
mkdir -p compiler/compiler.deps
326-
sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.442.0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
328+
sudo apt-get install --download-only --reinstall --yes --print-uris nms-nap-compiler-v5.498.0 | grep ^\' | cut -d\' -f2 | xargs -n 1 wget -P ./compiler/compiler.deps
327329
tar -czvf compiler.tar.gz compiler/
328330
```
329331

@@ -359,7 +361,7 @@ sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/nms.repo
359361
sudo yum-config-manager --disable rhel-9-appstream-rhui-rpms
360362
sudo yum update -y
361363
sudo mkdir -p nms-nap-compiler
362-
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
364+
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.498.0
363365
tar -czvf compiler.tar.gz nms-nap-compiler/
364366
```
365367

@@ -401,7 +403,7 @@ EOF
401403
402404
sudo yum update -y
403405
sudo mkdir -p nms-nap-compiler
404-
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.442.0
406+
sudo yumdownloader --resolve --destdir=nms-nap-compiler nms-nap-compiler-v5.498.0
405407
tar -czvf compiler.tar.gz nms-nap-compiler/
406408
```
407409

@@ -1194,21 +1196,21 @@ sudo /opt/nms-nap-compiler/app_protect-<version>/bin/apcompile -h
11941196
**Example:**
11951197
11961198
```shell
1197-
sudo /opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile -h
1199+
sudo /opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile -h
11981200
```
11991201
12001202
**Expected output:**
12011203
12021204
```text
12031205
USAGE:
1204-
/opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile <options>
1206+
/opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile <options>
12051207
12061208
Examples:
1207-
/opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz
1208-
/opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz
1209-
/opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz
1210-
/opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile -b /path/to/policy_bundle.tgz --dump
1211-
/opt/nms-nap-compiler/app_protect-5.442.0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz
1209+
/opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz
1210+
/opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz
1211+
/opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz
1212+
/opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile -b /path/to/policy_bundle.tgz --dump
1213+
/opt/nms-nap-compiler/app_protect-5.498.0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz
12121214
```
12131215
12141216
### Confirm NGINX Agent configuration on the NGINX App Protect WAF instance

0 commit comments

Comments
 (0)