-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Daryl edited this page Nov 1, 2022
·
9 revisions
socat TCP-L:2375,fork UNIX:/var/run/docker.sock
# .env file
SNYK_API_KEY=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
VT_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
$ docker compose up -d
Set the host and port of the docker socket
PUT /api/socket?host=<host>&port=<port>
Before any data can be retrieved, the following api must be called
PUT /api/acquire
This will get all the information from the docker socket and populate the database
Before any information can be retrieved about the possible vulns, the following api must be called
PUT /api/analyse/vuln/:image_id
Do note that there is a limit to how many scans per month that can be done