Skip to content

balagpy/secure-cloud-devsecops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secure-cloud-devsecops

Practical DevSecOps Security Lab

Scenario: Harden vulnerable AWS infrastructure and app dependencies.

License: MIT Focus: Security Architecture Diagrams: SVG

Challenge Tasks

  1. Review infra/ and identify at least 3 misconfigurations.
  2. Make S3 private and enable default encryption (SSE-KMS).
  3. Replace wildcard IAM access with least-privilege access only for app bucket actions.
  4. Run Snyk on the app, remediate at least one High/Critical issue, and re-run to verify reduction.
  5. Summarize improvements and add one SOC 2-relevant next control.

Detailed Solution

Quick Commands

# App
cd app && npm install && npm start

# Snyk (token required: snyk auth)
cd app
snyk test
snyk code test

# Terraform validation
cd infra
terraform init
terraform validate
terraform plan -var "app_bucket_name=bild-pdm-demo-CHANGE_ME"

Labs Included

  1. AWS S3 hardening lab (public-to-private conversion)
  2. IAM least-privilege policy design lab
  3. Snyk dependency vulnerability remediation lab

Disclaimer

This repository is for security training and interview practice only. It contains intentionally insecure patterns for learning purposes and must not be used in production without a full security review, hardening, and organizational compliance validation.

About

End-to-end DevSecOps security hardening project: AWS infrastructure remediation, IAM least privilege implementation, S3 SSE-KMS enforcement, and Snyk-based dependency vulnerability reduction.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors