# chronicle/content-hub architecture

> Architecture diagram of the GitHub repository chronicle/content-hub, 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/chronicle/content-hub
- Repository: https://github.com/chronicle/content-hub

## Overview

This is the Google SecOps Content Hub: community response integrations and playbooks, with shared development tooling and TIPCommon support. The principal workflow is a contributor building an integration that connects SecOps to an external product; the README also says contributions are verified and published. The tree shows many provider-specific action, connector, and manager modules, but sampled code covers only a few. Accordingly, provider families are represented at subsystem level, and unsampled relationships are not asserted.

Main entry points: [`packages/mp/src/mp/main.py`](https://github.com/chronicle/content-hub/blob/main/packages/mp/src/mp/main.py) (mp CLI), [`content/response_integrations/google`](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google) (Response integrations), [`packages/mp/src/mp/describe/regression_test/orchestrator.py`](https://github.com/chronicle/content-hub/blob/main/packages/mp/src/mp/describe/regression_test/orchestrator.py) (Regression comparison), [`packages/mp/src/mp/describe`](https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/describe) (Content description)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["SecOps content"]
  node_content_hub["Response integrations"]
  node_active_directory["Directory actions"]
  node_cloud_storage["Cloud storage"]
  node_cloud_storage_parser["Storage parsing"]
  node_live_response["Live response"]
  node_mcafee["Endpoint security<br/>[McAfeeManager.py]"]
  node_awswaf["Web firewall<br/>[AWSWAFManager.py]"]
  node_sonicwall["Network security"]
  node_threat_tools["Threat intelligence"]
  node_event_tools["Event connectors"]
  node_email_utilities["Email utilities<br/>[EmailManager.py]"]
  node_playbooks["Playbook content"]
end

subgraph group_tooling["Contributor tooling"]
  node_mp_cli["mp CLI<br/>[main.py]"]
  node_project_build["Project build"]
  node_content_checks["Content checks"]
  node_describe["Content description"]
  node_regression["Regression comparison<br/>[orchestrator.py]"]
  node_integration_testing["Integration testing"]
end

subgraph group_shared["Shared runtime"]
  node_tipcommon["TIPCommon"]
end

node_contributor(("Contributor"))
node_platform(("Google SecOps"))
node_external_products(("External security products"))

node_contributor -->|"develops"| node_content_hub
node_content_hub -->|"connects"| node_platform
node_content_hub -->|"integrates"| node_external_products
node_contributor -->|"uses"| node_mp_cli
node_mp_cli -->|"registers"| node_project_build
node_mp_cli -->|"registers"| node_content_checks
node_mp_cli -->|"registers"| node_describe
node_mp_cli -->|"registers"| node_regression
node_regression -->|"invokes"| node_describe
node_cloud_storage -->|"parses"| node_cloud_storage_parser
node_live_response -.->|"manages files"| node_external_products
node_mcafee -.->|"queries agents"| node_external_products
node_awswaf -.->|"manages firewall"| node_external_products
node_sonicwall -.->|"manages policies"| node_external_products

click node_content_hub "https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google"
click node_active_directory "https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/active_directory/actions"
click node_cloud_storage "https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/google_cloud_storage/core"
click node_cloud_storage_parser "https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/google_cloud_storage/core/GoogleCloudStorageParser.py"
click node_live_response "https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/cb_live_response/actions"
click node_mcafee "https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/mc_afee_epo/core/McAfeeManager.py"
click node_awswaf "https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/awswaf/core/AWSWAFManager.py"
click node_sonicwall "https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/sonic_wall_beta/core/SonicWallManager.py"
click node_threat_tools "https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/anomali"
click node_event_tools "https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/arcsight/connectors"
click node_email_utilities "https://github.com/chronicle/content-hub/blob/main/content/response_integrations/power_ups/email_utilities/core/EmailManager.py"
click node_playbooks "https://github.com/chronicle/content-hub/tree/main/content"
click node_mp_cli "https://github.com/chronicle/content-hub/blob/main/packages/mp/src/mp/main.py"
click node_project_build "https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/build_project"
click node_content_checks "https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/check"
click node_describe "https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/describe"
click node_regression "https://github.com/chronicle/content-hub/blob/main/packages/mp/src/mp/describe/regression_test/orchestrator.py"
click node_integration_testing "https://github.com/chronicle/content-hub/tree/main/packages/integration_testing/src/integration_testing"
click node_tipcommon "https://github.com/chronicle/content-hub/tree/main/packages/tipcommon/TIPCommon/src/TIPCommon"

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_content_hub,node_active_directory,node_cloud_storage,node_cloud_storage_parser,node_live_response,node_mcafee,node_awswaf,node_sonicwall,node_threat_tools,node_event_tools,node_email_utilities,node_playbooks toneBlue
class node_mp_cli,node_project_build,node_content_checks,node_describe,node_regression,node_integration_testing toneAmber
class node_tipcommon toneMint
class node_contributor,node_platform,node_external_products toneIndigo
```

## Components

### SecOps content

- [Response integrations](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google): `content/response_integrations/google`
- [Directory actions](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/active_directory/actions): `content/response_integrations/google/active_directory/actions`
- [Cloud storage](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/google_cloud_storage/core): `content/response_integrations/google/google_cloud_storage/core`
- [Storage parsing](https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/google_cloud_storage/core/GoogleCloudStorageParser.py): `content/response_integrations/google/google_cloud_storage/core/GoogleCloudStorageParser.py`
- [Live response](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/cb_live_response/actions): `content/response_integrations/google/cb_live_response/actions`
- [Endpoint security](https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/mc_afee_epo/core/McAfeeManager.py): `content/response_integrations/google/mc_afee_epo/core/McAfeeManager.py`
- [Web firewall](https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/awswaf/core/AWSWAFManager.py): `content/response_integrations/google/awswaf/core/AWSWAFManager.py`
- [Network security](https://github.com/chronicle/content-hub/blob/main/content/response_integrations/google/sonic_wall_beta/core/SonicWallManager.py): `content/response_integrations/google/sonic_wall_beta/core/SonicWallManager.py`
- [Threat intelligence](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/anomali): `content/response_integrations/google/anomali`
- [Event connectors](https://github.com/chronicle/content-hub/tree/main/content/response_integrations/google/arcsight/connectors): `content/response_integrations/google/arcsight/connectors`
- [Email utilities](https://github.com/chronicle/content-hub/blob/main/content/response_integrations/power_ups/email_utilities/core/EmailManager.py): `content/response_integrations/power_ups/email_utilities/core/EmailManager.py`
- [Playbook content](https://github.com/chronicle/content-hub/tree/main/content): `content`

### Contributor tooling

- [mp CLI](https://github.com/chronicle/content-hub/blob/main/packages/mp/src/mp/main.py): `packages/mp/src/mp/main.py`
- [Project build](https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/build_project): `packages/mp/src/mp/build_project`
- [Content checks](https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/check): `packages/mp/src/mp/check`
- [Content description](https://github.com/chronicle/content-hub/tree/main/packages/mp/src/mp/describe): `packages/mp/src/mp/describe`
- [Regression comparison](https://github.com/chronicle/content-hub/blob/main/packages/mp/src/mp/describe/regression_test/orchestrator.py): `packages/mp/src/mp/describe/regression_test/orchestrator.py`
- [Integration testing](https://github.com/chronicle/content-hub/tree/main/packages/integration_testing/src/integration_testing): `packages/integration_testing/src/integration_testing`

### Shared runtime

- [TIPCommon](https://github.com/chronicle/content-hub/tree/main/packages/tipcommon/TIPCommon/src/TIPCommon): `packages/tipcommon/TIPCommon/src/TIPCommon`

### Other components

- **Contributor**
- **Google SecOps**
- **External security products**

## Connections

- Contributor → Response integrations: develops
- Response integrations → Google SecOps: connects
- Response integrations → External security products: integrates
- Contributor → mp CLI: uses
- mp CLI → Project build: registers (evidence: `packages/mp/src/mp/main.py`)
- mp CLI → Content checks: registers (evidence: `packages/mp/src/mp/main.py`)
- mp CLI → Content description: registers (evidence: `packages/mp/src/mp/main.py`)
- mp CLI → Regression comparison: registers (evidence: `packages/mp/src/mp/main.py`)
- Regression comparison → Content description: invokes (evidence: `packages/mp/src/mp/describe/regression_test/orchestrator.py`)
- Cloud storage → Storage parsing: parses (evidence: `content/response_integrations/google/google_cloud_storage/core/GoogleCloudStorageParser.py`)
- Live response → External security products: manages files
- Endpoint security → External security products: queries agents
- Web firewall → External security products: manages firewall
- Network security → External security products: manages policies
