Issue
You are trying to debug the Lacework Proxy scanner, you could be having issues with authentication or needing to figure out if a webhook is being received
Environment
Any environment running the Lacework Proxy scanner
Keywords
- Proxy scanner
- Logging
- Debug
- Auth
- Scanner
- Container scanning
Resolution
The best way to figure out deeper issues with the Lacework Proxy scanner is to enable debug level logging, you can either enable it when calling the scanner and pasting the following into the command line
-e LOG_LEVEL=debug
E.g.
docker run -e LOG_LEVEL=debug -d --mount type=bind,source="$(pwd)"/cache,target=/opt/lacework/cache -v "$(pwd)"/config.yml:/opt/lacework/config/config.yml -p 8080:8080 lacework/lacework-proxy-scanner
This will print debug to stdout
If you are running the Lacework Proxy scanner using the inline scanner binary and running it in Daemon mode
https://docs.lacework.com/integrate-inline-scanner#daemon-run-command
You can simply use the inline scanner configure commands to enable debug logging and set a log file
lw-scanner configure logging