mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Reduce the number of risk inputs processed per entity
Reduced from 999,999 to 10,000.
This commit is contained in:
parent
82024c240a
commit
f0eb8cf136
1 changed files with 3 additions and 1 deletions
|
@ -39,6 +39,8 @@ import type {
|
|||
RiskScoreBucket,
|
||||
} from './types';
|
||||
|
||||
const MAX_RISK_INPUTS_PER_IDENTITY = 10_000;
|
||||
|
||||
const bucketToResponse = ({
|
||||
bucket,
|
||||
now,
|
||||
|
@ -183,7 +185,7 @@ const buildIdentifierTypeAggregation = ({
|
|||
`,
|
||||
combine_script: 'return state;',
|
||||
params: {
|
||||
max_risk_inputs_per_identity: 999999,
|
||||
max_risk_inputs_per_identity: MAX_RISK_INPUTS_PER_IDENTITY,
|
||||
p: 1.5,
|
||||
risk_cap: 261.2,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue