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

check for nil values in evt.time and proc.pid #527

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

spyder-guy
Copy link
Contributor

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area config

/area outputs

/area tests

What this PR does / why we need it:
The spyderbat output uses proc.pid and evt.time but did not validate if the fields are non-empty.
This could lead to the sidekick process terminating and falco events getting lost.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:
We have an integration and production environment where this problem occured, and have validated the fixes in these environments.

@poiana
Copy link

poiana commented Jun 20, 2023

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

@poiana poiana requested review from fjogeleit and leogr June 20, 2023 20:14
@poiana poiana added the size/S label Jun 20, 2023
@Issif Issif added this to the 2.28.0 milestone Jun 20, 2023
@poiana
Copy link

poiana commented Jun 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Issif, spyder-guy

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
Copy link

poiana commented Jun 20, 2023

LGTM label has been added.

Git tree hash: 67f18a492c725fb01786d442e1f4263e20d82290

@poiana poiana merged commit 6adc57e into falcosecurity:master Jun 21, 2023
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