-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http_output results in libcurl error: URL using bad/illegal format or missing URL #2579
Labels
Comments
Hi @therealdwright, the quotation marks around the URL are not handled correctly. It should work without them. |
Would you like me to push a PR to handle the quotes in the URL? I know you are busy with the next release milestone so would like to verify before spending time on writing any code. |
therealdwright
added a commit
to therealdwright/falco
that referenced
this issue
May 30, 2023
This commit will unescape URL's allowing them to be supported by libcurl and eliminate any errors when a valid (quoted) URL is supplied by a user. Closes falcosecurity#2579 Signed-off-by: Daniel Wright danielwright@bitgo.com
therealdwright
added a commit
to therealdwright/falco
that referenced
this issue
May 31, 2023
This commit will unquote URL's allowing them to be supported by libcurl and eliminate any errors when a valid (quoted) URL is supplied by a user. Closes falcosecurity#2579 Signed-off-by: Daniel Wright danielwright@bitgo.com
therealdwright
added a commit
to therealdwright/falco
that referenced
this issue
May 31, 2023
This commit will unquote URL's allowing them to be supported by libcurl and eliminate any errors when a valid (quoted) URL is supplied by a user. Closes falcosecurity#2579 Signed-off-by: Daniel Wright danielwright@bitgo.com
therealdwright
added a commit
to therealdwright/falco
that referenced
this issue
Jun 1, 2023
This commit will unquote URL's allowing them to be supported by libcurl and eliminate any errors when a valid (quoted) URL is supplied by a user. Closes falcosecurity#2579 Signed-off-by: Daniel Wright danielwright@bitgo.com
poiana
pushed a commit
that referenced
this issue
Jun 5, 2023
This commit will unquote URL's allowing them to be supported by libcurl and eliminate any errors when a valid (quoted) URL is supplied by a user. Closes #2579 Signed-off-by: Daniel Wright danielwright@bitgo.com
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When configuring the Falco http_output URL as suggested in this reply
The URL is correctly assigned via environment variable, however when events are
generated from Falco I receive an error:
libcurl error: URL using bad/illegal format or missing URL
How to reproduce it
Install Falco using charts, configure outputs using the following method:
falco ... --option http_output.enabled=true --option http_output.user_agent="falcosecurity/falco" --option http_output.url="https://example.com/example/example2"
Expected behaviour
Output is posted to the endpoint
Screenshots
Environment
Amazon EC2, M5a series instance
Linux 5.4.238-148.347.amzn2.x86_64 #1 SMP Thu Apr 6 19:42:57 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes
The text was updated successfully, but these errors were encountered: