Loading...
Loading...
Create security architecture diagrams using PlantUML syntax with identity, encryption, firewall, and compliance stencil icons. Best for IAM flows, zero-trust architectures, encryption pipelines, compliance auditing, and threat detection. NOT for general cloud infra (use cloud skill) or simple flowcharts (use mermaid).
npx skill4agent add markdown-viewer/skills security```plantuml⚠️ IMPORTANT: Always useor```plantumlcode fence. NEVER use```puml— it will NOT render as a diagram.```text
@startuml@endumlleft to right directionmxgraph.aws4.*fillColorstrokeColorrectangle "Trust Boundary" { ... }-->..>mxgraph.aws4.<icon> "Label" as <alias>| Category | Stencils | Purpose |
|---|---|---|
| IAM | | Identity policies & roles |
| SSO/Directory | | User authentication & federation |
| STS | | Temporary security credentials |
| Organizations | | Multi-account governance |
| Category | Stencils | Purpose |
|---|---|---|
| KMS | | Key management & encryption |
| Secrets | | Secrets rotation & storage |
| Certificates | | TLS certificate lifecycle |
| HSM | | Hardware security module |
| Encryption | | Encrypted data at rest |
| Category | Stencils | Purpose |
|---|---|---|
| Firewall | | Network traffic filtering |
| WAF | | Web application firewall |
| Shield | | DDoS protection |
| Security Group | | Instance-level firewall |
| Category | Stencils | Purpose |
|---|---|---|
| Detection | | Threat detection & investigation |
| Data Protection | | Sensitive data discovery |
| Compliance | | Compliance posture & audit |
| Logging | | Audit trail & log aggregation |
| Governance | | Multi-account governance |
| Incident | | Incident management |
| Syntax | Meaning | Use Case |
|---|---|---|
| Solid arrow | Auth flow / access request |
| Dashed arrow | Audit event / async detection |
| Solid line | Trust relationship |
| Labeled connection | Describe protocol or credential |
@startuml
left to right direction
mxgraph.aws4.users "Users" as users
mxgraph.aws4.cognito "Cognito" as auth
mxgraph.aws4.identity_and_access_management "IAM" as iam
rectangle "Protected Resources" {
mxgraph.aws4.s3 "Data (S3)" as s3
mxgraph.aws4.encrypted_data "Encrypted" as enc
}
users --> auth : "login"
auth --> iam : "token"
iam --> s3
s3 --> enc
@enduml| Type | Purpose | Key Stencils | Example |
|---|---|---|---|
| IAM & AuthN | Identity and authentication | | iam-authn.md |
| Encryption Pipeline | Data encryption at rest/in-transit | | encryption-pipeline.md |
| Network Security | Perimeter defense & firewalls | | network-security.md |
| Threat Detection | Automated threat response | | threat-detection.md |
| Compliance Audit | Governance & audit trail | | compliance-audit.md |
| Zero Trust | Zero-trust access model | | zero-trust.md |
| Data Protection | Sensitive data classification | | data-protection.md |
| Multi-account Gov | Organization-wide security | | multi-account-governance.md |