auditbeat

by joaquinito2051

Helm chartv1.1.0App 6.7.0

A lightweight shipper to audit the activities of users and processes on your systems

About this chart

Auditbeat

Auditbeat is a lightweight shipper to audit the activities of users and processes on your systems, so that you can identify potential security policy violations. You can use Auditbeat to collect audit events from the Linux Audit Framework. You can also use Auditbeat for file integrity check, that is to detect changes to critical files, like binaries and configuration files.

Introduction

This chart deploys auditbeat agents to all the nodes in your cluster via a DaemonSet.

By default this chart only ships a single output to a file on the local system. Users should set config.output.file.enabled=false and configure their own outputs as documented

Prerequisites

  • Kubernetes 1.9+

Installing the Chart

To install the chart with the release name my-release, run:

$ helm install --name my-release <helm-repo>/auditbeat

$ helm install --name my-release stable/auditbeat After a few minutes, you should see service statuses being written to the configured output, which is a log file inside the auditbeat container.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the auditbeat chart and their default values.

ParameterDescriptionDefault
image.repositoryThe image repository to pull fromdocker.elastic.co/beats/auditbeat
image.tagThe image tag to pull6.7.0
image.pullPolicyImage pull policyIfNotPresent
rbac.createIf true, create & use RBAC resourcestrue
rbac.serviceAccountexisting ServiceAccount to use (ignored if rbac.create=true)default
configThe content of the configuration file consumed by auditbeat. See the auditbeat documentation for full details
pluginsList of beat plugins
extraVarsA map of additional environment variables
extraVolumes, extraVolumeMountsAdditional volumes and mounts, for example to provide other configuration files
resources.requests.cpuCPU resource requests
resources.limits.cpuCPU resource limits
resources.requests.memoryMemory resource requests
resources.limits.memoryMemory resource limits

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
    --set rbac.create=true \
    <helm-repo>/auditbeat
$ helm install --name my-release \

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml <helm-repo>/auditbeat

$ helm install --name my-release -f values.yaml stable/auditbeat

Tip: You can use the default values.yaml

Deploy auditbeat with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has auditbeat on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartauditbeat is pinned at v1.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply