Lab 9: Trivy/ZAP scans, security headers middleware, govulncheck CI#1223
Open
selysecr332 wants to merge 12 commits into
Open
Lab 9: Trivy/ZAP scans, security headers middleware, govulncheck CI#1223selysecr332 wants to merge 12 commits into
selysecr332 wants to merge 12 commits into
Conversation
Add DevSecOps scanning artifacts, HTTP security headers with tests, and triage documentation for Trivy and ZAP findings.
Extend Lab 3 CI with govulncheck@v1.1.4 job, red/green demo logs, and bonus documentation.
setup-go 1.24 installed an early patch with reachable net/http CVEs; pin govulncheck job to Go 1.26 and invoke via GOPATH/bin.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Lab 9 — DevSecOps (Mahmoud Hassan,
selysecr332)aquasec/trivy:0.59.1); triage of all HIGH/CRITICAL findings insubmissions/lab9.mdghcr.io/zaproxy/zaproxy:2.16.1); security headers middleware on all routes + unit tests; before/after ZAP evidence (finding10021resolved)govulncheck@v1.1.4job added to.github/workflows/ci.ymlwith red/green demo logsgolang:1.24.13-alpineto address stdlib CVEsKey files
app/middleware.go— security headers middlewaresecurity/scripts/run-trivy.sh,run-zap-baseline.shsecurity/reports/— scan artifacts + SBOMsubmissions/lab9.md— triage tables + design questionsTest plan
go test ./...passessecurity/reports/10021(X-Content-Type-Options) gone after rebuildgovulncheck ./...green on final branch