github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2919/edge-api/shared/posture-queries.yml (about) 1 --- 2 3 definitions: 4 postureQueries: 5 type: object 6 required: 7 - policyId 8 - isPassing 9 - postureQueries 10 properties: 11 policyId: 12 type: string 13 isPassing: 14 type: boolean 15 policyType: 16 $ref: 'base-entity.yml#/definitions/dialBind' 17 postureQueries: 18 type: array 19 items: 20 $ref: '#/definitions/postureQuery' 21 postureQuery: 22 type: object 23 allOf: 24 - $ref: 'base-entity.yml#/definitions/baseEntity' 25 - type: object 26 required: 27 - queryType 28 - isPassing 29 - timeout 30 - timeoutRemaining 31 properties: 32 isPassing: 33 type: boolean 34 timeout: 35 type: integer 36 timeoutRemaining: 37 type: integer 38 queryType: 39 $ref: 'posture-checks.yml#/definitions/postureCheckType' 40 process: 41 $ref: '#/definitions/postureQueryProcess' 42 processes: 43 type: array 44 items: 45 $ref: '#/definitions/postureQueryProcess' 46 postureQueryProcess: 47 type: object 48 properties: 49 osType: 50 $ref: 'posture-checks.yml#/definitions/osType' 51 path: 52 type: string