Skip to content

Conversation

@paul-tavares
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

… to ensure all artifacts are processed (elastic#238740)

## Summary

Fixes elastic#238711

- Fixes Endpoint artifact migration in support of spaces (introduced in
`9.1.0`) to:
- Ensure it processes all artifacts. The bug fix was to ensure that a
`perPage` value is used when creating the SO client Point-in-Time
interface. Without it, only the first 20 artifacts were being processed
- Fix the filter query to ensure that only artifacts missing the
`spaceOwnerId` tag are matched when retrieving items that need to be
migrated
- Add logic to ensure that this endpoint artifacts migration is re-run

### 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

(cherry picked from commit 8a3cc7c)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/server/endpoint/migrations/space_awareness_migration.test.ts
#	x-pack/solutions/security/plugins/security_solution/server/endpoint/migrations/space_awareness_migration.ts
@paul-tavares paul-tavares merged commit 48da335 into elastic:9.1 Oct 15, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

@paul-tavares paul-tavares deleted the backport/9.1/pr-238740 branch October 15, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants