Skip to content
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

is it possible to add a new type support in falcosidekick output which can forward event to a rest endpoint (method, headers...) #398

Closed
pingxie88 opened this issue Feb 27, 2023 · 2 comments
Labels
kind/feature New feature or request
Milestone

Comments

@pingxie88
Copy link

pingxie88 commented Feb 27, 2023

Motivation

Use case: The rest endpoint is a Pre-Authenticated url which can upload the file to remote object storage, the curl command looks like: curl -X PUT --data-binary '<your_file>' https://<PAR_url>/<new_file_name>

The expected behavior is this new type can upload the falco event to the remote object storage, the <new_file_name> can auto created from falcosidekick with timestamp.

Feature

/kind-feature

Alternatives

Additional context

@pingxie88 pingxie88 added the kind/feature New feature or request label Feb 27, 2023
@pingxie88
Copy link
Author

pingxie88 commented Feb 27, 2023

Use case: The rest endpoint is a Pre-Authenticated url which can upload the file to remote object storage, the curl command looks like: curl -X PUT --data-binary '<your_file>' https://<PAR_url>/<new_file_name>

The expected behavior is this new type can upload the falco event to the remote object storage, the <new_file_name> can auto created from falcosidekick with timestamp.

@Issif Issif added this to the 2.28.0 milestone Feb 27, 2023
@pingxie88
Copy link
Author

pingxie88 commented Feb 27, 2023

To embed the event as body, my rest API will be like:

curl -X PUT -H "Content-Type: application/myappname" -d '<event_body>' https://<PAR_url>/<new_file_name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants