-
Notifications
You must be signed in to change notification settings - Fork 93
[FEATURE]: add codeQL as SAST #243
Copy link
Copy link
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Integrate GitHub CodeQL into our CI pipeline for automated Static Application Security Testing (SAST)
Feature Category: Build system improvement
Use Cases:
- Early Detection: Developers get immediate security feedback.
- Prevent Merges: Stop vulnerable code from reaching main branches.
- Continuous Monitoring: Track existing and prevent new vulnerabilities.
- Compliance: Aid in audits with scan records.
Alternatives Considered: SonarQube, Snyk, Checkmarx. CodeQL's deep GitHub integration, cost (free for public repos), and customizability make it preferable.
Implementation:
- Create
.github/workflows/codeql-analysis.yml. - Configure to run on
pushandpull_requestfor relevant branches. - Specify programming languages.
- Ensure alerts appear in GitHub Security and PR checks.
- Consider path exclusions (e.g., tests).
- Commit
package-lock.jsonfor npm command pinning.
Additional Context: CodeQL uses semantic analysis for accurate vulnerability detection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed