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

     1  ---
     2  
     3  definitions:
     4    failedServiceRequestEnvelope:
     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/failedServiceRequestList'
    14    failedServiceRequestList:
    15      type: array
    16      items:
    17        $ref: '#/definitions/failedServiceRequest'
    18    failedServiceRequest:
    19      type: object
    20      properties:
    21        apiSessionId:
    22          type: string
    23        when:
    24          type: string
    25          format: date-time
    26        serviceId:
    27          type: string
    28        serviceName:
    29          type: string
    30        sessionType:
    31          $ref: '../shared/base-entity.yml#/definitions/dialBind'
    32        policyFailures:
    33          type: array
    34          items:
    35            $ref: '#/definitions/policyFailure'
    36    policyFailure:
    37      type: object
    38      properties:
    39        policyId:
    40          type: string
    41        policyName:
    42          type: string
    43        checks:
    44          type: array
    45          items:
    46            $ref: '#/definitions/postureCheckFailure'
    47    postureCheckFailure:
    48      type: object
    49      discriminator: postureCheckType
    50      required:
    51        - postureCheckId
    52        - postureCheckName
    53        - postureCheckType
    54      properties:
    55        postureCheckId:
    56          type: string
    57        postureCheckName:
    58          type: string
    59        postureCheckType:
    60          type: string
    61  
    62    postureCheckFailureMacAddress:
    63      x-class: MAC
    64      allOf:
    65        - $ref: '#/definitions/postureCheckFailure'
    66        - type: object
    67          required:
    68            - actualValue
    69            - expectedValue
    70          properties:
    71            actualValue:
    72              type: array
    73              items:
    74                type: string
    75            expectedValue:
    76              type: array
    77              items:
    78                type: string
    79  
    80    postureCheckFailureDomain:
    81      x-class: DOMAIN
    82      allOf:
    83        - $ref: '#/definitions/postureCheckFailure'
    84        - type: object
    85          required:
    86            - actualValue
    87            - expectedValue
    88          properties:
    89            actualValue:
    90              type: string
    91            expectedValue:
    92              type: array
    93              items:
    94                type: string
    95    postureCheckFailureOperatingSystemActual:
    96      type: object
    97      required:
    98        - type
    99        - version
   100      properties:
   101        type:
   102          type: string
   103        version:
   104          type: string
   105  
   106    postureCheckFailureOperatingSystem:
   107      x-class: OS
   108      allOf:
   109        - $ref: '#/definitions/postureCheckFailure'
   110        - type: object
   111          required:
   112            - actualValue
   113            - expectedValue
   114          properties:
   115            actualValue:
   116              $ref: '#/definitions/postureCheckFailureOperatingSystemActual'
   117            expectedValue:
   118              type: array
   119              minItems: 1
   120              items:
   121                $ref: 'posture-checks.yml#/definitions/operatingSystem'
   122  
   123    postureCheckFailureProcessActual:
   124      type: object
   125      required:
   126        - isRunning
   127        - hash
   128        - signerFingerprints
   129      properties:
   130        path:
   131          type: string
   132        isRunning:
   133          type: boolean
   134        hash:
   135          type: string
   136        signerFingerprints:
   137          type: array
   138          items:
   139            type: string
   140        osType:
   141          $ref: '../shared/posture-checks.yml#/definitions/osType'
   142  
   143    postureCheckFailureProcess:
   144      x-class: PROCESS
   145      allOf:
   146        - $ref: '#/definitions/postureCheckFailure'
   147        - type: object
   148          required:
   149            - actualValue
   150            - expectedValue
   151          properties:
   152            actualValue:
   153              $ref: '#/definitions/postureCheckFailureProcessActual'
   154            expectedValue:
   155              $ref: 'posture-checks.yml#/definitions/process'
   156  
   157    postureCheckFailureProcessMulti:
   158      x-class: PROCESS_MULTI
   159      allOf:
   160        - $ref: '#/definitions/postureCheckFailure'
   161        - type: object
   162          required:
   163            - actualValue
   164            - expectedValue
   165            - semantic
   166          properties:
   167            semantic:
   168              $ref: '../shared/base-entity.yml#/definitions/semantic'
   169            actualValue:
   170              type: array
   171              items:
   172                $ref: '#/definitions/postureCheckFailureProcessActual'
   173            expectedValue:
   174              type: array
   175              items:
   176                $ref: 'posture-checks.yml#/definitions/processMulti'
   177  
   178    postureCheckFailureMfa:
   179      x-class: MFA
   180      allOf:
   181        - $ref: '#/definitions/postureCheckFailure'
   182        - type: object
   183          required:
   184            - actualValue
   185            - expectedValue
   186            - criteria
   187          properties:
   188            actualValue:
   189              $ref: '#/definitions/postureChecksFailureMfaValues'
   190            expectedValue:
   191              $ref: '#/definitions/postureChecksFailureMfaValues'
   192            criteria:
   193              $ref: '#/definitions/postureChecksFailureMfaCriteria'
   194  
   195  
   196    postureChecksFailureMfaValues:
   197      type: object
   198      properties:
   199        passedMfa:
   200          type: boolean
   201          x-omitempty: false
   202        passedOnWake:
   203          type: boolean
   204          x-omitempty: false
   205        passedOnUnlock:
   206          type: boolean
   207          x-omitempty: false
   208        timedOut:
   209          type: boolean
   210          x-omitempty: false
   211  
   212    postureChecksFailureMfaCriteria:
   213      type: object
   214      required:
   215        - passedMfaAt
   216        - wokenAt
   217        - unlockedAt
   218        - timeoutSeconds
   219        - timeoutRemainingSeconds
   220      properties:
   221          passedMfaAt:
   222            type: string
   223            format: date-time
   224          wokenAt:
   225            type: string
   226            format: date-time
   227          unlockedAt:
   228            type: string
   229            format: date-time
   230          timeoutSeconds:
   231            type: integer
   232          timeoutRemainingSeconds:
   233            type: integer