- Docker Compose - https://docs.docker.com/compose/install/
- ShiftLeft org ID and token
docker build --build-arg SHIFTLEFT_ORG_ID=$SHIFTLEFT_ORG_ID --build-arg SHIFTLEFT_ACCESS_TOKEN=$SHIFTLEFT_ACCESS_TOKEN .
Build and start the environment using ShiftLeft credentials.
ORG="" TOKEN="" docker-compose up --build
Go to http://localhost:8080/JavaVulnerableLab/install.jsp and click Install.
Edit docker-compose.yml
and update the environment
section to modify the
agent's configuration using environment variables.
For example, you can enable blocking mode using by setting
SHIFTLEFT_SEC_MODE: BLOCK