# sametsec/cyberlab architecture

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

- Interactive diagram: https://gitdiagram.com/sametsec/cyberlab
- Repository: https://github.com/sametsec/cyberlab

## Overview

CyberLab is a documentation-centered guide to a virtualized Wazuh monitoring lab, not a repository of deployable software. Its principal workflow runs from endpoint events through agent collection and manager detection to dashboard review or firewall response. The graph follows relationships explicitly documented in the root README; component paths identify the lab documentation, not executable implementations.

Main entry points: [`Wazuh-Lab/configuration/manager.md`](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/configuration/manager.md) (Wazuh manager), [`Wazuh-Lab/test-scenarios.md`](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/test-scenarios.md) (SSH and Apache logs), [`Wazuh-Lab/active-response/firewall-drop.md`](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/active-response/firewall-drop.md) (Active response), [`Wazuh-Lab/configuration/agent.md`](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/configuration/agent.md) (Wazuh agents)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lab["Lab systems"]
  node_endpoints["Lab endpoints<br/>[architecture.md]"]
  node_event_sources["SSH and Apache logs<br/>[test-scenarios.md]"]
  node_firewall["Firewall action<br/>[firewall-drop.md]"]
  node_kali["Kali Linux<br/>[kali-linux.md]"]
  node_ubuntu["Ubuntu Server<br/>[ubuntu-server.md]"]
  node_network["Network setup"]
end

subgraph group_monitoring["Monitoring workflow"]
  node_agents["Wazuh agents<br/>[agent.md]"]
  node_manager["Wazuh manager<br/>[manager.md]"]
  node_detection["Detection and alerts<br/>[architecture.md]"]
  node_dashboard["Wazuh dashboard<br/>[architecture.md]"]
  node_response["Active response<br/>[firewall-drop.md]"]
end

subgraph group_guides["Project guidance"]
  node_scenarios["Test scenarios<br/>[test-scenarios.md]"]
  node_methodology["Lab methodology<br/>[methodology.md]"]
  node_results["Findings and results<br/>[results.md]"]
  node_siem_guide["SIEM concepts<br/>[siem.md]"]
end

node_endpoints -->|"generate events"| node_event_sources
node_event_sources -->|"collect events"| node_agents
node_agents -->|"send events"| node_manager
node_manager -->|"detect events"| node_detection
node_detection -->|"show alerts"| node_dashboard
node_manager -->|"dispatch response"| node_response
node_response -->|"apply firewall-drop"| node_firewall
node_scenarios -->|"exercise logs"| node_event_sources
node_scenarios -->|"test response"| node_response

click node_endpoints "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/architecture.md"
click node_event_sources "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/test-scenarios.md"
click node_agents "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/configuration/agent.md"
click node_manager "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/configuration/manager.md"
click node_detection "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/architecture.md"
click node_dashboard "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/architecture.md"
click node_response "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/active-response/firewall-drop.md"
click node_firewall "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/active-response/firewall-drop.md"
click node_scenarios "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/test-scenarios.md"
click node_methodology "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/methodology.md"
click node_results "https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/results.md"
click node_kali "https://github.com/sametsec/cyberlab/blob/main/documentation/kali-linux.md"
click node_ubuntu "https://github.com/sametsec/cyberlab/blob/main/documentation/ubuntu-server.md"
click node_network "https://github.com/sametsec/cyberlab/blob/main/documentation/network-configuration.md"
click node_siem_guide "https://github.com/sametsec/cyberlab/blob/main/documentation/siem.md"

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_endpoints,node_event_sources,node_firewall,node_kali,node_ubuntu,node_network toneBlue
class node_agents,node_manager,node_detection,node_dashboard,node_response toneAmber
class node_scenarios,node_methodology,node_results,node_siem_guide toneMint
```

## Components

### Lab systems

- [Lab endpoints](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/architecture.md): `Wazuh-Lab/architecture.md`
- [SSH and Apache logs](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/test-scenarios.md): `Wazuh-Lab/test-scenarios.md`
- [Firewall action](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/active-response/firewall-drop.md): `Wazuh-Lab/active-response/firewall-drop.md`
- [Kali Linux](https://github.com/sametsec/cyberlab/blob/main/documentation/kali-linux.md): `documentation/kali-linux.md`
- [Ubuntu Server](https://github.com/sametsec/cyberlab/blob/main/documentation/ubuntu-server.md): `documentation/ubuntu-server.md`
- [Network setup](https://github.com/sametsec/cyberlab/blob/main/documentation/network-configuration.md): `documentation/network-configuration.md`

### Monitoring workflow

- [Wazuh agents](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/configuration/agent.md): `Wazuh-Lab/configuration/agent.md`
- [Wazuh manager](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/configuration/manager.md): `Wazuh-Lab/configuration/manager.md`
- [Detection and alerts](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/architecture.md): `Wazuh-Lab/architecture.md`
- [Wazuh dashboard](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/architecture.md): `Wazuh-Lab/architecture.md`
- [Active response](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/active-response/firewall-drop.md): `Wazuh-Lab/active-response/firewall-drop.md`

### Project guidance

- [Test scenarios](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/test-scenarios.md): `Wazuh-Lab/test-scenarios.md`
- [Lab methodology](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/methodology.md): `Wazuh-Lab/methodology.md`
- [Findings and results](https://github.com/sametsec/cyberlab/blob/main/Wazuh-Lab/results.md): `Wazuh-Lab/results.md`
- [SIEM concepts](https://github.com/sametsec/cyberlab/blob/main/documentation/siem.md): `documentation/siem.md`

## Connections

- Lab endpoints → SSH and Apache logs: generate events (evidence: `README.md`)
- SSH and Apache logs → Wazuh agents: collect events (evidence: `README.md`)
- Wazuh agents → Wazuh manager: send events (evidence: `README.md`)
- Wazuh manager → Detection and alerts: detect events (evidence: `README.md`)
- Detection and alerts → Wazuh dashboard: show alerts (evidence: `README.md`)
- Wazuh manager → Active response: dispatch response (evidence: `README.md`)
- Active response → Firewall action: apply firewall-drop (evidence: `README.md`)
- Test scenarios → SSH and Apache logs: exercise logs (evidence: `README.md`)
- Test scenarios → Active response: test response (evidence: `README.md`)
