Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7c30787
fix(lab1): make PR template available on default branch
etern1ty22 Sep 10, 2026
94acf85
revert: undo PR template setup on main
etern1ty22 Sep 10, 2026
d59c907
feat(lab1): add PR template on lab branch
etern1ty22 Sep 10, 2026
3ba92e4
feat(lab1): add Juice Shop CI smoke test
etern1ty22 Sep 10, 2026
c8c858f
feat(lab1): submission .md
etern1ty22 Sep 10, 2026
21cbf12
fix(lab1): date in .md
etern1ty22 Sep 10, 2026
9a33a4d
feat(lab2): threat model, secure variant, auth flow
etern1ty22 Sep 11, 2026
b2f39f9
Merge pull request #1 from etern1ty22/feature/lab1
etern1ty22 Sep 16, 2026
5a8f310
Merge pull request #3 from etern1ty22/feature/lab2
etern1ty22 Sep 16, 2026
c59a855
test: first signed commit
etern1ty22 Sep 16, 2026
20d8f93
feat(lab3): signed commits + gitleaks pre-commit hook
etern1ty22 Sep 16, 2026
41fbf02
Merge lab3 into main
etern1ty22 Sep 18, 2026
ce7ef32
feat(lab4): juice shop SBOM + grype and trivy comparison
etern1ty22 Sep 18, 2026
a651b78
docs: PR ready
etern1ty22 Sep 18, 2026
e9fe8e2
Merge lab4 into main
etern1ty22 Sep 24, 2026
0e8594f
feat(lab5): zap baseline and authenticated, semgrep, correlation
etern1ty22 Sep 24, 2026
b635253
Merge lab5 into main
etern1ty22 Sep 24, 2026
16cd955
feat(lab6): checkov and kics findings, custom policy
etern1ty22 Sep 24, 2026
c90bb3d
feat(lab7): trivy scans + PSS restricted deployment
etern1ty22 Oct 1, 2026
615c0ef
feat(lab8): cosign signing, tamper demo, sbom attestation
etern1ty22 Oct 1, 2026
16b0086
Merge branch 'feature/lab8'
etern1ty22 Oct 10, 2026
7c59418
feat(lab9): falco custom rules + conftest policy
etern1ty22 Oct 10, 2026
a155458
feat(lab10): defectdojo capstone + governance report
etern1ty22 Oct 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Goal

<!-- State the goal of this lab in one sentence. -->

## Changes

<!-- List the changes as bullet points. -->

## Testing

<!-- Include the commands you ran and their actual observed output. -->

## Artifacts & Screenshots

<!-- Link the submission report, relevant artifacts, and screenshots. -->

## Checklist

- [ ] The title follows `feat(labN): <topic>`.
- [ ] No secrets or large temporary files are committed.
- [ ] `submissions/labN.md` exists for this lab.
45 changes: 45 additions & 0 deletions .github/workflows/lab1-smoke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Lab 1 - Juice Shop smoke test

on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
smoke:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Start Juice Shop
run: docker run -d --name juice-shop -p 127.0.0.1:3000:3000 bkimminich/juice-shop:v20.0.0

- name: Wait up to 60 seconds for HTTP 200
shell: bash
run: |
deadline=$((SECONDS + 60))
while (( SECONDS < deadline )); do
remaining=$((deadline - SECONDS))
if status=$(curl --silent --fail --max-time "$remaining" \
--output /tmp/juice-shop-version.json --write-out '%{http_code}' \
http://localhost:3000/rest/admin/application-version); then
if [[ "$status" == "200" ]]; then
printf 'HTTP %s\n' "$status"
cat /tmp/juice-shop-version.json
printf '\nReady after %s seconds\n' "$SECONDS"
exit 0
fi
fi
if (( SECONDS < deadline )); then sleep 1; fi
done
echo 'Juice Shop did not return HTTP 200 within 60 seconds.' >&2
exit 1

- name: Show container logs on failure
if: failure()
run: docker logs juice-shop

- name: Stop the container
if: always()
run: docker stop juice-shop
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ refs/
# These are large + regenerated each run; not student deliverables.
labs/lab2/output/
labs/lab2/output-*/
labs/lab4/grype-from-sbom.*
labs/lab4/trivy.json
labs/lab5/results/
labs/lab5/semgrep/juice-shop/
labs/lab6/results/
labs/lab7/results/
labs/lab8/results/
labs/lab9/falco/logs/
labs/lab10/work/dd/
labs/lab10/work/
labs/lab10/imports/import-*.json
labs/lab11/logs/
labs/lab11/reverse-proxy/certs/
Expand Down
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.1
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: detect-private-key
- id: check-added-large-files
# Lab 4 requires committing these generated SBOM/attestation artifacts.
exclude: ^labs/lab4/juice-shop\.(cdx|spdx)\.json$|^labs/lab4/juice-shop-attestation\.json$
Loading