Skip to content

Commit

Permalink
Change signal.rule.risk score mapping from keyword to float (#71126) (#…
Browse files Browse the repository at this point in the history
…71587)

* Change risk_score mapping from keyword to float

* Change default alert histogram option

* Add version to signals template

* Fix test

* Undo histogram order change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
marshallmain and elasticmachine authored Jul 14, 2020
1 parent 13b1b7f commit 8f7eb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const getSignalsTemplate = (index: string) => {
},
index_patterns: [`${index}-*`],
mappings: ecsMapping.mappings,
version: 1,
};
return template;
};
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"type": "keyword"
},
"risk_score": {
"type": "keyword"
"type": "float"
},
"risk_score_mapping": {
"properties": {
Expand Down

0 comments on commit 8f7eb51

Please sign in to comment.