41 lines
940 B
Bash
41 lines
940 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Lab 2: Security as a System
|
|
# Scenario-specific configuration.
|
|
#
|
|
# Reusable network topology and addressing are provided by shared/minicorp.
|
|
|
|
LAB_ID="lab-02-security-as-a-system"
|
|
LAB_NAME="Security as a System"
|
|
|
|
# MiniCorp topology used by this scenario.
|
|
LAB_TOPOLOGY="client-router-server"
|
|
|
|
#
|
|
# Persistent environment state
|
|
#
|
|
|
|
LAB_STATE_DIR="/var/lib/minicorp/$LAB_ID"
|
|
LAB_IDENTITY_FILE="$LAB_STATE_DIR/service-identities"
|
|
|
|
#
|
|
# Investigation evidence
|
|
#
|
|
|
|
# Evidence must be available to Codio's secure assessment environment,
|
|
# which receives the student's workspace.
|
|
LAB_EVIDENCE_DIR="/home/codio/workspace/.minicorp-lab2"
|
|
LAB_EVIDENCE_LOG="$LAB_EVIDENCE_DIR/events.jsonl"
|
|
|
|
#
|
|
# MiniCorp services
|
|
#
|
|
|
|
LAB_WEB_PORT="8000"
|
|
LAB_STATUS_PORT="8081"
|
|
LAB_ADMIN_PORT="9090"
|
|
|
|
LAB_WEB_STDOUT="/tmp/minicorp-lab2-web.stdout"
|
|
LAB_STATUS_STDOUT="/tmp/minicorp-lab2-status.stdout"
|
|
LAB_ADMIN_STDOUT="/tmp/minicorp-lab2-admin.stdout"
|