Skip to content

Commit 77f1168

Browse files
authored
chore(COD-6201): Enable IaC scanning (#258)
1 parent 59da5d0 commit 77f1168

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { callCommand, runCodesec, getOptionalEnvVariable, readMarkdownFile } fro
1111

1212
// Global scanner toggles - set to false to disable a scanner globally
1313
const enableScaRunning = true
14-
const enableIacRunning = false // TODO: change to true when ready
14+
const enableIacRunning = true
1515

1616
async function runAnalysis() {
1717
const target = getInput('target')

src/util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function gatherGitHubEnvVars(): string[] {
1616
}
1717
}
1818
envVars.push('CI_PLATFORM=github')
19+
envVars.push(`LW_CODESEC_GIT_BRANCH=${process.env['LW_CODESEC_GIT_BRANCH'] || ''}`)
1920
return envVars
2021
}
2122

0 commit comments

Comments
 (0)