From f04852f5d7e5c1ef327eb4a2c589249ce0628358 Mon Sep 17 00:00:00 2001 From: noam Date: Thu, 7 Jul 2022 19:05:57 +0300 Subject: [PATCH] Update NOTICE --- NOTICE | 2 +- README.md | 48 ++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/NOTICE b/NOTICE index 67c5501..a398e26 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Agent Repo Demo2 +open-appsec Attachments Copyright 2022 Check Point Software Technologies This product includes software developed at diff --git a/README.md b/README.md index bef1dc5..14af7d6 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,29 @@ -# attachment +am
+ +

openappsec/attachement

+
-## NGINX attachment compilation instructions +## About -### Compiling this repository +open-appsec is a machine learning security engine that preemptively and automatically prevent threats against Web Application & APIs. + +open-appsec Attachments connect between processes that provide HTTP data and the open-appsec agent security logic. + +An attachment gets HTTP data (URL, Header, Body, Response) from a hosting process and delivers it to an open-appsec additiona process known as HTTP Transaction handler. The attachment does not keep any state and has no security logic. + +To deal with potential issues where the HTTP Transaction handler process is not responding, the Attachment implements a retry mechanism and +configurable fail-open/fail-close mechanism. + +This repository will host Attachment 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 attachment compilation instructions + +### Compiling the attachment code 1. Clone this repository -2. Run CMake command (we recommand something like `cmake -DCMAKE_INSTALL_PREFIX= `). -3. From the repositoy directory run `make install` +2. Run CMake command +3. Run make install command -For example: ```bash $ git clone https://github.com/openappsec/attachment.git $ cd attachment/ @@ -15,12 +31,14 @@ For example: $ make install ``` -### For the NGINX plugin -Grab the nginx source code from [nginx.org](http://nginx.org/), for example, -the version 1.23.0 (see [nginx compatibility](http://nginx.org/en/docs/njs/compatibility.html)), and then build the source with this module: +### NGINX plugin + +NGINX Plugins are built per specific version. +1. Get nginx source code from [nginx.org](http://nginx.org/), e.g. version 1.23.0 (see [nginx compatibility](http://nginx.org/en/docs/njs/compatibility.html)) +2. Run make modules ```bash - $ module_path=/absolute/path/to/attachment + $ module_path=//attachment $ wget 'http://nginx.org/download/nginx-1.23.0.tar.gz' $ tar -xzvf nginx-1.23.0.tar.gz @@ -35,3 +53,13 @@ the version 1.23.0 (see [nginx compatibility](http://nginx.org/en/docs/njs/compa The NGINX plugin uses these libraries: shmem_ipc, compression_utils, and nginx_attachment_util. They can be found under the `lib` directory in the `` given to the CMake. + + +## Join the open-appssec Community! + +The open-appssec community (https://openappsec.io/community) is committed to fostering an open and welcoming environment, allowing engagement with other users and developers. + +## License + +open-appsec/attachment is open source and available under the Apache 2.0 license. +