Skip to content

expand security scanning #2

Closed
Closed

Description

@garymike

Overview

To expand our reusable security workflows baseline, we should evaluate and integrate the following free/open-source security scanning tools. These will cover gaps in Infrastructure as Code (IaC), Software Composition Analysis (SCA), Static Application Security Testing (SAST), and Secret Detection.

Action Items

  • Secret Detection: Integrate Gitleaks or Trufflehog OSS to scan incoming PRs and commit history for exposed API tokens, keys, and certificates.
  • Infrastructure as Code (IaC): Add Checkov or Trivy to audit Terraform, Dockerfiles, and Kubernetes manifests for misconfigurations.
  • Dependency Scanning (SCA): Incorporate Google's OSV-Scanner to monitor open-source dependencies across lockfiles.
  • Static Analysis (SAST): Implement Semgrep OSS or native CodeQL (free for public repos) for logical vulnerability scanning in source code.

Proposed Workflow Structure

We should build these out as modular, reusable workflows (using workflow_call) so they can be easily inherited by other repositories.

Example Draft (Checkov IaC Integration):

name: Security Scan - IaC

on:
  workflow_call: # Makes the workflow reusable across other repos

jobs:
  iac-scan:
    name: Checkov IaC Scan
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@v4

      - name: Run Checkov Action
        uses: bridgecrewio/checkov-action@master
        with:
          framework: all
          output_format: cli
          soft_fail: true # Set to false once a baseline is established

Activity

  1. garymike commented on Jul 8, 2026

    @garymike
    OwnerAuthor

    Status — resolved in v0.4.0

    • ✅ Secret Detection — betterleaks (gitleaks' successor) + trufflehog, in security-toolbox-base / security-scan.yml.
    • ✅ SCA — osv-scanner, in the base image.
    • ✅ SAST — Semgrep (sast-toolbox + sast.yml, SARIF → code scanning) and CodeQL (codeql.yml + a code-scanning default-setup recommendation) — defense-in-depth.
    • ✅ IaC — Checkov (iac-toolbox + iac-security.yml). KICS was evaluated and rejected as redundant with Checkov (see docs/tool-evaluations.md).

    Delivered as modular reusable workflow_call workflows over signed, pinned toolbox images — exactly the structure proposed here. Closing as done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions