Home
Softono
secure-pipeline-workshop

secure-pipeline-workshop

Open source HCL
19
Stars
45
Forks
4
Issues
0
Watchers
1 month
Last Commit

About secure-pipeline-workshop

Welcome to the "Secure Pipeline" workshop! This hands-on workshop teaches you how to build a comprehensive security-focused CI/CD pipeline with multiple layers of security scanning and best practices.

Platforms

Web Self-hosted Cloud

Languages

HCL

Links

Secure Pipeline Workshop

Welcome to the "Secure Pipeline" workshop! This hands-on workshop teaches you how to build a comprehensive security-focused CI/CD pipeline with multiple layers of security scanning and best practices.

⏱ Estimated time: 2–3 hours self-paced (~20 min per module).

[!NOTE] Platform-agnostic principles: This workshop runs on GitHub Actions for hands-on convenience, but the tools (Semgrep, Trivy, Checkov, Prowler…) and patterns (shift-left, scan-then-gate, multi-layer pipeline) are universal. To run this on GitLab CI, Jenkins, CircleCI, etc., you'd translate the orchestration glue (workflow files, secrets, triggers) but keep everything else.

πŸ“ Repository Structure

β”œβ”€β”€ .github/workflows/               # GitHub Actions workflows
β”œβ”€β”€ code/                            # Sample vulnerable application
β”œβ”€β”€ infra/                           # Terraform infrastructure
└── workshop/                        # Workshop modules and documentation

πŸ“š Workshop Modules

πŸ¦β€πŸ”₯ New here? Start with the workshop introduction for context on shift-left, CI/CD/CS, prerequisites, and how the workshop works.

1. πŸ›‘οΈ Pipeline Security Scan

Detect insecure GitHub Actions patterns: unpinned actions, excessive permissions, untrusted authors.

2. πŸ”¬ Code Security Scan

Find vulnerabilities in your application code (SAST) and in its dependencies (SCA).

3. πŸ” Secrets Scan

Detect and prevent exposure of credentials and sensitive information.

4. 🐳 Container Security Scan

Scan Docker images for vulnerabilities and misconfigurations.

5. πŸ—οΈ Infrastructure as Code (IaC) Security Scan

Analyze Terraform and other IaC definitions for security issues before they are deployed.

6. ☁️ Runtime Infrastructure Scan (live cloud)

Scan a live AWS account for misconfigurations and drift that static IaC scans can't catch.

7. πŸ€– AI Security Review (optional)

Leverage AI to perform comprehensive, context-aware security reviews of pull requests.


🀝 Contributing

This workshop is designed to be continuously improved. Feel free to:

  • Report issues or suggest improvements
  • Add new security scenarios
  • Contribute additional tool integrations
  • Share your workshop experience

πŸ“„ License

This workshop is provided under the MIT License for educational purposes.


Ready to build the perfect secure pipeline? Start here! πŸš€