Add OpenGrep SAST workflow and security waivers file#8
Closed
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Closed
Add OpenGrep SAST workflow and security waivers file#8devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
- Add OpenGrep SAST security scanning workflow - Add empty security waivers file for managing security exceptions
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
🔴 Security Scan: Critical/High Issues Found
🚨 Blocking Issues📥 Full report available in workflow artifacts: |
Author
|
Closing due to inactivity for more than 7 days. Configure here. |
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.
Add OpenGrep SAST workflow and security waivers file across 62 repositories
Summary
This bulk operation implements comprehensive security scanning across all active repositories in the Zampfi organization (62 total). Each repository now contains two new files:
.github/workflows/opengrep-sast.yaml- A 273-line GitHub Actions workflow that runs security scans on pull requests and main branch pushes, using OpenGrep with multiple rule sets (TypeScript, Python, Java, Go, etc.).security-waivers.json- An empty waivers file ({"waivers": []}) that allows teams to document approved security exceptionsThe workflow is designed to block PRs with critical/high severity security issues until they are either fixed or explicitly waived. Most repositories are currently showing expected "security-scan" failures, indicating the system is working as intended and finding legitimate security issues that will require future attention.
Review & Testing Checklist for Human
.security-waivers.jsonand confirm it allows previously blocked issues to passRecommended Test Plan:
Diagram
%%{ init : { "theme" : "default" }}%% graph TD Source["herm-frontend/.github/workflows/<br/>opengrep-sast.yaml"]:::major-edit SourceWaivers["herm-frontend/.security-waivers.json"]:::major-edit Bulk["Bulk Automation Script<br/>(61 repos processed)"]:::major-edit Repo1[".github/workflows/<br/>opengrep-sast.yaml<br/>(in all 62 repos)"]:::major-edit Repo2[".security-waivers.json<br/>(in all 62 repos)"]:::major-edit CI["GitHub Actions<br/>Security Scanning"]:::context Block["PR Blocking<br/>(Critical/High Issues)"]:::context Source -->|"Copied to all repos"| Repo1 SourceWaivers -->|"Copied to all repos"| Repo2 Bulk -->|"Creates branches & PRs"| Repo1 Bulk -->|"Creates branches & PRs"| Repo2 Repo1 -->|"Triggers on PR"| CI Repo2 -->|"Configures exceptions"| CI CI -->|"Fails if issues found"| Block subgraph Legend L1[Major Edit]:::major-edit L2[Minor Edit]:::minor-edit L3[Context/No Edit]:::context end classDef major-edit fill:#90EE90 classDef minor-edit fill:#87CEEB classDef context fill:#FFFFFFNotes
herm-frontendrepository which already had the workflow tested and workingdevin/{timestamp}-add-security-filesfor consistencyImportant: The security scan failures are expected and correct behavior - they indicate the workflow is successfully identifying security issues that will require either fixes or documented waivers before PRs can be merged.