APIs.io Engineering Platform Device Posture Rules API

The Device Posture Rules API from APIs.io Engineering Platform — 2 operation(s) for device posture rules.

Operations 5

GET /accounts/{account_id}/devices/posture APIs.io Engineering Platform List device posture rules #
POST /accounts/{account_id}/devices/posture APIs.io Engineering Platform Create a device posture rule #
DELETE /accounts/{account_id}/devices/posture/{rule_id} APIs.io Engineering Platform Delete a device posture rule #
GET /accounts/{account_id}/devices/posture/{rule_id} APIs.io Engineering Platform Get device posture rule details #
PUT /accounts/{account_id}/devices/posture/{rule_id} APIs.io Engineering Platform Update a device posture rule #

Documentation

Specifications

Other Resources

🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-1ab188a6-cc1f-490d-9413-9c6da20918d0?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-0e94f581-cbc1-48e0-b594-1f6b3d07a328?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-4517d93a-e7f7-4dc2-b572-06762bbe14de?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-88f9ddbb-3115-47dc-b6e5-7fc6f1d2a190?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-3a12caae-4945-4df4-8ab9-bb6219ba7a9f?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-863b18f0-c2f2-4e32-a5fa-0d1e6ccf77a9?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-189876d1-f207-49a2-a4bc-5c67ae78cd19?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-c1e74fd9-3f84-4d95-943d-d645d6cb82f7?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-b002164d-6e8a-4b6d-b409-4929476e7818?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-508660fd-30b8-4c9c-aede-8edbac8a514d?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-da35e0ba-f1a9-42fe-a77a-56ff0a47e341?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-1d4df7d0-9c92-4fa8-946f-2110c2b3b48d?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-2af6f54f-d259-46c0-8f86-78856f5885cd?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-cc203f31-e7f6-42ec-ad34-c5c4cde58904?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-f19285da-48dd-4691-bbdf-f7d6bec157a3?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-aa69cacc-4bbf-4724-a1d4-78cdad57fee8?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-a5858f86-04d3-4e15-ae11-b42c7516688b?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-c2052341-766c-43c7-b1dc-ed4985e4606b?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-aa777c90-8271-4809-8eac-3ec39a9a899c?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-4d5957dc-df05-4216-a5fc-d46b3ba811d8?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-28d97617-fdba-46a5-ac3e-40f3d2e0fa57?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-7429b451-d812-4abc-b497-b763372cf5c5?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-b0eafdd0-adaa-48a2-a855-6a31beb86d83?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-209f34ef-13c1-400c-bca8-fcddb304aff5?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-fb2bbbb8-d4cc-48b1-a660-c8e158bfbbea?action=share&creator=35240

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/engineering-platform-device-posture-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

