Skip to content

Commit

Permalink
saved_query: Cleanup saved objects mappings (#153131)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
TinaHeiligers and kibanamachine authored Mar 21, 2023
1 parent f964948 commit 7edb58f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"osquery-pack": "edd84b2c59ef36214ece0676706da8f22175c660",
"osquery-pack-asset": "18e08979d46ee7e5538f54c080aec4d8c58516ca",
"osquery-saved-query": "f5e4e303f65c7607248ea8b2672f1ee30e4fb15e",
"query": "f94de164936da788e9215c0e9b824f8b948ea859",
"query": "ec6000b775f06f81470df42d23f7a88cb31d64ba",
"rules-settings": "9854495c3b54b16a6625fb250c35e5504da72266",
"sample-data-telemetry": "c38daf1a49ed24f2a4fb091e6e1e833fccf19935",
"search": "01bc42d635e9ea0588741c4c7a2bbd3feb3ac5dc",
Expand Down
5 changes: 4 additions & 1 deletion src/plugins/data/server/saved_objects/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export const querySavedObjectType: SavedObjectsType = {
title: { type: 'text' },
description: { type: 'text' },
query: {
properties: { language: { type: 'keyword' }, query: { type: 'keyword', index: false } },
dynamic: false,
properties: {
language: { type: 'keyword' },
},
},
filters: {
dynamic: false,
Expand Down

0 comments on commit 7edb58f

Please sign in to comment.