-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (30 loc) · 841 Bytes
/
Copy pathMakefile
File metadata and controls
44 lines (30 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.PHONY: install dev test lint fix demo scan-aws scan-azure scan-gcp scan-k8s scan-all docker docker-demo clean
install:
pip install -e .
dev:
pip install -e ".[all,dev]"
test:
python3 -m pytest tests/ -v --tb=short
lint:
python3 -m ruff check nhinsight/ tests/
fix:
python3 -m ruff check nhinsight/ tests/ --fix
demo:
python3 -m nhinsight.cli demo
scan-aws:
python3 -m nhinsight.cli scan --aws
scan-azure:
python3 -m nhinsight.cli scan --azure
scan-gcp:
python3 -m nhinsight.cli scan --gcp
scan-k8s:
python3 -m nhinsight.cli scan --k8s
scan-all:
python3 -m nhinsight.cli scan --all --attack-paths
docker:
docker build -t nhinsight .
docker-demo:
docker run --rm nhinsight demo
clean:
rm -rf build/ dist/ *.egg-info .pytest_cache __pycache__
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true