Go Client
Retrieve Falco events using the gRPC Go Client
The client-go Go library provides:
- type and service mappings for the Falco gRPC API. For more information, see output schema.
Client
andConfig
structs that simplify the connection to the gRPC server. For more information, see documentation.
Refer to the fully-functional example to see how the Go client connects to the Falco gRPC Outputs API and displays the events in JSON.
Additional examples for various APIs are located in the examples directory of the client-go repository.
Ensure that you have the certificates in the example's path at
/etc/falco/certs/{client.crt,client.key,ca.crt}
.In the client-go root directory, run:
The output events start flowing in depending on the set of rules in the Falco instance.
Was this page helpful?
Let us know! You feedback will help us to improve the content and to stay in touch with our users.
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified Sep 11, 2024: docs(content/docs): section re-ordering (6cdfdb86)