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

[microsoft_defender_endpoint] Clean up null handling #9176

Conversation

chrisberkhout
Copy link
Contributor

Proposed commit message

[microsoft_defender_endpoint] Clean up null handling (#)

- Combine 'not null and is/not value' checks.
- Remove redundant null-safe access to ctx.
- Remove redundant null-safe operator.
- Remove redundant quotes and brackets.
- Combine 'is null or not contains' checks.

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.

Related issues

@chrisberkhout chrisberkhout added Team:Service-Integrations Label for the Service Integrations team Integration:microsoft_defender_endpoint Microsoft Defender for Endpoint bugfix Pull request that fixes a bug issue labels Feb 15, 2024
@chrisberkhout chrisberkhout self-assigned this Feb 15, 2024
@chrisberkhout chrisberkhout requested a review from a team as a code owner February 15, 2024 16:15
@elasticmachine
Copy link

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

cc @chrisberkhout

Copy link

@chrisberkhout chrisberkhout merged commit 7949cee into elastic:main Feb 19, 2024
5 checks passed
@chrisberkhout chrisberkhout deleted the microsoft_defender_endpoint-null-handling branch February 19, 2024 11:06
@elasticmachine
Copy link

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

gizas pushed a commit that referenced this pull request Mar 13, 2024
- Combine 'not null and is/not value' checks.
- Remove redundant null-safe access to ctx.
- Remove redundant null-safe operator.
- Remove redundant quotes and brackets.
- Combine 'is null or not contains' checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request that fixes a bug issue Integration:microsoft_defender_endpoint Microsoft Defender for Endpoint Team:Service-Integrations Label for the Service Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants