Skip to content

Latest commit

 

History

History
65 lines (58 loc) · 2.64 KB

File metadata and controls

65 lines (58 loc) · 2.64 KB

Feature docs

One doc per feature, each explaining how it works with Mermaid diagrams. Diagrams render on GitHub and in most Markdown viewers.

How the whole system fits together

flowchart LR
    subgraph Frontends["Frontends (thin adapters)"]
        CLI["CLI · dsecrat"]
        HTTP["HTTP API"]
        WEB["Web dashboard"]
        CONN["Connectors out"]
    end
    subgraph Core["Engine (core)"]
        REG["Module registry"]
        ENG["Engine: run · aggregate · sort · gate"]
        MODEL["Domain model<br/>Target · Finding · Report · SBOM"]
    end
    subgraph Modules["Capability modules"]
        M1["dockerfile"]
        M2["sbom"]
        M3["vuln"]
        M4["secrets"]
        M5["imageaudit"]
        M6["dockerbench / kubebench"]
        M7["verify"]
        M8["rbac / attacksim"]
    end
    CLI & HTTP & WEB --> ENG
    ENG --> REG --> Modules
    Modules --> MODEL --> ENG
    ENG --> FMT["Formatters<br/>table · json · sarif"] --> CONN
Loading

The rule: one engine, many frontends. Every capability is a module that reads a Target and returns Findings; the moment it registers, it shows up in the CLI, HTTP API, web UI, and connectors for free.

Index

Feature Doc Domain Status
Engine & data model engine.md
Frontends (CLI/HTTP/Web) frontends.md
Connectors (out) connectors.md
Dockerfile static analysis dockerfile.md 3
SBOM generation sbom.md 1
Vulnerability scanning vuln.md 2
Secret detection secrets.md 7
Built-image CIS audit imageaudit.md 3,10
Compliance benchmarks compliance.md 10
Supply-chain (sign/verify/attest/registry) supplychain.md 9,13
Identity / RBAC risk rbac.md 15
Attack simulation (validation) attacksim.md 14
Policy & admission policy.md 8
Runtime detection (eBPF) runtime.md 4,5,11
Network egress control network.md 6
Sandboxing & hardening sandbox.md 12
Platform (store/MCP/plugins) platform.md all

✅ = built, tested, registered. Every capability domain has a registered module — dsecrat modules lists them all. Additional gates (license policy, malware layer scan, offline Kubernetes-manifest lint, cloud-IAM risk, and the Docker daemon authorization plugin) register alongside these.