Skip to content

Commit

Permalink
Merge branch 'main' into update-k8s-values
Browse files Browse the repository at this point in the history
  • Loading branch information
travisamartin authored Feb 12, 2025
2 parents 0bfb274 + 5f5420c commit 7b6b1bd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion content/includes/nim/tech-specs/nim-app-protect-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
30 changes: 16 additions & 14 deletions content/nim/nginx-app-protect/setup-waf-config-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -100,15 +102,15 @@ 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
```

{{<note>}}

- 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"
```

{{</note>}}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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-<version>/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 <options>
/opt/nms-nap-compiler/app_protect-5.264.0/bin/apcompile <options>
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
...
```

Expand Down

0 comments on commit 7b6b1bd

Please sign in to comment.