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

feat(severity-priority): match the priority with alertmanager severity label #440

Merged
merged 3 commits into from
Jul 6, 2023

Conversation

Lowaiz
Copy link
Contributor

@Lowaiz Lowaiz commented Mar 29, 2023

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area config

/area outputs

What this PR does / why we need it:

Automatch the priority of a falco alert into a severity label.
There is a configuration options built to over the default map if the priority is found in this config map. Otherwise, we use the default.
The configuration checks if the indicated priority is a valid one.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

I'll update the docs once the feature is validated and fully dev.

@Issif
Copy link
Member

Issif commented Apr 24, 2023

Sorry for the delay, I was successively sick, off and at kubecon in last weeks. I'll review your PR this week. Thanks

@Lowaiz
Copy link
Contributor Author

Lowaiz commented Apr 25, 2023

No problem mate !

@Issif
Copy link
Member

Issif commented Apr 25, 2023

It seems OK to me, can you update the README + the config_example.yaml please

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
config.go Outdated Show resolved Hide resolved
config_example.yaml Outdated Show resolved Hide resolved
outputs/alertmanager.go Outdated Show resolved Hide resolved
outputs/alertmanager.go Outdated Show resolved Hide resolved
config.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@Lowaiz Lowaiz force-pushed the feat/severity-priority branch 2 times, most recently from 18e860b to f2abae5 Compare May 12, 2023 11:52
@Lowaiz
Copy link
Contributor Author

Lowaiz commented May 12, 2023

Hey @Issif
I fixed the lint, so I guess it's mergeable

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
config.go Show resolved Hide resolved
outputs/alertmanager.go Show resolved Hide resolved
Issif
Issif previously approved these changes Jun 26, 2023
@poiana poiana added the lgtm label Jun 26, 2023
@poiana
Copy link

poiana commented Jun 26, 2023

LGTM label has been added.

Git tree hash: cc871c7af2a36f928aff45ae54ddeafc10a51574

@Issif
Copy link
Member

Issif commented Jun 26, 2023

Can you rebase to fix the conflict in the config.go?

@Lowaiz
Copy link
Contributor Author

Lowaiz commented Jul 6, 2023

@Issif Rebases done

@poiana poiana added the lgtm label Jul 6, 2023
@poiana
Copy link

poiana commented Jul 6, 2023

LGTM label has been added.

Git tree hash: b9c780ad44daf713780eae83174127f5d9b8eeff

@poiana
Copy link

poiana commented Jul 6, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif, Lowaiz

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 added the approved label Jul 6, 2023
@poiana poiana merged commit 9d34ec7 into falcosecurity:master Jul 6, 2023
5 checks passed
@Lowaiz Lowaiz deleted the feat/severity-priority branch July 10, 2023 07:53
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.

None yet

3 participants