engineering-platform-device-posture-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'To get started using Cloudflare''s products and services via the API, refer to [how to interact with Cloudflare](https://developers.cloudflare.com/fundamentals/basic-tasks/interact-with-cloudflare/), which covers using tools like [Terraform](https://developers.cloudflare.com/terraform/#cloudflare-terraform) and the [official SDKs](https://developers.cloudflare.com/fundamentals/api/reference/sdks/) to maintain your Cloudflare resources.


    Using the Cloudflare API requires authentication so that Cloudflare knows who is making requests and what permissions you have. Create an API token to grant access to the API to perform actions.


    To create an API token, from the Cloudflare dashboard, go to My Profile > API Tokens and select Create Token. For more information on how to create and troubleshoot API tokens, refer to

    our [API fundamentals](https://developers.cloudflare.com/fundamentals/api/).


    Totally new to Cloudflare? [Start here](https://developers.cloudflare.com/fundamentals/get-started/).'
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  title: APIs.io Engineering Platform Cloudflare Device Posture Rules API
  version: 4.0.0
tags:
- name: Device Posture Rules
paths:
  /accounts/{account_id}/devices/posture:
    get:
      description: Fetches device posture rules for a Zero Trust account.
      operationId: device-posture-rules-list-device-posture-rules
      parameters:
      - in: path
        name: account_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_identifier'
      responses:
        4XX:
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/teams-devices_response_collection'
                - $ref: '#/components/schemas/teams-devices_api-response-common-failure'
          description: List device posture rules response failure
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/teams-devices_response_collection'
          description: List device posture rules response
      security:
      - api_email: []
        api_key: []
      summary: APIs.io Engineering Platform List device posture rules
      tags:
      - Device Posture Rules
      x-api-token-group:
      - Teams Read
      - Teams Write
    post:
      description: Creates a new device posture rule.
      operationId: device-posture-rules-create-device-posture-rule
      parameters:
      - in: path
        name: account_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_identifier'
      requestBody:
        content:
          application/json:
            schema:
              properties:
                description:
                  $ref: '#/components/schemas/teams-devices_description'
                expiration:
                  $ref: '#/components/schemas/teams-devices_expiration'
                input:
                  $ref: '#/components/schemas/teams-devices_input'
                match:
                  $ref: '#/components/schemas/teams-devices_match'
                name:
                  $ref: '#/components/schemas/teams-devices_name'
                schedule:
                  $ref: '#/components/schemas/teams-devices_schedule'
                type:
                  $ref: '#/components/schemas/teams-devices_type'
              required:
              - name
              - type
        required: true
      responses:
        4XX:
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/teams-devices_single_response'
                - $ref: '#/components/schemas/teams-devices_api-response-common-failure'
          description: Create device posture rule response failure
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/teams-devices_single_response'
          description: Create device posture rule response
      security:
      - api_email: []
        api_key: []
      summary: APIs.io Engineering Platform Create a device posture rule
      tags:
      - Device Posture Rules
      x-api-token-group:
      - Teams Write
  /accounts/{account_id}/devices/posture/{rule_id}:
    delete:
      description: Deletes a device posture rule.
      operationId: device-posture-rules-delete-device-posture-rule
      parameters:
      - in: path
        name: rule_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_uuid'
      - in: path
        name: account_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_identifier'
      requestBody:
        content:
          application/json: {}
        required: true
      responses:
        4XX:
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/teams-devices_id_response'
                - $ref: '#/components/schemas/teams-devices_api-response-common-failure'
          description: Delete a device posture rule response failure
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/teams-devices_id_response'
          description: Delete a device posture rule response
      security:
      - api_email: []
        api_key: []
      summary: APIs.io Engineering Platform Delete a device posture rule
      tags:
      - Device Posture Rules
      x-api-token-group:
      - Teams Write
    get:
      description: Fetches a single device posture rule.
      operationId: device-posture-rules-device-posture-rules-details
      parameters:
      - in: path
        name: rule_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_uuid'
      - in: path
        name: account_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_identifier'
      responses:
        4XX:
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/teams-devices_single_response'
                - $ref: '#/components/schemas/teams-devices_api-response-common-failure'
          description: Get device posture rule details response failure
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/teams-devices_single_response'
          description: Get device posture rule details response
      security:
      - api_email: []
        api_key: []
      summary: APIs.io Engineering Platform Get device posture rule details
      tags:
      - Device Posture Rules
      x-api-token-group:
      - Teams Read
      - Teams Write
    put:
      description: Updates a device posture rule.
      operationId: device-posture-rules-update-device-posture-rule
      parameters:
      - in: path
        name: rule_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_uuid'
      - in: path
        name: account_id
        required: true
        schema:
          $ref: '#/components/schemas/teams-devices_identifier'
      requestBody:
        content:
          application/json:
            schema:
              properties:
                description:
                  $ref: '#/components/schemas/teams-devices_description'
                expiration:
                  $ref: '#/components/schemas/teams-devices_expiration'
                input:
                  $ref: '#/components/schemas/teams-devices_input'
                match:
                  $ref: '#/components/schemas/teams-devices_match'
                name:
                  $ref: '#/components/schemas/teams-devices_name'
                schedule:
                  $ref: '#/components/schemas/teams-devices_schedule'
                type:
                  $ref: '#/components/schemas/teams-devices_type'
              required:
              - name
              - type
        required: true
      responses:
        4XX:
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/teams-devices_single_response'
                - $ref: '#/components/schemas/teams-devices_api-response-common-failure'
          description: Update a device posture rule response failure
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/teams-devices_single_response'
          description: Update a device posture rule response
      security:
      - api_email: []
        api_key: []
      summary: APIs.io Engineering Platform Update a device posture rule
      tags:
      - Device Posture Rules
      x-api-token-group:
      - Teams Write
components:
  schemas:
    teams-devices_identifier:
      example: 699d98642c564d2e855e9661899b7252
    teams-devices_messages:
      example: []
      items:
        properties:
          code:
            minimum: 1000
            type: integer
          message:
            type: string
        required:
        - code
        - message
        type: object
        uniqueItems: true
      type: array
    teams-devices_device-posture-rules:
      properties:
        description:
          $ref: '#/components/schemas/teams-devices_description'
        expiration:
          $ref: '#/components/schemas/teams-devices_expiration'
        id:
          $ref: '#/components/schemas/teams-devices_uuid'
        input:
          $ref: '#/components/schemas/teams-devices_input'
        match:
          $ref: '#/components/schemas/teams-devices_match'
        name:
          $ref: '#/components/schemas/teams-devices_name'
        schedule:
          $ref: '#/components/schemas/teams-devices_schedule'
        type:
          $ref: '#/components/schemas/teams-devices_type'
      type: object
    teams-devices_tanium_input_request:
      properties:
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
        eid_last_seen:
          description: For more details on eid last seen, refer to the Tanium documentation.
          example: '2023-07-20T23:16:32Z'
          type: string
        operator:
          description: Operator to evaluate risk_level or eid_last_seen.
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
        risk_level:
          description: For more details on risk level, refer to the Tanium documentation.
          enum:
          - low
          - medium
          - high
          - critical
          example: low
          type: string
        scoreOperator:
          description: Score Operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
        total_score:
          description: For more details on total score, refer to the Tanium documentation.
          example: 1
          type: number
      required:
      - connection_id
      title: Tanium S2S Input
      type: object
    teams-devices_firewall_input_request:
      properties:
        enabled:
          description: Enabled
          example: true
          type: boolean
        operating_system:
          description: Operating System
          enum:
          - windows
          - mac
          example: windows
          type: string
      required:
      - operating_system
      - enabled
      title: Firewall
      type: object
    teams-devices_carbonblack_input_request:
      properties:
        operating_system:
          description: Operating system
          enum:
          - windows
          - linux
          - mac
          example: mac
          type: string
        path:
          description: File path.
          example: /bin/cat
          type: string
        sha256:
          description: SHA-256.
          example: b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
          type: string
        thumbprint:
          description: Signing certificate thumbprint.
          example: 0aabab210bdb998e9cf45da2c9ce352977ab531c681b74cf1e487be1bbe9fe6e
          type: string
      required:
      - path
      - operating_system
      title: Carbonblack
      type: object
    teams-devices_match_item:
      properties:
        platform:
          $ref: '#/components/schemas/teams-devices_platform'
      type: object
    teams-devices_api-response-common:
      properties:
        errors:
          $ref: '#/components/schemas/teams-devices_messages'
        messages:
          $ref: '#/components/schemas/teams-devices_messages'
        result:
          anyOf:
          - type: object
          - items: {}
            type: array
          - type: string
        success:
          description: Whether the API call was successful.
          enum:
          - true
          example: true
          type: boolean
      required:
      - success
      - errors
      - messages
      - result
      type: object
    teams-devices_unique_client_id_input_request:
      properties:
        id:
          description: List ID.
          example: da3de859-8f6e-47ea-a2b5-b2433858471f
          type: string
        operating_system:
          description: Operating System
          enum:
          - android
          - ios
          - chromeos
          example: android
          type: string
      required:
      - operating_system
      - id
      title: Unique Client ID
      type: object
    teams-devices_platform:
      enum:
      - windows
      - mac
      - linux
      - android
      - ios
      example: windows
      type: string
    teams-devices_sentinelone_s2s_input_request:
      properties:
        active_threats:
          description: The Number of active threats.
          example: 1
          type: number
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
        infected:
          description: Whether device is infected.
          example: true
          type: boolean
        is_active:
          description: Whether device is active.
          example: true
          type: boolean
        network_status:
          description: Network status of device.
          enum:
          - connected
          - disconnected
          - disconnecting
          - connecting
          example: connected
          type: string
        operator:
          description: operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
      required:
      - connection_id
      title: SentinelOne S2S Input
      type: object
    teams-devices_expiration:
      description: Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.
      example: 1h
      type: string
    teams-devices_trust_stores_enum:
      enum:
      - system
      - user
      type: string
    teams-devices_custom_s2s_input_request:
      properties:
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
        operator:
          description: operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
        score:
          description: A value between 0-100 assigned to devices set by the 3rd party posture provider.
          example: 100
          type: number
      required:
      - connection_id
      - score
      - operator
      title: Custom Device Posture Integration Input
      type: object
    teams-devices_paths:
      description: List of paths to check for client certificate on linux.
      example:
      - /path1
      - /path2
      items:
        type: string
      type: array
    teams-devices_uuid:
      description: API UUID.
      example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
      maxLength: 36
      type: string
    teams-devices_input:
      description: The value to be checked against.
      example:
        operating_system: linux
        path: /bin/cat
        thumbprint: 0aabab210bdb998e9cf45da2c9ce352977ab531c681b74cf1e487be1bbe9fe6e
      oneOf:
      - $ref: '#/components/schemas/teams-devices_file_input_request'
      - $ref: '#/components/schemas/teams-devices_unique_client_id_input_request'
      - $ref: '#/components/schemas/teams-devices_domain_joined_input_request'
      - $ref: '#/components/schemas/teams-devices_os_version_input_request'
      - $ref: '#/components/schemas/teams-devices_firewall_input_request'
      - $ref: '#/components/schemas/teams-devices_sentinelone_input_request'
      - $ref: '#/components/schemas/teams-devices_carbonblack_input_request'
      - $ref: '#/components/schemas/teams-devices_disk_encryption_input_request'
      - $ref: '#/components/schemas/teams-devices_application_input_request'
      - $ref: '#/components/schemas/teams-devices_client_certificate_input_request'
      - $ref: '#/components/schemas/teams-devices_client_certificate_v2_input_request'
      - $ref: '#/components/schemas/teams-devices_workspace_one_input_request'
      - $ref: '#/components/schemas/teams-devices_crowdstrike_input_request'
      - $ref: '#/components/schemas/teams-devices_intune_input_request'
      - $ref: '#/components/schemas/teams-devices_kolide_input_request'
      - $ref: '#/components/schemas/teams-devices_tanium_input_request'
      - $ref: '#/components/schemas/teams-devices_sentinelone_s2s_input_request'
      - $ref: '#/components/schemas/teams-devices_custom_s2s_input_request'
      type: object
    teams-devices_checkDisks:
      description: List of volume names to be checked for encryption.
      example:
      - C
      - D
      - G
      items:
        type: string
      type: array
    teams-devices_id_response:
      allOf:
      - $ref: '#/components/schemas/teams-devices_api-response-single'
      - properties:
          result:
            properties:
              id:
                $ref: '#/components/schemas/teams-devices_uuid'
            type: object
    teams-devices_file_input_request:
      properties:
        exists:
          description: Whether or not file exists
          example: true
          type: boolean
        operating_system:
          description: Operating system
          enum:
          - windows
          - linux
          - mac
          example: mac
          type: string
        path:
          description: File path.
          example: /bin/cat
          type: string
        sha256:
          description: SHA-256.
          example: https://api.us-2.crowdstrike.com
          type: string
        thumbprint:
          description: Signing certificate thumbprint.
          example: 0aabab210bdb998e9cf45da2c9ce352977ab531c681b74cf1e487be1bbe9fe6e
          type: string
      required:
      - path
      - operating_system
      title: File Check
      type: object
    teams-devices_type:
      description: The type of device posture rule.
      enum:
      - file
      - application
      - tanium
      - gateway
      - warp
      - disk_encryption
      - sentinelone
      - carbonblack
      - firewall
      - os_version
      - domain_joined
      - client_certificate
      - client_certificate_v2
      - unique_client_id
      - kolide
      - tanium_s2s
      - crowdstrike_s2s
      - intune
      - workspace_one
      - sentinelone_s2s
      - custom_s2s
      example: file
      type: string
    teams-devices_requireAll:
      description: Whether to check all disks for encryption.
      example: true
      type: boolean
    teams-devices_single_response:
      allOf:
      - $ref: '#/components/schemas/teams-devices_api-response-single'
      - properties:
          result:
            $ref: '#/components/schemas/teams-devices_device-posture-rules'
    teams-devices_workspace_one_input_request:
      properties:
        compliance_status:
          description: Compliance Status
          enum:
          - compliant
          - noncompliant
          - unknown
          example: compliant
          type: string
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
      required:
      - connection_id
      - compliance_status
      title: Workspace One S2S Input
      type: object
    teams-devices_application_input_request:
      properties:
        operating_system:
          description: Operating system
          enum:
          - windows
          - linux
          - mac
          example: mac
          type: string
        path:
          description: Path for the application.
          example: /bin/cat
          type: string
        sha256:
          description: SHA-256.
          example: b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
          type: string
        thumbprint:
          description: Signing certificate thumbprint.
          example: 0aabab210bdb998e9cf45da2c9ce352977ab531c681b74cf1e487be1bbe9fe6e
          type: string
      required:
      - path
      - operating_system
      title: Application
      type: object
    teams-devices_result_info:
      properties:
        count:
          description: Total number of results for the requested service
          example: 1
          type: number
        page:
          description: Current page within paginated list of results
          example: 1
          type: number
        per_page:
          description: Number of results per page of results
          example: 20
          type: number
        total_count:
          description: Total results available without any search parameters
          example: 2000
          type: number
      type: object
    teams-devices_api-response-single:
      allOf:
      - $ref: '#/components/schemas/teams-devices_api-response-common'
      - properties:
          result:
            anyOf:
            - type: object
            - type: string
            type:
            - object
            - 'null'
      type: object
    teams-devices_kolide_input_request:
      properties:
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
        countOperator:
          description: Count Operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
        issue_count:
          description: The Number of Issues.
          example: 1
          type: string
      required:
      - connection_id
      - countOperator
      - issue_count
      title: Kolide S2S Input
      type: object
    teams-devices_match:
      description: The conditions that the client must match to run the rule.
      items:
        $ref: '#/components/schemas/teams-devices_match_item'
      type: array
    teams-devices_description:
      description: The description of the device posture rule.
      example: The rule for admin serial numbers
      type: string
    teams-devices_os_version_input_request:
      properties:
        operating_system:
          description: Operating System
          enum:
          - windows
          example: windows
          type: string
        operator:
          description: Operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: 13.3.0
          type: string
        os_distro_name:
          description: Operating System Distribution Name (linux only)
          example: ubuntu
          type: string
        os_distro_revision:
          description: Version of OS Distribution (linux only)
          example: 11.3.1
          type: string
        os_version_extra:
          description: Additional version data. For Mac or iOS, the Product Verison Extra. For Linux, the kernel release version. (Mac, iOS, and Linux only)
          example: (a) or -1007
          type: string
        version:
          description: Version of OS
          example: 13.3.0
          type: string
      required:
      - operating_system
      - version
      - operator
      title: OS Version
      type: object
    teams-devices_disk_encryption_input_request:
      properties:
        checkDisks:
          $ref: '#/components/schemas/teams-devices_checkDisks'
        requireAll:
          $ref: '#/components/schemas/teams-devices_requireAll'
      title: Disk Encryption
      type: object
    teams-devices_extended_key_usage_enum:
      enum:
      - clientAuth
      - emailProtection
      type: string
    teams-devices_api-response-collection:
      allOf:
      - $ref: '#/components/schemas/teams-devices_api-response-common'
      - properties:
          result:
            items: {}
            type:
            - array
            - 'null'
          result_info:
            $ref: '#/components/schemas/teams-devices_result_info'
      type: object
    teams-devices_intune_input_request:
      properties:
        compliance_status:
          description: Compliance Status
          enum:
          - compliant
          - noncompliant
          - unknown
          - notapplicable
          - ingraceperiod
          - error
          example: compliant
          type: string
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
      required:
      - connection_id
      - compliance_status
      title: Intune S2S Input
      type: object
    teams-devices_response_collection:
      allOf:
      - $ref: '#/components/schemas/teams-devices_api-response-collection'
      - properties:
          result:
            items:
              $ref: '#/components/schemas/teams-devices_device-posture-rules'
            type: array
    teams-devices_api-response-common-failure:
      properties:
        errors:
          allOf:
          - $ref: '#/components/schemas/teams-devices_messages'
          example:
          - code: 7003
            message: No route for the URI
          minLength: 1
        messages:
          allOf:
          - $ref: '#/components/schemas/teams-devices_messages'
          example: []
        result:
          enum:
          - null
          type:
          - object
          - 'null'
        success:
          description: Whether the API call was successful
          enum:
          - false
          example: false
          type: boolean
      required:
      - success
      - errors
      - messages
      - result
      type: object
    teams-devices_sentinelone_input_request:
      properties:
        operating_system:
          description: Operating system
          enum:
          - windows
          - linux
          - mac
          example: mac
          type: string
        path:
          description: File path.
          example: /bin/cat
          type: string
        sha256:
          description: SHA-256.
          example: b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
          type: string
        thumbprint:
          description: Signing certificate thumbprint.
          example: 0aabab210bdb998e9cf45da2c9ce352977ab531c681b74cf1e487be1bbe9fe6e
          type: string
      required:
      - path
      - operating_system
      title: Sentinelone
      type: object
    teams-devices_crowdstrike_input_request:
      properties:
        connection_id:
          description: Posture Integration ID.
          example: bc7cbfbb-600a-42e4-8a23-45b5e85f804f
          type: string
        last_seen:
          description: For more details on last seen, please refer to the Crowdstrike documentation.
          example: 15d3h20m4s
          type: string
        operator:
          description: Operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
        os:
          description: Os Version
          example: 13.3.0
          type: string
        overall:
          description: overall
          example: 90
          type: string
        sensor_config:
          description: SensorConfig
          example: 90
          type: string
        state:
          description: For more details on state, please refer to the Crowdstrike documentation.
          enum:
          - online
          - offline
          - unknown
          example: online
          type: string
        version:
          description: Version
          example: 13.3.0
          type: string
        versionOperator:
          description: Version Operator
          enum:
          - <
          - <=
          - '>'
          - '>='
          - ==
          example: '>'
          type: string
      required:
      - connection_id
      title: Crowdstrike S2S Input
      type: object
    teams-devices_name:
      description: The name of the device posture rule.
      example: Admin Serial Numbers
      type: string
    teams-devices_schedule:
      description: 'Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`.'
      example: 1h
      type: string
    teams-devices_client_certificate_input_request:
      properties:
        certificate_id:
          description: UUID of Cloudflare managed certificate.
          example: b14ddcc4-bcd2-4df4-bd4f-eb27d5a50c30
          maxLength: 36
          type: string
        cn:
          description: Common Name that is protected by the certificate
          example: example.com
          type: string
      required:
      - certificate_id
      - cn
      title: Client Certificate
      type: object
    teams-devices_client_certificate_v2_input_request:
      properties:
        certificate_id:
          description: UUID of Cloudflare managed certificate.
          example: b14ddcc4-bcd2-4df4-bd4f-eb27d5a50c30
          maxLength: 36
          type: string
        check_private_key:
          description: Confirm the certificate was not imported from another device. We recommend keeping this enabled unless the certificate was deployed without a private key.
          example: true
          type: boolean
        cn:
          description: Common Name that is protected by the client certificate. This may include one or more variables in the ${ } notation. Only ${serial_number} and ${hostname} are valid variables.
          example: ${hostname}.com.${serial_number}
          type: string
        extended_key_usage:
          description: List of values indicating purposes for which the certificate public key can be used
          example:
          - clientAuth
          - emailProtection
          items:
            $ref: '#/components/schemas/teams-devices_extended_key_usage_enum'
          type: array
        locations:
          properties:
            paths:
              $ref: '#/components/schemas/teams-devices_paths'
            trust_stores:
              $ref: '#/components/schemas/teams-devices_trust_stores'
          type: object
        operating_system:
          description: Operating System
          enum:
          - windows
          - mac
          - linux
          example: windows
          type: string
      required:
      - certificate_id
      - check_private_key
      - operating_system
      title: Client Certificate V2
      type: object
    teams-devices_trust_stores:
      description: List of trust stores to check for client certificate.
      example:
      - system
      - user
      items:
        $ref: '#/components/schemas/teams-devices_trust_stores_enum'
      type: array
    teams-devices_domain_joined_input_request:
      properties:
        domain:
          description: Domain
          example: example.com
          type: string
        operating_system:
          description: Operating System
          enum:
          - windows
          example: windows
          type: string
      required:
      - operating_system
      title: Domain Joined
      type: object
  securitySchemes:
    api_email:
      in: header
      name: X-Auth-Email
      type: apiKey
    ap

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/engineering-platform/refs/heads/main/openapi/engineering-platform-device-posture-rules-api-openapi.yml