{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a configured device posture integration.","properties":{"path":{"type":"object","properties":{"integration_id":{"$ref":"#/definitions/teams-devices_uuid"},"account_id":{"$ref":"#/definitions/teams-devices_identifier"}},"required":["integration_id","account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"config":{"allOf":[{"$ref":"#/definitions/teams-devices_config_request"}]},"interval":{"$ref":"#/definitions/teams-devices_interval"},"name":{"$ref":"#/definitions/teams-devices_components-schemas-name"},"type":{"$ref":"#/definitions/teams-devices_schemas-type"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"teams-devices_uuid":{"description":"API UUID.","type":"string","maxLength":36,"examples":["f174e90a-fafe-4643-bbbc-4a0ed4fc8415"]},"teams-devices_identifier":{"type":"string","examples":["699d98642c564d2e855e9661899b7252"]},"teams-devices_config_request":{"description":"The configuration object containing third-party integration information.","type":"object","oneOf":[{"$ref":"#/definitions/teams-devices_workspace_one_config_request"},{"$ref":"#/definitions/teams-devices_crowdstrike_config_request"},{"$ref":"#/definitions/teams-devices_uptycs_config_request"},{"$ref":"#/definitions/teams-devices_intune_config_request"},{"$ref":"#/definitions/teams-devices_kolide_config_request"},{"$ref":"#/definitions/teams-devices_tanium_config_request"},{"$ref":"#/definitions/teams-devices_sentinelone_s2s_config_request"},{"$ref":"#/definitions/teams-devices_custom_s2s_config_request"}],"examples":[{"api_url":"https://as123.awmdm.com/API","auth_url":"https://na.uemauth.workspaceone.com/connect/token","client_id":"example client id","client_secret":"example client secret"}]},"teams-devices_interval":{"description":"The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`).","type":"string","examples":["10m"]},"teams-devices_components-schemas-name":{"description":"The name of the device posture integration.","type":"string","examples":["My Workspace One Integration"]},"teams-devices_schemas-type":{"description":"The type of device posture integration.","type":"string","enum":["workspace_one","crowdstrike_s2s","uptycs","intune","kolide","tanium_s2s","sentinelone_s2s","custom_s2s"],"examples":["workspace_one"]},"teams-devices_workspace_one_config_request":{"type":"object","properties":{"api_url":{"description":"The Workspace One API URL provided in the Workspace One Admin Dashboard.","type":"string","examples":["https://as123.awmdm.com/API"]},"auth_url":{"description":"The Workspace One Authorization URL depending on your region.","type":"string","examples":["https://na.uemauth.workspaceone.com/connect/token"]},"client_id":{"description":"The Workspace One client ID provided in the Workspace One Admin Dashboard.","type":"string","examples":["example client id"]},"client_secret":{"description":"The Workspace One client secret provided in the Workspace One Admin Dashboard.","type":"string","examples":["example client secret"]}},"required":["api_url","auth_url","client_id","client_secret"],"title":"Workspace One Config"},"teams-devices_crowdstrike_config_request":{"type":"object","properties":{"api_url":{"description":"The Crowdstrike API URL.","type":"string","examples":["https://api.us-2.crowdstrike.com"]},"client_id":{"description":"The Crowdstrike client ID.","type":"string","examples":["example client id"]},"client_secret":{"description":"The Crowdstrike client secret.","type":"string","examples":["example client secret"]},"customer_id":{"description":"The Crowdstrike customer ID.","type":"string","examples":["example customer id"]}},"required":["api_url","customer_id","client_id","client_secret"],"title":"Crowdstrike Config"},"teams-devices_uptycs_config_request":{"type":"object","properties":{"api_url":{"description":"The Uptycs API URL.","type":"string","examples":["rnd.uptycs.io"]},"client_key":{"description":"The Uptycs client secret.","type":"string","examples":["example client key"]},"client_secret":{"description":"The Uptycs client secret.","type":"string","examples":["example client secret"]},"customer_id":{"description":"The Uptycs customer ID.","type":"string","examples":["example customer id"]}},"required":["api_url","client_key","customer_id","client_secret"],"title":"Uptycs Config"},"teams-devices_intune_config_request":{"type":"object","properties":{"client_id":{"description":"The Intune client ID.","type":"string","examples":["example client id"]},"client_secret":{"description":"The Intune client secret.","type":"string","examples":["example client secret"]},"customer_id":{"description":"The Intune customer ID.","type":"string","examples":["example customer id"]}},"required":["customer_id","client_id","client_secret"],"title":"Intune Config"},"teams-devices_kolide_config_request":{"type":"object","properties":{"client_id":{"description":"The Kolide client ID.","type":"string","examples":["example client id"]},"client_secret":{"description":"The Kolide client secret.","type":"string","examples":["example client secret"]}},"required":["client_id","client_secret"],"title":"Kolide Config"},"teams-devices_tanium_config_request":{"type":"object","properties":{"access_client_id":{"description":"If present, this id will be passed in the `CF-Access-Client-ID` header when hitting the `api_url`.","type":"string","examples":["88bf3b6d86161464f6509f7219099e57.access"]},"access_client_secret":{"description":"If present, this secret will be passed in the `CF-Access-Client-Secret` header when hitting the `api_url`.","type":"string","examples":["bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5"]},"api_url":{"description":"The Tanium API URL.","type":"string","examples":["https://dummy-tanium-api.cloudflare.com/plugin/products/gateway/graphql"]},"client_secret":{"description":"The Tanium client secret.","type":"string","examples":["example client secret"]}},"required":["api_url","client_secret"],"title":"Tanium Config"},"teams-devices_sentinelone_s2s_config_request":{"type":"object","properties":{"api_url":{"description":"The SentinelOne S2S API URL.","type":"string","examples":["https://example.sentinelone.net"]},"client_secret":{"description":"The SentinelOne S2S client secret.","type":"string","examples":["example client secret"]}},"required":["api_url","client_secret"],"title":"SentinelOne S2S Config"},"teams-devices_custom_s2s_config_request":{"type":"object","properties":{"access_client_id":{"description":"This id will be passed in the `CF-Access-Client-ID` header when hitting the `api_url`.","type":"string","examples":["88bf3b6d86161464f6509f7219099e57.access"]},"access_client_secret":{"description":"This secret will be passed in the `CF-Access-Client-Secret` header when hitting the `api_url`.","type":"string","examples":["bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5"]},"api_url":{"description":"The Custom Device Posture Integration  API URL.","type":"string","examples":["https://example.custom-s2s.com"]}},"required":["api_url","access_client_id","access_client_secret"],"title":"Custom Device Posture Integration Config"}}},"name":"Update posture integration","id":"cloudflare.device-posture-integrations-update-device-posture-integration","example":{"path":{"integration_id":"f174e90a-fafe-4643-bbbc-4a0ed4fc8415","account_id":"699d98642c564d2e855e9661899b7252"},"body":{}},"maxRequests":1,"summary":false}}