docs: expand lint scope batch30 (2 files)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# 33 — API Gateway Security & PEP (MicroDAO)
|
||||
|
||||
*API Gateway Architecture, Policy Enforcement Point (PEP), Rate Limiting, Key Validation, PDP Integration, Embassy/Webhook Security, Usage Accounting*
|
||||
API Gateway Architecture, Policy Enforcement Point (PEP), Rate Limiting, Key
|
||||
Validation, PDP Integration, Embassy/Webhook Security, Usage Accounting.
|
||||
|
||||
---
|
||||
|
||||
@@ -28,7 +29,7 @@ API Gateway — це **єдина точка входу** для всіх зов
|
||||
|
||||
## 2. High-level Architecture
|
||||
|
||||
```
|
||||
```text
|
||||
┌──────────────────────────┐
|
||||
│ Load Balancer │
|
||||
└─────────────┬────────────┘
|
||||
@@ -203,7 +204,7 @@ reason
|
||||
quota_status
|
||||
```
|
||||
|
||||
### 7.1 Hard-deny reasons:
|
||||
### 7.1 Hard-deny reasons
|
||||
|
||||
- key_invalid
|
||||
- capability_missing
|
||||
@@ -308,7 +309,7 @@ if resource.mode == confidential:
|
||||
|
||||
Для платформи (EnergyUnion, GREENFOOD, Water Union):
|
||||
|
||||
### 11.1 Gateway виконує:
|
||||
### 11.1 Gateway виконує
|
||||
|
||||
1. Перевірка HMAC:
|
||||
|
||||
@@ -333,7 +334,7 @@ if resource.mode == confidential:
|
||||
4. Quota-check (events per day)
|
||||
5. Forward до Embassy Service
|
||||
|
||||
### 11.2 Відмова у разі:
|
||||
### 11.2 Відмова у разі
|
||||
|
||||
- HMAC mismatch
|
||||
- expired timestamp
|
||||
@@ -533,5 +534,3 @@ API Gateway / PEP — це:
|
||||
|
||||
**Версія:** 1.0
|
||||
**Останнє оновлення:** 2024-11-14
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user