mirror of
https://github.com/mytechnotalent/Threat-Modeling-Toolkit.git
synced 2026-08-15 04:50:18 +02:00
Initial commit: TMT lightweight threat modeling toolkit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
.PHONY: install test scan scan-llm clean
|
||||
|
||||
install:
|
||||
pip install -e ".[dev]"
|
||||
|
||||
test:
|
||||
pytest tests/ -v --tb=short
|
||||
|
||||
test-cov:
|
||||
pytest tests/ -v --cov=tmt --cov-report=term-missing
|
||||
|
||||
scan:
|
||||
python run_threat_model.py --target . --project-name "tmt-self-scan"
|
||||
|
||||
scan-llm:
|
||||
python run_threat_model.py --target . --project-name "tmt-self-scan" --llm
|
||||
|
||||
clean:
|
||||
rm -rf reports/ .pytest_cache __pycache__ tmt/__pycache__ tmt/**/__pycache__ tests/__pycache__
|
||||
find . -name "*.pyc" -delete
|
||||
Reference in New Issue
Block a user