refactor(scenarios): split monolithic configuration into individual files

- Split `scenarios/scenarios.json` into individual JSON files under `scenarios/data/` named `<scenario-id>.json`
- Split `scenarios/bundles.json` into individual JSON files under `scenarios/bundles/` named `<bundle-id>.json`
- Updated `backend/server.js` to dynamically load scenario and bundle files from their respective directories
- Updated documentation in `scenarios/SCHEMA.md` and `README.md` to reflect the new repository layout and contributor workflow

Signed-off-by: Abhinav Sinha <[email protected]>
This commit is contained in:
Abhinav Sinha
2026-06-15 07:52:47 +05:30
parent 2104c5fea6
commit 124e5276d4
94 changed files with 4256 additions and 4217 deletions
+36
View File
@@ -0,0 +1,36 @@
{
"id": "k8s-security",
"name": "Kubernetes Security",
"icon": "🛡",
"tagline": "CKS exam — hardening and threats",
"color": "#f97316",
"colorDim": "rgba(249,115,22,0.12)",
"exam_minutes": 120,
"scenario_ids": [
"cks-network-policy",
"cks-pod-security-context",
"cks-rbac-least-privilege",
"cks-seccomp-profile",
"cks-immutable-secret",
"cks-apparmor-profile",
"cks-automount-token",
"cks-network-policy-metadata",
"cks-rbac-clusterrole",
"cks-psa-namespace",
"cks-mcq-runtime-security",
"cks-mcq-api-server",
"cks-mcq-image-footprint",
"cks-mcq-psp-replacement",
"cks-mcq-kubelet-auth",
"cks-readonly-filesystem",
"cks-drop-capabilities",
"cks-tls-ingress",
"cks-image-pull-secret",
"cks-mcq-sandboxing",
"cks-mcq-audit-policy",
"cks-runtime-class",
"cks-audit-policy",
"cks-egress-namespace",
"cks-non-root-enforce"
]
}