Skip to content

Add security scanning workflow (cargo audit + Trivy) #177

Closed

Description

@ajianaz

Summary

Add security.yml workflow for automated security scanning on push/PR to develop and main.

Stack-specific scanners needed

  • Rust: cargo audit (dependency vulnerability check via crates.io advisory database)
  • Generic: Trivy filesystem scan (CVE) + Trivy secret scan

Tasks

  • Create .github/workflows/security.yml with 3 jobs:
    1. cargo-audit — Rust dependency vulnerability scan
    2. trivy — Trivy filesystem CVE scan
    3. trivy-secrets — Trivy secret detection

Reference

Bond repo has working template for Trivy jobs: .github/workflows/security.yml

Acceptance Criteria

  • All security jobs run on push/PR to develop and main
  • Trivy secret scan exits with code 1 on findings

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions