FlowDiagram
13 templates

Security & identity templates

Authentication, access control, threat response and compliance flows for security and platform teams. Every one opens as a real, editable diagram — restyle it, extend it and export it as your own. See also the system architecture diagram tool.

All 13 security & identity templates

User clicks…App creates…Redirect to…Existing ses…User enters…MFA required?

OAuth 2.0 login with PKCE

The authorization-code-with-PKCE flow a single-page or mobile app uses to sign a user in without a client secret — the standard picture for any SSO integration review.

Mermaid
Forgot passw…Enter emailRate limit e…Show generic…Account exis…Show same ge…

Secure password reset flow

A password reset that resists account takeover: rate limits, single-use expiring tokens, and session revocation — used in security reviews and auth implementation.

Mermaid
Employee req…Select syste…Role is priv…Manager appr…Justificatio…Approved?

Access request & approval (least privilege)

How an employee gets access to a system: request, manager and owner approval, time-bound grant, and periodic recertification — the core of an IAM governance process.

Mermaid
Alert from S…SOC analyst…True positiv…Tune detecti…ClosedClassify sev…

Security incident response (NIST lifecycle)

Detection through lessons learned, following the NIST preparation-detection-containment-eradication-recovery lifecycle. A standard SOC and CISO reference diagram.

Mermaid
Weekly scanAsset invent…Scanner: hos…De-duplicate…Enrich: CVSS…Internet-fac…

Vulnerability management lifecycle

Scan, prioritise by exploitability, patch within SLA, verify — the loop every security team runs and auditors ask to see.

Mermaid
User request…Access proxyIdentity pro…Authenticate…Deny & logDevice postu…

Zero-trust access decision

Every request is evaluated on identity, device posture and context before reaching an app — the policy decision flow behind a zero-trust architecture.

Mermaid
Rotation sch…Emergency le…Revoke leake…Accept brief…Generate new…Add new cred…

Secrets & key rotation

Rotating a database password or API key without downtime using dual credentials — a common platform-engineering runbook.

Mermaid
Employee rep…Auto-analysi…Known malici…Analyst revi…Phishing?Thank report…

Phishing report & response

From the employee "report phish" button through analysis, mailbox purge and account reset — used by SOC teams and security awareness programs.

Mermaid
Decide to pu…Choose trust…Gap assessme…Write polici…Implement co…Compliance a…

SOC 2 audit readiness

Scoping, control design, evidence collection and the audit window — the path a SaaS company follows to its first SOC 2 Type II report.

Mermaid
API requestAuth header…401 Unauthor…Token type?Look up hash…Verify signa…

API request authentication & authorization

How a backend validates every API call: key or JWT, scopes, rate limits and audit — useful for API design reviews.

Mermaid
User signs i…MFA already…Prompt for s…Grace period…Show enrol n…User chooses…

MFA enrollment flow

How users enrol in multi-factor authentication: prompt at sign-in, choose passkey, authenticator app or SMS, verify the factor and save recovery codes.

Mermaid
SIEM alert f…Alert lands…Tier 1 analy…Enrich: asse…Known false…Close as fal…

SIEM alert triage

How a SOC analyst triages a SIEM alert in Splunk, Sentinel or Elastic: enrich, check for false positives, scope impact, and escalate to incident response.

Mermaid
Ransom note…Isolate infe…Activate inc…Preserve evi…Identify ran…Scope affect…

Ransomware incident response

A ransomware response playbook: detect and isolate, activate the incident team, assess scope, preserve evidence, restore from clean backups and notify regulators.

Mermaid

Other template categories