Skip to content

Feature/lab6#6

Open
ellilin wants to merge 7 commits intomainfrom
feature/lab6
Open

Feature/lab6#6
ellilin wants to merge 7 commits intomainfrom
feature/lab6

Conversation

@ellilin
Copy link
Copy Markdown
Owner

@ellilin ellilin commented Mar 16, 2026

Goal

Complete Lab 6 - Infrastructure-as-Code Security: Scanning & Policy Enforcement by performing comprehensive security analysis of vulnerable IaC code using multiple scanning tools (tfsec, Checkov, Terrascan, KICS) and creating comparative analysis with remediation guidance.

Changes

  • Added labs/submission6.md with comprehensive IaC security analysis
  • Added labs/lab6/analysis/ directory containing all scan results:
    • tfsec results: 45 findings (9 CRITICAL, 17 HIGH, 11 MEDIUM, 8 LOW)
    • Checkov results: 78 failed checks
    • Terrascan results: 22 violated policies (14 HIGH, 8 MEDIUM)
    • KICS Pulumi results: 6 findings (1 CRITICAL, 2 HIGH, 1 MEDIUM)
    • KICS Ansible results: 10 findings (9 HIGH, 1 LOW)
  • Created tool comparison matrix evaluating 9 criteria across 5 scanners
  • Documented top 5 critical security findings with remediation code examples
  • Provided CI/CD integration strategy with quality gates

Testing

  • Verified all scan reports were generated successfully using Docker containers
  • Confirmed analysis files contain accurate counts and findings
  • Validated submission6.md structure follows lab requirements
  • Confirmed all 161 security findings are documented across three IaC frameworks

Artifacts & Screenshots

Scan Results Generated:

labs/lab6/analysis/
├── tfsec-results.json (48K)
├── tfsec-report.txt (113K)
├── checkov-terraform-results.json (606K)
├── checkov-terraform-report.txt (25K)
├── terrascan-results.json (11K)
├── terrascan-report.txt (7K)
├── kics-pulumi-results.json (7.4K)
├── kics-pulumi-report.html (53K)
├── kics-ansible-results.json (6.9K)
├── kics-ansible-report.html (53K)
└── tool-comparison.txt

Key Findings Summary:

Tool Framework Findings Critical High Medium Low
tfsec Terraform 45 9 17 11 8
Checkov Terraform 78 - - - -
Terrascan Terraform 22 0 14 8 0
KICS Pulumi 6 1 2 1 2
KICS Ansible 10 0 9 0 1
TOTAL - 161 10 42 20 11

Checklist

  • Clear title following conventional commits (e.g., feat:, fix:, docs:)
  • Documentation updated if needed
  • No secrets or large temporary files included (all credential examples masked with <SECRET-MASKED-EXAMPLE>)

ellilin and others added 7 commits February 9, 2026 15:59
Complete triage report for OWASP Juice Shop deployment including:
- Scope & Asset information (v19.0.0)
- Environment details (macOS, Docker 28.3.3)
- Deployment verification with health checks
- Surface snapshot analysis
- Top 3 security risks identified
- PR template setup documentation
- GitHub community engagement section
- Generate SBOMs with Syft and Trivy for OWASP Juice Shop v19.0.0
- Perform SCA with Grype and Trivy vulnerability scanning
- Compare toolchain capabilities: accuracy, coverage, features
- Analyze 1139 packages, 146 vulnerabilities, 32 license types
- Document critical vulnerabilities and remediation strategies

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
- SAST analysis with Semgrep (25 code-level findings)
- DAST analysis with ZAP, Nuclei, Nuclei, SQLmap
- Authenticated vs unauthenticated scan comparison
- Tool comparison matrix and recommendations
- SAST/DAST correlation analysis
…lysis

- Scanned Terraform with tfsec, Checkov, and Terrascan (45, 78, 22 findings)
- Scanned Pulumi with KICS (6 findings: 1 CRITICAL, 2 HIGH, 1 MEDIUM)
- Scanned Ansible with KICS (10 findings: 9 HIGH, 1 LOW)
- Created comprehensive tool comparison matrix
- Identified 161 total security vulnerabilities across all frameworks
- Documented top 5 critical findings with remediation code examples
- Provided CI/CD integration strategy with quality gates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant