Skip to content

Commit c2c6cfe

Browse files
committed
Add version to signals template
1 parent cd328e0 commit c2c6cfe

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ describe('get_signals_template', () => {
1919
mapping: {
2020
total_fields: { limit: 10000 },
2121
},
22+
version: 1,
2223
});
2324
});
2425

x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const getSignalsTemplate = (index: string) => {
2525
},
2626
index_patterns: [`${index}-*`],
2727
mappings: ecsMapping.mappings,
28+
version: 1,
2829
};
2930
return template;
3031
};

0 commit comments

Comments
 (0)