-
Notifications
You must be signed in to change notification settings - Fork 182
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
added fission output type #255
added fission output type #255
Conversation
Welcome @gauravgahlot! It looks like this is your first PR to falcosecurity/falcosidekick 🎉 |
outputs/client.go
Outdated
@@ -209,6 +209,8 @@ func (c *Client) Post(payload interface{}) error { | |||
} else if c.OutputType == Openfaas { | |||
log.Printf("[INFO] : %v - Function Response : %v\n", Openfaas, | |||
string(body)) | |||
} else if c.OutputType == Fission { | |||
log.Printf("[INFO] : %v - Function Response : %v\n", Openfaas, string(body)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.Printf("[INFO] : %v - Function Response : %v\n", Openfaas, string(body)) | |
log.Printf("[INFO] : %v - Function Response : %v\n", Fission, string(body)) |
Really nice first PR 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also update the README.md and config_example.yaml files, please
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
d9af1fc
to
61b0431
Compare
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You made my day 👍
LGTM label has been added. Git tree hash: f398130bcec757f8bd5f226c9a0cf7f26d5d5643
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauravgahlot, Issif The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Gaurav Gahlot gauravgahlot0107@gmail.com
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area outputs
What this PR does / why we need it:
This PR adds Fission as an output module. So, we can start sending events to the Fission functions.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Work in progress.