mirror of
https://github.com/falcosecurity/falco.git
synced 2026-01-29 21:48:32 +00:00
C++ program that performs bad activities related to the current falco ruleset. There are configurable actions for almost all of the current ruleset, via the --action argument. By default runs in a loop forever. Can be overridden via --once. Also add a Dockerfile that compiles event_generator.cpp within an alpine linux image and copies it to /usr/local/bin. This image has been pushed to docker hub as "sysdig/falco-event-generator:latest". Add a Makefile that runs the right docker build command.
7 lines
247 B
Docker
7 lines
247 B
Docker
FROM alpine:latest
|
|
RUN apk add --no-cache bash g++
|
|
COPY ./event_generator.cpp /usr/local/bin
|
|
RUN mkdir -p /var/lib/rpm
|
|
RUN g++ --std=c++0x /usr/local/bin/event_generator.cpp -o /usr/local/bin/event_generator
|
|
CMD ["/usr/local/bin/event_generator"]
|