Skip to content

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Sep 18, 2025

Proposed commit message

m365_defender: ensure $skip parameter is correctly formatted

The values used to populate this parameter can be greater than the
cutover to e-notation for doubles, so convert to int before converting
to string.

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.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6 efd6 self-assigned this Sep 18, 2025
@efd6 efd6 added Integration:m365_defender Microsoft Defender XDR bugfix Pull request that fixes a bug issue Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels Sep 18, 2025
@efd6 efd6 force-pushed the s6433-m365_defender branch 2 times, most recently from 68b7e1b to e6838bf Compare September 18, 2025 09:15
The values used to populate this parameter can be greater than the
cutover to e-notation for doubles, so convert to int before converting
to string.
@efd6 efd6 force-pushed the s6433-m365_defender branch from e6838bf to 1a61b11 Compare September 18, 2025 09:16
@efd6
Copy link
Contributor Author

efd6 commented Sep 18, 2025

The failures here are both unrelated and cosmetic, and unfixable until 8.19.4 is released since it depends on elastic/beats#46332. However, this change is fixing a real issue. So it would be good if on approval this could be merged despite the failures in alert and incident (I have added changes that will pick up the fix in those data streams when the stack is updated).

@efd6 efd6 marked this pull request as ready for review September 18, 2025 10:15
@efd6 efd6 requested a review from a team as a code owner September 18, 2025 10:15
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@efd6 efd6 requested a review from a team September 18, 2025 10:16
@efd6 efd6 force-pushed the s6433-m365_defender branch from b5482bd to be65262 Compare September 18, 2025 10:17
Copy link

@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @efd6

@kcreddy
Copy link
Contributor

kcreddy commented Sep 18, 2025

hope for the future

Curious how the CI passed after adding do_not_log_failure: true when the fix was added to 8.19.4 but integration's min stack version is 8.19.2.

@efd6 efd6 merged commit 88930ee into elastic:main Sep 18, 2025
9 checks passed
@elastic-vault-github-plugin-prod

Package m365_defender - 4.0.2 containing this change is available at https://epr.elastic.co/package/m365_defender/4.0.2/

kcreddy added a commit that referenced this pull request Sep 26, 2025
…atted (#15471)

microsoft_defender_endpoint: ensure $skip parameter is correctly formatted

The values used to populate this parameter can be greater than the
cutover to e-notation for doubles, so convert to int before converting
to string.

Fix is similar to #15392 as it the same API and CEL program.
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:m365_defender Microsoft Defender XDR Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants