diff --git a/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts index c9e04de87f2c0..b78da99da4dc0 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts @@ -57,7 +57,7 @@ describe('checking migration metadata changes on all registered SO types', () => Object { "action": "6cfc277ed3211639e37546ac625f4a68f2494215", "action_task_params": "5f419caba96dd8c77d0f94013e71d43890e3d5d6", - "alert": "1e4cd6941f1eb39c729c646e91fbfb9700de84b9", + "alert": "cd2ec6f540cbb9305452e1582ccff8ad00917903", "api_key_pending_invalidation": "16e7bcf8e78764102d7f525542d5b616809a21ee", "apm-indices": "d19dd7fb51f2d2cbc1f8769481721e0953f9a6d2", "apm-server-schema": "1d42f17eff9ec6c16d3a9324d9539e2d123d0a9a", @@ -123,7 +123,7 @@ describe('checking migration metadata changes on all registered SO types', () => "osquery-pack-asset": "18e08979d46ee7e5538f54c080aec4d8c58516ca", "osquery-saved-query": "f5e4e303f65c7607248ea8b2672f1ee30e4fb15e", "query": "ec6000b775f06f81470df42d23f7a88cb31d64ba", - "rules-settings": "9854495c3b54b16a6625fb250c35e5504da72266", + "rules-settings": "2b8b610c10eccd3d5577a1bd817f3e1103abc366", "sample-data-telemetry": "c38daf1a49ed24f2a4fb091e6e1e833fccf19935", "search": "01bc42d635e9ea0588741c4c7a2bbd3feb3ac5dc", "search-session": "58a44d14ec991739166b2ec28d718001ab0f4b28", diff --git a/x-pack/plugins/alerting/server/saved_objects/mappings.ts b/x-pack/plugins/alerting/server/saved_objects/mappings.ts index 9e3bc06e7ca39..eba45ebd3f85d 100644 --- a/x-pack/plugins/alerting/server/saved_objects/mappings.ts +++ b/x-pack/plugins/alerting/server/saved_objects/mappings.ts @@ -58,20 +58,8 @@ export const alertMappings: SavedObjectsTypeMappingDefinition = { properties: {}, }, frequency: { - properties: { - summary: { - index: false, - type: 'boolean', - }, - notifyWhen: { - index: false, - type: 'keyword', - }, - throttle: { - index: false, - type: 'keyword', - }, - }, + dynamic: false, + properties: {}, }, }, }, diff --git a/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts b/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts index d20567edc2832..f719d7cf0a131 100644 --- a/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts +++ b/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts @@ -10,36 +10,8 @@ import { SavedObjectsTypeMappingDefinition } from '@kbn/core/server'; export const rulesSettingsMappings: SavedObjectsTypeMappingDefinition = { properties: { flapping: { - properties: { - enabled: { - type: 'boolean', - index: false, - }, - lookBackWindow: { - type: 'long', - index: false, - }, - statusChangeThreshold: { - type: 'long', - index: false, - }, - createdBy: { - type: 'keyword', - index: false, - }, - updatedBy: { - type: 'keyword', - index: false, - }, - createdAt: { - type: 'date', - index: false, - }, - updatedAt: { - type: 'date', - index: false, - }, - }, + dynamic: false, + properties: {}, }, }, }; diff --git a/x-pack/plugins/apm/server/saved_objects/apm_server_settings.ts b/x-pack/plugins/apm/server/saved_objects/apm_server_settings.ts index 4515903d306f8..86d913d037a4a 100644 --- a/x-pack/plugins/apm/server/saved_objects/apm_server_settings.ts +++ b/x-pack/plugins/apm/server/saved_objects/apm_server_settings.ts @@ -17,7 +17,7 @@ export const apmServerSettings: SavedObjectsType = { properties: { schemaJson: { type: 'text', - index: false, + index: false, // referenced directly in `createCloudApmPackgePolicy` }, }, },