Simple script to merge ATTiRe logs that have been created when running Atomic Red Team (ART) using Invoke-AtomicRedTeam and the Attire-ExecutionLogger module. This will merge multiple indiviually performed simulated procedures into 1 file to make it uploadable to VECTR.
More information about the ATTiRe logging format can be found here: https://github.com/SecurityRiskAdvisors/ATTiRe
This has been created to cover the missing feature to upload multiple test cases to VECTR as described in this issue: SecurityRiskAdvisors/VECTR#235.
Obviously first run your Atomic test procedures to generate multiple JSON files that require merging, then:
- Place your ATTiRe formatted JSON files in the
./input/
folder. - Modify
attire-merger.py
with your execution data to your only liking. This execution data will be used for all tested procedures - Run
./attire-merger.py -json
- Take the output from
./output/output.json
and upload it to VECTR via the UI.
Obviously first run your Atomic test procedures to generate a CSV file that requires converting, then:
- Place your ATTiRe formatted JSON files in the
./input/
folder. - Modify
attire-merger.py
with your execution data to your only liking. This execution data will be used for all tested procedures - Run
./attire-merger.py -csv
- Take the output from
./output/output.json
and upload it to VECTR via the UI.