From 5f5420cbeb16d671bf745126556a23cbdfe05229 Mon Sep 17 00:00:00 2001 From: Balakoteswara Panchakshari Date: Wed, 12 Feb 2025 22:48:34 +0530 Subject: [PATCH] docs: update the NAP and NIM versions for NAP 4.13 and 5.5.0 (#190) docs: update the NAP and NIM versions for NIM NAP compiler Co-authored-by: Alan Dooley --- .../nim/tech-specs/nim-app-protect-support.md | 2 +- .../setup-waf-config-management.md | 30 ++++++++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/content/includes/nim/tech-specs/nim-app-protect-support.md b/content/includes/nim/tech-specs/nim-app-protect-support.md index 18c7ef3e2..8a217050b 100644 --- a/content/includes/nim/tech-specs/nim-app-protect-support.md +++ b/content/includes/nim/tech-specs/nim-app-protect-support.md @@ -8,7 +8,7 @@ NGINX Instance Manager supports the following versions of [NGINX App Protect WAF | NGINX Instance Manager | NGINX App Protect WAF | |------------------------|------------------------------------| -| 2.17.0–2.18.0 | Release 4.8.0–4.12.0, 5.1.0–5.4.0 | +| 2.17.0–2.19.0 | Release 4.8.0–4.13.0, 5.1.0–5.5.0 | | 2.15.1–2.16.0 | Release 4.8.0–4.10.0 | | 2.14.1–2.15.0 | Release 4.4.0–4.7.0 | | 2.13.0–2.14.0 | Release 4.3.0–4.5.0 | diff --git a/content/nim/nginx-app-protect/setup-waf-config-management.md b/content/nim/nginx-app-protect/setup-waf-config-management.md index 7a1e73f0f..60a975537 100644 --- a/content/nim/nginx-app-protect/setup-waf-config-management.md +++ b/content/nim/nginx-app-protect/setup-waf-config-management.md @@ -60,10 +60,12 @@ The following table shows the NGINX App Protect WAF Release version and its corr | NGINX App Protect WAF Release version | WAF Compiler | |---------------------------------------|----------------------------| +| NGINX App Protect WAF 5.5.0 | nms-nap-compiler-v5.264.0 | | NGINX App Protect WAF 5.4.0 | nms-nap-compiler-v5.210.0 | | NGINX App Protect WAF 5.3.0 | nms-nap-compiler-v5.144.0 | | NGINX App Protect WAF 5.2.0 | nms-nap-compiler-v5.48.0 | | NGINX App Protect WAF 5.1.0 | nms-nap-compiler-v5.17.0 | +| NGINX App Protect WAF 4.13.0 | nms-nap-compiler-v5.264.0 | | NGINX App Protect WAF 4.12.0 | nms-nap-compiler-v5.210.0 | | NGINX App Protect WAF 4.11.0 | nms-nap-compiler-v5.144.0 | | NGINX App Protect WAF 4.10.0 | nms-nap-compiler-v5.48.0 | @@ -100,7 +102,7 @@ The following table shows the NGINX App Protect WAF Release version and its corr Install the WAF compiler, then restart the `nms-integrations` service: ```bash -sudo apt-get install nms-nap-compiler-v5.210.0 +sudo apt-get install nms-nap-compiler-v5.264.0 ``` {{}} @@ -108,7 +110,7 @@ sudo apt-get install nms-nap-compiler-v5.210.0 - If you want to have more than one version of the `nms-nap-compiler` installed on your system at once, you'll need to append `-o Dpkg::Options::="--force-overwrite"` to the `nms-nap-compiler` installation commands after your initial `nms-nap-compiler` installation. For example, the installation command would look like this: ```bash -sudo apt-get install nms-nap-compiler-v5.210.0 -o Dpkg::Options::="--force-overwrite" +sudo apt-get install nms-nap-compiler-v5.264.0 -o Dpkg::Options::="--force-overwrite" ``` {{}} @@ -120,7 +122,7 @@ Download the file dependencies.repo to `/etc/yum.repos.d`, enable the `codeready ```bash sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms -sudo yum install nms-nap-compiler-v5.210.0 +sudo yum install nms-nap-compiler-v5.264.0 ``` ### RHEL 7.4 or later; CentOS @@ -129,7 +131,7 @@ Download the file `dependencies.repo` to `/etc/yum.repos.d`, enable the RHEL 7 s ```bash sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo sudo yum-config-manager --enable rhui-REGION-rhel-server-optional rhui-REGION-rhel-server-releases rhel-7-server-optional-rpms -sudo yum install nms-nap-compiler-v5.210.0 +sudo yum install nms-nap-compiler-v5.264.0 ``` ### Amazon Linux 2 LTS @@ -141,7 +143,7 @@ sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/app-protect-7.re sudo amazon-linux-extras enable epel sudo yum clean metadata sudo yum install epel-release -sudo yum install nms-nap-compiler-v5.210.0 +sudo yum install nms-nap-compiler-v5.264.0 ``` ### Oracle Linux 7.4 or later @@ -150,7 +152,7 @@ Download the file `dependencies.repo` to `/etc/yum.repos.d`, enable the `ol8_cod ```bash sudo wget -P /etc/yum.repos.d https://cs.nginx.com/static/files/dependencies.repo sudo yum-config-manager --enable ol8_codeready_builder -sudo yum install nms-nap-compiler-v5.210.0 +sudo yum install nms-nap-compiler-v5.264.0 ``` ### Download from MyF5 @@ -1093,24 +1095,24 @@ Check if the WAF compiler has been installed and is working properly by viewing sudo /opt/nms-nap-compiler/app_protect-/bin/apcompile -h ``` -For example, to view the help description for WAF compiler 5.210.0, run the following command: +For example, to view the help description for WAF compiler 5.264.0, run the following command: ``` bash -sudo /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile -h +sudo /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile -h ``` The output looks similar to the following example: ```text USAGE: - /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile + /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile Examples: - /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz - /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz - /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz - /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile -b /path/to/policy_bundle.tgz --dump - /opt/nms-nap-compiler/app_protect-5.210.0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz + /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile -p /path/to/policy.json -o mypolicy.tgz + /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile -p policyA.json -g myglobal.json -o /path/to/policyA_bundle.tgz + /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile -g myglobalsettings.json --global-state-outfile /path/to/myglobalstate.tgz + /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile -b /path/to/policy_bundle.tgz --dump + /opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile -l logprofA.json -o /path/to/logprofA_bundle.tgz ... ```