Bamboo CI Integration¶
Set ESCAPE_APPLICATION_ID and ESCAPE_API_KEY as plan variables or secret variables in Bamboo.
The build agent needs Bash, curl, and write access to /usr/local/bin for the installer. Add the following script task to your Bamboo plan:
version: 2
plan:
project-key: SEC
key: ESC
name: Escape Security Scan
stages:
- Security:
jobs:
- EscapeScan
EscapeScan:
tasks:
- script:
interpreter: SHELL
scripts:
- curl -sf https://raw.githubusercontent.com/Escape-Technologies/cli/refs/heads/main/scripts/install.sh | bash
- escape-cli version
- escape-cli scans start ${bamboo.ESCAPE_APPLICATION_ID} --watch