From e4bd5dff3493deb88a1284e84024a74591ca94eb Mon Sep 17 00:00:00 2001
From: orianelou <126462046+orianelou@users.noreply.github.com>
Date: Mon, 11 Dec 2023 17:56:29 +0200
Subject: [PATCH] Update README.md
---
README.md | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 40f2a41..d25b649 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
## About
-open-appsec is a machine learning security engine that preemptively and automatically prevent threats against Web Application & APIs.
+open-appsec is a machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs.
open-appsec Attachments connect between processes that provide HTTP data and the open-appsec Agent security logic.
@@ -16,7 +16,7 @@ To deal with potential issues where the HTTP Transaction handler process is not
This repository will host Attachments for different platforms. The first one is the open-appsec attachment for NGINX, implemented as a standard NGINX dynamically loadable module (plugin).
-## open-appsec NGINX / Kong attachment compilation instructions
+## open-appsec NGINX attachment compilation instructions
*We provide an example for compilation instructions on Alpine, the attachment can be comiplied on other environments that match the environment hosting nginx, yet compilation instructions could need adjustment*
The attachment can be compiled to support an existing nginx server or an nginx/ingress-nginxdocker.
@@ -37,7 +37,7 @@ Before compiling, ensure the latest development versions of the following librar
$ apk add pcre-dev libxml2-dev zlib-dev openssl-dev geoip-dev linux-headers python3
```
-### Compiling the attachment code for an existing NGINX/Kong server
+### Compiling the attachment code for an existing NGINX server
On your existing nginx server:
1. Run command to extract nginx compilation flags to a file
@@ -45,16 +45,18 @@ On your existing nginx server:
```bash
$ nginx -V &> /tmp/nginx.ver
```
-
On your compilation environment:
1. Clone this repository
2. Copy the file created on your nginx server (the previous section) to your compilation environment to the path /tmp/nginx.ver
3. Run Configuration script
4. Run CMake command
5. Run make command
+6. Run make package command
+7. install
```bash
$ git clone https://github.com/openappsec/attachment.git
+ $ cd attachment
$ ./attachments/nginx/ngx_module/nginx_version_configuration.sh --conf /tmp/nginx.ver build_out
$ cmake -DCMAKE_INSTALL_PREFIX=build_out .
$ make install
@@ -65,7 +67,7 @@ On your compilation environment:
The NGINX plugin uses these libraries: shmem_ipc, compression_utils, and nginx_attachment_util.
They can be found under the `lib` directory in the `