How iyed523/devsecops-secure-pipeline works
This repository is a small FastAPI Release Metadata API packaged as a DevSecOps pipeline demonstration. Its runtime workflow is an HTTP client calling GET /health and receiving a status response. The README also documents a delivery workflow with automated quality and security checks, secure containerization, image vulnerability scanning, SBOM generation, and GHCR publishing support. The application source is sampled; delivery-stage relationships below rely on README descriptions, not inspection of workflow or Dockerfile contents.
Main entry points: ci.yml GitHub Actions · main.py Health API · Dockerfile Secure container
Components 10
API runtime
- Health API
src/devsecops_demo/main.py - Health response
src/devsecops_demo/main.py
Secure delivery
- GitHub Actions
.github/workflows/ci.yml - Quality and security checks
.github/workflows/ci.yml - Secure container
Dockerfile - Image vulnerability scan
.github/workflows/ci.yml - CycloneDX SBOM
.github/workflows/ci.yml - GHCR publishing
.github/workflows/ci.yml
Other components
- HTTP client
- GHCR
Connections 8
- HTTP client → Health API: requests health
README.md - Health API → Health response: returns status
src/devsecops_demo/main.py - GitHub Actions → Quality and security checks: runs checks
README.md - GitHub Actions → Secure container: builds image
README.md - GitHub Actions → Image vulnerability scan: scans image
README.md - GitHub Actions → CycloneDX SBOM: generates artifact
README.md - GitHub Actions → GHCR publishing: supports publishing
README.md - GHCR publishing → GHCR: publishes image
README.md