Skip to content

Commit

Permalink
Use existing ALERT_RISK_SCORE constant in risk score query (elastic#1…
Browse files Browse the repository at this point in the history
…79331)

Address @rylnd's comment
[here](elastic#178324 (comment))
  • Loading branch information
hop-dev authored Mar 25, 2024
1 parent 92718c6 commit a64bc79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export const calculateRiskScores = async ({
},
},
field_value_factor: {
field: 'kibana.alert.risk_score', // sort by risk score
field: ALERT_RISK_SCORE, // sort by risk score
},
},
},
Expand Down

0 comments on commit a64bc79

Please sign in to comment.