Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 784 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 784 Bytes

ShiftLeft JVL Docker Demo

Requirements

Build Docker image

docker build --build-arg SHIFTLEFT_ORG_ID=$SHIFTLEFT_ORG_ID --build-arg SHIFTLEFT_ACCESS_TOKEN=$SHIFTLEFT_ACCESS_TOKEN .

Start JVL with Docker Compose

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.

Updating the agent configuration

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