Skip to main content

teleport-plugin-event-handler Chart Reference

Report an Issue

The teleport-plugin-event-handler Helm chart is used to configure the Event Handler Teleport plugin which allows users to send events and session logs to a Fluentd instance for further processing or storage.

You can browse the source on GitHub.

This reference details available values for the teleport-plugin-event-handler chart.

Warning

Backing up production instances, environments, and/or settings before making permanent modifications is encouraged as a best practice. Doing so allows you to roll back to an existing state if needed.

teleport.address​

TypeDefault
string""

teleport.address is the address of the Teleport cluster the plugin connects to. The address must contain both the domain name and the port of the Teleport cluster. It can be either the address of the auth servers or the proxy servers.

For example:

  • joining a Proxy: teleport.example.com:443 or teleport.example.com:3080
  • joining an Auth: teleport-auth.example.com:3025

When the address is empty, tbot.teleportProxyAddress or tbot.teleportAuthAddress will be used if they are set.

teleport.identitySecretName​

TypeDefault
string""

teleport.identitySecretName is the name of the Kubernetes secret that contains the credentials for the connection to your Teleport cluster.

The secret should be in the following format:

apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: teleport-plugin-event-handler-identity
data:
  auth_id: #...

Check out the [Export Events with Fluentd] (../../zero-trust-access/export-audit-events/fluentd.mdx) guide for more information about how to acquire these credentials.

teleport.identitySecretPath​

TypeDefault
string"auth_id"

teleport.identitySecretPath is the key in the Kubernetes secret specified by teleport.identitySecretName that holds the credentials for the connection to your Teleport cluster. If the secret has the path, "auth_id", you can omit this field.

eventHandler​

eventHandler contains the configuration used by the plugin to forward Teleport events.

eventHandler.storagePath​

TypeDefault
string"/var/lib/teleport/plugins/event-handler/storage"

eventHandler.storagePath is the storage directory for the event handler.

eventHandler.timeout​

TypeDefault
string"10s"

eventHandler.timeout is the polling timeout.

eventHandler.batch​

TypeDefault
int20

eventHandler.batch is the fetch batch size.

eventHandler.windowSize​

TypeDefault
string"24h"

eventHandler.windowSize configures the duration of the time window for the event handler to request events from Teleport. By default, this is set to 24 hours. Reduce the window size if the events backend cannot manage the event volume for the default window size. The window size should be specified as a duration string, parsed by Go's time.ParseDuration.

eventHandler.debug​

TypeDefault
boolfalse

eventHandler.debug enables debug logging.

eventHandler.types​

TypeDefault
list[]

eventHandler.types is the list of event types to forward. When unset, the event handler forwards all events.

eventHandler.skipEventTypes​

TypeDefault
list[]

eventHandler.skipEventTypes is the list of audit event types to skip.

eventHandler.skipSessionTypes​

TypeDefault
list[]

eventHandler.skipSessionTypes is the list of session recording event types to skip. When unset, the event handler skips noisy and binary events.

See the Teleport-event-handler README for a list of default skipped events.

fluentd​

fluentd contains the configuration for the fluentd forwarder.

fluentd.url​

TypeDefault
string""

fluentd.url is the Fluentd URL where the events will be sent.

fluentd.sessionUrl​

TypeDefault
string""

fluentd.sessionUrl is the Fluentd URL where the session logs will be sent.

fluentd.certificate.secretName​

TypeDefault
string""

fluentd.certificate.secretName is the secret containing the credentials to connect to Fluentd. It must contain the CA certificate, the client key and the client certificate.

fluentd.certificate.caPath​

TypeDefault
string"ca.crt"

fluentd.certificate.caPath is the name of the key which contains the CA certificate inside the secret.

fluentd.certificate.certPath​

TypeDefault
string"client.crt"

fluentd.certificate.certPath is the name of the key which contains the client's certificate inside the secret.

fluentd.certificate.keyPath​

TypeDefault
string"client.key"

fluentd.certificate.keyPath is the name of the key which contains the client's private key inside the secret.

tbot​

tbot controls the optional tbot deployment that obtains and renews credentials for the plugin to connect to Teleport. Only default and mandatory values are described here, see the tbot chart reference for the full list of supported values.

tbot.enabled​

TypeDefault
boolfalse

tbot.enabled controls if tbot should be deployed with the event handler plugin.

tbot.clusterName​

TypeDefault
string""

tbot.clusterName is the name of the Teleport cluster tbot and the event handler plugin will join. Setting this value is mandatory when tbot is enabled.

tbot.teleportProxyAddress​

TypeDefault
string""

