chore(security): Implement uniform SAST, SCA, and Dependabot (#83)#84
Merged
Conversation
## Release Notes: Security Tooling & Pipeline Resilience
### Overview
This update stabilizes our security infrastructure by unifying our vulnerability scanning tools and resolving key pipeline bottlenecks. We've successfully migrated to TruffleHog for secret detection and implemented graceful degradation for GitHub Advanced Security to ensure smoother, more resilient CI runs.
### 🛡️ Vulnerability & Secret Scanning
* **Uniform Security Scans:** Implemented standardized CI workflows for Static Application Security Testing (SAST), Software Composition Analysis (SCA), Trivy, and Dependabot.
* **TruffleHog Migration:** Replaced Gitleaks with TruffleHog for deeper secret scanning capabilities.
* **TruffleHog Stabilization:** Fixed CI paths and resolved a critical `base/head` identical mismatch error within `security.yml` to ensure accurate pull request diffing.
### ⚙️ CI/CD & CodeQL Hardening
* **CodeQL Permissions:** Added the required `actions:read` permissions for successful `codeql upload-sarif` executions.
* **Pipeline Error Resolution:** Resolved recurring CodeQL matrix errors, fixed pathing issues, and cleared up lingering Codespell linting warnings.
* **Pipeline Resilience:** * Configured workflows to gracefully degrade GitHub Advanced Security uploads when the feature is disabled on the repository.
* Injected `continue-on-error` limits for degradation steps to prevent non-critical scan failures from blocking deployments.
### 🛠️ Formatting Standards
* **EOF Enforcement:** Strictly enforced End of File (EOF) standards across the codebase to maintain formatting consistency.
---
* chore(security): implement uniform SAST, SCA, Trivy, and Dependabot scans
* fix(security): swap gitleaks for trufflehog and fix ci paths
* fix(security): add actions:read permission for codeql upload-sarif
* fix(security): resolve pathing, codespell, and CodeQL matrix errors
* fix(security): graceful degrade advanced security uploads when disabled
* fix(security): strictly enforce EOF and inject continue-on-error degradation limits
* fix(security): resolve TruffleHog base/head identical mismatch in security.yml
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.
Release Notes: Security Tooling & Pipeline Resilience
Overview
This update stabilizes our security infrastructure by unifying our vulnerability scanning tools and resolving key pipeline bottlenecks. We've successfully migrated to TruffleHog for secret detection and implemented graceful degradation for GitHub Advanced Security to ensure smoother, more resilient CI runs.
🛡️ Vulnerability & Secret Scanning
base/headidentical mismatch error withinsecurity.ymlto ensure accurate pull request diffing.⚙️ CI/CD & CodeQL Hardening
actions:readpermissions for successfulcodeql upload-sarifexecutions.continue-on-errorlimits for degradation steps to prevent non-critical scan failures from blocking deployments.🛠️ Formatting Standards