docs consolidation work
This commit is contained in:
@@ -54,12 +54,12 @@ sequenceDiagram
|
||||
autonumber
|
||||
participant Trigger as Trigger (CLI / Console / Change Stream)
|
||||
participant Orchestrator as Policy Orchestrator
|
||||
participant Queue as Scheduler Queue (Mongo/NATS)
|
||||
participant Queue as Scheduler Queue (PostgreSQL/NATS)
|
||||
participant Engine as Policy Engine Workers
|
||||
participant Concelier as Concelier Service
|
||||
participant Excititor as Excititor Service
|
||||
participant SBOM as SBOM Service
|
||||
participant Store as Mongo (policy_runs & effective_finding_*)
|
||||
participant Store as PostgreSQL (policy_runs & effective_finding_*)
|
||||
participant Observability as Metrics/Events
|
||||
|
||||
Trigger->>Orchestrator: Run request (mode, scope, env)
|
||||
@@ -78,9 +78,9 @@ sequenceDiagram
|
||||
|
||||
- **Trigger** – CLI, Console, or automated change stream publishes a `PolicyRunRequest`.
|
||||
- **Orchestrator** – Runs inside `StellaOps.Policy.Engine` worker host; applies fairness (tenant + policy quotas) and idempotency using run keys.
|
||||
- **Queue** – Backed by Mongo + optional NATS for fan-out; supports leases and replay on crash.
|
||||
- **Queue** – Backed by PostgreSQL + optional NATS for fan-out; supports leases and replay on crash.
|
||||
- **Engine** – Stateless worker executing the deterministic evaluator.
|
||||
- **Store** – Mongo collections: `policy_runs`, `effective_finding_{policyId}`, `policy_run_events` (append-only history), optional object storage for explain traces.
|
||||
- **Store** – PostgreSQL tables: `policy_runs`, `effective_finding_{policyId}`, `policy_run_events` (append-only history), optional object storage for explain traces.
|
||||
- **Observability** – Prometheus metrics (`policy_run_seconds`, `policy_simulation_queue_depth`, `policy_simulation_latency_seconds`), OTLP traces, structured logs.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user