Skip to content

Case study

DevSecOps Container Remediation with AWS Inspector

Container remediation pipeline that scans images with Trivy and OWASP ZAP, checks code with SonarQube, and opens a Bedrock-authored fix PR.

Problem

The DevSecOps Container Remediation pipeline is a GitHub Actions and Terraform workflow that scans container images with Trivy and OWASP ZAP, checks code with SonarQube, builds and pushes to ECR/ECS, and asks Claude on Bedrock to draft a fix when a finding blocks the build. Every stage records output in Graylog, and fixes arrive as pull requests for human review.

Architecture & guardrails

  • Python
  • Flask
  • Docker
  • AWS ECR/ECS
  • AWS Bedrock
  • Terraform
  • GitHub Actions
  • OWASP ZAP
  • SonarQube
  • Trivy
  • Graylog

Trade-offs

Not documented.

Measurable results with source

  • 6 , Security Layers. Source: repository.
  • PCI-DSS , Compliance. No source recorded here.
  • 6 (ZAP → SonarQube → Trivy → ECR → Bedrock → PR) , Pipeline Stages. Source: repository.

Repo and proof

Related work