Skip to content

Security and supply chain improvements #91

@Defilan

Description

@Defilan

Overview

Track remaining work to align with CNCF project standards for security and supply chain.

Completed (Quick Wins)

  • Add SECURITY.md with vulnerability reporting process
  • Add CODE_OF_CONDUCT.md (Contributor Covenant 2.1)
  • Enable Dependabot for Go, Actions, and Docker
  • Add DCO check workflow

TODO: Security Scanning

Container Image Security

  • Add Trivy scanning to release workflow
  • Generate SBOM with Syft on each release
  • Sign container images with Cosign

Example workflow addition:

- name: Scan image with Trivy
  uses: aquasecurity/trivy-action@master
  with:
    image-ref: ghcr.io/defilantech/llmkube-controller:${{ env.VERSION }}
    format: 'sarif'
    output: 'trivy-results.sarif'

- name: Upload Trivy scan results
  uses: github/codeql-action/upload-sarif@v3
  with:
    sarif_file: 'trivy-results.sarif'

Static Analysis

  • Enable CodeQL for Go code analysis
  • Add results to Security tab

Supply Chain

  • Cosign image signing in release workflow
  • SBOM generation and attestation
  • Verify base images in Dockerfile

TODO: Governance (for CNCF Sandbox+)

  • Add GOVERNANCE.md when project grows
  • Add OWNERS file for reviewer assignments
  • Consider OpenSSF Scorecard badge

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions