Skip to content

Commit

Permalink
mark /api/risk_scores/calculation/entity API as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpn committed May 7, 2024
1 parent 810d5bc commit 9c70c5e
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ servers:

paths:
/api/risk_scores/calculation/entity:
x-internal: true
post:
summary: Trigger calculation of Risk Scores for an entity
description: Calculates and persists Risk Scores for an entity, returning the calculated risk score.
Expand Down Expand Up @@ -44,19 +45,19 @@ components:
- identifier_type
properties:
identifier:
description: Used to identify the entity.
description: Used to identify the entity.
type: string
example: 'my.host'
identifier_type:
description: Used to define the type of entity.
$ref: './common.schema.yaml#/components/schemas/IdentifierType'

RiskScoresEntityCalculationResponse:
type: object
required:
- success
properties:
success:
type: boolean
score:
$ref: './common.schema.yaml#/components/schemas/RiskScore'
type: object
required:
- success
properties:
success:
type: boolean
score:
$ref: './common.schema.yaml#/components/schemas/RiskScore'

0 comments on commit 9c70c5e

Please sign in to comment.