Skip to content

[AI4DSOC] Change the logic to query the last alert ingested in an integration#228602

Merged
PhilippeOberti merged 2 commits intoelastic:mainfrom
PhilippeOberti:ai4dsoc-last-alert-ingested
Jul 28, 2025
Merged

[AI4DSOC] Change the logic to query the last alert ingested in an integration#228602
PhilippeOberti merged 2 commits intoelastic:mainfrom
PhilippeOberti:ai4dsoc-last-alert-ingested

Conversation

@PhilippeOberti
Copy link
Contributor

@PhilippeOberti PhilippeOberti commented Jul 18, 2025

Summary

This PR changes the logic used in the AI4DSOC alert summary page integration section to display the last sync value for each integration card displayed at the top of the page

In the previous logic we were fetching all dataStreams and use the last_activity_ms value to display as the last sync for the integration. We realized that some dataStreams have event not related to ingested alert. For example it could be event mentioning that an error is happening... This meant that the alert summary UI was showing an incorrect last sync value.

The new logic leverage a call using ESQL that works as follow:

FROM logs-integrationName.alert-default
    | WHERE event.kind == "alert"
    | SORT event.ingested DESC
    | KEEP event.ingested
    | LIMIT 1

We fetch the information for each integration. We retrieve the last document with event.kind == 'alert' then we sort to get the most recent first, select only the event.ingested field/value pair and keep only the first document.
The value from the event.ingested field is then passed to the integration card and displayed for the last sync.

The PR also sets up a 30 second interval, to make sure that the values in the integration card last sync section are updated periodically. This will give the user an indication that the rest of the page below (charts and table) might be out of date.

Screen.Recording.2025-07-18.at.11.54.38.AM.mov

Checklist

#220617

@PhilippeOberti PhilippeOberti requested a review from a team as a code owner July 18, 2025 12:28
@PhilippeOberti PhilippeOberti added the release_note:skip Skip the PR/issue when compiling release notes label Jul 18, 2025
@PhilippeOberti PhilippeOberti requested a review from a team as a code owner July 18, 2025 12:28
@PhilippeOberti PhilippeOberti added Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team backport:version Backport to applied version labels v8.19.0 v9.2.0 v9.1.1 labels Jul 18, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

Copy link
Contributor

@agusruidiazgd agusruidiazgd left a comment

Choose a reason for hiding this comment

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

Thanks for this fix Philippe! 💯

@PhilippeOberti PhilippeOberti enabled auto-merge (squash) July 28, 2025 20:21
@PhilippeOberti PhilippeOberti merged commit 5729233 into elastic:main Jul 28, 2025
12 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/16581398428

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.8MB 9.8MB +248.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 639 640 +1

Total ESLint disabled count

id before after diff
securitySolution 738 739 +1

