Skip to content

ci(security): add reproducible CodeQL SAST - #192

Merged
lecodev-26 merged 2 commits into
mainfrom
fix/issue-92-codeql-sast
Nov 14, 2026
Merged

lecodev-26 merged 2 commits into
mainfrom
fix/issue-92-codeql-sast

Conversation

@lecodev-26

Copy link
Copy Markdown
Owner

Summary

  • Select GitHub CodeQL over adding both CodeQL and Semgrep, based on public-repository availability and coverage for Rust, C/C++, Go, Python, and GitHub Actions.
  • Add a reproducible CodeQL workflow for pull requests, pushes to main, weekly scheduled scans, and manual dispatch.
  • Pin third-party Actions to full commit SHAs and bind the CodeQL CLI bundle to the pinned CodeQL Action revision.
  • Version the security-extended query policy and narrowly document vendor/build/generated-source exclusions.
  • Add local reproduction guidance, false-positive triage, exception handling, and scope limitations; link the policy from SECURITY.md.

Validation

  • git diff --check passed.
  • No tests, builds, or local compilations were run. GitHub Actions is the validation authority.

Closes #92

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@lecodev-26
lecodev-26 merged commit 09f04d4 into main Nov 14, 2026
7 checks passed
@lecodev-26

Copy link
Copy Markdown
Owner Author

Merged via squash after both GitHub Actions checks passed.

Summary: added reproducible CodeQL SAST coverage for Rust, C/C++, Go, Python, and GitHub Actions, with pinned Actions, a security-extended policy, narrowly scoped exclusions, and documented triage/reproduction guidance. The Go toolchain was aligned to Go 1.25.0 after the initial CodeQL run exposed the module\x27s Go version requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SAST] Version reproducible Semgrep/CodeQL configuration

2 participants