Setting up Corgea with Bitbucket
Configure Repository Variables
CORGEA_API_TOKEN
: Your Corgea API tokenConfigure Bitbucket Pipelines (External Security Scan)
bitbucket-pipelines.yml
file in the root of your repository. This example keeps a dedicated SAST engine (e.g., Fortify SAST) and then hands the results off to Corgea for triage and PR annotations.Configure Bitbucket Pipelines (Corgea-only Scan)
uv
python package manager to install dependencies, runs unit tests and linting, then executes corgea scan
to analyse the repository. The remainder of the script checks for triage and pushes issue details back to Bitbucket Code Insights.