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
/tmp/{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.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified November 22, 2020: Fixed a broken link and minor copy edits (5676c49)