Cyberlium
Cyberlium
Cyberlium on Android·Google Play Store

Learn cybersecurity with hands-on labs and AI mentor support on your phone.

DevSecOps › Module 10 › Lesson 2

BeginnerModule 10Lesson 2/5

Lab Path

DevSecOps literacy path on `$DEVSEC_LAB` — lab setup to mentor handoff with ethics gates at every station.

25 min+39 XP3 quiz
Module progress2 of 5

Visual · t36_lab_path

Lab path = visual DevSec chain on YOUR $DEVSEC_LAB. Original Cyberlium.

Opening

Draw the path from lab setup to mentor handoff — with stop signs at every stranger-org pipeline shortcut and sabotage recipe lane.

Document literacy path: `$DEVSEC_LAB` setup → DevSec fundamentals → pipeline security → SAST/secrets → DAST → IaC → containers → runtime/supply chain → findings/governance → capstone. Ethics gates: stranger org pipeline scans, sabotage recipes, unauthorized prod deploy, merge check bypass, malicious image/package guides — refused paths labeled red. UTC milestones and artifact IDs per station. Mermaid or sketch chmod 600. Honest N/A if brief skipped live repo — labeled. Defender breakpoint: where repo scope discipline prevented out-of-scope pipeline action.

1. Path stations

Setup, fundamentals, pipeline, SAST/secrets, DAST, IaC, containers, runtime/supply, findings, handoff — ten minimum stations.

Each station links evidence index row and module lesson ID.

Command guide

Try these commands — Path stations

═══ DOCKER & CONTAINER AUDIT ═══

Check container running state and port bindings

Command — copy this

docker ps --format "table {{.ID}}	{{.Image}}	{{.Status}}	{{.Ports}}" 2>/dev/null || echo "docker ps"

Inspect container for elevated capabilities and root user

Command — copy this

docker inspect --format '{{json .HostConfig.Privileged}}' <container_id> 2>/dev/null || true

Run security vulnerability scan on container image using Trivy

Command — copy this

trivy image --severity HIGH,CRITICAL alpine:3.19 2>/dev/null || echo "trivy image alpine:3.19"

═══ KUBERNETES RBAC AUDIT ═══ Check current permissions in namespace

Command — copy this

kubectl auth can-i --list 2>/dev/null || echo "kubectl auth can-i"

Primary tools to practice this lesson: curl, grep. Reference sites: Gitleaks (https://gitleaks.io/); Bridgecrew Checkov (https://www.checkov.io/); Aqua Trivy (https://aquasecurity.github.io/trivy/); OWASP ZAP (https://www.zaproxy.org/). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Ethics overlay

Red stops: stranger org scans, sabotage recipes, unauthorized prod deploy, merge bypass, malicious packages.

Repo scope branch always green start — `$DEVSEC_LAB` on separate labeled branch.

3. Integrity breakpoint

Mark where scope check prevented out-of-repo scan or prod access.

One paragraph uplift from YOUR `$DEVSEC_LAB` path.

4. What you ship: lab path diagram

DevSec chain with ethics gates + UTC milestones — chmod 600.

5. What you record before the next lesson

Lab path diagram path.

6. Wrong vs right: stranger orgs vs YOUR repos

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Lab path includes stranger org pipeline sabotage shortcut lane.

  • Right

    Lab path documented for $DEVSEC_LAB. Next: Evidence Pack.

Mission: lab path diagram

1) Map ten stations. 2) Add six ethics gates. 3) UTC milestones per station. 4) Link evidence index IDs.

Stuck? Ask Cyberlium AI Mentor

Ask Mentor: “Diagram vs numbered list for capstone?”

Knowledge Check

1

APPLY: Lab path documents:

Multiple choice

Knowledge Check

2

APPLY: True or False: Stranger org scan shortcut OK on path.

True or False

Knowledge Check

3

APPLY: Path ends at:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)