Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9.0] [Rules migration][Integration test] Create migration API (#11232)…
… (#210999) (#211085) # Backport This will backport the following commits from `main` to `9.0`: - [[Rules migration][Integration test] Create migration API (#11232) (#210999)](#210999) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ievgen Sorokopud","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-02-13T19:20:06Z","message":"[Rules migration][Integration test] Create migration API (#11232) (#210999)\n\n## Summary\r\n\r\n[Internal link](https://github.com/elastic/security-team/issues/10820)\r\nto the feature details\r\n\r\nPart of https://github.com/elastic/security-team/issues/11232\r\n\r\nThis PR covers SIEM Migrations CREATE API (route:\r\n`/internal/siem_migrations/rules/{migration_id?}`) integration test:\r\n* Create migration with provided ID\r\n* Create migration without provided ID\r\n* Create migration with rules that have resources\r\n* Error handling (\"no content\") when no rules provided\r\n\r\nAlso, as part of this PR, I addressed this comment to my previous\r\nchanges\r\nhttps://github.com//pull/210867#discussion_r1954344990","sha":"44fdf81bbec5c053ebccfbdbb062d39de0d7358c","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat Hunting","Team: SecuritySolution","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Rules migration][Integration test] Create migration API (#11232)","number":210999,"url":"https://github.com/elastic/kibana/pull/210999","mergeCommit":{"message":"[Rules migration][Integration test] Create migration API (#11232) (#210999)\n\n## Summary\r\n\r\n[Internal link](https://github.com/elastic/security-team/issues/10820)\r\nto the feature details\r\n\r\nPart of https://github.com/elastic/security-team/issues/11232\r\n\r\nThis PR covers SIEM Migrations CREATE API (route:\r\n`/internal/siem_migrations/rules/{migration_id?}`) integration test:\r\n* Create migration with provided ID\r\n* Create migration without provided ID\r\n* Create migration with rules that have resources\r\n* Error handling (\"no content\") when no rules provided\r\n\r\nAlso, as part of this PR, I addressed this comment to my previous\r\nchanges\r\nhttps://github.com//pull/210867#discussion_r1954344990","sha":"44fdf81bbec5c053ebccfbdbb062d39de0d7358c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210999","number":210999,"mergeCommit":{"message":"[Rules migration][Integration test] Create migration API (#11232) (#210999)\n\n## Summary\r\n\r\n[Internal link](https://github.com/elastic/security-team/issues/10820)\r\nto the feature details\r\n\r\nPart of https://github.com/elastic/security-team/issues/11232\r\n\r\nThis PR covers SIEM Migrations CREATE API (route:\r\n`/internal/siem_migrations/rules/{migration_id?}`) integration test:\r\n* Create migration with provided ID\r\n* Create migration without provided ID\r\n* Create migration with rules that have resources\r\n* Error handling (\"no content\") when no rules provided\r\n\r\nAlso, as part of this PR, I addressed this comment to my previous\r\nchanges\r\nhttps://github.com//pull/210867#discussion_r1954344990","sha":"44fdf81bbec5c053ebccfbdbb062d39de0d7358c"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ievgen Sorokopud <[email protected]>
- Loading branch information