center-for-threat-informed-defense / attack-flow

Attack Flow helps executives, SOC managers, and defenders easily understand how attackers compose ATT&CK techniques into attacks by developing a representation of attack flows, modeling attack flows for a small corpus of incidents, and creating visualization tools to display attack flows.
https://ctid.io/attack-flow
Apache License 2.0
522 stars 83 forks source link

AF-176: Hashes #96

Closed tleef42 closed 10 months ago

tleef42 commented 11 months ago

This PR should be merged after #98 and #97

Hashes need to be published as objects with specific naming conventions for hash type. Biggest change was that Hashes format is:

Hashes needs to be published as one single Object so a new method had to be created since mergeBasicListProperty exports only a single value and Hashes can contain multiple.

This was breaking the build process because of no backwards compatibility for older .AFB files, this should produce warnings to tell users that they need to update their flows (attached to each Hash-having object that throws a warning)

sonarcloud[bot] commented 10 months ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
45.9% 45.9% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint