Add OpenGrep SAST workflow and security waivers file #3
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 adds comprehensive security scanning capabilities to all active repositories in the Zampfi organization (62 total). Each repository now contains:
.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 that allows teams to manage security exceptions when legitimate code triggers false positivesThe security workflow is designed to block PRs with critical/high severity issues unless they are explicitly waived, providing a safety net against security vulnerabilities while allowing teams flexibility to handle edge cases.
Review & Testing Checklist for Human
Risk Level: 🔴 HIGH - Organization-wide security infrastructure change affecting 62 repositories
.security-waivers.jsonfile correctly excludes it from blocking PRsRecommended Test Plan:
Diagram
%%{ init : { "theme" : "default" }}%% graph TD subgraph "Organization Wide Changes" A["62 Zampfi Repositories"] B[".github/workflows/opengrep-sast.yaml"]:::major-edit C[".security-waivers.json"]:::major-edit end subgraph "Security Workflow Process" D["PR/Push Trigger"]:::context E["OpenGrep Security Scan"]:::context F["Check Waivers File"]:::context G["Block if Critical/High Issues"]:::context end subgraph "Source Files" H["/home/ubuntu/repos/herm-frontend/.github/workflows/opengrep-sast.yaml"]:::context I["Fixed trailing whitespace issues"]:::minor-edit end A --> B A --> C B --> D D --> E E --> F F --> G H --> B I --> H 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