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

Add static analysis workflows #6396

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add static analysis workflows #6396

wants to merge 6 commits into from

Conversation

esoergel
Copy link
Contributor

@esoergel esoergel commented Sep 30, 2024

This PR introduces a CodeQL workflow like we use in HQ to scan the Python and Ruby code in this repo.

It also adds Trivy, in two modes, "filesystem" mode, which scans packages and such (eg, checking for vulnerabilities in the ansible version), and config mode, which scans terraform files and others.

  • OS packages and software dependencies in use (SBOM)
  • Known vulnerabilities (CVEs)
  • IaC issues and misconfigurations
  • Sensitive information and secrets
  • Software licenses

These will run only once a week or when specifically invoked. You can see the results from these scans here (filter by "Tool" to see which one reports what)

Environments Affected

None

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@esoergel esoergel marked this pull request as ready for review September 30, 2024 19:20
@esoergel esoergel force-pushed the es/codeql branch 2 times, most recently from 88fbff3 to 8035856 Compare October 2, 2024 20:53
For static analysis of terraform code
@esoergel esoergel changed the title Add CodeQL workflow Add static analysis workflows Oct 2, 2024
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.

1 participant