History

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 28, 2025
…egration (elastic#228602)

## Summary

This PR changes the logic used in the AI4DSOC alert summary page
integration section to display the last sync value for each integration
card displayed at the top of the page

In the previous logic we were fetching all dataStreams and use the
`last_activity_ms` value to display as the last sync for the
integration. We
[realized](elastic#220617) that some
dataStreams have event not related to ingested alert. For example it
could be event mentioning that an error is happening... This meant that
the alert summary UI was showing an incorrect last sync value.

The new logic leverage a call using ESQL that works as follow:
```
FROM logs-integrationName.alert-default
    | WHERE event.kind == "alert"
    | SORT event.ingested DESC
    | KEEP event.ingested
    | LIMIT 1
```
We fetch the information for each integration. We retrieve the last
document with `event.kind == 'alert'` then we sort to get the most
recent first, select only the `event.ingested` field/value pair and keep
only the first document.
The value from the `event.ingested` field is then passed to the
integration card and displayed for the last sync.

The PR also sets up a 30 second interval, to make sure that the values
in the integration card last sync section are updated periodically. This
will give the user an indication that the rest of the page below (charts
and table) might be out of date.

https://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

elastic#220617
(cherry picked from commit 5729233)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- [Security Solution] Improve bulk actions API reference docs (#228712)
- [ska] relocate security_solution_playwright (#229496)
- [ska] remove test-helper imports that lead to circular dependencies issue (#229587)
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 228602

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 28, 2025
…an integration (#228602) (#229723)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[AI4DSOC] Change the logic to query the last alert ingested in an
integration (#228602)](#228602)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-07-28T22:05:38Z","message":"[AI4DSOC]
Change the logic to query the last alert ingested in an integration
(#228602)\n\n## Summary\n\nThis PR changes the logic used in the AI4DSOC
alert summary page\nintegration section to display the last sync value
for each integration\ncard displayed at the top of the page\n\nIn the
previous logic we were fetching all dataStreams and use
the\n`last_activity_ms` value to display as the last sync for
the\nintegration.
We\n[realized](#220617) that
some\ndataStreams have event not related to ingested alert. For example
it\ncould be event mentioning that an error is happening... This meant
that\nthe alert summary UI was showing an incorrect last sync
value.\n\nThe new logic leverage a call using ESQL that works as
follow:\n```\nFROM logs-integrationName.alert-default\n | WHERE
event.kind == \"alert\"\n | SORT event.ingested DESC\n | KEEP
event.ingested\n | LIMIT 1\n```\nWe fetch the information for each
integration. We retrieve the last\ndocument with `event.kind == 'alert'`
then we sort to get the most\nrecent first, select only the
`event.ingested` field/value pair and keep\nonly the first
document.\nThe value from the `event.ingested` field is then passed to
the\nintegration card and displayed for the last sync.\n\nThe PR also
sets up a 30 second interval, to make sure that the values\nin the
integration card last sync section are updated periodically. This\nwill
give the user an indication that the rest of the page below (charts\nand
table) might be out of
date.\n\n\nhttps://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\nhttps://github.com//issues/220617","sha":"57292335e3cb4011c71e62afa7b3aaea4c5ce034","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat
Hunting:Investigations","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[AI4DSOC]
Change the logic to query the last alert ingested in an
integration","number":228602,"url":"https://github.com/elastic/kibana/pull/228602","mergeCommit":{"message":"[AI4DSOC]
Change the logic to query the last alert ingested in an integration
(#228602)\n\n## Summary\n\nThis PR changes the logic used in the AI4DSOC
alert summary page\nintegration section to display the last sync value
for each integration\ncard displayed at the top of the page\n\nIn the
previous logic we were fetching all dataStreams and use
the\n`last_activity_ms` value to display as the last sync for
the\nintegration.
We\n[realized](#220617) that
some\ndataStreams have event not related to ingested alert. For example
it\ncould be event mentioning that an error is happening... This meant
that\nthe alert summary UI was showing an incorrect last sync
value.\n\nThe new logic leverage a call using ESQL that works as
follow:\n```\nFROM logs-integrationName.alert-default\n | WHERE
event.kind == \"alert\"\n | SORT event.ingested DESC\n | KEEP
event.ingested\n | LIMIT 1\n```\nWe fetch the information for each
integration. We retrieve the last\ndocument with `event.kind == 'alert'`
then we sort to get the most\nrecent first, select only the
`event.ingested` field/value pair and keep\nonly the first
document.\nThe value from the `event.ingested` field is then passed to
the\nintegration card and displayed for the last sync.\n\nThe PR also
sets up a 30 second interval, to make sure that the values\nin the
integration card last sync section are updated periodically. This\nwill
give the user an indication that the rest of the page below (charts\nand
table) might be out of
date.\n\n\nhttps://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\nhttps://github.com//issues/220617","sha":"57292335e3cb4011c71e62afa7b3aaea4c5ce034"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228602","number":228602,"mergeCommit":{"message":"[AI4DSOC]
Change the logic to query the last alert ingested in an integration
(#228602)\n\n## Summary\n\nThis PR changes the logic used in the AI4DSOC
alert summary page\nintegration section to display the last sync value
for each integration\ncard displayed at the top of the page\n\nIn the
previous logic we were fetching all dataStreams and use
the\n`last_activity_ms` value to display as the last sync for
the\nintegration.
We\n[realized](#220617) that
some\ndataStreams have event not related to ingested alert. For example
it\ncould be event mentioning that an error is happening... This meant
that\nthe alert summary UI was showing an incorrect last sync
value.\n\nThe new logic leverage a call using ESQL that works as
follow:\n```\nFROM logs-integrationName.alert-default\n | WHERE
event.kind == \"alert\"\n | SORT event.ingested DESC\n | KEEP
event.ingested\n | LIMIT 1\n```\nWe fetch the information for each
integration. We retrieve the last\ndocument with `event.kind == 'alert'`
then we sort to get the most\nrecent first, select only the
`event.ingested` field/value pair and keep\nonly the first
document.\nThe value from the `event.ingested` field is then passed to
the\nintegration card and displayed for the last sync.\n\nThe PR also
sets up a 30 second interval, to make sure that the values\nin the
integration card last sync section are updated periodically. This\nwill
give the user an indication that the rest of the page below (charts\nand
table) might be out of
date.\n\n\nhttps://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\nhttps://github.com//issues/220617","sha":"57292335e3cb4011c71e62afa7b3aaea4c5ce034"}}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
@PhilippeOberti PhilippeOberti deleted the ai4dsoc-last-alert-ingested branch July 29, 2025 09:28
@PhilippeOberti
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@mistic mistic added v9.1.1 and removed v9.1.0 labels Jul 29, 2025
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 30, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @PhilippeOberti

1 similar comment
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @PhilippeOberti

PhilippeOberti added a commit to PhilippeOberti/kibana that referenced this pull request Aug 1, 2025
…egration (elastic#228602)

## Summary

This PR changes the logic used in the AI4DSOC alert summary page
integration section to display the last sync value for each integration
card displayed at the top of the page

In the previous logic we were fetching all dataStreams and use the
`last_activity_ms` value to display as the last sync for the
integration. We
[realized](elastic#220617) that some
dataStreams have event not related to ingested alert. For example it
could be event mentioning that an error is happening... This meant that
the alert summary UI was showing an incorrect last sync value.

The new logic leverage a call using ESQL that works as follow:
```
FROM logs-integrationName.alert-default
    | WHERE event.kind == "alert"
    | SORT event.ingested DESC
    | KEEP event.ingested
    | LIMIT 1
```
We fetch the information for each integration. We retrieve the last
document with `event.kind == 'alert'` then we sort to get the most
recent first, select only the `event.ingested` field/value pair and keep
only the first document.
The value from the `event.ingested` field is then passed to the
integration card and displayed for the last sync.

The PR also sets up a 30 second interval, to make sure that the values
in the integration card last sync section are updated periodically. This
will give the user an indication that the rest of the page below (charts
and table) might be out of date.

https://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

elastic#220617
(cherry picked from commit 5729233)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/public/detections/hooks/alert_summary/use_integrations_last_activity.test.ts
PhilippeOberti added a commit that referenced this pull request Aug 1, 2025
… an integration (#228602) (#229767)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[AI4DSOC] Change the logic to query the last alert ingested in an
integration (#228602)](#228602)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-07-28T22:05:38Z","message":"[AI4DSOC]
Change the logic to query the last alert ingested in an integration
(#228602)\n\n## Summary\n\nThis PR changes the logic used in the AI4DSOC
alert summary page\nintegration section to display the last sync value
for each integration\ncard displayed at the top of the page\n\nIn the
previous logic we were fetching all dataStreams and use
the\n`last_activity_ms` value to display as the last sync for
the\nintegration.
We\n[realized](#220617) that
some\ndataStreams have event not related to ingested alert. For example
it\ncould be event mentioning that an error is happening... This meant
that\nthe alert summary UI was showing an incorrect last sync
value.\n\nThe new logic leverage a call using ESQL that works as
follow:\n```\nFROM logs-integrationName.alert-default\n | WHERE
event.kind == \"alert\"\n | SORT event.ingested DESC\n | KEEP
event.ingested\n | LIMIT 1\n```\nWe fetch the information for each
integration. We retrieve the last\ndocument with `event.kind == 'alert'`
then we sort to get the most\nrecent first, select only the
`event.ingested` field/value pair and keep\nonly the first
document.\nThe value from the `event.ingested` field is then passed to
the\nintegration card and displayed for the last sync.\n\nThe PR also
sets up a 30 second interval, to make sure that the values\nin the
integration card last sync section are updated periodically. This\nwill
give the user an indication that the rest of the page below (charts\nand
table) might be out of
date.\n\n\nhttps://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\nhttps://github.com//issues/220617","sha":"57292335e3cb4011c71e62afa7b3aaea4c5ce034","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat
Hunting:Investigations","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[AI4DSOC]
Change the logic to query the last alert ingested in an
integration","number":228602,"url":"https://github.com/elastic/kibana/pull/228602","mergeCommit":{"message":"[AI4DSOC]
Change the logic to query the last alert ingested in an integration
(#228602)\n\n## Summary\n\nThis PR changes the logic used in the AI4DSOC
alert summary page\nintegration section to display the last sync value
for each integration\ncard displayed at the top of the page\n\nIn the
previous logic we were fetching all dataStreams and use
the\n`last_activity_ms` value to display as the last sync for
the\nintegration.
We\n[realized](#220617) that
some\ndataStreams have event not related to ingested alert. For example
it\ncould be event mentioning that an error is happening... This meant
that\nthe alert summary UI was showing an incorrect last sync
value.\n\nThe new logic leverage a call using ESQL that works as
follow:\n```\nFROM logs-integrationName.alert-default\n | WHERE
event.kind == \"alert\"\n | SORT event.ingested DESC\n | KEEP
event.ingested\n | LIMIT 1\n```\nWe fetch the information for each
integration. We retrieve the last\ndocument with `event.kind == 'alert'`
then we sort to get the most\nrecent first, select only the
`event.ingested` field/value pair and keep\nonly the first
document.\nThe value from the `event.ingested` field is then passed to
the\nintegration card and displayed for the last sync.\n\nThe PR also
sets up a 30 second interval, to make sure that the values\nin the
integration card last sync section are updated periodically. This\nwill
give the user an indication that the rest of the page below (charts\nand
table) might be out of
date.\n\n\nhttps://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\nhttps://github.com//issues/220617","sha":"57292335e3cb4011c71e62afa7b3aaea4c5ce034"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/229723","number":229723,"state":"MERGED","mergeCommit":{"sha":"1526f93c70e561b07bcb1a081b3f45e73bea36b6","message":"[9.1]
[AI4DSOC] Change the logic to query the last alert ingested in an
integration (#228602) (#229723)\n\n# Backport\n\nThis will backport the
following commits from `main` to `9.1`:\n- [[AI4DSOC] Change the logic
to query the last alert ingested in an\nintegration
(#228602)](https://github.com/elastic/kibana/pull/228602)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Philippe Oberti
<philippe.oberti@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228602","number":228602,"mergeCommit":{"message":"[AI4DSOC]
Change the logic to query the last alert ingested in an integration
(#228602)\n\n## Summary\n\nThis PR changes the logic used in the AI4DSOC
alert summary page\nintegration section to display the last sync value
for each integration\ncard displayed at the top of the page\n\nIn the
previous logic we were fetching all dataStreams and use
the\n`last_activity_ms` value to display as the last sync for
the\nintegration.
We\n[realized](#220617) that
some\ndataStreams have event not related to ingested alert. For example
it\ncould be event mentioning that an error is happening... This meant
that\nthe alert summary UI was showing an incorrect last sync
value.\n\nThe new logic leverage a call using ESQL that works as
follow:\n```\nFROM logs-integrationName.alert-default\n | WHERE
event.kind == \"alert\"\n | SORT event.ingested DESC\n | KEEP
event.ingested\n | LIMIT 1\n```\nWe fetch the information for each
integration. We retrieve the last\ndocument with `event.kind == 'alert'`
then we sort to get the most\nrecent first, select only the
`event.ingested` field/value pair and keep\nonly the first
document.\nThe value from the `event.ingested` field is then passed to
the\nintegration card and displayed for the last sync.\n\nThe PR also
sets up a 30 second interval, to make sure that the values\nin the
integration card last sync section are updated periodically. This\nwill
give the user an indication that the rest of the page below (charts\nand
table) might be out of
date.\n\n\nhttps://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\nhttps://github.com//issues/220617","sha":"57292335e3cb4011c71e62afa7b3aaea4c5ce034"}}]}]
BACKPORT-->
@kibanamachine kibanamachine added v8.19.1 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Aug 1, 2025
delanni pushed a commit to delanni/kibana that referenced this pull request Aug 5, 2025
…egration (elastic#228602)

## Summary

This PR changes the logic used in the AI4DSOC alert summary page
integration section to display the last sync value for each integration
card displayed at the top of the page

In the previous logic we were fetching all dataStreams and use the
`last_activity_ms` value to display as the last sync for the
integration. We
[realized](elastic#220617) that some
dataStreams have event not related to ingested alert. For example it
could be event mentioning that an error is happening... This meant that
the alert summary UI was showing an incorrect last sync value.

The new logic leverage a call using ESQL that works as follow:
```
FROM logs-integrationName.alert-default
    | WHERE event.kind == "alert"
    | SORT event.ingested DESC
    | KEEP event.ingested
    | LIMIT 1
```
We fetch the information for each integration. We retrieve the last
document with `event.kind == 'alert'` then we sort to get the most
recent first, select only the `event.ingested` field/value pair and keep
only the first document.
The value from the `event.ingested` field is then passed to the
integration card and displayed for the last sync.

The PR also sets up a 30 second interval, to make sure that the values
in the integration card last sync section are updated periodically. This
will give the user an indication that the rest of the page below (charts
and table) might be out of date.


https://github.com/user-attachments/assets/b3524777-f994-40dd-90d1-0c757d1ec892

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

elastic#220617
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v8.19.0 v8.19.1 v9.1.1 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants