-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce gosec
for Static Application Security Testing (SAST)
#108
Merged
MartinWeindel
merged 11 commits into
gardener:master
from
ScheererJ:enhancement/add-gosec
Oct 14, 2024
Merged
Introduce gosec
for Static Application Security Testing (SAST)
#108
MartinWeindel
merged 11 commits into
gardener:master
from
ScheererJ:enhancement/add-gosec
Oct 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gardener-robot
added
area/compliance
Compliance related
area/networking
Networking related
area/security
Security related
kind/enhancement
Enhancement, improvement, extension
reviewed/do-not-merge
Has no approval for merging as it may break things, be of poor quality or have (ext.) dependencies
needs/review
Needs review
size/s
Size of pull request is small (see gardener-robot robot/bots/size.py)
labels
Oct 11, 2024
gardener-robot-ci-2
added
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 11, 2024
gardener-robot-ci-1
added
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Oct 11, 2024
G306: Poor file permissions used when writing to a new file
G404: Insecure random number source (rand)
gardener-robot-ci-3
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Oct 11, 2024
G104: Audit errors not checked
gardener-robot-ci-3
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Oct 14, 2024
G204: Audit use of command execution
gardener-robot-ci-3
added
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 14, 2024
gardener-robot-ci-2
removed
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 14, 2024
G112: Potential slowloris attack
G114: Use of net/http serve function that has no support for setting timeouts
G108: Profiling endpoint automatically exposed on /debug/pprof `pprof` was automatically enabled as a side effect in the metrics exporter. Now, the metrics exporter has `pprof` properly disabled by using a separate http mux.
gardener-robot
added
size/m
Size of pull request is medium (see gardener-robot robot/bots/size.py)
and removed
size/s
Size of pull request is small (see gardener-robot robot/bots/size.py)
labels
Oct 14, 2024
gardener-robot-ci-1
added
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 14, 2024
ScheererJ
requested review from
marwinski,
axel7born and
MartinWeindel
as code owners
October 14, 2024 11:25
gardener-robot-ci-1
removed
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 14, 2024
axel7born
previously approved these changes
Oct 14, 2024
MartinWeindel
previously approved these changes
Oct 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks!
gardener-robot
added
reviewed/lgtm
Has approval for merging
and removed
needs/review
Needs review
labels
Oct 14, 2024
gardener-robot-ci-1
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Oct 14, 2024
ScheererJ
dismissed stale reviews from MartinWeindel and axel7born
via
October 14, 2024 14:11
ca28b0f
gardener-robot
added
needs/review
Needs review
and removed
needs/review
Needs review
labels
Oct 14, 2024
/unhold |
gardener-robot-ci-2
added
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 14, 2024
ScheererJ
removed
the
reviewed/do-not-merge
Has no approval for merging as it may break things, be of poor quality or have (ext.) dependencies
label
Oct 14, 2024
/lgtm |
gardener-robot-ci-3
removed
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Oct 14, 2024
gardener-robot-ci-1
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Oct 14, 2024
/lgtm |
MartinWeindel
approved these changes
Oct 14, 2024
gardener-robot
added
the
status/closed
Issue is closed (either delivered or triaged)
label
Oct 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/compliance
Compliance related
area/networking
Networking related
area/security
Security related
kind/enhancement
Enhancement, improvement, extension
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
reviewed/lgtm
Has approval for merging
size/m
Size of pull request is medium (see gardener-robot robot/bots/size.py)
status/closed
Issue is closed (either delivered or triaged)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/area networking
/area security
/area compliance
/kind enhancement
What this PR does / why we need it:
This PR introduces
gosec
for Static Application Security Testing at Gardener and should replace other code scanners.It uses the default ruleset of
gosec
from gardener/gardener as introduced in gardener/gardener#9959.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Until gardener/gardener#10642 is in a gardener/gardener release there is a small workaround necessary, which will be removed afterwards.
Release note:
/hold
Issues still need to be fixed.