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

ping_one: fix handling of potentially null method call receivers #9076

Merged
merged 2 commits into from Feb 12, 2024

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Feb 6, 2024

Proposed commit message

See title.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6 efd6 added bugfix Integration:PingOne PingOne integration Team:Security-Service Integrations Security Service Integrations Team labels Feb 6, 2024
@efd6 efd6 self-assigned this Feb 6, 2024
@efd6 efd6 marked this pull request as ready for review February 6, 2024 21:30
@efd6 efd6 requested a review from a team as a code owner February 6, 2024 21:30
@elasticmachine
Copy link

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

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True Thanks.

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @efd6

Copy link

@efd6 efd6 merged commit 890e009 into elastic:main Feb 12, 2024
5 checks passed
@elasticmachine
Copy link

Package ping_one - 1.13.2 containing this change is available at https://epr.elastic.co/search?package=ping_one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Integration:PingOne PingOne integration Team:Security-Service Integrations Security Service Integrations Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants