mirror of
https://github.com/valitydev/atomic-threat-coverage.git
synced 2024-11-06 01:25:21 +00:00
Fixing docker
This commit is contained in:
parent
20eaf64746
commit
5e422f0d0f
@ -9,7 +9,7 @@ RUN apk update; \
|
||||
py-pip \
|
||||
bash; \
|
||||
pip3 install -r requirements.txt; \
|
||||
apk del py-pip python3-dev; \
|
||||
apk del python3-dev; \
|
||||
rm -rf /var/cache/apk/* ; \
|
||||
rm -rf Atomic_Threat_Coverage;
|
||||
CMD /app/docker-entrypoint.sh
|
@ -1,9 +1,8 @@
|
||||
cd scripts
|
||||
echo "[*] Setting up confluence"
|
||||
python3 init_confluence.py
|
||||
python3 main.py -C --init
|
||||
|
||||
echo "[*] Setting up markdown"
|
||||
python3 init_markdown.py
|
||||
python3 main.py -M --init
|
||||
|
||||
echo "[*] Pushing data to confluence"
|
||||
python3 main.py -C -A
|
||||
@ -12,13 +11,13 @@ echo "[*] Pushing data to markdown"
|
||||
python3 main.py -M -A
|
||||
|
||||
echo "[*] Creating analytics.csv and pivoting.csv"
|
||||
python3 yamls2csv.py
|
||||
python3 main.py -CSV
|
||||
|
||||
echo "[*] Creating ATT&CK Navigator profile"
|
||||
python3 attack_navigator_export.py
|
||||
python3 main.py -TD-NAV
|
||||
|
||||
echo "[*] Creating ATT&CK Navigator profile"
|
||||
python3 attack_navigator_per_customer_export.py
|
||||
python3 main.py -TD-NAV-CU
|
||||
|
||||
echo "[*] Creating markdown repository and pushing data"
|
||||
python3 main.py --markdown --auto --init
|
||||
@ -27,7 +26,7 @@ echo "[*] Creating confluence repository and pushing data"
|
||||
python3 main.py --confluence --auto --init
|
||||
|
||||
echo "[*] Creating elastic index"
|
||||
python3 es_index_export.py
|
||||
python3 main.py -ES
|
||||
|
||||
echo "[*] Creating visualizations.."
|
||||
python3 main.py -V
|
||||
|
Loading…
Reference in New Issue
Block a user