Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67081,15 +67081,13 @@ components:
type: number
category_1_count:
description: The number of risk input documents that contributed to the Category 1 score (`category_1_score`).
format: integer
type: number
type: integer
category_1_score:
description: The contribution of Category 1 to the overall risk score (`calculated_score`). Category 1 contains Detection Engine Alerts.
format: double
type: number
category_2_count:
format: integer
type: number
type: integer
category_2_score:
format: double
type: number
Expand Down
6 changes: 2 additions & 4 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76644,15 +76644,13 @@ components:
type: number
category_1_count:
description: The number of risk input documents that contributed to the Category 1 score (`category_1_score`).
format: integer
type: number
type: integer
category_1_score:
description: The contribution of Category 1 to the overall risk score (`calculated_score`). Category 1 contains Detection Engine Alerts.
format: double
type: number
category_2_count:
format: integer
type: number
type: integer
category_2_score:
format: double
type: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ export const EntityRiskScoreRecord = z.object({
/**
* The number of risk input documents that contributed to the Category 1 score (`category_1_score`).
*/
category_1_count: z.number(),
category_1_count: z.number().int(),
/**
* A list of the highest-risk documents contributing to this risk score. Useful for investigative purposes.
*/
inputs: z.array(RiskScoreInput),
category_2_score: z.number().optional(),
category_2_count: z.number().optional(),
category_2_count: z.number().int().optional(),
notes: z.array(z.string()),
criticality_modifier: z.number().optional(),
criticality_level: AssetCriticalityLevel.optional(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ components:
format: double
description: The contribution of Category 1 to the overall risk score (`calculated_score`). Category 1 contains Detection Engine Alerts.
category_1_count:
type: number
format: integer
type: integer
description: The number of risk input documents that contributed to the Category 1 score (`category_1_score`).
inputs:
type: array
Expand All @@ -215,8 +214,7 @@ components:
type: number
format: double
category_2_count:
type: number
format: integer
type: integer
notes:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1550,17 +1550,15 @@ components:
description: >-
The number of risk input documents that contributed to the Category
1 score (`category_1_score`).
format: integer
type: number
type: integer
category_1_score:
description: >-
The contribution of Category 1 to the overall risk score
(`calculated_score`). Category 1 contains Detection Engine Alerts.
format: double
type: number
category_2_count:
format: integer
type: number
type: integer
category_2_score:
format: double
type: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1550,17 +1550,15 @@ components:
description: >-
The number of risk input documents that contributed to the Category
1 score (`category_1_score`).
format: integer
type: number
type: integer
category_1_score:
description: >-
The contribution of Category 1 to the overall risk score
(`calculated_score`). Category 1 contains Detection Engine Alerts.
format: double
type: number
category_2_count:
format: integer
type: number
type: integer
category_2_score:
format: double
type: number
Expand Down