Export all connections with metadata
Follow-up of this discussion (private issue), it would be great to "make the networking metadata (port, protocol, from/to) exportable with a click of a button!".
This should hopefully not be too hard to achieve thanks to the automatic json exports of the workspaces. There's some changes to bring to the current models though, they are described below:
Implementation plan
- Update models to document relationships with network metadata (this can be achieved by leveraging relationships properties):
- default_port
- tls_port
- protocol
- TCP/UDP
- encryption_details (optional TBD)
- evidence
- Expose the generated json files for every workspaces in the pipeline as an artifact.
- Extract network connections from these json files with
jq
- Expose the result in the static site, via the data folder
- Define and implement an export function in the static site, on each architecture page (using a template)
Edited by Philippe Lafoucrière