[Security Solution] Bulk endpoints: set deprecation severity to "warning" (#208090)

## Summary
We've recently merged a
[PR](https://github.com/elastic/kibana/pull/207091) that added our
deprecated bulk endpoints to Upgrade Assistant with "critical" severity.
Upon further consideration we decided that a "warning" level is more
suitable for these endpoints since we don't want to block upgrades to v9
for users.

This PR sets the severity to "warning". Users would still see the item
in Upgrade Assistant, but they won't have necessarily resolve it.

<img width="1277" alt="warnings_shown"
src="https://github.com/user-attachments/assets/27ff8d71-ac6d-4221-b05e-0a89caaa325d"
/>
This commit is contained in:
Nikita Indik 2025-01-24 09:53:44 +01:00 committed by GitHub
parent 7a0a44e154
commit 98f2be3f66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -66,7 +66,7 @@ export const bulkCreateRulesRoute = (
options: {
deprecated: {
documentationUrl: docLinks.links.securitySolution.legacyBulkApiDeprecations,
severity: 'critical',
severity: 'warning',
reason: {
type: 'migrate',
newApiMethod: 'POST',

View file

@ -139,7 +139,7 @@ export const bulkDeleteRulesRoute = (
options: {
deprecated: {
documentationUrl: docLinks.links.securitySolution.legacyBulkApiDeprecations,
severity: 'critical',
severity: 'warning',
reason: {
type: 'migrate',
newApiMethod: 'POST',
@ -161,7 +161,7 @@ export const bulkDeleteRulesRoute = (
options: {
deprecated: {
documentationUrl: docLinks.links.securitySolution.legacyBulkApiDeprecations,
severity: 'critical',
severity: 'warning',
reason: {
type: 'migrate',
newApiMethod: 'POST',

View file

@ -60,7 +60,7 @@ export const bulkPatchRulesRoute = (
options: {
deprecated: {
documentationUrl: docLinks.links.securitySolution.legacyBulkApiDeprecations,
severity: 'critical',
severity: 'warning',
reason: {
type: 'migrate',
newApiMethod: 'POST',

View file

@ -64,7 +64,7 @@ export const bulkUpdateRulesRoute = (
options: {
deprecated: {
documentationUrl: docLinks.links.securitySolution.legacyBulkApiDeprecations,
severity: 'critical',
severity: 'warning',
reason: {
type: 'migrate',
newApiMethod: 'POST',