# rathodbhagita/secops-efficiency-suite-v3 architecture

> Architecture diagram of the GitHub repository rathodbhagita/secops-efficiency-suite-v3, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rathodbhagita/secops-efficiency-suite-v3
- Repository: https://github.com/rathodbhagita/secops-efficiency-suite-v3

## Overview

Google SecOps AI Efficiency Suite V2 is a SOC console and FastAPI service for querying an ADK/Gemini agent and viewing security dashboards. Its documented workflows cover EPSS-based vulnerability ranking, alert correlation, SOAR failure diagnosis, UDM telemetry, and threat-intelligence aggregation; expanded tools add incident reporting, security-code generation, and agentic-security audits. The README and sampled backend excerpt establish the main routes and some integrations; unsampled module internals are represented from documented capabilities, without asserting unverified call chains.

Main entry points: [`app/main.py`](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/main.py) (FastAPI service), [`frontend/static/index.html`](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/frontend/static/index.html) (SOC console UI), [`app/agent.py`](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/agent.py) (ADK root agent), [`app/tools/vuln_prioritization.py`](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/vuln_prioritization.py) (EPSS scoring)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application and agent"]
  node_api["FastAPI service<br/>[main.py]"]
  node_root_agent["ADK root agent<br/>[agent.py]"]
end

subgraph group_secops["SecOps workflows"]
  node_epss["EPSS scoring"]
  node_correlation["Incident correlation"]
  node_soar["SOAR diagnostics"]
  node_threat_intel["Threat intelligence<br/>[threat_intel.py]"]
  node_expanded["Extended SecOps tools"]
end

subgraph group_telemetry["Telemetry"]
  node_telemetry_stream["UDM event stream<br/>[live_stream.py]"]
  node_udm_schema["UDM schema<br/>[udm_schema.py]"]
end

subgraph group_console["SOC console"]
  node_console_ui["SOC console UI<br/>[index.html]"]
end

node_analyst(("SOC analyst"))
node_browser(("Console browser"))
node_gemini{{"Gemini model"}}
node_first_api{{"FIRST EPSS API"}}
node_intel_sources{{"Threat news and KEV"}}

node_analyst -->|"uses"| node_browser
node_browser -->|"loads"| node_console_ui
node_console_ui -->|"sends queries"| node_api
node_api -->|"runs query"| node_root_agent
node_root_agent -->|"generates responses"| node_gemini
node_api -->|"ranks vulnerabilities"| node_epss
node_epss -->|"fetches scores"| node_first_api
node_api -->|"provides workflow"| node_correlation
node_api -->|"provides workflow"| node_soar
node_api -->|"refreshes cache"| node_threat_intel
node_threat_intel -->|"aggregates feeds"| node_intel_sources
node_api -->|"integrates tools"| node_expanded
node_api -->|"starts stream"| node_telemetry_stream
node_telemetry_stream -.->|"emits events"| node_udm_schema
node_console_ui -->|"views dashboards"| node_api

click node_api "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/main.py"
click node_root_agent "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/agent.py"
click node_epss "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/vuln_prioritization.py"
click node_correlation "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/incident_correlation.py"
click node_soar "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/soar_diagnostics.py"
click node_threat_intel "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/threat_intel.py"
click node_expanded "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/expanded_secops_tools.py"
click node_telemetry_stream "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/telemetry/live_stream.py"
click node_udm_schema "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/telemetry/udm_schema.py"
click node_console_ui "https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/frontend/static/index.html"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_api,node_root_agent,node_browser toneBlue
class node_epss,node_correlation,node_soar,node_threat_intel,node_expanded toneAmber
class node_telemetry_stream,node_udm_schema,node_first_api toneMint
class node_console_ui toneRose
class node_analyst,node_gemini,node_intel_sources toneIndigo
```

## Components

### Application and agent

- [FastAPI service](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/main.py): `app/main.py`
- [ADK root agent](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/agent.py): `app/agent.py`

### SecOps workflows

- [EPSS scoring](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/vuln_prioritization.py): `app/tools/vuln_prioritization.py`
- [Incident correlation](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/incident_correlation.py): `app/tools/incident_correlation.py`
- [SOAR diagnostics](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/soar_diagnostics.py): `app/tools/soar_diagnostics.py`
- [Threat intelligence](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/threat_intel.py): `app/tools/threat_intel.py`
- [Extended SecOps tools](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/tools/expanded_secops_tools.py): `app/tools/expanded_secops_tools.py`

### Telemetry

- [UDM event stream](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/telemetry/live_stream.py): `app/telemetry/live_stream.py`
- [UDM schema](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/app/telemetry/udm_schema.py): `app/telemetry/udm_schema.py`

### SOC console

- [SOC console UI](https://github.com/rathodbhagita/secops-efficiency-suite-v3/blob/main/frontend/static/index.html): `frontend/static/index.html`

### Other components

- **SOC analyst**
- **Console browser**
- **Gemini model**
- **FIRST EPSS API**
- **Threat news and KEV**

## Connections

- SOC analyst → Console browser: uses (evidence: `README.md`)
- Console browser → SOC console UI: loads (evidence: `README.md`)
- SOC console UI → FastAPI service: sends queries (evidence: `README.md`)
- FastAPI service → ADK root agent: runs query (evidence: `app/main.py`)
- ADK root agent → Gemini model: generates responses (evidence: `README.md`)
- FastAPI service → EPSS scoring: ranks vulnerabilities (evidence: `README.md`)
- EPSS scoring → FIRST EPSS API: fetches scores (evidence: `app/tools/vuln_prioritization.py`)
- FastAPI service → Incident correlation: provides workflow (evidence: `README.md`)
- FastAPI service → SOAR diagnostics: provides workflow (evidence: `README.md`)
- FastAPI service → Threat intelligence: refreshes cache (evidence: `app/main.py`)
- Threat intelligence → Threat news and KEV: aggregates feeds (evidence: `README.md`)
- FastAPI service → Extended SecOps tools: integrates tools (evidence: `README.md`)
- FastAPI service → UDM event stream: starts stream (evidence: `app/main.py`)
- UDM event stream → UDM schema: emits events
- SOC console UI → FastAPI service: views dashboards (evidence: `README.md`)
