Skip to content

Commit cee2259

Browse files
authored
[scan report] Support markdown, cleanup, add tests (#362)
* [scan report] Support markdown, cleanup, add tests * Add test for the map walker
1 parent 8824dc0 commit cee2259

7 files changed

Lines changed: 950 additions & 110 deletions

File tree

src/commands/scan/cmd-scan-report.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async function run(
134134
orgSlug,
135135
fullScanId,
136136
includeLicensePolicy: false, // !!license,
137-
includeSecurityPolicy: !!security,
137+
includeSecurityPolicy: typeof security === 'boolean' ? security : true,
138138
outputKind: json ? 'json' : markdown ? 'markdown' : 'text',
139139
filePath: file,
140140
fold: fold as 'none' | 'file' | 'pkg' | 'version',

0 commit comments

Comments
 (0)