File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27860,7 +27860,7 @@ async function runVigilnzScan() {
2786027860 let scanTypesInList = []
2786127861 if (scanTypes?.trim() !== "") {
2786227862 scanTypesInList = scanTypes?.split(",")?.flatMap((type) => {
27863- if (type === "sca") {
27863+ if (type?.toLowerCase() === "sca") {
2786427864 return "cve"
2786527865 } else if (type?.toLowerCase() === "secret scan") {
2786627866 return "secret"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ async function runVigilnzScan() {
5151 let scanTypesInList = [ ]
5252 if ( scanTypes ?. trim ( ) !== "" ) {
5353 scanTypesInList = scanTypes ?. split ( "," ) ?. flatMap ( ( type ) => {
54- if ( type === "sca" ) {
54+ if ( type ?. toLowerCase ( ) === "sca" ) {
5555 return "cve"
5656 } else if ( type ?. toLowerCase ( ) === "secret scan" ) {
5757 return "secret"
You can’t perform that action at this time.
0 commit comments