Skip to content

Commit 823f02d

Browse files
build(deps): bump github.com/securego/gosec/v2 from 2.17.0 to 2.18.0 (#4120)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
1 parent 0e82ef5 commit 823f02d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.golangci.reference.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ linters-settings:
844844
- G304 # File path provided as taint input
845845
- G305 # File traversal when extracting zip/tar archive
846846
- G306 # Poor file permissions used when writing to a new file
847-
- G307 # Deferring a method which returns an error
847+
- G307 # Poor file permissions used when creating a file with os.Create
848848
- G401 # Detect the usage of DES, RC4, MD5 or SHA1
849849
- G402 # Look for bad TLS connection settings
850850
- G403 # Ensure minimum RSA key length of 2048 bits
@@ -884,7 +884,7 @@ linters-settings:
884884
- G304 # File path provided as taint input
885885
- G305 # File traversal when extracting zip/tar archive
886886
- G306 # Poor file permissions used when writing to a new file
887-
- G307 # Deferring a method which returns an error
887+
- G307 # Poor file permissions used when creating a file with os.Create
888888
- G401 # Detect the usage of DES, RC4, MD5 or SHA1
889889
- G402 # Look for bad TLS connection settings
890890
- G403 # Ensure minimum RSA key length of 2048 bits

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ require (
8585
github.com/sanposhiho/wastedassign/v2 v2.0.7
8686
github.com/sashamelentyev/interfacebloat v1.1.0
8787
github.com/sashamelentyev/usestdlibvars v1.24.0
88-
github.com/securego/gosec/v2 v2.17.0
88+
github.com/securego/gosec/v2 v2.18.0
8989
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
9090
github.com/shirou/gopsutil/v3 v3.23.9
9191
github.com/sirupsen/logrus v1.9.3

go.sum

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var DefaultExcludePatterns = []ExcludePattern{
5454
},
5555
{
5656
ID: "EXC0008",
57-
Pattern: "(G104|G307)",
57+
Pattern: "(G104)",
5858
Linter: "gosec",
5959
Why: "Duplicated errcheck checks",
6060
},

0 commit comments

Comments
 (0)