diff --git a/src/index.ts b/src/index.ts index 0dce8f2e..b3a18180 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ import { callCommand, runCodesec, getOptionalEnvVariable, readMarkdownFile } fro // Global scanner toggles - set to false to disable a scanner globally const enableScaRunning = true -const enableIacRunning = false // TODO: change to true when ready +const enableIacRunning = true async function runAnalysis() { const target = getInput('target') diff --git a/src/util.ts b/src/util.ts index de641493..2153fbe1 100644 --- a/src/util.ts +++ b/src/util.ts @@ -16,6 +16,7 @@ function gatherGitHubEnvVars(): string[] { } } envVars.push('CI_PLATFORM=github') + envVars.push(`LW_CODESEC_GIT_BRANCH=${process.env['LW_CODESEC_GIT_BRANCH'] || ''}`) return envVars }