center-for-threat-informed-defense / caldera_pathfinder

Pathfinder is a plugin for mapping network vulnerabilities, scanned by CALDERA or imported by a supported network scanner, and translating those scans into adversaries for network traversal.
https://caldera.mitre.org/
Apache License 2.0
120 stars 26 forks source link

Graph Restructure #43

Closed heatonk closed 2 years ago

heatonk commented 2 years ago

Description

This PR changes the network map object on reports to use NetworkX graphs instead of dictionaries and lists. This adds functionality to the codebase and will enable long term plans for more advanced graph work and analysis.

Type of change

How Has This Been Tested?

This has been tested via hand locally.

Checklist:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

No Coverage information No Coverage information
0.0% 0.0% Duplication