# jacobm3/google-secops-utils architecture

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

- Interactive diagram: https://gitdiagram.com/jacobm3/google-secops-utils
- Repository: https://github.com/jacobm3/google-secops-utils

## Overview

This repository is a small collection of Google SecOps utilities and reference material, not a single application pipeline. The demonstrated runtime workflow is to run a connector-health script with environment-configured SOAR access, request connector data, and print the JSON response. The three scripts separately list connectors, fetch connector details, and fetch connector statistics. Dashboard queries and search materials are documented in the tree, but their contents and runtime relationships were not sampled, so they are represented as standalone references. The sampled scripts call the external SOAR API; no relationships among the reference materials are established.

Main entry points: [`connector-health/list-connectors.py`](https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/list-connectors.py) (List Connectors), [`connector-health/get-connector-detail.py`](https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/get-connector-detail.py) (Connector Detail), [`connector-health/get-connector-stats.py`](https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/get-connector-stats.py) (Connector Statistics)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_connector_health["Connector Health"]
  node_list_connectors["List Connectors<br/>[list-connectors.py]"]
  node_connector_detail["Connector Detail"]
  node_connector_stats["Connector Statistics"]
end

subgraph group_dashboard_refs["Dashboard Queries"]
  node_dashboard_queries["Queries<br/>[queries.md]"]
end

subgraph group_search_refs["Search Resources"]
  node_search_workshop["Search Workshop"]
  node_search_solutions["Search Solutions<br/>[solutions.txt]"]
  node_search_strings["Search Strings<br/>[strings.txt]"]
end

node_operator(("Operator"))
node_soar_api{{"SOAR API"}}

node_operator -.->|"runs"| node_list_connectors
node_operator -.->|"runs"| node_connector_detail
node_operator -.->|"runs"| node_connector_stats
node_list_connectors -->|"requests list"| node_soar_api
node_connector_detail -->|"requests details"| node_soar_api
node_connector_stats -->|"requests statistics"| node_soar_api

click node_list_connectors "https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/list-connectors.py"
click node_connector_detail "https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/get-connector-detail.py"
click node_connector_stats "https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/get-connector-stats.py"
click node_dashboard_queries "https://github.com/jacobm3/google-secops-utils/blob/main/dashboards/queries.md"
click node_search_workshop "https://github.com/jacobm3/google-secops-utils/blob/main/search/2024-12%20Workshop%20-%20Searching%20with%20Google%20SecOps.pdf"
click node_search_solutions "https://github.com/jacobm3/google-secops-utils/blob/main/search/solutions/solutions.txt"
click node_search_strings "https://github.com/jacobm3/google-secops-utils/blob/main/search/strings.txt"

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_list_connectors,node_connector_detail,node_connector_stats toneBlue
class node_dashboard_queries toneAmber
class node_search_workshop,node_search_solutions,node_search_strings,node_soar_api toneMint
class node_operator toneIndigo
```

## Components

### Connector Health

- [List Connectors](https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/list-connectors.py): `connector-health/list-connectors.py`
- [Connector Detail](https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/get-connector-detail.py): `connector-health/get-connector-detail.py`
- [Connector Statistics](https://github.com/jacobm3/google-secops-utils/blob/main/connector-health/get-connector-stats.py): `connector-health/get-connector-stats.py`

### Dashboard Queries

- [Queries](https://github.com/jacobm3/google-secops-utils/blob/main/dashboards/queries.md): `dashboards/queries.md`

### Search Resources

- [Search Workshop](https://github.com/jacobm3/google-secops-utils/blob/main/search/2024-12%20Workshop%20-%20Searching%20with%20Google%20SecOps.pdf): `search/2024-12 Workshop - Searching with Google SecOps.pdf`
- [Search Solutions](https://github.com/jacobm3/google-secops-utils/blob/main/search/solutions/solutions.txt): `search/solutions/solutions.txt`
- [Search Strings](https://github.com/jacobm3/google-secops-utils/blob/main/search/strings.txt): `search/strings.txt`

### Other components

- **Operator**
- **SOAR API**

## Connections

- Operator → List Connectors: runs
- Operator → Connector Detail: runs
- Operator → Connector Statistics: runs
- List Connectors → SOAR API: requests list (evidence: `connector-health/list-connectors.py`)
- Connector Detail → SOAR API: requests details (evidence: `connector-health/get-connector-detail.py`)
- Connector Statistics → SOAR API: requests statistics (evidence: `connector-health/get-connector-stats.py`)
