Start Analysis
Initiates a background analysis task for a repository
Body
Repository identifier (format varies by service)
"owner/repository"
Git commit SHA or identifier
"abc123def456"
Authentication token for the service
"ghp_xxxxxxxxxxxx"
Version control service provider
github, azuredevops, gitlab, bitbucket "github"
Git branch name
"main"
Comma-separated file patterns to include in analysis
"src/**/*.py,lib/**/*.js,app/**/*.ts"
Comma-separated file patterns to exclude from analysis
"tests/**,node_modules/**,dist/**"
Subset of scanners to run. Omit (or send an empty list) to run the full analysis. Scanners left out report status: done with empty results for that commit.
sast, sca, secrets, iac, sbom, duplicate_code, docstring, antipatterns, dead_code Response
Analysis successfully started
Success message