Skip to content

Add Defensia Agent — server security DaemonSet - #586

Closed
rickymcpower wants to merge 1 commit into
digitalocean:masterfrom
rickymcpower:add-defensia-agent-k8s
Closed

Add Defensia Agent — server security DaemonSet#586
rickymcpower wants to merge 1 commit into
digitalocean:masterfrom
rickymcpower:add-defensia-agent-k8s

Conversation

@rickymcpower

Copy link
Copy Markdown

Summary

Adds Defensia Agent as a Kubernetes 1-Click App. Defensia is a lightweight Go security agent that deploys as a DaemonSet on every cluster node, monitoring ingress logs, SSH auth, and pod events to detect and block attacks automatically.

What it does

  • Web Application Firewall — 15 OWASP attack types (SQLi, XSS, SSRF, RCE, path traversal, scanner detection, and more)
  • SSH brute force detection — 15 patterns with progressive ban escalation (24h → 7d → 30d → permanent)
  • Bot management — 70+ bot fingerprints with allow/log/block policies per cluster
  • Kubernetes monitoring — pod lifecycle events, API audit log analysis, ingress host discovery
  • Real-time dashboard at defensia.cloud with alerts (Email, Slack, Discord)

Chart details

  • Chart: oci://ghcr.io/defensia/charts/defensia-agent (v0.4.1)
  • Deploys: DaemonSet (1 pod per node, including control-plane), ServiceAccount, ClusterRole, ClusterRoleBinding
  • Resources: 50m CPU / 64Mi RAM request, 100m / 128Mi limit
  • License: MIT (github.com/defensia/agent)
  • Artifact Hub: artifacthub.io/packages/helm/defensia/defensia-agent
  • Images signed with Cosign, Helm chart with GPG provenance

Tested on

  • DigitalOcean Kubernetes (DOKS), 2-node cluster, Frankfurt (fra1), K8s v1.35.1
  • deploy.sh — DaemonSet created, pods running, agent executes and attempts registration
  • upgrade.sh — Revision 1→2 successful
  • uninstall.sh — Release + namespace fully removed, no orphaned resources

Pricing

  • Free tier: 1 node with full protection
  • Pro: $9.90/node/month (unlimited nodes, alerts, vulnerability scanning, compliance reports)

…ent)

Defensia deploys a lightweight Go security agent on every node via DaemonSet.
It monitors ingress controller logs, SSH auth logs, and pod lifecycle events,
detecting and blocking attacks automatically.

Features:
- Web Application Firewall (15 OWASP attack types)
- SSH brute force detection (15 patterns, progressive ban escalation)
- Bot management (70+ fingerprints, allow/log/block policies)
- Kubernetes pod and API audit monitoring
- Real-time dashboard at defensia.cloud

Chart: oci://ghcr.io/defensia/charts/defensia-agent (v0.4.1)
License: MIT
Tested on: DOKS 2-node cluster (deploy, upgrade, uninstall)
@rickymcpower

Copy link
Copy Markdown
Author

Superseded by #587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant