Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making detect8 default script #4568

Merged
merged 12 commits into from
Sep 18, 2023
Prev Previous commit
Next Next commit
removed auto unmapping for detect7
  • Loading branch information
dimaste committed Sep 18, 2023
commit f428c610b237bed9ae62251102cd94f61f61a16c
4 changes: 3 additions & 1 deletion cmd/detectExecuteScan.go
Original file line number Diff line number Diff line change
@@ -339,7 +339,9 @@ func addDetectArgs(args []string, config detectExecuteScanOptions, utils detectU
config.ScanProperties, _ = piperutils.RemoveAll(config.ScanProperties, "--detect.project.codelocation.unmap=true")

// TEMPORARY OPTION DURING THE MIGRATION TO DETECT8
args = append(args, "--detect.project.codelocation.unmap=true")
if !config.UseDetect7 {
args = append(args, "--detect.project.codelocation.unmap=true")
}
// REMOVE AFTER 25.09.2023
}