A containerized Elastic SIEM/EDR deployment framework for automated,
TLS-secured infrastructure, Fleet orchestration, telemetry collection,
and ATT&CK-aligned detection.
Quick Start · Configuration · Architecture · Endpoint Enrollment · Operations · Deployment Guide
Building a functional SIEM/EDR platform from scratch requires coordinating TLS certificate generation, Elasticsearch security configuration, Fleet Server enrollment, agent policy creation, integration packaging, and detection-rule deployment — all of which must interoperate correctly before a single endpoint can report telemetry.
This repository automates the core Elastic deployment and configuration process. A single ./elastic-container.sh start provisions a fully TLS-secured Elastic stack with pre-configured Fleet policies for Windows, Linux, and baseline endpoints, installs Elastic Defend with EDRComplete telemetry, deploys prebuilt MITRE ATT&CK-aligned detection rules, and configures Fleet output — all from environment variables with no hardcoded IPs or credentials in code.
The framework is designed for security practitioners, researchers, and lab/homelab environments that need a repeatable Elastic SIEM/EDR foundation without manually configuring the entire stack.
- Automated Elastic stack deployment — Elasticsearch, Kibana, and Fleet Server provisioned via Docker Compose with a single command
- TLS/PKI automation — CA and per-service certificate generation with parameterized SANs; certificate isolation per service
- Fleet policy orchestration — idempotent creation of OS-specific agent policies (Windows, Linux, Baseline) with correct integrations pre-attached
- Elastic Defend EDR — EDRComplete preset deployed on all endpoint policies with process, file, network, registry, and security-event telemetry
- Prebuilt detection rules — installed on start and reconciled per OS (Windows, Linux, macOS) from
.envflags on every start - Parameterized networking — all addressing driven from
.env; supports NAT/management IPs and static IP configuration - Security hardening — password policy enforcement, credential isolation, TLS verification, destructive-action confirmation, and action audit logging
- Preflight validation — host distribution detection plus Docker Engine, daemon, Compose v2, tools, configuration, ports, disk, and memory checks before deployment (read-only; never installs anything)
- Zeek integration — optional Fleet-managed Zeek sensor support for network telemetry ingestion
- Operational safeguards —
destroyandclearrequire explicit typed confirmation; all administrative actions are logged
flowchart TB
subgraph HOST["Docker Compose Host"]
SETUP["Setup\nCA + TLS certs\nadmin user\nFleet service token"]
ES["Elasticsearch\nTLS + security\nsingle-node\n:9200"]
KB["Kibana\nFleet UI + dashboards\n:5601"]
FS["Fleet Server\nTLS + auth\n:8220"]
SETUP -->|"bootstrap"| ES
SETUP -->|"config"| KB
SETUP -->|"token"| FS
KB -->|"queries"| ES
FS -->|"enrollment + telemetry"| ES
end
WIN["Windows Endpoint\nElastic Agent\nSystem + Defend + Windows"]
LIN["Linux Endpoint\nElastic Agent\nSystem + Defend"]
ZEEK["Zeek Sensor\noptional\nNetwork telemetry"]
WIN -->|"enroll + ship"| FS
LIN -->|"enroll + ship"| FS
ZEEK -->|"enroll + ship"| FS
Containers:
| Component | Container Name | Purpose |
|---|---|---|
| Elasticsearch | ecp-elasticsearch |
Data store, search engine, security configuration, detection engine |
| Kibana | ecp-kibana |
Web UI, Fleet management, dashboards, detection rules |
| Fleet Server | ecp-fleet-server |
Agent enrollment, policy distribution, telemetry routing |
| Security Setup | ecp-elasticsearch-security-setup |
One-time init: CA, TLS certs, admin user, Fleet service token |
Scripts:
| Script | Purpose |
|---|---|
elastic-container.sh |
Main orchestration script (start, stop, destroy, Fleet setup, detection rules) |
fleet-entrypoint.sh |
Fleet Server entrypoint; detects existing enrollment to prevent duplicate agents |
set-static-ip.sh |
Optional: configure a static IP on the agent-facing network interface |
./elastic-container.sh start idempotently creates and wires these Agent Policies (existing policies are reused, never duplicated):
| Policy | Integrations | Intended For |
|---|---|---|
Fleet-Server-Policy |
Fleet Server | The Fleet Server container itself |
Windows Endpoint |
System + Elastic Defend + Windows | Windows hosts (Security log, Sysmon, PowerShell, Defender) |
Linux Endpoint |
System + Elastic Defend | Linux hosts (metrics + EDR; syslog/auth if rsyslog present) |
Endpoint Baseline |
System + Elastic Defend | Any OS, EDR-only baseline |
Zeek |
System + Zeek | Zeek sensor host (only when ZEEK_ENABLED=1) |
The System integration is auto-added via sys_monitoring=true and covers host metrics everywhere. The Windows integration is added only to Windows Endpoint so Linux policies never receive winlog channels.
The Windows Endpoint policy collects:
| Data Source | Data Stream | Prerequisite |
|---|---|---|
| Windows Application/Security/System logs | logs-system.application/security/system-* |
System integration (automatic) |
| System metrics (CPU, memory, disk) | metrics-system.* |
System integration (automatic) |
| Sysmon events | logs-windows.sysmon_operational-* |
Sysmon installed and running on host |
| PowerShell Operational (4103-4108) | logs-windows.powershell_operational-* |
Script Block Logging enabled on host |
| Windows Defender events | logs-windows.windows_defender-* |
Defender active on host |
| Classic PowerShell (400,403,600,800) | logs-windows.powershell-* |
Enabled by default |
| Process/File/Network/Registry events | logs-endpoint.events.* |
Elastic Defend (automatic) |
| Malware protection alerts | logs-endpoint.alerts-* |
Elastic Defend (automatic) |
The Linux Endpoint policy collects:
| Data Source | Data Stream | Prerequisite |
|---|---|---|
| System metrics | metrics-system.* |
System integration (automatic) |
| Auth/syslog logs | logs-system.auth/syslog-* |
rsyslog installed, or journald input configured |
| Process/File/Network events | logs-endpoint.events.* |
Elastic Defend (automatic) |
macOS agents enroll into the Endpoint Baseline policy (System + Elastic Defend). Follow the same CA trust and enrollment flow as Linux.
When ZEEK_ENABLED=1, the start script creates a Zeek Fleet policy configured to ingest JSON logs from ZEEK_LOG_DIR:
| Log | Data Stream |
|---|---|
| conn.log | logs-zeek.connection |
| dns.log | logs-zeek.dns |
| http.log | logs-zeek.http |
| ssl.log | logs-zeek.ssl |
| files.log | logs-zeek.files |
| ssh.log | logs-zeek.ssh |
| weird.log | logs-zeek.weird |
The repository installs Elastic's prebuilt detection rules on start and reconciles rule state with the .env OS flags on every start (not only the first):
| Flag | Effect |
|---|---|
WindowsDR=1 |
Rules tagged Windows or OS: Windows are enabled |
WindowsDR=0 |
Those rules are disabled (if they are currently enabled) |
LinuxDR=1 |
Rules tagged Linux or OS: Linux are enabled |
LinuxDR=0 |
Those rules are disabled (if they are currently enabled) |
MacOSDR=1 |
Rules tagged macOS or OS: macOS are enabled |
MacOSDR=0 |
Those rules are disabled (if they are currently enabled) |
Reconciliation details:
- Exact OS-tag membership only (whole tags such as
Windows/OS: Windows— substring tags are never matched). - A rule with several OS tags stays enabled while any of its owning flags is
1; it is disabled only when none of them is1. - Rules with no OS tag — including the package-default
Endpoint Security (Elastic Defend)— are never touched; package-defined state is preserved. - Only differences are applied (ids-scoped bulk enable/disable), so a configuration that already matches produces zero writes and repeated runs are idempotent.
- Changing a flag to
0and restarting the stack disables the previously enabled rules for that OS; changing it to1enables them again.
Detection rules consume telemetry — they do not collect it. The pipeline is:
Integration (on agent policy) -> Agent collects data -> Data stream in Elasticsearch -> Detection rule queries data -> Alert
Rules requiring specific host-side configuration (Sysmon, PowerShell Script Block Logging, Windows audit policy) remain dormant until the prerequisite telemetry is flowing. Enabling a rule without its corresponding telemetry pipeline means the rule will never fire. Some enabled rules also query data streams that only exist when a matching integration is deployed — Kibana reports these as Unable to find matching indices warnings or execution failures; that is expected until the telemetry source is installed, and it is not a reason to disable the rule or drop OS coverage.
| Area | Implementation |
|---|---|
| TLS everywhere | Elasticsearch (9200/9300), Kibana (5601), Fleet Server (8220) all use TLS with a private CA |
| Certificate isolation | Each service receives only its own cert/key and the CA public cert; no cross-service key access |
| Password policy | Minimum 12 characters; rejects changeme, password, elastic, and unsafe characters ($, backtick, quotes, backslash) |
| Credential protection | .env set to 0600; API calls use ephemeral netrc files (no credentials in process args); curl -k never used |
| Config validation | IP addresses, ports, CIDR prefix, interface names, usernames, and version tags strictly validated before interpolation |
| Destructive safety | destroy and clear require typing DESTROY / CLEAR (all uppercase) to confirm; accidental execution aborts |
| Action audit trail | start, destroy, and clear append timestamped entries to .logs/actions.log (gitignored) |
| Fleet auth isolation | Fleet Server authenticates via a dedicated service token (least-privilege), not the elastic superuser |
| Preflight checks | Detects the host distribution (read-only) and validates Docker Engine + daemon, Compose v2, tools, .env, password policy, network interfaces, ports, disk space, and memory before deployment |
This project never installs Docker for you. Install Docker Engine and the Compose v2 plugin using your own distribution's method first, then verify.
Requirements (every distribution):
- Docker Engine with the daemon running
- Docker Compose v2 —
docker compose versionmust work. The legacydocker-compose(v1) binary is not supported by this project jq,curl,openssl- 4 GB RAM and 20 GB free disk (recommended)
- Linux or macOS
Install the host tools with your package manager:
# Debian / Ubuntu / Kali sudo apt install -y jq curl openssl git # Fedora / RHEL / Rocky / AlmaLinux sudo dnf install -y jq curl openssl git # Arch Linux sudo pacman -S jq curl openssl git # macOS (Homebrew) brew install jq curl openssl git
Warning
Kali Linux (and other Debian derivatives): never add Docker's Ubuntu
repository (https://download.docker.com/linux/ubuntu) on Kali. Its suite
would be your codename (kali-rolling), which does not exist in Ubuntu's
repository — apt update fails with 404 and docker-ce cannot install.
Use the Kali instructions below instead (Kali's own packages), or Docker's
Debian repository with Debian's current stable codename (e.g. trixie).
# Remove conflicting distro-packaged Docker components, if any are installed sudo apt remove -y docker.io docker-compose docker-compose-v2 docker-doc \ docker-buildx podman-docker containerd runc 2>/dev/null || true # Add Docker's official GPG key and apt repository sudo apt update sudo apt install -y ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc sudo tee /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/ubuntu Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") Components: stable Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/docker.asc EOF sudo apt update sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
Log out and back in for the docker group membership to take effect.
(Docker docs: Ubuntu)
sudo apt remove -y docker.io docker-compose docker-doc docker-buildx \ podman-docker containerd runc 2>/dev/null || true sudo apt update sudo apt install -y ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc sudo tee /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/debian Suites: $(. /etc/os-release && echo "$VERSION_CODENAME") Components: stable Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/docker.asc EOF sudo apt update sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
Derivatives of Debian (Kali, LMDE, …) must substitute
$(… $VERSION_CODENAME)above with the codename of the corresponding Debian release (e.g.trixie). (Docker docs: Debian)
sudo apt update sudo apt install -y docker.io docker-compose sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
- Kali's package is named
docker.io(a different package already owns the namedocker);docker-composein Kali's repos is Compose v2 and provides thedocker composeplugin. - Optional alternative: Docker CE from Docker's Debian repository using
Debian's stable codename (
trixie) — see the official Kali docs. - Do not use the Ubuntu repository (see the warning above).
sudo dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
Remove conflicting packages (podman, runc, old docker*) if dnf
reports them, per Docker docs: RHEL.
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker sudo usermod -aG docker "$USER"
Note
Docker does not publish an AlmaLinux-specific installation page. AlmaLinux is RHEL-compatible; the Docker CentOS repository above is the community-documented approach for EL clones (best-effort).
sudo pacman -S docker docker-compose sudo systemctl enable --now docker.service sudo usermod -aG docker "$USER"
Arch's docker-compose package ships the Compose v2 plugin
(docker compose). (ArchWiki: Docker)
brew install jq git curl brew install --cask docker
Open Docker Desktop once and complete its setup; grant privileged access when prompted (Docker must have privileged access on macOS).
docker version # client + server (daemon must be reachable) docker compose version # must print "Docker Compose version v2.x" ./elastic-container.sh preflight
preflight prints an [OK] / [FAIL] / [WARN] line per check — including
your detected distribution and Docker/Compose status — and never installs
anything. Run it after creating .env (see Quick Start); start runs it
automatically before touching any containers.
# 1. Clone and enter the repository git clone https://github.com/KhanFaiz5426/elastic-security-infrastructure.git elastic-security-infrastructure cd elastic-security-infrastructure # 2. Create your configuration cp .env.example .env openssl rand -hex 32 # generate an encryption key # 3. Edit .env — set at minimum: # SIEM_IP, ELASTIC_PASSWORD, KIBANA_PASSWORD, KIBANA_ENCRYPTION_KEY nano .env # 4. (Optional) Run preflight checks ./elastic-container.sh preflight # 5. Start the stack ./elastic-container.sh start # 6. Set the Fleet CA fingerprint (required once after first start — # the CA is generated by the setup container, so it does not exist before) docker cp ecp-elasticsearch:/usr/share/elasticsearch/config/certs/ca/ca.crt /tmp/ca.crt echo CA_FINGERPRINT=$(openssl x509 -in /tmp/ca.crt -noout -fingerprint -sha256 | cut -d= -f2 | tr -d :) # paste the output into .env (CA_FINGERPRINT=<value>), then recreate Kibana: docker compose up -d --no-deps kibana # 7. Verify ./elastic-container.sh status curl -sk https://127.0.0.1:8220/api/status
Browse to https://<SIEM_IP>:5601 and log in with ${ELASTIC_USERNAME} (default elastic) / your password.
For the complete deployment walkthrough including endpoint enrollment, telemetry verification, and clean rebuild procedures, see ELASTIC-SECURITY-DEPLOYMENT-GUIDE.md.
All configuration is driven by the .env file. No IPs or credentials are hardcoded in scripts or Docker Compose.
| Variable | Required | Default | Purpose |
|---|---|---|---|
SIEM_IP |
Yes | — | Primary IP for TLS SANs, Fleet Server URL, ES output URL |
SIEM_NAT_IP |
No | — | Additional NAT/management IP added to cert SANs |
SIEM_IFACE |
No | — | Network interface name for static IP setup |
SIEM_PREFIX |
No | 24 |
CIDR prefix for the agent-facing interface |
ELASTIC_USERNAME |
No | elastic |
Admin superuser for Kibana login + API |
ELASTIC_PASSWORD |
Yes | — | Password for the admin user (min 12 chars) |
KIBANA_USERNAME |
No | kibana_system |
Internal Kibana-to-Elasticsearch user |
KIBANA_PASSWORD |
Yes | — | Password for KIBANA_USERNAME (min 12 chars) |
KIBANA_ENCRYPTION_KEY |
Yes | — | Random key for saved-object encryption; generate with openssl rand -hex 32 |
CA_FINGERPRINT |
Yes (after first start) | — | SHA-256 of the deployment CA; seeds the Fleet output ca_trusted_fingerprint via kibana.yml preconfiguration. Recompute after cert regeneration |
STACK_VERSION |
No | 9.5.0 |
Elastic image tag (Elasticsearch + Kibana + Agent) |
WindowsDR |
No | 1 |
Enable (1) / disable (0) Windows detection rules; reconciled on every start |
LinuxDR |
No | 0 |
Enable (1) / disable (0) Linux detection rules; reconciled on every start |
MacOSDR |
No | 0 |
Enable (1) / disable (0) macOS detection rules; reconciled on every start |
ZEEK_ENABLED |
No | 0 |
Set to 1 to create Zeek Fleet policy + integration |
ZEEK_LOG_DIR |
No | /opt/zeek/logs/current |
Zeek JSON log directory on the sensor host |
LICENSE |
No | basic |
basic (free) or trial (30-day full features) |
Important: If you change
SIEM_IPorSIEM_NAT_IPafter first boot, you must rundestroy+startto regenerate certificates with the new IPs in the SANs. The rebuild also generates a new CA — recomputeCA_FINGERPRINTin.env(command documented there) and rundocker compose up -d --no-deps kibana.
- Import the SIEM CA into
LocalMachine\Rooton the Windows host (see Deployment Guide, Phase 6 for methods) - In Kibana: Fleet > Agents > Add agent — select the Windows Endpoint policy
- Download, extract, and install the Elastic Agent matching your
STACK_VERSION - Confirm in Kibana: Fleet > Agents shows the host as Healthy
- Trust the SIEM CA in the system store or pass
--certificate-authoritiesat install time - Download the agent matching
STACK_VERSION, then install with the Linux Endpoint enrollment token:
sudo ./elastic-agent install \ --url="https://<SIEM_IP>:8220" \ --enrollment-token="<token>" \ --certificate-authorities=/path/to/ca.crt
- Verify:
systemctl status elastic-agentshows active; host appears Healthy in Fleet
Same flow as Linux — trust the CA in the system keychain, use the appropriate architecture agent (darwin-aarch64 or darwin-x86_64), and enroll with the Endpoint Baseline token. See Deployment Guide, Phase 7.
| Command | Effect |
|---|---|
./elastic-container.sh start |
Run preflight, create network, pull images, start + configure stack |
./elastic-container.sh stop |
Stop containers (preserves state) |
./elastic-container.sh restart |
Restart all stack containers |
./elastic-container.sh status |
Show container status |
./elastic-container.sh preflight |
Run read-only deployment prerequisite checks |
./elastic-container.sh clear |
Delete all documents in logs-* and metrics-* data streams |
./elastic-container.sh destroy |
Remove containers, network, and all volumes (permanent data loss) |
./elastic-container.sh stage |
Pre-pull images without starting |
./elastic-container.sh update-version |
Refresh STACK_VERSION to the newest stable tag from Docker Hub |
| Symptom | Cause / Fix |
|---|---|
| Agent shows Unhealthy/Degraded right after start | Transient; fleet-server monitoring outputs briefly flip at boot. Recheck in 30-60s. If it persists, check the Fleet output rows below. |
Fleet output shows http://localhost:9200 / agents log connection-refused |
Kibana's Fleet setup seeded its built-in fallback output. kibana.yml preconfiguration (${SIEM_IP} + ${CA_FINGERPRINT}) prevents and repairs this on every Kibana boot — ensure both are set in .env, then docker compose up -d --no-deps kibana. |
TLS / ca_trusted_fingerprint errors after cert regeneration |
A rebuild generates a new CA. Recompute CA_FINGERPRINT in .env (command documented there), then docker compose up -d --no-deps kibana. |
x509: cannot validate certificate ... IP SANs |
Cert lacks the IP you connected to. Set SIEM_IP/SIEM_NAT_IP correctly, then destroy + start. |
x509: certificate signed by unknown authority |
Host doesn't trust the stack CA — import ca.crt into the system trust store. |
| Healthy agent but no data | Check agent's last check-in in Fleet > Agents; verify SIEM_IP and ES output in Fleet > Settings. |
401 / unable to authenticate user [elastic] |
.env password changed after first boot. Use ES Change Password API or destroy + start. |
Linux: no system.auth/system.syslog |
Host has no rsyslog. Install rsyslog or configure a journald input in Fleet UI. |
host.name: "WIN-..." returns 0 hits |
Windows docs store host.name lowercased (win-...). Query the lowercase value. |
| ES/Kibana ports unreachable from another host | Confirm both hosts are on the same network and firewalls allow the configured ports. |
For complete troubleshooting including agent enrollment failures, Sysmon configuration, PowerShell logging, Windows audit policy, and telemetry verification, see ELASTIC-SECURITY-DEPLOYMENT-GUIDE.md.
| Task | Condition |
|---|---|
| Elasticsearch, Kibana, Fleet Server deployment | Always |
| TLS certificate generation and service isolation | Always |
| Fleet output configuration (URL, CA fingerprint, TLS mode) | Always — kibana.yml preconfiguration (${SIEM_IP} / ${CA_FINGERPRINT}) on every Kibana boot, plus a fix-up step during start |
| Fleet agent policy creation (Windows, Linux, Baseline) | First start |
| Elastic Defend integration (EDRComplete) on all endpoint policies | First start |
| Windows integration (Sysmon/PowerShell/Defender winlog channels) | First start, Windows Endpoint policy only |
| Detection rule installation and reconciliation (enable/disable per OS flag) | Per WindowsDR/LinuxDR/MacOSDR |
| Zeek Fleet policy + integration | ZEEK_ENABLED=1 |
| Task | Responsible Party |
|---|---|
| Sysmon installation and configuration | Windows endpoint administrator |
| PowerShell Script Block Logging enablement | Windows endpoint administrator |
| Windows Advanced Audit Policy (GPO) | AD/domain administrator |
| Linux rsyslog/journald configuration | Linux endpoint administrator |
| Zeek installation, configuration, and network visibility | Network operator / Network team |
| SPAN/TAP/mirror configuration | Network team |
| Firewall rules for agent communication | Network/security team |
| Velociraptor server/client deployment | DFIR team — external to this repository |
- Enterprise network architecture and routing
- Velociraptor deployment and configuration
- Physical/virtual network infrastructure
- Organizational change management and authorization
This repository provides a functional SIEM/EDR foundation. The following are not currently implemented:
- SOAR (Security Orchestration, Automation, and Response)
- Fully automated incident response or endpoint isolation
- Automatic firewall response to alerts
- Velociraptor orchestration or automated DFIR
- Custom threat-hunting interface
- Multi-node Elasticsearch cluster deployment
- Snapshot/backup automation
- Role-based access control (RBAC) beyond the admin superuser
- Custom detection rules (only Elastic's prebuilt rules are installed)
- Deployment Guide — Complete operational manual covering prerequisites, deployment, endpoint enrollment, telemetry verification, detection configuration, clean rebuild, credential rotation, Zeek/Velociraptor setup, and troubleshooting
This project incorporates and extends components originating from the open-source peasead/elastic-container project by Peasead (Elastic Security Labs).
The current repository has been substantially modified and expanded with:
- TLS/PKI automation with per-service certificate isolation
- Fleet multi-policy orchestration (Windows, Linux, Baseline, Zeek)
- Parameterized networking with NAT/management IP support
- Security hardening (password policy, credential protection, config validation, destructive-action safeguards, action audit logging)
- Preflight validation system
- Static IP configuration helper
- Fleet Server re-enrollment detection (
fleet-entrypoint.sh) - Custom admin username support
- Zeek integration
- Comprehensive deployment and operations documentation
See LICENSE for applicable licensing and attribution information.
Note: This is not an Elastic created, sponsored, or maintained project. Elastic is not responsible for this project's design or implementation.
This project is licensed under the Apache License 2.0. See LICENSE for details.