Skip to content

Commit

Permalink
fix: revert secure pipeline & remove p/gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
belokobylskii.i committed Oct 18, 2024
1 parent a102e34 commit e6b2c71
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions .github/workflows/secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,32 @@ jobs:
# https://semgrep.dev/docs/cli-reference
semgrep:
runs-on: ubuntu-24.04
env:
SEMGREP_RULES: >-
p/command-injection
p/comment
p/cwe-top-25
p/default
p/gitlab
p/gitleaks
p/golang
p/gosec
p/insecure-transport
p/owasp-top-ten
p/r2c-best-practices
p/r2c-bug-scan
p/r2c-security-audit
p/secrets
p/security-audit
p/sql-injection
p/xss
container:
image: semgrep/semgrep
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- run: semgrep scan --error --severity=WARNING
- uses: actions/checkout@v4
- run: semgrep scan --sarif --output=semgrep.sarif --error --severity=WARNING
env:
SEMGREP_RULES: >-
p/command-injection
p/comment
p/cwe-top-25
p/default
p/gitleaks
p/golang
p/gosec
p/insecure-transport
p/owasp-top-ten
p/r2c-best-practices
p/r2c-bug-scan
p/r2c-security-audit
p/secrets
p/security-audit
p/sql-injection
p/xss
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: semgrep.sarif
Expand Down Expand Up @@ -79,4 +76,4 @@ jobs:
steps:
- uses: golang/govulncheck-action@v1
with:
go-version-file: go.mod
go-version-file: go.mod

0 comments on commit e6b2c71

Please sign in to comment.