├── .gitignore ├── README.md ├── course-materials ├── BCTL_L0_DFD.json ├── BCTL_tree.dot ├── BCTL_tree_controls.dot ├── Dockerfile ├── README.md ├── example_tree.dot └── hashjack.png ├── lab1 ├── README.md ├── WORKSHEET.md ├── lab1-answers.pdf ├── lab1-matrix-allowed-values.pdf └── lab1-matrix.pdf ├── lab2 ├── README.md └── STRIDE.pdf ├── lab3 ├── README.md ├── lab3-prioritising-controls-background.pdf └── lab3-prioritising-controls-background.png └── lab4 ├── README.md └── local ├── Makefile ├── README.md ├── golang-app ├── Dockerfile ├── go.mod └── main.go ├── kind └── threat-modelling.yaml └── source ├── control-tests ├── allowed-repo │ ├── allowed-repo.yaml │ ├── non-allowed-repo.yaml │ └── repo-test.bats └── privileged │ ├── non-privileged.yaml │ ├── privileged-test.bats │ └── privileged.yaml └── policy ├── allowed-repo ├── constraint.yaml ├── src.rego ├── src_test.rego └── template.yaml └── privileged ├── constraint.yaml ├── src.rego ├── src_test.rego └── template.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/README.md -------------------------------------------------------------------------------- /course-materials/BCTL_L0_DFD.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/BCTL_L0_DFD.json -------------------------------------------------------------------------------- /course-materials/BCTL_tree.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/BCTL_tree.dot -------------------------------------------------------------------------------- /course-materials/BCTL_tree_controls.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/BCTL_tree_controls.dot -------------------------------------------------------------------------------- /course-materials/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/Dockerfile -------------------------------------------------------------------------------- /course-materials/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/README.md -------------------------------------------------------------------------------- /course-materials/example_tree.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/example_tree.dot -------------------------------------------------------------------------------- /course-materials/hashjack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/course-materials/hashjack.png -------------------------------------------------------------------------------- /lab1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab1/README.md -------------------------------------------------------------------------------- /lab1/WORKSHEET.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab1/WORKSHEET.md -------------------------------------------------------------------------------- /lab1/lab1-answers.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab1/lab1-answers.pdf -------------------------------------------------------------------------------- /lab1/lab1-matrix-allowed-values.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab1/lab1-matrix-allowed-values.pdf -------------------------------------------------------------------------------- /lab1/lab1-matrix.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab1/lab1-matrix.pdf -------------------------------------------------------------------------------- /lab2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab2/README.md -------------------------------------------------------------------------------- /lab2/STRIDE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab2/STRIDE.pdf -------------------------------------------------------------------------------- /lab3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab3/README.md -------------------------------------------------------------------------------- /lab3/lab3-prioritising-controls-background.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab3/lab3-prioritising-controls-background.pdf -------------------------------------------------------------------------------- /lab3/lab3-prioritising-controls-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab3/lab3-prioritising-controls-background.png -------------------------------------------------------------------------------- /lab4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/README.md -------------------------------------------------------------------------------- /lab4/local/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/Makefile -------------------------------------------------------------------------------- /lab4/local/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/README.md -------------------------------------------------------------------------------- /lab4/local/golang-app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/golang-app/Dockerfile -------------------------------------------------------------------------------- /lab4/local/golang-app/go.mod: -------------------------------------------------------------------------------- 1 | module example/hello 2 | 3 | go 1.19 -------------------------------------------------------------------------------- /lab4/local/golang-app/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/golang-app/main.go -------------------------------------------------------------------------------- /lab4/local/kind/threat-modelling.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/kind/threat-modelling.yaml -------------------------------------------------------------------------------- /lab4/local/source/control-tests/allowed-repo/allowed-repo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/control-tests/allowed-repo/allowed-repo.yaml -------------------------------------------------------------------------------- /lab4/local/source/control-tests/allowed-repo/non-allowed-repo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/control-tests/allowed-repo/non-allowed-repo.yaml -------------------------------------------------------------------------------- /lab4/local/source/control-tests/allowed-repo/repo-test.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/control-tests/allowed-repo/repo-test.bats -------------------------------------------------------------------------------- /lab4/local/source/control-tests/privileged/non-privileged.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/control-tests/privileged/non-privileged.yaml -------------------------------------------------------------------------------- /lab4/local/source/control-tests/privileged/privileged-test.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/control-tests/privileged/privileged-test.bats -------------------------------------------------------------------------------- /lab4/local/source/control-tests/privileged/privileged.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/control-tests/privileged/privileged.yaml -------------------------------------------------------------------------------- /lab4/local/source/policy/allowed-repo/constraint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/allowed-repo/constraint.yaml -------------------------------------------------------------------------------- /lab4/local/source/policy/allowed-repo/src.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/allowed-repo/src.rego -------------------------------------------------------------------------------- /lab4/local/source/policy/allowed-repo/src_test.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/allowed-repo/src_test.rego -------------------------------------------------------------------------------- /lab4/local/source/policy/allowed-repo/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/allowed-repo/template.yaml -------------------------------------------------------------------------------- /lab4/local/source/policy/privileged/constraint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/privileged/constraint.yaml -------------------------------------------------------------------------------- /lab4/local/source/policy/privileged/src.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/privileged/src.rego -------------------------------------------------------------------------------- /lab4/local/source/policy/privileged/src_test.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/privileged/src_test.rego -------------------------------------------------------------------------------- /lab4/local/source/policy/privileged/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/controlplaneio/threat-modelling-labs/HEAD/lab4/local/source/policy/privileged/template.yaml --------------------------------------------------------------------------------