DOCS.md

March 18, 2025 ยท View on GitHub

Configuration Parameters Summary

ParameterPurposeSourceRequiredTypeDefaultExampleSensitivity
SECRET_MANAGERSM to use (cli client, Python package, calls)useryesstrvaultawslow
GITHUB_APP_PRIVATE_KEYAuthenticates the app with GitHubGitHubyesstr------BEGIN RSA...critical
GITHUB_APP_INTEGRATION_IDAuthenticates the app with GitHub (app ID)GitHubyesstr-1234567high
WEBHOOK_SECRETValidates requests source (>32 random characters)GitHubyesstr-039e362cd52...high
BRANCHES_INCLUDERepos and branches to scan (all by default)usernodict[str, list | str]{}{'r1': ['b1', 'b2']}medium
BRANCHES_EXCLUDERepos and branches to not scanusernodict[str, list | str]{}{'r': 'all'}medium
SECURITY_REVIEWERSGitHub accounts and teams to review detectionsusernolist[]['jdoe', 'team:sec']medium
BLOCK_PRBlock merging in pull requests with detectionsusernoboolFalseTruelow
FP_STRICTRun only ERROR severity rules, exclude WARNINGusernoboolFalseTruelow
FULL_FINDINGSDetect all findings instead of just the first oneusernoboolFalseTruelow
WEBHOOK_PORTThe port on which the app listensusernoint80008443low
JWT_EXPIRY_SECONDSLimit the app's GitHub auth token TTLusernoint12060low

Architecture Diagram

architecture

Architecture Diagram: GitHub Enterprise

architecture GitHub Enterprise

Sequence Diagram

sequence

Code Logic Flow Diagram

logic flow