references/skeletons/skeleton-threatmodel.md
Skeleton: 1-threatmodel.md
⛔ Copy the template content below VERBATIM (excluding the outer code fence). Replace
[FILL]placeholders. Diagram in.mdand.mmdmust be IDENTICAL. ⛔ Data Flow Table columns:ID | Source | Target | Protocol | Description. DO NOT renameTargettoDestination. DO NOT reorder columns. ⛔ Trust Boundary Table columns:Boundary | Description | Contains(3 columns). DO NOT add aNamecolumn or renameContainstoComponents Inside.
# Threat Model
## Data Flow Diagram
```mermaid
[FILL: Copy EXACT content from 1.1-threatmodel.mmd]
```
## Element Table
| Element | Type | TMT Category | Description | Trust Boundary |
|---------|------|--------------|-------------|----------------|
[CONDITIONAL: For K8s apps with sidecars, add a `Co-located Sidecars` column after Trust Boundary]
[REPEAT: one row per element]
| [FILL] | [FILL: Process / External Interactor / Data Store] | [FILL: SE.P.TMCore.* / SE.EI.TMCore.* / SE.DS.TMCore.*] | [FILL] | [FILL] |
[END-REPEAT]
## Data Flow Table
| ID | Source | Target | Protocol | Description |
|----|--------|--------|----------|-------------|
[REPEAT: one row per data flow]
| [FILL: DF##] | [FILL] | [FILL] | [FILL] | [FILL] |
[END-REPEAT]
## Trust Boundary Table
| Boundary | Description | Contains |
|----------|-------------|----------|
[REPEAT: one row per trust boundary]
| [FILL] | [FILL] | [FILL: comma-separated component list] |
[END-REPEAT]
[CONDITIONAL: Include ONLY if summary diagram was generated (elements > 15 OR boundaries > 4)]
## Summary View
```mermaid
[FILL: Copy EXACT content from 1.2-threatmodel-summary.mmd]
```
## Summary to Detailed Mapping
| Summary Element | Contains | Summary Flows | Maps to Detailed Flows |
|-----------------|----------|---------------|------------------------|
[REPEAT]
| [FILL] | [FILL] | [FILL: SDF##] | [FILL: DF##, DF##] |
[END-REPEAT]
[END-CONDITIONAL]
Fixed rules:
- Use
DF01,DF02for detailed flows;SDF01,SDF02for summary flows - Element Type: exactly
Process,External Interactor, orData Store - TMT Category: must be a specific ID from tmt-element-taxonomy.md (e.g.,
SE.P.TMCore.WebSvc)