Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.17] [ResponseOps] Use the feature ID to get connector types for th…
…e stack management rule form (#201674) (#201967) # Backport This will backport the following commits from `main` to `8.17`: - [[ResponseOps] Use the feature ID to get connector types for the stack management rule form (#201674)](#201674) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexi Doak","email":"109488926+doakalexi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-27T12:23:05Z","message":"[ResponseOps] Use the feature ID to get connector types for the stack management rule form (#201674)\n\n## Summary\r\n\r\nThis PR reinstates the `featureId` parameter in requests to the\r\nconnector type API within the new stack management rule form.\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n### To verify\r\n\r\n1. Create a connector with supportedFeatureIds that does not include\r\nAlertingConnectorFeatureId (e.g., the SentinelOne connector).\r\n2. Use the new rule form to create a rule.\r\n3. Confirm that the SentinelOne connector is not displayed in the rule\r\nform as an available option.","sha":"e306255c18d47baecc8b6b9ffffabeb47e3f6d32","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.17.0","v8.18.0","v8.16.2"],"title":"[ResponseOps] Use the feature ID to get connector types for the stack management rule form","number":201674,"url":"https://github.com/elastic/kibana/pull/201674","mergeCommit":{"message":"[ResponseOps] Use the feature ID to get connector types for the stack management rule form (#201674)\n\n## Summary\r\n\r\nThis PR reinstates the `featureId` parameter in requests to the\r\nconnector type API within the new stack management rule form.\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n### To verify\r\n\r\n1. Create a connector with supportedFeatureIds that does not include\r\nAlertingConnectorFeatureId (e.g., the SentinelOne connector).\r\n2. Use the new rule form to create a rule.\r\n3. Confirm that the SentinelOne connector is not displayed in the rule\r\nform as an available option.","sha":"e306255c18d47baecc8b6b9ffffabeb47e3f6d32"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201674","number":201674,"mergeCommit":{"message":"[ResponseOps] Use the feature ID to get connector types for the stack management rule form (#201674)\n\n## Summary\r\n\r\nThis PR reinstates the `featureId` parameter in requests to the\r\nconnector type API within the new stack management rule form.\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n### To verify\r\n\r\n1. Create a connector with supportedFeatureIds that does not include\r\nAlertingConnectorFeatureId (e.g., the SentinelOne connector).\r\n2. Use the new rule form to create a rule.\r\n3. Confirm that the SentinelOne connector is not displayed in the rule\r\nform as an available option.","sha":"e306255c18d47baecc8b6b9ffffabeb47e3f6d32"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Alexi Doak <109488926+doakalexi@users.noreply.github.com>
- Loading branch information