Bamboo CI Integration¶
Add the following script task to your Bamboo plan:
Set ESCAPE_APPLICATION_ID and ESCAPE_API_KEY as plan variables or secret variables in Bamboo.
version: 2
plan:
project-key: SEC
key: ESC
name: Escape Security Scan
stages:
- Security:
jobs:
- EscapeScan
jobs:
- EscapeScan:
tasks:
- script:
interpreter: SHELL
scripts:
- curl -sf https://raw.githubusercontent.com/Escape-Technologies/cli/refs/heads/main/scripts/install.sh | sh
- escape-cli version
- escape-cli scan start ${bamboo.ESCAPE_APPLICATION_ID} --watch