github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2919/edge-api/management/posture-data.yml (about)

     1  ---
     2  
     3  definitions:
     4    postureDataEnvelope:
     5      type: object
     6      required:
     7        - meta
     8        - data
     9      properties:
    10        meta:
    11          $ref: '../shared/standard-responses.yml#/definitions/meta'
    12        data:
    13          $ref: '#/definitions/postureData'
    14    postureData:
    15      type: object
    16      required:
    17        - mac
    18        - domain
    19        - os
    20        - processes
    21        - apiSessionPostureData
    22      properties:
    23        mac:
    24          $ref: '#/definitions/postureDataMac'
    25        domain:
    26          $ref: '#/definitions/postureDataDomain'
    27        os:
    28          $ref: '#/definitions/postureDataOs'
    29        processes:
    30          type: array
    31          items:
    32            $ref: '#/definitions/postureDataProcess'
    33        apiSessionPostureData:
    34          type: object
    35          additionalProperties:
    36            $ref: '#/definitions/apiSessionPostureData'
    37    postureDataBase:
    38      type: object
    39      required:
    40        - postureCheckId
    41        - timedOut
    42        - lastUpdatedAt
    43      properties:
    44        postureCheckId:
    45          type: string
    46        timedOut:
    47          type: boolean
    48        lastUpdatedAt:
    49          type: string
    50          format: date-time
    51    postureDataMac:
    52      type: object
    53      allOf:
    54        - $ref: '#/definitions/postureDataBase'
    55        - type: object
    56          required:
    57            - addresses
    58          properties:
    59            addresses:
    60              type: array
    61              items:
    62                type: string
    63    postureDataDomain:
    64      type: object
    65      allOf:
    66        - $ref: '#/definitions/postureDataBase'
    67        - type: object
    68          required:
    69            - domain
    70          properties:
    71            domain:
    72              type: string
    73    postureDataOs:
    74      type: object
    75      allOf:
    76        - $ref: '#/definitions/postureDataBase'
    77        - type: object
    78          required:
    79            - type
    80            - version
    81            - build
    82          properties:
    83            type:
    84              type: string
    85            version:
    86              type: string
    87            build:
    88              type: string
    89    postureDataProcess:
    90      type: object
    91      allOf:
    92        - $ref: '#/definitions/postureDataBase'
    93        - type: object
    94          properties:
    95            isRunning:
    96              type: boolean
    97            binaryHash:
    98              type: string
    99            signerFingerprints:
   100              type: array
   101              items:
   102                type: string
   103    postureDataMfa:
   104      type: object
   105      required:
   106        - apiSessionId
   107        - passedMfa
   108        - passedOnWake
   109        - passedOnUnlock
   110        - passedAt
   111      properties:
   112        apiSessionId:
   113          type: string
   114        passedAt:
   115          type: string
   116          format: date-time
   117          x-omitempty: false
   118        passedMfa:
   119          type: boolean
   120          x-omitempty: false
   121        passedOnWake:
   122          type: boolean
   123          x-omitempty: false
   124        passedOnUnlock:
   125          type: boolean
   126          x-omitempty: false
   127    postureDataEndpointState:
   128      type: object
   129      required:
   130        - wokenAt
   131        - unlockedAt
   132      properties:
   133        wokenAt:
   134          type: string
   135          format: date-time
   136        unlockedAt:
   137          type: string
   138          format: date-time
   139    apiSessionPostureData:
   140      type: object
   141      required:
   142        - mfa
   143      properties:
   144        mfa:
   145          $ref: '#/definitions/postureDataMfa'
   146        endpointState:
   147          $ref: '#/definitions/postureDataEndpointState'
   148        sdkInfo:
   149          $ref: '../shared/authenticate.yml#/definitions/sdkInfo'