Skip to content

Commit

Permalink
[Osquery] Revert fix Saved Query mapping (elastic#105503) (elastic#10…
Browse files Browse the repository at this point in the history
…5522)

Co-authored-by: Patryk Kopyciński <[email protected]>
  • Loading branch information
kibanamachine and patrykkopycinski authored Jul 14, 2021
1 parent e11fe79 commit c431482
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const savedQuerySavedObjectMappings: SavedObjectsType['mappings'] = {
type: 'date',
},
created_by: {
type: 'keyword',
type: 'text',
},
platform: {
type: 'keyword',
Expand All @@ -36,7 +36,7 @@ export const savedQuerySavedObjectMappings: SavedObjectsType['mappings'] = {
type: 'date',
},
updated_by: {
type: 'keyword',
type: 'text',
},
interval: {
type: 'keyword',
Expand All @@ -57,27 +57,27 @@ export const packSavedObjectMappings: SavedObjectsType['mappings'] = {
type: 'text',
},
name: {
type: 'keyword',
type: 'text',
},
created_at: {
type: 'date',
},
created_by: {
type: 'keyword',
type: 'text',
},
updated_at: {
type: 'date',
},
updated_by: {
type: 'keyword',
type: 'text',
},
queries: {
properties: {
name: {
type: 'keyword',
},
interval: {
type: 'keyword',
type: 'text',
},
},
},
Expand Down

0 comments on commit c431482

Please sign in to comment.