Skip to content

Commit 1f5c249

Browse files
Fix dockerfile not collected due to KicsBaseFilters and BaseIncludeFilters conflict (AST-127206) (#1429)
* Fix bug AST-127206 * Fix trivy vulnerability --------- Co-authored-by: cx-Margarita-LevitM <cx-margarita-levitm> Co-authored-by: Anurag Dalke <anurag.dalke@checkmarx.com>
1 parent b3808d1 commit 1f5c249

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ require (
185185
github.com/json-iterator/go v1.1.12 // indirect
186186
github.com/kastenhq/goversion v0.0.0-20230811215019-93b2f8823953 // indirect
187187
github.com/kevinburke/ssh_config v1.2.0 // indirect
188-
github.com/klauspost/compress v1.18.1 // indirect
188+
github.com/klauspost/compress v1.18.4 // indirect
189189
github.com/klauspost/pgzip v1.2.6 // indirect
190190
github.com/knqyf263/go-rpmdb v0.1.1 // indirect
191191
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF
656656
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
657657
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
658658
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
659-
github.com/klauspost/compress v1.18.1 h1:bcSGx7UbpBqMChDtsF28Lw6v/G94LPrrbMbdC3JH2co=
660-
github.com/klauspost/compress v1.18.1/go.mod h1:ZQFFVG+MdnR0P+l6wpXgIL4NTtwiKIdBnrBd8Nrxr+0=
659+
github.com/klauspost/compress v1.18.4 h1:RPhnKRAQ4Fh8zU2FY/6ZFDwTVTxgJ/EMydqSTzE9a2c=
660+
github.com/klauspost/compress v1.18.4/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4=
661661
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
662662
github.com/klauspost/pgzip v1.2.6 h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU=
663663
github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=

internal/params/filters.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ var BaseIncludeFilters = []string{
127127
"requirement.txt",
128128
"requirement*.txt",
129129
"composer.lock",
130-
"Dockerfile*",
131-
"dock*",
130+
"*Dockerfile*",
131+
"*dock*",
132132
"*.dart",
133133
"*.plist",
134134
"go.mod",

0 commit comments

Comments
 (0)