Files
ziti/specs/source/shared/posture-queries.yml
T
Andrew Martinez b562fb5c07 splits API specs into composible modules
- splits Open API 2.0 (swagger) into client/management APIs
- uses go-swaggers flatten capabilities
- uses newer version of go-swagger (v0.27.0)
- introduces /edge/client/v1, /edge/management/v1
- non-prefixed URLs default to /edge/client/v1
- splits some shared management/client API handlers
- renames some REST models to "client" instead of "limited"
- passes all apitests, fails dataflow upd test (main fails this as well)
- updates generate rest script for powershell
- todo: test generate rest script for bash
- todo: use xweb (different branch)
2021-05-04 11:30:32 -04:00

49 lines
1.1 KiB
YAML

---
definitions:
postureQueries:
type: object
required:
- policyId
- isPassing
- postureQueries
properties:
policyId:
type: string
isPassing:
type: boolean
policyType:
$ref: 'base-entity.yml#/definitions/dialBind'
postureQueries:
type: array
items:
$ref: '#/definitions/postureQuery'
postureQuery:
type: object
allOf:
- $ref: 'base-entity.yml#/definitions/baseEntity'
- type: object
required:
- queryType
- isPassing
- timeout
properties:
isPassing:
type: boolean
timeout:
type: integer
queryType:
$ref: 'posture-checks.yml#/definitions/postureCheckType'
process:
$ref: '#/definitions/postureQueryProcess'
processes:
type: array
items:
$ref: '#/definitions/postureQueryProcess'
postureQueryProcess:
type: object
properties:
osType:
$ref: 'posture-checks.yml#/definitions/osType'
path:
type: string