implement posture checks update and request validation

This commit is contained in:
bcmmbaga
2023-12-22 00:23:32 +03:00
parent c0e51377af
commit 3d9d93e15c
3 changed files with 71 additions and 12 deletions

View File

@@ -784,8 +784,11 @@ components:
type: array
items:
$ref: '#/components/schemas/PolicyRuleUpdate'
postureCheck:
$ref: '#/components/schemas/PostureCheck'
required:
- rules
- PostureCheck
Policy:
allOf:
- $ref: '#/components/schemas/PolicyMinimum'
@@ -796,11 +799,11 @@ components:
type: array
items:
$ref: '#/components/schemas/PolicyRule'
PostureCheck:
postureCheck:
$ref: '#/components/schemas/PostureCheck'
required:
- rules
- PostureCheck
- postureCheck
RouteRequest:
type: object
properties: