-
Notifications
You must be signed in to change notification settings - Fork 442
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
ping_one: fix handling of potentially null method call receivers #9076
Conversation
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
value: [configuration] | ||
- append: | ||
field: event.type | ||
if: ctx.json?.action?.type?.toLowerCase().contains('created') | ||
if: ctx.json?.action?.type?.toLowerCase().contains('created') == true |
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.
One more after .toLowerCase()
:
ctx.json?.action?.type?.toLowerCase()?.contains('created') == true
Below as well.
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.
True Thanks.
💚 Build Succeeded
History
cc @efd6 |
|
Package ping_one - 1.13.2 containing this change is available at https://epr.elastic.co/search?package=ping_one |
Proposed commit message
See title.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
null
handling inif
conditions and elsewhere #8646Screenshots