Skip to content

Commit 8669be8

Browse files
authored
chore(security-toolbox): bump gosec to v2.22.1 (#85)
## Description Update gosec to the latest version. ## Type of Change <!-- Mark relevant items with an [x] --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation/Repository docs update - [ ] Performance improvement - [ ] Code refactoring - [x] Test updates ## Testing <!-- How has this been tested? --> - [ ] Unit tests added/updated - [ ] Integration tests added/updated - [ ] Manual testing performed - [x] Not applicable ## Documentation <!-- Mark relevant items with an [x] --> - [ ] Documentation update required - [ ] Changelog update required ## Related Issues <!-- Link related issues below. Insert the issue link or issue number --> - Closes: <!-- insert issue link here --> - Related to: <!-- insert issue link here -->
1 parent 21e1e25 commit 8669be8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.semaphore/daily-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ blocks:
167167
jobs:
168168
- name: "\U0001F6E1️ Check code"
169169
commands:
170-
- make check.go.code
170+
- make check.go.code CHECK_CODE_OPTS='--ignores G115'
171171
- name: "\U0001F6E1️ Check dependencies"
172172
commands:
173173
- make check.go.deps
@@ -2513,7 +2513,7 @@ blocks:
25132513
jobs:
25142514
- name: "\U0001F6E1️ Check code"
25152515
commands:
2516-
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated"'
2516+
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated" --ignores G115'
25172517
- name: "\U0001F6E1️ Check dependencies"
25182518
commands:
25192519
- make check.go.deps
@@ -3086,7 +3086,7 @@ blocks:
30863086
jobs:
30873087
- name: "\U0001F6E1️ Check code"
30883088
commands:
3089-
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated"'
3089+
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated" --ignores G115'
30903090
- name: "\U0001F6E1️ Check dependencies"
30913091
commands:
30923092
- make check.go.deps

.semaphore/semaphore.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ blocks:
180180
jobs:
181181
- name: "\U0001F6E1️ Check code"
182182
commands:
183-
- make check.go.code
183+
- make check.go.code CHECK_CODE_OPTS='--ignores G115'
184184
- name: "\U0001F6E1️ Check dependencies"
185185
commands:
186186
- make check.go.deps
@@ -2757,7 +2757,7 @@ blocks:
27572757
jobs:
27582758
- name: "\U0001F6E1️ Check code"
27592759
commands:
2760-
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated"'
2760+
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated" --ignores G115'
27612761
- name: "\U0001F6E1️ Check dependencies"
27622762
commands:
27632763
- make check.go.deps
@@ -3386,7 +3386,7 @@ blocks:
33863386
jobs:
33873387
- name: "\U0001F6E1️ Check code"
33883388
commands:
3389-
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated"'
3389+
- make check.go.code CHECK_CODE_OPTS='--config-options "-exclude-generated" --ignores G115'
33903390
- name: "\U0001F6E1️ Check dependencies"
33913391
commands:
33923392
- make check.go.deps

security-toolbox/policies/code/gosec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def dependencies
5151
{
5252
name: "gosec",
5353
install: Proc.new do
54-
`curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sudo sh -s -- -b /usr/local/bin v2.18.2`
54+
`curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sudo sh -s -- -b /usr/local/bin v2.22.1`
5555
$?.exitstatus
5656
end
5757
}

0 commit comments

Comments
 (0)