Appearance
Mapping data (make update-mappings)
This developer target regenerates the CWE, CAPEC and ATT&CK mapping files that Spalto ships with its rules.
make update-mappings
sh
make update-mappingsOr run scripts/update-mappings.sh directly. The script regenerates rules/mappings/cwe.json, capec.json and attack.json from MITRE's CWE, CAPEC and ATT&CK downloads, after checking their pinned SHA-256 values. It takes no flags. The versions and hashes are constants in the script.
The script calls the generator:
sh
go run ./tools/mappings -cwe F -capec F -attack F [-out DIR]-out defaults to rules/mappings.
Both the script and the generator are developer tools, not part of the waap binary.