Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Update checkovRunner.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmithv11 committed Oct 26, 2023
1 parent 4cf71c7 commit 0e0dc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checkov/checkovRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const runCheckovScan = (logger: Logger, checkovInstallation: CheckovInsta
const skipFrameworkParams: string[] = skipFrameworks ? ['--skip-framework', skipFrameworks.join(' ')] : [];
const workingDir = vscode.workspace.rootPath;
getGitRepoName(logger, vscode.window.activeTextEditor?.document.fileName).then((repoName) => {
const repoIdParams = repoName ? ['--repo-id', repoName] : [];
const repoIdParams = repoName ? ['--repo-id', repoName] : ['--repo-id', 'vscode/default'];
const checkovArguments: string[] = [...dockerRunParams, ...certificateParams, ...bcIdParam, ...noCertVerifyParam, '-s', '--bc-api-key', token,
...repoIdParams, ...filePathParams, ...skipCheckParam, '-o', 'json', ...pipRunParams, ...externalChecksParams, ...frameworkParams, ...skipFrameworkParams];
logger.info('Running checkov:');
Expand Down

0 comments on commit 0e0dc90

Please sign in to comment.