# michaelbosaz/siem-homelab architecture

> Architecture diagram of the GitHub repository michaelbosaz/siem-homelab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/michaelbosaz/siem-homelab
- Repository: https://github.com/michaelbosaz/siem-homelab

## Overview

This repository describes a Wazuh SIEM homelab: an operator configures server and agent VMs, with file-integrity monitoring and VirusTotal-based detection intended to support automatic deletion of flagged files. The tree contains only Wazuh configuration files; the README names a Python response script but provides no path or implementation. The README’s architecture section is empty, so links beyond its stated goals are not inferred.

Main entry points: [`configs/agent.conf`](https://github.com/michaelbosaz/siem-homelab/blob/main/configs/agent.conf) (Wazuh agent), [`configs/ossec.conf`](https://github.com/michaelbosaz/siem-homelab/blob/main/configs/ossec.conf) (Wazuh server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_deployment["Wazuh setup"]
  node_server["Wazuh server<br/>[ossec.conf]"]
  node_agent["Wazuh agent<br/>[agent.conf]"]
end

subgraph group_detection["Threat detection"]
  node_fim["File integrity monitoring<br/>[agent.conf]"]
  node_virustotal["VirusTotal API"]
end

subgraph group_response["Automated response"]
  node_response_script["Deletion script"]
  node_flagged_files["Flagged files"]
end

node_operator(("Homelab operator"))

node_operator -.->|"configures"| node_server
node_operator -.->|"configures"| node_agent
node_agent -.->|"monitors"| node_fim
node_virustotal -.->|"marks"| node_flagged_files
node_response_script -.->|"deletes"| node_flagged_files

click node_server "https://github.com/michaelbosaz/siem-homelab/blob/main/configs/ossec.conf"
click node_agent "https://github.com/michaelbosaz/siem-homelab/blob/main/configs/agent.conf"
click node_fim "https://github.com/michaelbosaz/siem-homelab/blob/main/configs/agent.conf"

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_server,node_agent toneBlue
class node_fim,node_virustotal toneAmber
class node_response_script,node_flagged_files toneMint
class node_operator toneIndigo
```

## Components

### Wazuh setup

- [Wazuh server](https://github.com/michaelbosaz/siem-homelab/blob/main/configs/ossec.conf): `configs/ossec.conf`
- [Wazuh agent](https://github.com/michaelbosaz/siem-homelab/blob/main/configs/agent.conf): `configs/agent.conf`

### Threat detection

- [File integrity monitoring](https://github.com/michaelbosaz/siem-homelab/blob/main/configs/agent.conf): `configs/agent.conf`
- **VirusTotal API**

### Automated response

- **Deletion script**
- **Flagged files**

### Other components

- **Homelab operator**

## Connections

- Homelab operator → Wazuh server: configures (evidence: `README.md`)
- Homelab operator → Wazuh agent: configures (evidence: `README.md`)
- Wazuh agent → File integrity monitoring: monitors (evidence: `README.md`)
- VirusTotal API → Flagged files: marks (evidence: `README.md`)
- Deletion script → Flagged files: deletes (evidence: `README.md`)
