Skip to content

Commit

Permalink
rm index patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Feb 13, 2020
1 parent 2f09c06 commit 807b2ce
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions x-pack/legacy/plugins/siem/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,6 @@ export const siem = (kibana: any) => {
},
},
mappings: savedObjectMappings,

// TODO: Remove once while Saved Object Mappings API is programmed for the NP See: https://github.com/elastic/kibana/issues/50309
// uncomment for a good time ;) https://github.com/elastic/kibana/pull/57283
// savedObjectSchemas: {
// 'case-workflow': {
// indexPattern: '.case-testing-ground',
// isNamespaceAgnostic: false,
// },
// 'case-workflow-comment': {
// indexPattern: '.case-testing-ground',
// isNamespaceAgnostic: false,
// },
// },
},
init(server: Server) {
const { config, newPlatform, plugins, route } = server;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const FETCH_FAILURE = 'FETCH_FAILURE';
export const FETCH_INIT = 'FETCH_INIT';
export const FETCH_SUCCESS = 'FETCH_SUCCESS';
export const POST_NEW_CASE = 'POST_NEW_CASE';
export const UPDATE_CASE = 'UPDATE_CASE';
export const UPDATE_CASE_PROPERTY = 'UPDATE_CASE_PROPERTY';
export const UPDATE_FILTER_OPTIONS = 'UPDATE_FILTER_OPTIONS';
export const UPDATE_QUERY_PARAMS = 'UPDATE_QUERY_PARAMS';
1 change: 1 addition & 0 deletions x-pack/legacy/plugins/siem/server/saved_objects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const savedObjectMappings = {
...timelineSavedObjectMappings,
...noteSavedObjectMappings,
...pinnedEventSavedObjectMappings,
// TODO: Remove once while Saved Object Mappings API is programmed for the NP See: https://github.com/elastic/kibana/issues/50309
...caseSavedObjectMappings,
...caseCommentSavedObjectMappings,
...ruleStatusSavedObjectMappings,
Expand Down

0 comments on commit 807b2ce

Please sign in to comment.