Skip to content

feat(lab10): defectdojo governance report + capstone walkthrough - #10

Merged
Wilikson173 merged 1 commit into
mainfrom
feature/lab10
Jul 10, 2026
Merged

feat(lab10): defectdojo governance report + capstone walkthrough#10
Wilikson173 merged 1 commit into
mainfrom
feature/lab10

Conversation

@Wilikson173

Copy link
Copy Markdown
Owner

Goal

Stand up a local DefectDojo instance, import findings from Labs 4–7, apply an SLA matrix, and produce a governance report plus a timed interview walkthrough script for the DevSecOps capstone.

Changes

  • submissions/lab10.md β€” added: DefectDojo setup notes, Product/Engagement details, import log, dedup investigation, applied SLA matrix, governance report with real severity/metrics data
  • submissions/lab10-walkthrough.md β€” added: 5-minute interview walkthrough script with timed sections and Q&A prep
  • .gitignore β€” updated to exclude labs/lab10/work/dd/ (upstream DefectDojo clone, not part of this submission)

Testing

# DefectDojo containers up
docker compose ps -a

# Product created
curl -s -X POST "$DD_URL/api/v2/products/" -H "Authorization: Token $DD_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "OWASP Juice Shop", "prod_type": 1}'
# β†’ {"id":1, ...}

# Engagement created
curl -s -X POST "$DD_URL/api/v2/engagements/" -H "Authorization: Token $DD_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "Course Semester Run", "product": 1, "engagement_type": "CI/CD", "status": "In Progress"}'
# β†’ {"id":1, ...}

# 6 scan types imported (Trivy x2, Semgrep, Checkov, KICS, Trivy Operator)
curl -s -X POST "$DD_URL/api/v2/import-scan/" -H "Authorization: Token $DD_TOKEN" \
  -F "scan_type=Trivy Scan" -F "engagement=1" \
  -F "product_name=OWASP Juice Shop" -F "engagement_name=Course Semester Run" \
  -F "file=@labs/lab7/results/trivy-image.json"
# β†’ 50 findings imported (test_id: 5)

# Total findings verified after cleanup of a duplicate test
curl -s -H "Authorization: Token $DD_TOKEN" \
  "$DD_URL/api/v2/findings/?engagement=1&limit=1" | jq .count
# β†’ 242

# SLA matrix applied and confirmed linked to product
curl -s -X PATCH "$DD_URL/api/v2/sla_configurations/1/" -H "Authorization: Token $DD_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"critical": 1, "high": 7, "medium": 30, "low": 90}'
curl -s -H "Authorization: Token $DD_TOKEN" "$DD_URL/api/v2/products/1/" | jq '{name, sla_configuration}'
# β†’ {"name":"OWASP Juice Shop","sla_configuration":1}

Artifacts & Screenshots

  • submissions/lab10.md
  • submissions/lab10-walkthrough.md

Checklist

  • Title follows feat(lab10): <topic> style
  • No secrets or large temp files committed
  • Submission file exists at submissions/lab10.md

@Wilikson173
Wilikson173 merged commit 5cc4681 into main Jul 10, 2026
1 check passed
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