Files
teleport/integrations/event-handler/install
T
Hugo Shaka 7e9ff5acc2 Vendor teleport-event-handler (#40364)
* Vendor event-forwarder plugin

* fix tests + add Makefile + CI

* lint

* Fix broken test

* use a separate go.mod

* ignore event-handler in flaky tests + update go.mod

* go mod tidy
2024-04-10 15:46:14 +00:00

15 lines
441 B
Bash
Executable File

#!/bin/sh
#
# the directory where Teleport binaries will be located
#
BINDIR=/usr/local/bin
[ ! $(id -u) != "0" ] || { echo "ERROR: You must be root"; exit 1; }
cd $(dirname $0)
mkdir -p $BINDIR $DATADIR || exit 1
cp -f teleport-event-handler $BINDIR/ || exit 1
echo "Teleport Event Handler binaries have been copied to $BINDIR"
echo "See https://goteleport.com/docs/management/export-audit-events/fluentd/ for configuration information"