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

added fission output type #255

Merged
merged 3 commits into from
Jul 21, 2021

Conversation

gauravgahlot
Copy link
Contributor

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.

@poiana
Copy link

poiana commented Jul 17, 2021

Welcome @gauravgahlot! It looks like this is your first PR to falcosecurity/falcosidekick 🎉

@poiana poiana added the size/L label Jul 17, 2021
@@ -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))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.Printf("[INFO] : %v - Function Response : %v\n", Openfaas, string(body))
log.Printf("[INFO] : %v - Function Response : %v\n", Fission, string(body))

@Issif
Copy link
Member

Issif commented Jul 17, 2021

Really nice first PR 👍

Copy link
Member

@Issif Issif left a 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>
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
@gauravgahlot gauravgahlot marked this pull request as ready for review July 21, 2021 10:14
@gauravgahlot gauravgahlot requested a review from Issif July 21, 2021 10:14
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
@gauravgahlot
Copy link
Contributor Author

/assign

Copy link
Member

@Issif Issif left a 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 👍

@poiana poiana added the lgtm label Jul 21, 2021
@poiana
Copy link

poiana commented Jul 21, 2021

LGTM label has been added.

Git tree hash: f398130bcec757f8bd5f226c9a0cf7f26d5d5643

@poiana
Copy link

poiana commented Jul 21, 2021

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 84a75f6 into falcosecurity:master Jul 21, 2021
@gauravgahlot gauravgahlot deleted the output-type-fission branch July 21, 2021 23:12
@Issif Issif added this to the 2.24.0 milestone Aug 12, 2021
@developer-guy developer-guy mentioned this pull request Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants