@radicaltools/mcp 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -23
- package/dist/{chunk-OGN3UW2D.js → chunk-Z7THA3L5.js} +670 -64
- package/dist/{elkLayout-S62RLGTO.js → elkLayout-TAUBPPVN.js} +1 -1
- package/dist/hub-catalogue/concern/concern-api-evolution.radical +935 -0
- package/dist/hub-catalogue/concern/concern-architecture-style.radical +1112 -0
- package/dist/hub-catalogue/concern/concern-authentication.radical +685 -0
- package/dist/hub-catalogue/concern/concern-authorization.radical +1464 -0
- package/dist/hub-catalogue/concern/concern-availability.radical +804 -0
- package/dist/hub-catalogue/concern/concern-backend-stack.radical +1118 -0
- package/dist/hub-catalogue/concern/concern-backup-recovery.radical +1304 -0
- package/dist/hub-catalogue/concern/concern-capacity.radical +802 -0
- package/dist/hub-catalogue/concern/concern-communication-style.radical +1202 -0
- package/dist/hub-catalogue/concern/concern-data-consistency.radical +1081 -0
- package/dist/hub-catalogue/concern/concern-data-store.radical +960 -0
- package/dist/hub-catalogue/concern/concern-decomposition.radical +1143 -0
- package/dist/hub-catalogue/concern/concern-deployment.radical +952 -0
- package/dist/hub-catalogue/concern/concern-encryption.radical +1055 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +1340 -0
- package/dist/hub-catalogue/concern/concern-infrastructure.radical +1151 -0
- package/dist/hub-catalogue/concern/concern-integration-resilience.radical +1079 -0
- package/dist/hub-catalogue/concern/concern-messaging.radical +940 -0
- package/dist/hub-catalogue/concern/concern-module-boundaries.radical +864 -0
- package/dist/hub-catalogue/concern/concern-observability.radical +1048 -0
- package/dist/hub-catalogue/concern/concern-personal-data.radical +1434 -0
- package/dist/hub-catalogue/concern/concern-rate-limiting.radical +1153 -0
- package/dist/hub-catalogue/concern/concern-secrets.radical +1026 -0
- package/dist/hub-catalogue/concern/concern-supply-chain.radical +1312 -0
- package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +1306 -0
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +1193 -0
- package/dist/index.js +9440 -3854
- package/package.json +1 -1
- package/dist/hub-catalogue/adr/adr-api-versioning.radical +0 -53
- package/dist/hub-catalogue/adr/adr-auth-strategy.radical +0 -53
- package/dist/hub-catalogue/adr/adr-caching-strategy.radical +0 -59
- package/dist/hub-catalogue/adr/adr-data-consistency-model.radical +0 -40
- package/dist/hub-catalogue/adr/adr-data-store.radical +0 -47
- package/dist/hub-catalogue/adr/adr-deployment-strategy.radical +0 -53
- package/dist/hub-catalogue/adr/adr-event-schema-evolution.radical +0 -53
- package/dist/hub-catalogue/adr/adr-integration-style.radical +0 -50
- package/dist/hub-catalogue/adr/adr-ledger-reconciliation-strategy.radical +0 -38
- package/dist/hub-catalogue/adr/adr-llm-provider-strategy.radical +0 -40
- package/dist/hub-catalogue/adr/adr-marketplace-payments-model.radical +0 -39
- package/dist/hub-catalogue/adr/adr-multi-region.radical +0 -60
- package/dist/hub-catalogue/adr/adr-multi-tenancy-strategy.radical +0 -41
- package/dist/hub-catalogue/adr/adr-observability.radical +0 -59
- package/dist/hub-catalogue/adr/adr-realtime-transport.radical +0 -38
- package/dist/hub-catalogue/adr/adr-tech-stack.radical +0 -45
- package/dist/hub-catalogue/adr/adr-zero-trust-network.radical +0 -40
- package/dist/hub-catalogue/blueprint/bp-ai-assistant-platform.radical +0 -1641
- package/dist/hub-catalogue/blueprint/bp-analytical-data-platform.radical +0 -1428
- package/dist/hub-catalogue/blueprint/bp-ecommerce-platform.radical +0 -1989
- package/dist/hub-catalogue/blueprint/bp-fintech-ledger-platform.radical +0 -1701
- package/dist/hub-catalogue/blueprint/bp-marketplace-platform.radical +0 -1792
- package/dist/hub-catalogue/blueprint/bp-realtime-collaboration.radical +0 -1421
- package/dist/hub-catalogue/blueprint/bp-saas-b2b-platform.radical +0 -1713
- package/dist/hub-catalogue/fitness-function/ff-accessibility-scan.radical +0 -34
- package/dist/hub-catalogue/fitness-function/ff-ai-eval-gate.radical +0 -52
- package/dist/hub-catalogue/fitness-function/ff-api-contract.radical +0 -36
- package/dist/hub-catalogue/fitness-function/ff-capacity-load-test.radical +0 -67
- package/dist/hub-catalogue/fitness-function/ff-carbon-footprint-guard.radical +0 -62
- package/dist/hub-catalogue/fitness-function/ff-change-failure-rate.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-chaos-resilience-test.radical +0 -53
- package/dist/hub-catalogue/fitness-function/ff-cost-efficiency-guard.radical +0 -64
- package/dist/hub-catalogue/fitness-function/ff-coupling-guard.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-data-integrity-check.radical +0 -51
- package/dist/hub-catalogue/fitness-function/ff-data-residency.radical +0 -43
- package/dist/hub-catalogue/fitness-function/ff-dependency-rules.radical +0 -37
- package/dist/hub-catalogue/fitness-function/ff-deploy-frequency.radical +0 -46
- package/dist/hub-catalogue/fitness-function/ff-dr-drill-success.radical +0 -52
- package/dist/hub-catalogue/fitness-function/ff-duplication-guard.radical +0 -53
- package/dist/hub-catalogue/fitness-function/ff-error-budget.radical +0 -59
- package/dist/hub-catalogue/fitness-function/ff-fail-safe-verification.radical +0 -34
- package/dist/hub-catalogue/fitness-function/ff-infra-drift.radical +0 -34
- package/dist/hub-catalogue/fitness-function/ff-latency-slo.radical +0 -59
- package/dist/hub-catalogue/fitness-function/ff-lead-time.radical +0 -44
- package/dist/hub-catalogue/fitness-function/ff-ledger-balance-integrity.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-license-compliance.radical +0 -43
- package/dist/hub-catalogue/fitness-function/ff-mttr.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-noisy-neighbor-guard.radical +0 -66
- package/dist/hub-catalogue/fitness-function/ff-sast-scan.radical +0 -35
- package/dist/hub-catalogue/fitness-function/ff-scale-out-verification.radical +0 -66
- package/dist/hub-catalogue/fitness-function/ff-security-scan.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-startup-shutdown-check.radical +0 -66
- package/dist/hub-catalogue/fitness-function/ff-sync-convergence-test.radical +0 -45
- package/dist/hub-catalogue/fitness-function/ff-test-coverage.radical +0 -43
- package/dist/hub-catalogue/fitness-function/ff-web-vitals.radical +0 -57
- package/dist/hub-catalogue/pattern/pattern-anti-corruption-layer.radical +0 -88
- package/dist/hub-catalogue/pattern/pattern-api-gateway.radical +0 -168
- package/dist/hub-catalogue/pattern/pattern-bff.radical +0 -179
- package/dist/hub-catalogue/pattern/pattern-bulkhead.radical +0 -114
- package/dist/hub-catalogue/pattern/pattern-circuit-breaker.radical +0 -219
- package/dist/hub-catalogue/pattern/pattern-cqrs.radical +0 -195
- package/dist/hub-catalogue/pattern/pattern-crdt-sync.radical +0 -200
- package/dist/hub-catalogue/pattern/pattern-event-driven.radical +0 -210
- package/dist/hub-catalogue/pattern/pattern-event-sourced-ledger.radical +0 -211
- package/dist/hub-catalogue/pattern/pattern-hexagonal.radical +0 -196
- package/dist/hub-catalogue/pattern/pattern-microservices.radical +0 -262
- package/dist/hub-catalogue/pattern/pattern-rag-pipeline.radical +0 -213
- package/dist/hub-catalogue/pattern/pattern-rate-limiter.radical +0 -114
- package/dist/hub-catalogue/pattern/pattern-saga.radical +0 -208
- package/dist/hub-catalogue/pattern/pattern-sidecar.radical +0 -123
- package/dist/hub-catalogue/pattern/pattern-strangler-fig.radical +0 -227
- package/dist/hub-catalogue/pattern/pattern-transactional-outbox.radical +0 -209
- package/dist/hub-catalogue/requirement/req-accessibility.radical +0 -48
- package/dist/hub-catalogue/requirement/req-ai-autonomous-resolution.radical +0 -51
- package/dist/hub-catalogue/requirement/req-ai-groundedness.radical +0 -45
- package/dist/hub-catalogue/requirement/req-ai-human-handoff.radical +0 -46
- package/dist/hub-catalogue/requirement/req-alerting.radical +0 -52
- package/dist/hub-catalogue/requirement/req-api-response-time.radical +0 -51
- package/dist/hub-catalogue/requirement/req-api-standard.radical +0 -45
- package/dist/hub-catalogue/requirement/req-audit-logging.radical +0 -43
- package/dist/hub-catalogue/requirement/req-auth-response-time.radical +0 -45
- package/dist/hub-catalogue/requirement/req-auth.radical +0 -43
- package/dist/hub-catalogue/requirement/req-autoscaling.radical +0 -62
- package/dist/hub-catalogue/requirement/req-availability.radical +0 -50
- package/dist/hub-catalogue/requirement/req-backward-compatibility.radical +0 -46
- package/dist/hub-catalogue/requirement/req-batch-job-completion.radical +0 -50
- package/dist/hub-catalogue/requirement/req-carbon-efficiency.radical +0 -64
- package/dist/hub-catalogue/requirement/req-centralised-logging.radical +0 -45
- package/dist/hub-catalogue/requirement/req-ci-pipeline-time.radical +0 -43
- package/dist/hub-catalogue/requirement/req-code-complexity.radical +0 -43
- package/dist/hub-catalogue/requirement/req-config-propagation.radical +0 -45
- package/dist/hub-catalogue/requirement/req-data-integrity.radical +0 -35
- package/dist/hub-catalogue/requirement/req-data-retention.radical +0 -44
- package/dist/hub-catalogue/requirement/req-db-query-response.radical +0 -44
- package/dist/hub-catalogue/requirement/req-disaster-recovery.radical +0 -59
- package/dist/hub-catalogue/requirement/req-distributed-tracing.radical +0 -45
- package/dist/hub-catalogue/requirement/req-encryption.radical +0 -49
- package/dist/hub-catalogue/requirement/req-error-rate.radical +0 -45
- package/dist/hub-catalogue/requirement/req-error-recovery.radical +0 -34
- package/dist/hub-catalogue/requirement/req-event-schema-compatibility.radical +0 -37
- package/dist/hub-catalogue/requirement/req-fail-safe-default.radical +0 -55
- package/dist/hub-catalogue/requirement/req-fast-startup-graceful-shutdown.radical +0 -69
- package/dist/hub-catalogue/requirement/req-gdpr-erasure.radical +0 -44
- package/dist/hub-catalogue/requirement/req-graceful-degradation.radical +0 -39
- package/dist/hub-catalogue/requirement/req-health-checks.radical +0 -43
- package/dist/hub-catalogue/requirement/req-iac.radical +0 -36
- package/dist/hub-catalogue/requirement/req-idempotency.radical +0 -47
- package/dist/hub-catalogue/requirement/req-input-validation.radical +0 -37
- package/dist/hub-catalogue/requirement/req-least-privilege.radical +0 -47
- package/dist/hub-catalogue/requirement/req-ledger-immutability.radical +0 -38
- package/dist/hub-catalogue/requirement/req-mfa.radical +0 -36
- package/dist/hub-catalogue/requirement/req-ml-extraction-accuracy.radical +0 -42
- package/dist/hub-catalogue/requirement/req-onboarding-time.radical +0 -42
- package/dist/hub-catalogue/requirement/req-page-load-time.radical +0 -59
- package/dist/hub-catalogue/requirement/req-payout-latency.radical +0 -46
- package/dist/hub-catalogue/requirement/req-presence-latency.radical +0 -46
- package/dist/hub-catalogue/requirement/req-rate-limiting.radical +0 -45
- package/dist/hub-catalogue/requirement/req-report-generation.radical +0 -44
- package/dist/hub-catalogue/requirement/req-resource-efficiency.radical +0 -64
- package/dist/hub-catalogue/requirement/req-resource-headroom.radical +0 -53
- package/dist/hub-catalogue/requirement/req-resource-isolation.radical +0 -37
- package/dist/hub-catalogue/requirement/req-search-response-time.radical +0 -44
- package/dist/hub-catalogue/requirement/req-secrets-management.radical +0 -45
- package/dist/hub-catalogue/requirement/req-task-success-rate.radical +0 -42
- package/dist/hub-catalogue/requirement/req-test-coverage.radical +0 -42
- package/dist/hub-catalogue/requirement/req-throughput.radical +0 -55
- package/dist/hub-catalogue/requirement/req-vulnerability-scanning.radical +0 -52
- package/dist/hub-catalogue/requirement/req-zero-downtime-deploy.radical +0 -39
|
@@ -0,0 +1,685 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hub": {
|
|
3
|
+
"id": "concern-authentication",
|
|
4
|
+
"category": "concern",
|
|
5
|
+
"name": "Authentication",
|
|
6
|
+
"description": "Who is calling: how people and other systems prove who they are, how long that lasts, and how it is taken back.",
|
|
7
|
+
"tags": [
|
|
8
|
+
"security",
|
|
9
|
+
"authentication",
|
|
10
|
+
"identity",
|
|
11
|
+
"sessions",
|
|
12
|
+
"oidc",
|
|
13
|
+
"mfa"
|
|
14
|
+
],
|
|
15
|
+
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
16
|
+
"concern": {
|
|
17
|
+
"id": "authentication",
|
|
18
|
+
"trigger": "LIST RELATIONS WHERE (source.type = \"person\" OR source.external = true) AND target.external != true AND (target.type = \"system\" OR target.type = \"container\" OR target.type = \"webapp\" OR target.type = \"component\")",
|
|
19
|
+
"applyTo": "target",
|
|
20
|
+
"why": "people or external systems reach these elements, so who is calling has to be decided.",
|
|
21
|
+
"group": "identity"
|
|
22
|
+
},
|
|
23
|
+
"sources": [
|
|
24
|
+
{
|
|
25
|
+
"title": "OWASP ASVS 4.0.3, V2 Authentication and V3 Session Management",
|
|
26
|
+
"url": "https://owasp.org/www-project-application-security-verification-standard/"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "NIST SP 800-63B, Digital Identity Guidelines: Authentication and Lifecycle Management",
|
|
30
|
+
"url": "https://pages.nist.gov/800-63-3/sp800-63b.html"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "RFC 9700, Best Current Practice for OAuth 2.0 Security",
|
|
34
|
+
"url": "https://www.rfc-editor.org/rfc/rfc9700"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"title": "OpenID Connect Core 1.0",
|
|
38
|
+
"url": "https://openid.net/specs/openid-connect-core-1_0.html"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"templateParams": [
|
|
42
|
+
{
|
|
43
|
+
"key": "IDENTITY",
|
|
44
|
+
"title": "Sign-in",
|
|
45
|
+
"label": "How do people sign in?",
|
|
46
|
+
"hint": "This decides most of what follows: who keeps the passwords, who slows down guessing, and who you depend on to sign in.",
|
|
47
|
+
"defaultValue": "idp",
|
|
48
|
+
"options": [
|
|
49
|
+
{
|
|
50
|
+
"value": "idp",
|
|
51
|
+
"label": "an external identity provider (OpenID Connect)",
|
|
52
|
+
"description": "Entra ID, Okta, Auth0, Keycloak or Google keep the passwords, MFA and lockout. Pick it for business users with a corporate directory, or whenever you would rather not own credentials."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"value": "own",
|
|
56
|
+
"label": "our own user store",
|
|
57
|
+
"description": "You keep accounts, password hashes, lockout and the breach response. Pick it only when a provider is ruled out (cost per user, data residency, offline use) and someone owns it."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"value": "none",
|
|
61
|
+
"label": "nobody signs in",
|
|
62
|
+
"description": "Everything is public and the same for everyone. Pick it for read-only public sites and tools; the decision records it so nothing comes to depend on who is calling."
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"key": "MACHINE",
|
|
68
|
+
"title": "Other systems",
|
|
69
|
+
"label": "How do other systems call it?",
|
|
70
|
+
"hint": "A call from inside the network is not a call from a known system: each caller needs an identity of its own, and its own list of what it may do.",
|
|
71
|
+
"defaultValue": "oauth",
|
|
72
|
+
"options": [
|
|
73
|
+
{
|
|
74
|
+
"value": "oauth",
|
|
75
|
+
"label": "OAuth 2.0 client credentials",
|
|
76
|
+
"description": "Each caller gets a client id and short-lived tokens from the identity provider. Pick it when you have a provider and the callers can use OAuth."
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"value": "mtls",
|
|
80
|
+
"label": "mutual TLS",
|
|
81
|
+
"description": "Each caller holds its own certificate; the connection proves who it is. Pick it inside a service mesh or between companies with a PKI."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "keys",
|
|
85
|
+
"label": "API keys, one per calling system",
|
|
86
|
+
"description": "Simple to hand out and to revoke one by one; they must be rotated and kept out of logs. Pick it for a few partners without OAuth."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"value": "none",
|
|
90
|
+
"label": "none, no other system calls it",
|
|
91
|
+
"description": "Only people reach it. Pick it when the model shows no other system calling."
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "STEP_UP",
|
|
97
|
+
"title": "Second factor",
|
|
98
|
+
"label": "Do some operations need a second factor?",
|
|
99
|
+
"hint": "A stolen session alone should not be enough for the operations that do the most harm: changing permissions, moving money, exporting data.",
|
|
100
|
+
"defaultValue": "yes",
|
|
101
|
+
"options": [
|
|
102
|
+
{
|
|
103
|
+
"value": "yes",
|
|
104
|
+
"label": "yes",
|
|
105
|
+
"description": "Risky operations ask for a second factor confirmed in the last 5 minutes (step-up). Pick it when any operation moves money, changes rights or exports data."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"value": "no",
|
|
109
|
+
"label": "no",
|
|
110
|
+
"description": "A signed-in session may do everything its account may. Pick it only when no operation is worth more than the session itself."
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"key": "SESSION_MINUTES",
|
|
116
|
+
"label": "How long may a session stay idle (minutes)?",
|
|
117
|
+
"defaultValue": "30",
|
|
118
|
+
"type": "number"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"key": "REVOKE_SECONDS",
|
|
122
|
+
"label": "How fast must a revoked session stop working (seconds)?",
|
|
123
|
+
"defaultValue": "60",
|
|
124
|
+
"type": "number"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"key": "PRIVILEGED_OPS",
|
|
128
|
+
"label": "Which operations need a second factor?",
|
|
129
|
+
"defaultValue": "changing permissions, exporting data, payouts"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"nodes": [
|
|
134
|
+
{
|
|
135
|
+
"id": "need",
|
|
136
|
+
"type": "need",
|
|
137
|
+
"label": "Callers are who they claim",
|
|
138
|
+
"x": 0,
|
|
139
|
+
"y": 0,
|
|
140
|
+
"kind": "brief",
|
|
141
|
+
"source": "Hub concern pack: Authentication",
|
|
142
|
+
"description": "People and other systems reach this element from outside. Whatever it does on their behalf rests on knowing who they are: a stolen or guessed credential, a session that outlives its user, a token that cannot be taken back, or a call from a system nobody vouched for each turns into data read or changed by the wrong party. Sign-in also has to stay usable, and the evidence of who did what has to hold up after an incident."
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "req-reject",
|
|
146
|
+
"type": "requirement",
|
|
147
|
+
"label": "Unauthenticated calls refused",
|
|
148
|
+
"x": 260,
|
|
149
|
+
"y": 0,
|
|
150
|
+
"ears_type": "unwanted-behaviour",
|
|
151
|
+
"unwanted_condition": "a request to an operation that is not on the public list carries no credential, or an expired or revoked one",
|
|
152
|
+
"action": "refuse it with 401 before any part of the operation runs, and say nothing about whether the account exists",
|
|
153
|
+
"rationale": "An operation forgotten on the protected side is the most common authentication flaw; the public list makes the exceptions explicit (ASVS V2.1, V3.1).",
|
|
154
|
+
"hubWhen": {
|
|
155
|
+
"IDENTITY": [
|
|
156
|
+
"idp",
|
|
157
|
+
"own"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "req-idle",
|
|
163
|
+
"type": "requirement",
|
|
164
|
+
"label": "Idle sessions end",
|
|
165
|
+
"x": 260,
|
|
166
|
+
"y": 130,
|
|
167
|
+
"ears_type": "event-driven",
|
|
168
|
+
"trigger": "a session has seen no request for {{SESSION_MINUTES}} minutes",
|
|
169
|
+
"action": "end it, so that the next request has to sign in again",
|
|
170
|
+
"rationale": "A session left open on a shared or lost device is a credential nobody is watching (ASVS V3.3, NIST 800-63B 7.2).",
|
|
171
|
+
"hubWhen": {
|
|
172
|
+
"IDENTITY": [
|
|
173
|
+
"idp",
|
|
174
|
+
"own"
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "req-revoke",
|
|
180
|
+
"type": "requirement",
|
|
181
|
+
"label": "Revoked sessions stop",
|
|
182
|
+
"x": 260,
|
|
183
|
+
"y": 260,
|
|
184
|
+
"ears_type": "event-driven",
|
|
185
|
+
"trigger": "a user signs out, or an administrator revokes one session or every session of an account",
|
|
186
|
+
"action": "refuse that session's credentials within {{REVOKE_SECONDS}} seconds on every instance, tokens already issued included",
|
|
187
|
+
"rationale": "Self-contained tokens are valid until they expire unless revocation is designed in; this bounds how long a stolen one keeps working (RFC 9700 4.14).",
|
|
188
|
+
"hubWhen": {
|
|
189
|
+
"IDENTITY": [
|
|
190
|
+
"idp",
|
|
191
|
+
"own"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "req-audit",
|
|
197
|
+
"type": "requirement",
|
|
198
|
+
"label": "Sign-ins are audited",
|
|
199
|
+
"x": 260,
|
|
200
|
+
"y": 390,
|
|
201
|
+
"ears_type": "ubiquitous",
|
|
202
|
+
"action": "record every sign-in, failed sign-in, sign-out and revocation in the audit log with the account, the time, the client and the source address, keep the records for at least 12 months, and never record the credential itself",
|
|
203
|
+
"rationale": "After an incident this is the record of who was in; with the credential in it, the log becomes the leak (ASVS V7.1).",
|
|
204
|
+
"hubWhen": {
|
|
205
|
+
"IDENTITY": [
|
|
206
|
+
"idp",
|
|
207
|
+
"own"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "req-lockout",
|
|
213
|
+
"type": "requirement",
|
|
214
|
+
"label": "Guessing is slowed",
|
|
215
|
+
"x": 260,
|
|
216
|
+
"y": 520,
|
|
217
|
+
"ears_type": "unwanted-behaviour",
|
|
218
|
+
"unwanted_condition": "five sign-ins to one account fail within 15 minutes",
|
|
219
|
+
"action": "delay further attempts on that account and from that source address, longer after each failure up to 15 minutes, and tell the account's owner",
|
|
220
|
+
"rationale": "With your own user store, credential stuffing and guessing hit you directly; an identity provider does this for you (NIST 800-63B 5.2.2).",
|
|
221
|
+
"hubWhen": {
|
|
222
|
+
"IDENTITY": [
|
|
223
|
+
"own"
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "req-passwords",
|
|
229
|
+
"type": "requirement",
|
|
230
|
+
"label": "Passwords stored as hashes",
|
|
231
|
+
"x": 260,
|
|
232
|
+
"y": 650,
|
|
233
|
+
"ears_type": "ubiquitous",
|
|
234
|
+
"action": "store passwords only as Argon2id hashes (at least 19 MiB memory, 2 iterations, 1 lane), accept passwords of 8 to 64 characters, and refuse one found in known breaches",
|
|
235
|
+
"rationale": "A leaked user table must not become a list of working passwords; length and breach checks beat composition rules (OWASP Password Storage Cheat Sheet, NIST 800-63B 5.1.1).",
|
|
236
|
+
"hubWhen": {
|
|
237
|
+
"IDENTITY": [
|
|
238
|
+
"own"
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "req-stepup",
|
|
244
|
+
"type": "requirement",
|
|
245
|
+
"label": "Second factor for risky operations",
|
|
246
|
+
"x": 260,
|
|
247
|
+
"y": 780,
|
|
248
|
+
"ears_type": "event-driven",
|
|
249
|
+
"trigger": "a signed-in user starts one of: {{PRIVILEGED_OPS}}",
|
|
250
|
+
"action": "require a second factor confirmed within the last 5 minutes before running it",
|
|
251
|
+
"rationale": "A stolen session alone must not be enough for the operations that do the most harm (ASVS V2.8, V4.3).",
|
|
252
|
+
"hubWhen": {
|
|
253
|
+
"IDENTITY": [
|
|
254
|
+
"idp",
|
|
255
|
+
"own"
|
|
256
|
+
],
|
|
257
|
+
"STEP_UP": [
|
|
258
|
+
"yes"
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"id": "req-machine",
|
|
264
|
+
"type": "requirement",
|
|
265
|
+
"label": "Calling systems authenticate",
|
|
266
|
+
"x": 260,
|
|
267
|
+
"y": 910,
|
|
268
|
+
"ears_type": "event-driven",
|
|
269
|
+
"trigger": "another system calls the element",
|
|
270
|
+
"action": "require it to authenticate with {{MACHINE}}, with credentials of its own that expire or are rotated within 90 days, and let each caller run only the operations listed for it",
|
|
271
|
+
"rationale": "A call from inside the network is not a call from a known system; each caller gets its own identity and its own list (RFC 9700 2.3).",
|
|
272
|
+
"hubWhen": {
|
|
273
|
+
"MACHINE": [
|
|
274
|
+
"oauth",
|
|
275
|
+
"mtls",
|
|
276
|
+
"keys"
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "req-public",
|
|
282
|
+
"type": "requirement",
|
|
283
|
+
"label": "Public by design",
|
|
284
|
+
"x": 260,
|
|
285
|
+
"y": 1040,
|
|
286
|
+
"ears_type": "ubiquitous",
|
|
287
|
+
"action": "offer no sign-in, session or stored credential, and run only operations that are safe for anyone who reaches it",
|
|
288
|
+
"rationale": "Nobody signs in, so nothing may depend on knowing who the caller is; this makes that a requirement instead of an accident.",
|
|
289
|
+
"hubWhen": {
|
|
290
|
+
"IDENTITY": [
|
|
291
|
+
"none"
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"id": "sc-reject",
|
|
297
|
+
"type": "scenario",
|
|
298
|
+
"label": "Call without credential",
|
|
299
|
+
"x": 520,
|
|
300
|
+
"y": 0,
|
|
301
|
+
"given": "an operation that is not on the public list",
|
|
302
|
+
"when": "it is called without a credential, with an expired one and with a revoked one",
|
|
303
|
+
"then": "each call is refused with 401 and the operation leaves no trace",
|
|
304
|
+
"hubWhen": {
|
|
305
|
+
"IDENTITY": [
|
|
306
|
+
"idp",
|
|
307
|
+
"own"
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"id": "sc-idle",
|
|
313
|
+
"type": "scenario",
|
|
314
|
+
"label": "Idle session ends",
|
|
315
|
+
"x": 520,
|
|
316
|
+
"y": 130,
|
|
317
|
+
"given": "a signed-in session",
|
|
318
|
+
"when": "no request comes for {{SESSION_MINUTES}} minutes and then one does",
|
|
319
|
+
"then": "the request is refused and asks to sign in again",
|
|
320
|
+
"hubWhen": {
|
|
321
|
+
"IDENTITY": [
|
|
322
|
+
"idp",
|
|
323
|
+
"own"
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "sc-revoke",
|
|
329
|
+
"type": "scenario",
|
|
330
|
+
"label": "Revoked session stops",
|
|
331
|
+
"x": 520,
|
|
332
|
+
"y": 260,
|
|
333
|
+
"given": "a signed-in session on two instances",
|
|
334
|
+
"when": "the user signs out on one of them",
|
|
335
|
+
"then": "within {{REVOKE_SECONDS}} seconds both instances refuse its credentials",
|
|
336
|
+
"hubWhen": {
|
|
337
|
+
"IDENTITY": [
|
|
338
|
+
"idp",
|
|
339
|
+
"own"
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"id": "sc-audit",
|
|
345
|
+
"type": "scenario",
|
|
346
|
+
"label": "Sign-in leaves a record",
|
|
347
|
+
"x": 520,
|
|
348
|
+
"y": 390,
|
|
349
|
+
"given": "an account",
|
|
350
|
+
"when": "it signs in, fails to sign in, signs out and has a session revoked",
|
|
351
|
+
"then": "the audit log holds the four events with account, time, client and address, and no credential",
|
|
352
|
+
"hubWhen": {
|
|
353
|
+
"IDENTITY": [
|
|
354
|
+
"idp",
|
|
355
|
+
"own"
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"id": "sc-lockout",
|
|
361
|
+
"type": "scenario",
|
|
362
|
+
"label": "Guessing slowed",
|
|
363
|
+
"x": 520,
|
|
364
|
+
"y": 520,
|
|
365
|
+
"given": "an account",
|
|
366
|
+
"when": "five sign-ins to it fail within 15 minutes",
|
|
367
|
+
"then": "the sixth attempt is delayed and the owner is told",
|
|
368
|
+
"hubWhen": {
|
|
369
|
+
"IDENTITY": [
|
|
370
|
+
"own"
|
|
371
|
+
]
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"id": "sc-passwords",
|
|
376
|
+
"type": "scenario",
|
|
377
|
+
"label": "Breached password refused",
|
|
378
|
+
"x": 520,
|
|
379
|
+
"y": 650,
|
|
380
|
+
"given": "a user setting a password",
|
|
381
|
+
"when": "the password is in a list of breached passwords, and then one that is not",
|
|
382
|
+
"then": "the first is refused; the second is stored as an Argon2id hash, never as the text",
|
|
383
|
+
"hubWhen": {
|
|
384
|
+
"IDENTITY": [
|
|
385
|
+
"own"
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "sc-stepup",
|
|
391
|
+
"type": "scenario",
|
|
392
|
+
"label": "Risky operation asks again",
|
|
393
|
+
"x": 520,
|
|
394
|
+
"y": 780,
|
|
395
|
+
"given": "a signed-in user whose second factor is older than 5 minutes",
|
|
396
|
+
"when": "the user starts one of: {{PRIVILEGED_OPS}}",
|
|
397
|
+
"then": "it runs only after the second factor is confirmed",
|
|
398
|
+
"hubWhen": {
|
|
399
|
+
"IDENTITY": [
|
|
400
|
+
"idp",
|
|
401
|
+
"own"
|
|
402
|
+
],
|
|
403
|
+
"STEP_UP": [
|
|
404
|
+
"yes"
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"id": "sc-machine",
|
|
410
|
+
"type": "scenario",
|
|
411
|
+
"label": "Unknown system refused",
|
|
412
|
+
"x": 520,
|
|
413
|
+
"y": 910,
|
|
414
|
+
"given": "a calling system with its own identity and list of operations",
|
|
415
|
+
"when": "it calls an operation on its list, one off its list, and a third system calls without authenticating",
|
|
416
|
+
"then": "only the first call runs",
|
|
417
|
+
"hubWhen": {
|
|
418
|
+
"MACHINE": [
|
|
419
|
+
"oauth",
|
|
420
|
+
"mtls",
|
|
421
|
+
"keys"
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "sc-public",
|
|
427
|
+
"type": "scenario",
|
|
428
|
+
"label": "No sign-in surface",
|
|
429
|
+
"x": 520,
|
|
430
|
+
"y": 1040,
|
|
431
|
+
"given": "the element as deployed",
|
|
432
|
+
"when": "every route or command it offers is listed",
|
|
433
|
+
"then": "none signs in, keeps a session or stores a credential",
|
|
434
|
+
"hubWhen": {
|
|
435
|
+
"IDENTITY": [
|
|
436
|
+
"none"
|
|
437
|
+
]
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"id": "adr-idp",
|
|
442
|
+
"type": "adr",
|
|
443
|
+
"label": "Users sign in through an identity provider",
|
|
444
|
+
"x": 780,
|
|
445
|
+
"y": 0,
|
|
446
|
+
"concern": "authentication",
|
|
447
|
+
"status": "accepted",
|
|
448
|
+
"date": "",
|
|
449
|
+
"context": "People or other systems reach this element from outside, so it must know who is calling before it acts for them. The forces: credentials leak and get guessed (credential stuffing tries billions of leaked pairs); sessions outlive the person on a shared or lost device; self-contained tokens stay valid until they expire unless revocation is designed in; other systems call too, and a call from inside the network is not a call from a known system; and after an incident the record of who did what has to hold.",
|
|
450
|
+
"decision": "Users sign in through an external identity provider with OpenID Connect (authorization code flow with PKCE); we store no password. Sessions end after {{SESSION_MINUTES}} minutes without a request and are revoked within {{REVOKE_SECONDS}} seconds: access tokens live no longer than that, and refresh tokens are rotated on use and checked against a revocation list. Calls from other systems: {{MACHINE}}. Operations open without sign-in are on a public list kept in the code. Choosing the provider: the one the users' organisation already runs (Entra ID, Okta, Google Workspace) for business users; Auth0, Cognito or Keycloak for consumers, by cost per active user and where the data may be kept.",
|
|
451
|
+
"consequences": "• No passwords to store, reset or leak; MFA, lockout and breached-password checks come from the provider.\n• The provider is on the sign-in path: when it is down nobody new signs in, sessions already open keep working until they expire.\n• Revocation within {{REVOKE_SECONDS}} s means short-lived access tokens and a refresh on every expiry, a little more traffic to the provider.\n• Who may do what (authorisation) is still yours to design: a valid token says who, not what.",
|
|
452
|
+
"alternatives": "1. Our own user store: full control of the experience, but you own password storage, lockout, MFA and breach response.\n2. Server-side sessions only (cookies): simple for one web app, awkward for APIs called by other systems and mobile clients.\n3. Long-lived tokens without revocation: fewer calls to the provider, but a stolen token works until it expires.",
|
|
453
|
+
"hubWhen": {
|
|
454
|
+
"IDENTITY": [
|
|
455
|
+
"idp"
|
|
456
|
+
]
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"id": "adr-own",
|
|
461
|
+
"type": "adr",
|
|
462
|
+
"label": "Users sign in with our own user store",
|
|
463
|
+
"x": 780,
|
|
464
|
+
"y": 130,
|
|
465
|
+
"concern": "authentication",
|
|
466
|
+
"status": "accepted",
|
|
467
|
+
"date": "",
|
|
468
|
+
"context": "People or other systems reach this element from outside, so it must know who is calling before it acts for them. The forces: credentials leak and get guessed (credential stuffing tries billions of leaked pairs); sessions outlive the person on a shared or lost device; self-contained tokens stay valid until they expire unless revocation is designed in; other systems call too, and a call from inside the network is not a call from a known system; and after an incident the record of who did what has to hold.",
|
|
469
|
+
"decision": "Users sign in with an account in our own user store: passwords kept as Argon2id hashes, failed attempts slowed per account and per address, breached passwords refused (Have I Been Pwned range API). Sessions end after {{SESSION_MINUTES}} minutes without a request and are revoked within {{REVOKE_SECONDS}} seconds; session state lives on the server, so revoking is deleting it. Calls from other systems: {{MACHINE}}. Operations open without sign-in are on a public list kept in the code. Use the framework's maintained identity library (ASP.NET Core Identity, Spring Security, Devise, Lucia) rather than code of our own.",
|
|
470
|
+
"consequences": "• We own the whole of sign-in: password storage, resets, lockout, MFA and the response to a breach.\n• No third party on the sign-in path, and no per-user cost of a provider.\n• Server-side sessions make revocation immediate, but every instance needs the session store.\n• Single sign-on with customers' own identity providers is a later project.",
|
|
471
|
+
"alternatives": "1. An external identity provider (OpenID Connect): no passwords to keep, MFA and lockout included, but a dependency on the sign-in path and a cost per user.\n2. Passwordless sign-in by e-mail link or passkeys only: nothing to guess, but sign-in is as safe as the mailbox or needs passkey support everywhere.",
|
|
472
|
+
"hubWhen": {
|
|
473
|
+
"IDENTITY": [
|
|
474
|
+
"own"
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": "adr-none",
|
|
480
|
+
"type": "adr",
|
|
481
|
+
"label": "Nobody signs in",
|
|
482
|
+
"x": 780,
|
|
483
|
+
"y": 260,
|
|
484
|
+
"concern": "authentication",
|
|
485
|
+
"status": "accepted",
|
|
486
|
+
"date": "",
|
|
487
|
+
"context": "People or other systems reach this element from outside, so it must know who is calling before it acts for them. The forces: credentials leak and get guessed (credential stuffing tries billions of leaked pairs); sessions outlive the person on a shared or lost device; self-contained tokens stay valid until they expire unless revocation is designed in; other systems call too, and a call from inside the network is not a call from a known system; and after an incident the record of who did what has to hold. Here nobody needs to be told apart: the element serves the same to everyone who reaches it.",
|
|
488
|
+
"decision": "The element has no sign-in, no session and keeps no credential; everything it offers is public and safe for anyone who reaches it. Calls from other systems: {{MACHINE}}. Anything that would need to know who is calling is out of scope until this decision is superseded.",
|
|
489
|
+
"consequences": "• Nothing to steal at sign-in and nothing to revoke.\n• Any feature that depends on who the user is (their own data, rights, an audit of who did what) needs this decision superseded first.\n• Abuse is limited by what the element offers, not by who asks: rate limits and the shape of the operations matter more.",
|
|
490
|
+
"alternatives": "1. Sign-in through an external identity provider, kept for later.\n2. A shared secret for everyone: no real identity, and a secret everyone knows is not one.",
|
|
491
|
+
"hubWhen": {
|
|
492
|
+
"IDENTITY": [
|
|
493
|
+
"none"
|
|
494
|
+
]
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"id": "ff-reject",
|
|
499
|
+
"type": "fitness-fn",
|
|
500
|
+
"label": "Unauthenticated calls refused",
|
|
501
|
+
"x": 1040,
|
|
502
|
+
"y": 0,
|
|
503
|
+
"category": "structural",
|
|
504
|
+
"threshold": "Every operation not on the public list answers 401 without a credential and with an expired one; 0 operations outside the public list answer anything else",
|
|
505
|
+
"description": "A test lists the element's operations from its router (not from a list kept by hand), calls each without a credential and with an expired one, and expects 401 from every one that is not on the public list. A new operation fails the test until it is protected or added to the public list, which shows up in the pull request.\n\nTool: Vitest with supertest (or the test runner and HTTP client of your stack)\n\n```ts\nimport request from 'supertest'\nimport { app, routes } from '../src/app' // routes: the router's table\nimport { PUBLIC } from '../src/auth/publicRoutes' // the public list, in the code\n\ndescribe.each(routes.filter((r) => !PUBLIC.has(`${r.method} ${r.path}`)))('%s %s', (route) => {\n it('refuses a call without a credential', async () => {\n await request(app)[route.method.toLowerCase()](route.example).expect(401)\n })\n it('refuses an expired token', async () => {\n await request(app)[route.method.toLowerCase()](route.example).set('Authorization', `Bearer ${EXPIRED}`).expect(401)\n })\n})\n```",
|
|
506
|
+
"hubWhen": {
|
|
507
|
+
"IDENTITY": [
|
|
508
|
+
"idp",
|
|
509
|
+
"own"
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"id": "ff-session",
|
|
515
|
+
"type": "fitness-fn",
|
|
516
|
+
"label": "Session limits hold",
|
|
517
|
+
"x": 1040,
|
|
518
|
+
"y": 130,
|
|
519
|
+
"category": "operational",
|
|
520
|
+
"threshold": "An idle session ends after {{SESSION_MINUTES}} minutes; a revoked one is refused within {{REVOKE_SECONDS}} seconds on every instance",
|
|
521
|
+
"description": "An integration test signs in on two instances, revokes the session on one and polls the other until it refuses, failing past {{REVOKE_SECONDS}} seconds; a second test advances the clock past {{SESSION_MINUTES}} idle minutes and expects the next request to be refused.\n\nTool: Vitest (fake timers) against two instances started by Testcontainers or docker compose\n\n```ts\nit('a revoked session stops on every instance in time', async () => {\n const token = await signIn(instanceA)\n await signOut(instanceA, token)\n const started = Date.now()\n while ((await call(instanceB, token)).status !== 401) {\n expect(Date.now() - started).toBeLessThan(REVOKE_SECONDS * 1000)\n await sleep(1000)\n }\n})\n```",
|
|
522
|
+
"hubWhen": {
|
|
523
|
+
"IDENTITY": [
|
|
524
|
+
"idp",
|
|
525
|
+
"own"
|
|
526
|
+
]
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"id": "ff-none",
|
|
531
|
+
"type": "fitness-fn",
|
|
532
|
+
"label": "Nothing to sign in to",
|
|
533
|
+
"x": 1040,
|
|
534
|
+
"y": 260,
|
|
535
|
+
"category": "structural",
|
|
536
|
+
"threshold": "No operation signs in, starts a session or reads a credential, and no authentication library is a dependency",
|
|
537
|
+
"description": "A dependency rule fails the build when an authentication or session library is added, which would mean a sign-in arrived without its decision.\n\nTool: dependency-cruiser\n\n```js\n// .dependency-cruiser.cjs\nmodule.exports = {\n forbidden: [{\n name: 'no-authentication',\n comment: 'ADR Nobody signs in: supersede it before adding sign-in',\n severity: 'error',\n from: {},\n to: { path: 'node_modules/(passport|next-auth|@auth/|express-session|jsonwebtoken|oidc-client)' },\n }],\n}\n```",
|
|
538
|
+
"hubWhen": {
|
|
539
|
+
"IDENTITY": [
|
|
540
|
+
"none"
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"relations": [
|
|
546
|
+
{
|
|
547
|
+
"id": "req-reject--derives--need",
|
|
548
|
+
"sourceId": "req-reject",
|
|
549
|
+
"targetId": "need",
|
|
550
|
+
"relationType": "derives"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"id": "req-idle--derives--need",
|
|
554
|
+
"sourceId": "req-idle",
|
|
555
|
+
"targetId": "need",
|
|
556
|
+
"relationType": "derives"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"id": "req-revoke--derives--need",
|
|
560
|
+
"sourceId": "req-revoke",
|
|
561
|
+
"targetId": "need",
|
|
562
|
+
"relationType": "derives"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"id": "req-audit--derives--need",
|
|
566
|
+
"sourceId": "req-audit",
|
|
567
|
+
"targetId": "need",
|
|
568
|
+
"relationType": "derives"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"id": "req-lockout--derives--need",
|
|
572
|
+
"sourceId": "req-lockout",
|
|
573
|
+
"targetId": "need",
|
|
574
|
+
"relationType": "derives"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"id": "req-passwords--derives--need",
|
|
578
|
+
"sourceId": "req-passwords",
|
|
579
|
+
"targetId": "need",
|
|
580
|
+
"relationType": "derives"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"id": "req-stepup--derives--need",
|
|
584
|
+
"sourceId": "req-stepup",
|
|
585
|
+
"targetId": "need",
|
|
586
|
+
"relationType": "derives"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"id": "req-machine--derives--need",
|
|
590
|
+
"sourceId": "req-machine",
|
|
591
|
+
"targetId": "need",
|
|
592
|
+
"relationType": "derives"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"id": "req-public--derives--need",
|
|
596
|
+
"sourceId": "req-public",
|
|
597
|
+
"targetId": "need",
|
|
598
|
+
"relationType": "derives"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"id": "sc-reject--verifies--req-reject",
|
|
602
|
+
"sourceId": "sc-reject",
|
|
603
|
+
"targetId": "req-reject",
|
|
604
|
+
"relationType": "verifies"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"id": "sc-idle--verifies--req-idle",
|
|
608
|
+
"sourceId": "sc-idle",
|
|
609
|
+
"targetId": "req-idle",
|
|
610
|
+
"relationType": "verifies"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"id": "sc-revoke--verifies--req-revoke",
|
|
614
|
+
"sourceId": "sc-revoke",
|
|
615
|
+
"targetId": "req-revoke",
|
|
616
|
+
"relationType": "verifies"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"id": "sc-audit--verifies--req-audit",
|
|
620
|
+
"sourceId": "sc-audit",
|
|
621
|
+
"targetId": "req-audit",
|
|
622
|
+
"relationType": "verifies"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"id": "sc-lockout--verifies--req-lockout",
|
|
626
|
+
"sourceId": "sc-lockout",
|
|
627
|
+
"targetId": "req-lockout",
|
|
628
|
+
"relationType": "verifies"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"id": "sc-passwords--verifies--req-passwords",
|
|
632
|
+
"sourceId": "sc-passwords",
|
|
633
|
+
"targetId": "req-passwords",
|
|
634
|
+
"relationType": "verifies"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"id": "sc-stepup--verifies--req-stepup",
|
|
638
|
+
"sourceId": "sc-stepup",
|
|
639
|
+
"targetId": "req-stepup",
|
|
640
|
+
"relationType": "verifies"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"id": "sc-machine--verifies--req-machine",
|
|
644
|
+
"sourceId": "sc-machine",
|
|
645
|
+
"targetId": "req-machine",
|
|
646
|
+
"relationType": "verifies"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"id": "sc-public--verifies--req-public",
|
|
650
|
+
"sourceId": "sc-public",
|
|
651
|
+
"targetId": "req-public",
|
|
652
|
+
"relationType": "verifies"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"id": "ff-reject--implements--adr-idp",
|
|
656
|
+
"sourceId": "ff-reject",
|
|
657
|
+
"targetId": "adr-idp",
|
|
658
|
+
"relationType": "implements"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"id": "ff-reject--implements--adr-own",
|
|
662
|
+
"sourceId": "ff-reject",
|
|
663
|
+
"targetId": "adr-own",
|
|
664
|
+
"relationType": "implements"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"id": "ff-session--implements--adr-idp",
|
|
668
|
+
"sourceId": "ff-session",
|
|
669
|
+
"targetId": "adr-idp",
|
|
670
|
+
"relationType": "implements"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"id": "ff-session--implements--adr-own",
|
|
674
|
+
"sourceId": "ff-session",
|
|
675
|
+
"targetId": "adr-own",
|
|
676
|
+
"relationType": "implements"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"id": "ff-none--implements--adr-none",
|
|
680
|
+
"sourceId": "ff-none",
|
|
681
|
+
"targetId": "adr-none",
|
|
682
|
+
"relationType": "implements"
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
}
|