top | item 46585191 (no title) hendry | 1 month ago More service flows aimed at security audits discuss order hn newest OlaProis|1 month ago Service flows for security audits — that's a specific and useful use case!A few thoughts:What might work today: - Sequence diagrams can model service-to-service flows (API calls, auth handoffs)- Flowcharts with subgraphs can represent VPC boundaries, security groups- C4-style (context, container, component) is sometimes modeled with flowchartsWhat would make it better:- Custom shapes/icons (AWS service icons)- Annotations for security boundaries, trust zones- Data flow direction markersAlternative you might try now:D2 (https://d2lang.com) has better icon support and was designed for architecture diagrams. It has an AWS icon pack. Structurizr also does C4 well.That said, if there's demand for architecture-specific diagrams in Ferrite's Mermaid renderer, I could look at:1. Custom icon/shape support via external SVGs2. A dedicated "architecture" diagram type with security-relevant annotationsWould a template or example for modeling security flows in Mermaid's current syntax help as a starting point? hendry|1 month ago Yeah, an example would be good. Tbh the examples on https://d2lang.com/ don't seem to fit the bill of a typical AWS Architecture diagrams! https://aws.amazon.com/architecture/reference-architecture-d... load replies (1)
OlaProis|1 month ago Service flows for security audits — that's a specific and useful use case!A few thoughts:What might work today: - Sequence diagrams can model service-to-service flows (API calls, auth handoffs)- Flowcharts with subgraphs can represent VPC boundaries, security groups- C4-style (context, container, component) is sometimes modeled with flowchartsWhat would make it better:- Custom shapes/icons (AWS service icons)- Annotations for security boundaries, trust zones- Data flow direction markersAlternative you might try now:D2 (https://d2lang.com) has better icon support and was designed for architecture diagrams. It has an AWS icon pack. Structurizr also does C4 well.That said, if there's demand for architecture-specific diagrams in Ferrite's Mermaid renderer, I could look at:1. Custom icon/shape support via external SVGs2. A dedicated "architecture" diagram type with security-relevant annotationsWould a template or example for modeling security flows in Mermaid's current syntax help as a starting point? hendry|1 month ago Yeah, an example would be good. Tbh the examples on https://d2lang.com/ don't seem to fit the bill of a typical AWS Architecture diagrams! https://aws.amazon.com/architecture/reference-architecture-d... load replies (1)
hendry|1 month ago Yeah, an example would be good. Tbh the examples on https://d2lang.com/ don't seem to fit the bill of a typical AWS Architecture diagrams! https://aws.amazon.com/architecture/reference-architecture-d... load replies (1)
OlaProis|1 month ago
A few thoughts:
What might work today: - Sequence diagrams can model service-to-service flows (API calls, auth handoffs)
- Flowcharts with subgraphs can represent VPC boundaries, security groups
- C4-style (context, container, component) is sometimes modeled with flowcharts
What would make it better:
- Custom shapes/icons (AWS service icons)
- Annotations for security boundaries, trust zones
- Data flow direction markers
Alternative you might try now:
D2 (https://d2lang.com) has better icon support and was designed for architecture diagrams. It has an AWS icon pack. Structurizr also does C4 well.
That said, if there's demand for architecture-specific diagrams in Ferrite's Mermaid renderer, I could look at:
1. Custom icon/shape support via external SVGs
2. A dedicated "architecture" diagram type with security-relevant annotations
Would a template or example for modeling security flows in Mermaid's current syntax help as a starting point?
hendry|1 month ago