feat!: use HTTP output instead of gRPC output#301
Merged
poiana merged 3 commits intofalcosecurity:mainfrom Feb 12, 2026
Merged
Conversation
Falco gRPC output has been deprecated in version `0.43.0` and could be removed at any time starting from version `0.44.0`. Drop the gRPC alert retriever and add support for an HTTP one, leveraging the Falco HTTP output to ingest Falco alerts. BREAKING CHANGE: gRPC alerts retrieval is not supported anymore Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
Falco gRPC output has been deprecated in version `0.43.0` and could be removed at any time starting from version `0.44.0`. Drop the usage of the gRPC output and use the HTTP alert retriever to leverage the Falco HTTP one to retrieve alerts. BREAKING CHANGE: gRPC alerts retrieval is not supported anymore Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
leogr
reviewed
Feb 9, 2026
Member
leogr
left a comment
There was a problem hiding this comment.
Terrific job!
I just found a couple of typos, and I also have a question about a possible issue. See my comments below.
Otherwise SGTM!
Thank you 🙏
aadcf65 to
9acb25c
Compare
Contributor
Author
|
Suggestions applied and changes pushed! |
9acb25c to
4603e41
Compare
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
4603e41 to
be83f0f
Compare
leogr
approved these changes
Feb 12, 2026
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekoops, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind cleanup
/kind documentation
Any specific area of the project related to this PR?
/area commands
/area pkg
What this PR does / why we need it:
Falco gRPC output has been deprecated in version
0.43.0and could be removed at any time starting from version0.44.0. This PR drops any usage of the gRPC output and replace it with the use of the HTTP Output. Specifically, the PR drops the gRPC alert retriever and replaces its usage insuitesub-command code with usage on an HTTP alert retriever, just added for this purpose. Moreover, the new alert retriever is reused inbenchandtestsub-commands code.The patch drops the following gRPC parameter:
with these new ones:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Is it possible to test the new implementation with something like the following:
docker run --rm -it \ --privileged \ --net=host \ -v /sys/kernel/tracing:/sys/kernel/tracing:ro \ -v /var/run/docker.sock:/host/var/run/docker.sock \ -v /proc:/host/proc:ro \ -v /etc:/host/etc:ro \ -v /path-to-certs:/host/certs:ro \ falcosecurity/falco:0.43.0 falco \ -o http_output.enabled=true \ -o http_output.url=https://localhost:8080 \ -o json_output=true \ -o 'append_output[]={"extra_fields": ["proc.env"]}' \ -o http_output.client_cert=/host/certs/client.crt \ -o http_output.client_key=/host/certs/client.key \ -o http_output.ca_cert=/host/certs/server-ca.crt \ -o http_output.insecure=false -o http_output.mtls=truesudo ./event-generator bench "ReadSensitiveFileUntrusted" --sleep 10ms --http-server-cert /certs/server.crt --http-server-key /path-to-certs/server.key --http-client-ca /path-to-certs/client-ca.crt --http-server-security-mode mtlsJust remember to replace
path-to-certswith a folder containing the certificates and the keys for both the client and the server, as well as the certificates of the client and server CAs. Notice that the provided example just allow to test the mTLS use case. In order to test the TLS scenario,--http-server-security-modeshould be set totls, and the-o http_output.mtls=falsemust be passed to Falco.