mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +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)
119 lines
2.5 KiB
YAML
119 lines
2.5 KiB
YAML
---
|
|
|
|
definitions:
|
|
postureDataEnvelope:
|
|
type: object
|
|
required:
|
|
- meta
|
|
- data
|
|
properties:
|
|
meta:
|
|
$ref: '../shared/standard-responses.yml#/definitions/meta'
|
|
data:
|
|
$ref: '#/definitions/postureData'
|
|
postureData:
|
|
type: object
|
|
required:
|
|
- mac
|
|
- domain
|
|
- os
|
|
- processes
|
|
- apiSessionPostureData
|
|
properties:
|
|
mac:
|
|
$ref: '#/definitions/postureDataMac'
|
|
domain:
|
|
$ref: '#/definitions/postureDataDomain'
|
|
os:
|
|
$ref: '#/definitions/postureDataOs'
|
|
processes:
|
|
type: array
|
|
items:
|
|
$ref: '#/definitions/postureDataProcess'
|
|
apiSessionPostureData:
|
|
type: object
|
|
additionalProperties:
|
|
$ref: '#/definitions/apiSessionPostureData'
|
|
postureDataBase:
|
|
type: object
|
|
required:
|
|
- postureCheckId
|
|
- timedOut
|
|
- lastUpdatedAt
|
|
properties:
|
|
postureCheckId:
|
|
type: string
|
|
timedOut:
|
|
type: boolean
|
|
lastUpdatedAt:
|
|
type: string
|
|
format: date-time
|
|
postureDataMac:
|
|
type: object
|
|
allOf:
|
|
- $ref: '#/definitions/postureDataBase'
|
|
- type: object
|
|
required:
|
|
- addresses
|
|
properties:
|
|
addresses:
|
|
type: array
|
|
items:
|
|
type: string
|
|
postureDataDomain:
|
|
type: object
|
|
allOf:
|
|
- $ref: '#/definitions/postureDataBase'
|
|
- type: object
|
|
required:
|
|
- domain
|
|
properties:
|
|
domain:
|
|
type: string
|
|
postureDataOs:
|
|
type: object
|
|
allOf:
|
|
- $ref: '#/definitions/postureDataBase'
|
|
- type: object
|
|
required:
|
|
- type
|
|
- version
|
|
- build
|
|
properties:
|
|
type:
|
|
type: string
|
|
version:
|
|
type: string
|
|
build:
|
|
type: string
|
|
postureDataProcess:
|
|
type: object
|
|
allOf:
|
|
- $ref: '#/definitions/postureDataBase'
|
|
- type: object
|
|
properties:
|
|
isRunning:
|
|
type: boolean
|
|
binaryHash:
|
|
type: string
|
|
signerFingerprints:
|
|
type: array
|
|
items:
|
|
type: string
|
|
postureDataMfa:
|
|
type: object
|
|
required:
|
|
- apiSessionId
|
|
- passedMfa
|
|
properties:
|
|
apiSessionId:
|
|
type: string
|
|
passedMfa:
|
|
type: boolean
|
|
apiSessionPostureData:
|
|
type: object
|
|
required:
|
|
- mfa
|
|
properties:
|
|
mfa:
|
|
$ref: '#/definitions/postureDataMfa' |