tbot.teleportProxyAddress is the teleport Proxy Service address the bot will connect to. This must contain the port number, usually 443 or 3080 for Proxy Service. Connecting to the Proxy Service is the most common and recommended way to connect to Teleport. This is mandatory to connect to Teleport Enterprise (Cloud).

This setting is mutually exclusive with teleportAuthAddress.

For example:

tbot:
  teleportProxyAddress: "test.teleport.sh:443"

tbot.teleportAuthAddress​

TypeDefault
string""

tbot.teleportAuthAddress is the teleport Auth Service address the bot will connect to. This must contain the port number, usually 3025 for Auth Service. Direct Auth Service connection should be used when you are deploying the bot in the same Kubernetes cluster than your teleport-cluster Helm release and have direct access to the Auth Service. Else, you should prefer connecting via the Proxy Service.

This setting is mutually exclusive with teleportProxyAddress.

For example:

teleportAuthAddress: "teleport-auth.teleport-namespace.svc.cluster.local:3025"

tbot.joinMethod​

TypeDefault
string"kubernetes"

tbot.joinMethod describes how tbot joins the Teleport cluster. See the join method reference for a list of supported values and detailed explanations.

image​

image sets the container image used for plugin pods created by the chart.

You can override this to use your own plugin image rather than a Teleport-published image.

image.repository​

TypeDefault
string"public.ecr.aws/gravitational/teleport-plugin-event-handler"

image.repository is the image repository.

image.pullPolicy​

TypeDefault
string"IfNotPresent"

image.pullPolicy is the Kubernetes image pull policy.

image.tag​

TypeDefault
string""

image.tag Overrides the image tag whose default is the chart appVersion.

Normally, the version of the Teleport plugin matches the version of the chart. If you install chart version 15.0.0, you'll use the plugin version 15.0.0. Upgrading the plugin is done by upgrading the chart.

warning

image.tag is intended for development and custom tags. This MUST NOT be used to control the plugin version in a typical deployment. This chart is designed to run a specific plugin version. You will face compatibility issues trying to run a different version with it.

If you want to run the Teleport plugin version X.Y.Z, you should use helm install --version X.Y.Z instead.

imagePullSecrets​

TypeDefault
list[]

imagePullSecrets is a list of secrets containing authorization tokens which can be optionally used to access a private Docker registry.

See the Kubernetes reference for more details.

nameOverride​

TypeDefault
string""

nameOverride optionally overrides the name of the chart, used together with the release name when giving a name to resources.

fullnameOverride​

TypeDefault
string""

fullnameOverride optionally overrides the full name of resources.

podSecurityContext​

TypeDefault
object{}

podSecurityContext sets the pod security context for any pods created by the chart. See the Kubernetes documentation for more details.

To unset the security context, set it to null or ~.

securityContext​

TypeDefault
object{}

securityContext sets the container security context for any pods created by the chart. See the Kubernetes documentation for more details.

To unset the security context, set it to null or ~.

resources​

TypeDefault
object{}

resources sets the resource requests/limits for any pods created by the chart. See the Kubernetes documentation for more details.

nodeSelector​

TypeDefault
object{}

nodeSelector sets the node selector for any pods created by the chart. See the Kubernetes documentation for more details.

tls​

tls contains settings for mounting your own TLS material in the event-handler pod. The event-handler does not expose a TLS server, so this is only used to trust CAs.

tls.existingCASecretName​

TypeDefault
string""

tls.existingCASecretName sets the SSL_CERT_FILE environment variable to load a trusted CA or bundle in PEM format into Teleport pods. The injected CA will be used to validate TLS communications with the Proxy Service.

You must create a secret containing the CA certs in the same namespace as Teleport using a command like:

$ kubectl create secret generic my-root-ca --from-file=ca.pem=/path/to/root-ca.pem

The key containing the root CA in the secret must be ca.pem.

tolerations​

TypeDefault
list[]

tolerations sets the tolerations for any pods created by the chart. See the Kubernetes documentation for more details.

affinity​

TypeDefault
object{}

affinity sets the affinities for any pods created by the chart. See the Kubernetes documentation for more details.

volumes​

TypeDefault
list[]

volumes sets the volumes mounted into the main event-handler pod. See the Kubernetes volume documentation for more details.

For example:

- name: storage
  persistentVolumeClaim:
    claimName: teleport-plugin-event-handler

volumeMounts​

TypeDefault
list[]

volumeMounts sets the volume mounts for the main event-handler container. See the Kubernetes volume documentation for more details.

For example:

- name: storage
  mountPath: "/var/lib/teleport/plugins/event-handler/storage"