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
123 stars 26 forks source link

VIRTS-3035 #39

Closed CDJellen closed 3 years ago

CDJellen commented 3 years ago

VIRTS-3035: Pathfinder UI/UX Improvements (Part I)

Affects:

  1. Set report name to file name when loading from disk,
  2. Add a custom name to nmap scans,
  3. Remove reports from memory,
  4. Rename reports post-load or post-scan.

Description

This branch adds new functionality to the current Pathfinder plugin, building off of the Pathfinder API and the new core CALDERA API v2. Changes include adding a new view tab called "Reports" to perform a few of the missing CRUD operations, including renaming reports in memory and removing reports from memory. The "Import Scan" functionality now captures the file name of the .xml or .yml report file, and uses this file name as the report name. Finally, the default nmap scanner was expanded to include a new custom name input field, to de-clutter the report "view" screen after executing a series of reports over a live network.

Checklist:

CDJellen commented 3 years ago

Feel free to pull the branch and let me know what you think!

Areas likely pending update:

As always, I am more than happy to make changes as needed. Thank you!

elegantmoose commented 3 years ago

@CDJellen - When I download the report, I get the uuid as the name. Did we want the downloaded file to also have same name as report?

CDJellen commented 3 years ago

I really like that change, I'll make the edit shortly.

elegantmoose commented 3 years ago

This will close #40

sonarcloud[bot] commented 3 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 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication