Skip to content

Run Static Code Analysis on 100% of Commits #835

@camilamaia

Description

@camilamaia

Description

The OpenSSF Scorecard identified that static code analysis (SAST) is not currently being run on all commits in the ScanAPI repository.

Running SAST tools on every commit helps detect potential vulnerabilities early in the development process and ensures consistent code quality and security coverage across the project.


📊 Scorecard Findings

Image
Raw Output
Reason
SAST tool is not run on all commits -- score normalized to 7
Details
Warn: 23 commits out of 29 are checked with a SAST tool

✅ Tasks

  • Ensure static analysis runs on every commit and pull request, not just selectively.
  • Review and, if needed, integrate tools such as CodeQL, Bandit, or other SAST solutions.
  • Update CI workflows to enforce static analysis checks in all relevant pipelines.
  • Re-run the OpenSSF Scorecard check to confirm full SAST coverage.

🔗 References

Metadata

Metadata

Assignees

No one assigned

    Labels

    SecurityAffects security of the project.ciCI/CD changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions