Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
machadoum committed May 15, 2024
1 parent 380c1e1 commit 4c3a53e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { X_ELASTIC_INTERNAL_ORIGIN_REQUEST } from '@kbn/core-http-common';

import { RISK_SCORE_CALCULATION_URL } from '@kbn/security-solution-plugin/common/constants';
import { v4 as uuidv4 } from 'uuid';
import { EntityRiskScoreRecord } from '@kbn/security-solution-plugin/common/api/entity_analytics/common';
import { dataGeneratorFactory } from '../../../detections_response/utils';
import { deleteAllAlerts, deleteAllRules } from '../../../../../common/utils/security_solution';
import {
Expand Down Expand Up @@ -45,7 +46,7 @@ export default ({ getService }: FtrProviderContext): void => {
body,
}: {
body: object;
}): Promise<{ scores: EntityRiskScore[] }> => {
}): Promise<{ scores: EntityRiskScoreRecord[] }> => {
const { body: result } = await supertest
.post(RISK_SCORE_CALCULATION_URL)
.set('kbn-xsrf', 'true')
Expand Down

0 comments on commit 4c3a53e

Please sign in to comment.