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 <[email protected]>
1 parent 0e82ef5 commit 823f02d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.golangci.reference.yml

+2-2
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

+1-1
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

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/issues.go

+1-1
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)