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
Description of the various REST endpoint available while AUD Manager is running.
Description: Return the status of the currently running analytic, including a summary of recenty anomalies.
Sample: curl http://localhost:5050/status
Description: List of logged events.
Sample: curl http://localhost:5050/log
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
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
Description: Manually enforce an internal aud_update().
Sample: curl http://localhost:5050/dev/aud-update
Descriptiong: Returns a list of active connections on AUD managers internal connection tracking.
Sample: curl http://localhost:5050/dev/connlist