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

Commit

Permalink
windows docker fixes rescan (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolii-paloaltonetworks authored Feb 2, 2024
1 parent fcd484e commit adbe819
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class ResultsCacheService(val project: Project) {
fun addCheckovResultFromFileScan(newCheckovResults: List<CheckovResult>, filePath: String) {
newCheckovResults.forEach { newCheckovResult ->
run {
newCheckovResult.file_abs_path = fromDockerFilePath(newCheckovResult.file_abs_path)

if ( newCheckovResult.file_abs_path != filePath &&
filePath.contains(newCheckovResult.file_abs_path)) {
newCheckovResult.file_abs_path = filePath
Expand Down

0 comments on commit adbe819

Please sign in to comment.