Skip to content

sifis-home/wp4-aud_manager

Repository files navigation

WP4 Analytic: AUD Manager

Actions Status CodeCov LICENSE

Deploying

AUD Manager in a container

AUD Manager is intended to run in a docker container. The Dockerfile at the root of this repo describes the container. To fetch the latest container image from ghcr.io and run it execute the following:

docker-compose up

For developement purposes one may want to build and run the container locally. To do that use the enclosed wrapper script as follows:

./local_run.sh docker

REST API of AUD Manager

Description of the various REST endpoint available while AUD Manager is running.


GET /status

Description: Return the status of the currently running analytic, including a summary of recenty anomalies.

Sample: curl http://localhost:5050/status


GET /log

Description: List of logged events.

Sample: curl http://localhost:5050/log


GET /mark-benign/{anomaly_uuid}|all

Description: Mark anomaly with provided UUID as benign. One can also use all in place of a UUID to clear all current in-memory anomalies.

Sample: curl http://localhost:5050/mark-benign/00000000-1234-1234-1234-123456789012


REST API endpoints for development use only

GET /dev/diag

Description: Verbose output of analytic internals. JSON schema of the output is volatile and subject to change as the analytic is being developed.

Sample: curl http://localhost:5050/dev/diag


GET /dev/aud-update

Description: Manually enforce an internal aud_update().

Sample: curl http://localhost:5050/dev/aud-update


GET /dev/connlist

Descriptiong: Returns a list of active connections on AUD managers internal connection tracking.

Sample: curl http://localhost:5050/dev/connlist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages