Skip to content
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) #50

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

ScheererJ
Copy link
Member

/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 similar to what was introduced to gardener/gardener in gardener/gardener#9959.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

`gosec` was introduced for Static Application Security Testing (SAST).

@ScheererJ ScheererJ requested a review from a team as a code owner October 14, 2024 12:20
@gardener-robot gardener-robot added needs/review Needs review area/compliance Compliance related area/networking Networking related area/security Security related kind/enhancement Enhancement, improvement, extension size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) labels Oct 14, 2024
@gardener-robot-ci-1 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) 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 14, 2024
G204: Audit use of command execution
G306: Poor file permissions used when writing to a new file
@ScheererJ ScheererJ force-pushed the enhancement/add-gosec branch from e6eb237 to 5e7cc77 Compare October 14, 2024 12:57
@gardener-robot-ci-3 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-1 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
@ScheererJ ScheererJ changed the title Introduce gosec for Static Application Security Testing (SAST) #108 Introduce gosec for Static Application Security Testing (SAST) Oct 14, 2024
@axel7born axel7born merged commit b9ec455 into gardener:master Oct 14, 2024
6 checks passed
@gardener-robot 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) needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants