Skip to content

Commit

Permalink
[Security Solution] Mapping cleanup for Signals Migration Saved Object (
Browse files Browse the repository at this point in the history
#154949)

## Summary

These fields are captured in schema elsewhere (and validated there as
well).

This effort is part of elastic/security-team#6268.
  • Loading branch information
rylnd authored Apr 20, 2023
1 parent ef218cd commit 2773faa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"search-session": "fae0dfc63274d6a3b90ca583802c48cab8760637",
"search-telemetry": "1bbaf2db531b97fa04399440fa52d46e86d54dd8",
"security-rule": "151108f4906744a137ddc89f5988310c5b9ba8b6",
"security-solution-signals-migration": "c2db409c1857d330beb3d6fd188fa186f920302c",
"security-solution-signals-migration": "0be3bed0f2ff4fe460493751b8be610a785c5c98",
"siem-detection-engine-rule-actions": "123c130dc38120a470d8db9fed9a4cebd2046445",
"siem-ui-timeline": "e9d6b3a9fd7af6dc502293c21cbdb309409f3996",
"siem-ui-timeline-note": "13c9d4c142f96624a93a623c6d7cba7e1ae9b5a6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,16 @@ import type { SavedObjectsType } from '@kbn/core/server';
export const signalsMigrationType = 'security-solution-signals-migration';

export const signalsMigrationMappings: SavedObjectsType['mappings'] = {
dynamic: false,
properties: {
sourceIndex: {
type: 'keyword',
},
destinationIndex: {
type: 'keyword',
index: false,
},
version: {
type: 'long',
},
error: {
type: 'text',
index: false,
},
taskId: {
type: 'keyword',
index: false,
},
status: {
type: 'keyword',
index: false,
},
created: {
type: 'date',
index: false,
},
createdBy: {
type: 'text',
index: false,
},
updated: {
type: 'date',
index: false,
},
updatedBy: {
type: 'text',
index: false,
version: {
type: 'long',
},
},
};
Expand Down

0 comments on commit 2773faa

Please sign in to comment.