mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 23:32:02 +00:00
b562fb5c07
- 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)
49 lines
1.1 KiB
YAML
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 |