Skip to content

Commit 1b9f251

Browse files
committed
bump: Update to version 2.8.1
1 parent cbd2a37 commit 1b9f251

File tree

9 files changed

+658
-18
lines changed

9 files changed

+658
-18
lines changed

doc-generation/go.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ go 1.13
44

55
require (
66
github.com/codacy/codacy-engine-golang-seed v0.0.12
7-
github.com/securego/gosec/v2 v2.3.0
8-
golang.org/x/mod v0.2.0
7+
github.com/securego/gosec/v2 v2.8.1
8+
golang.org/x/mod v0.5.0
9+
golang.org/x/sys v0.0.0-20210921065528-437939a70204 // indirect
10+
golang.org/x/tools v0.1.6 // indirect
911
)

doc-generation/go.sum

Lines changed: 638 additions & 0 deletions
Large diffs are not rendered by default.

docs/description/G501.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
## G501
2-
Import blacklist: crypto/md5
2+
Import blocklist: crypto/md5

docs/description/G502.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
## G502
2-
Import blacklist: crypto/des
2+
Import blocklist: crypto/des

docs/description/G503.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
## G503
2-
Import blacklist: crypto/rc4
2+
Import blocklist: crypto/rc4

docs/description/G504.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
## G504
2-
Import blacklist: net/http/cgi
2+
Import blocklist: net/http/cgi

docs/description/G505.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
## G505
2-
Import blacklist: crypto/sha1
2+
Import blocklist: crypto/sha1

docs/description/description.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,27 +122,27 @@
122122
{
123123
"patternId": "G501",
124124
"title": "G501",
125-
"description": "Import blacklist: crypto/md5"
125+
"description": "Import blocklist: crypto/md5"
126126
},
127127
{
128128
"patternId": "G502",
129129
"title": "G502",
130-
"description": "Import blacklist: crypto/des"
130+
"description": "Import blocklist: crypto/des"
131131
},
132132
{
133133
"patternId": "G503",
134134
"title": "G503",
135-
"description": "Import blacklist: crypto/rc4"
135+
"description": "Import blocklist: crypto/rc4"
136136
},
137137
{
138138
"patternId": "G504",
139139
"title": "G504",
140-
"description": "Import blacklist: net/http/cgi"
140+
"description": "Import blocklist: net/http/cgi"
141141
},
142142
{
143143
"patternId": "G505",
144144
"title": "G505",
145-
"description": "Import blacklist: crypto/sha1"
145+
"description": "Import blocklist: crypto/sha1"
146146
},
147147
{
148148
"patternId": "G601",
@@ -272,27 +272,27 @@
272272
{
273273
"patternId": "G501",
274274
"title": "G501",
275-
"description": "Import blacklist: crypto/md5"
275+
"description": "Import blocklist: crypto/md5"
276276
},
277277
{
278278
"patternId": "G502",
279279
"title": "G502",
280-
"description": "Import blacklist: crypto/des"
280+
"description": "Import blocklist: crypto/des"
281281
},
282282
{
283283
"patternId": "G503",
284284
"title": "G503",
285-
"description": "Import blacklist: crypto/rc4"
285+
"description": "Import blocklist: crypto/rc4"
286286
},
287287
{
288288
"patternId": "G504",
289289
"title": "G504",
290-
"description": "Import blacklist: net/http/cgi"
290+
"description": "Import blocklist: net/http/cgi"
291291
},
292292
{
293293
"patternId": "G505",
294294
"title": "G505",
295-
"description": "Import blacklist: crypto/sha1"
295+
"description": "Import blocklist: crypto/sha1"
296296
},
297297
{
298298
"patternId": "G601",

docs/patterns.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gosec",
3-
"version": "2.3.0",
3+
"version": "2.8.1",
44
"patterns": [
55
{
66
"patternId": "G101",

0 commit comments

Comments
 (0)