{
  "type": "workflow_collections",
  "macros": [],
  "exported_tags": [
    "Microsoft",
    "microsoft-365-defender-v2",
    "security"
  ],
  "data": [
    {
      "@type": "WorkflowCollection",
      "name": "Sample - Microsoft 365 Defender v2 - 3.0.0",
      "description": "Sample playbooks for the \"Microsoft 365 Defender\" connector. If you are planning to use the sample playbooks in your environment, ensure that you clone those playbooks and move them to a different collection, since the sample playbook collection gets deleted during connector upgrade and delete.",
      "visible": true,
      "image": null,
      "uuid": "1dcec1da-5f93-58b8-bef7-313435125ae8",
      "recordTags": [
        "microsoft-365-defender-v2",
        "Microsoft",
        "security"
      ],
      "workflows": [
        {
          "@type": "Workflow",
          "name": "Triage Defender Incident to Response",
          "aliasName": null,
          "tag": "",
          "recordTags": [],
          "description": "The flagship loop: fetch Active Microsoft 365 Defender incidents oldest-first, pull the oldest one in full, hunt its devices in Advanced Hunting for last-24h network activity, create a FortiSOAR alert that records the triage, then ask a human through a Microsoft Teams approval card. Approve and the playbook updates the Defender incident (status In Progress, classification TruePositive) and runs the Graph-side containment - the reported source IP is appended to a Conditional Access IP named location and the compromised user's sessions are revoked. Reject and the incident is left open with an explanatory comment on the matching Graph security alert; nothing is changed on either surface.\nWhy oldest-first: Defender's incident list answers newest-first, and a backlog demo wants the STALEST unhandled incident, so the playbook sorts the fetched list by createdTime itself instead of relying on API order.\nWhy a SOAR alert mid-playbook: the Defender incident is the detection, the FortiSOAR alert is the case - the approval card links to it, and the update comment names it, so the response trail starts and ends on records a SOC actually works.\nInputs: approver (Teams recipient for the approval card - default soc-oncall@contoso.example), reported_ip (the source IP to block - default 198.51.100.7), named_location_id (the existing IP named location the IP is appended to; the op appends, it does not create - default is the sample location id), graph_alert_id (the Graph security alerts_v2 id the reject-branch comment goes on; Graph alert ids are a different surface from Defender alertIds, so the caller supplies the Graph-side id - default is the sample alert id). Outputs: outcome (responded, held or nothing_to_triage), incident_id, soar_alert, compromised_user, revoked, named_location.\nLive prerequisites: the Defender connector configured against a tenant with the M365 Defender plane licensed, the microsoft-graph-v2 connector configured (User.RevokeSessions.All, Policy.Read.All, SecurityAlert.Read. .. for the comment), and an existing IP named location for the block. The advanced_hunting query is read-only KQL over DeviceNetworkEvents.",
          "isActive": false,
          "debug": true,
          "singleRecordExecution": false,
          "remoteExecutableFlag": 0,
          "parameters": [
            "approver",
            "reported_ip",
            "named_location_id",
            "graph_alert_id"
          ],
          "synchronous": false,
          "triggerStep": "/api/3/workflow_steps/d6013d88-32ec-5bb3-a0b0-c31023abfa8b",
          "steps": [
            {
              "@type": "WorkflowStep",
              "name": "Start",
              "description": null,
              "arguments": {
                "step_variables": {
                  "input": {
                    "params": []
                  }
                }
              },
              "status": null,
              "top": "120",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/b348f017-9a94-471f-87f8-ce88b6a7ad62",
              "group": null,
              "uuid": "d6013d88-32ec-5bb3-a0b0-c31023abfa8b"
            },
            {
              "@type": "WorkflowStep",
              "name": "Resolve Inputs",
              "description": null,
              "arguments": {
                "approver": "{{ vars.input.params.approver | default(vars.approver, true) | default('soc-oncall@contoso.example', true) }}",
                "reported_ip": "{{ vars.input.params.reported_ip | default(vars.reported_ip, true) | default('198.51.100.7', true) }}",
                "named_location_id": "{{ vars.input.params.named_location_id | default(vars.named_location_id, true) | default('00000000-0000-0000-0000-000000000f01', true) }}",
                "graph_alert_id": "{{ vars.input.params.graph_alert_id | default(vars.graph_alert_id, true) | default('00000000-0000-0000-0000-000000000b01', true) }}"
              },
              "status": null,
              "top": "250",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "8a1e074c-da70-56e7-96dd-22772e5e0c30"
            },
            {
              "@type": "WorkflowStep",
              "name": "List Incidents",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "list_incidents",
                "config": "",
                "params": {
                  "status": [
                    "Active",
                    "In Progress"
                  ],
                  "get_all_records": true
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "List Incidents",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "380",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "9d213023-d2d1-5976-b771-b3217fddeeda"
            },
            {
              "@type": "WorkflowStep",
              "name": "Oldest First",
              "description": null,
              "arguments": {
                "active_count": "{{ (vars.steps.List_Incidents.data.value | default([], true)) | length }}",
                "oldest_incident_id": "{{ ((vars.steps.List_Incidents.data.value | default([], true)) | sort(attribute='createdTime') | first | default(none, true)).incidentId | default('', true) }}"
              },
              "status": null,
              "top": "510",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "9c808a76-0eb3-526e-b452-e51cba881fe5"
            },
            {
              "@type": "WorkflowStep",
              "name": "Incidents Found",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Active incidents found",
                    "condition": "{{ vars.oldest_incident_id | default('', true) | string | length > 0 }}",
                    "step_iri": "/api/3/workflow_steps/4c314e7a-887d-5a4f-8c32-36ac5ff60de4",
                    "step_name": "Get Incident"
                  },
                  {
                    "option": "Nothing to triage",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/f2d19824-5bf6-533f-a294-4d887d133c84",
                    "step_name": "Nothing To Triage"
                  }
                ]
              },
              "status": null,
              "top": "640",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "f5ff6100-79e5-54af-8d28-88d77d4915c9"
            },
            {
              "@type": "WorkflowStep",
              "name": "Get Incident",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "get_incident",
                "config": "",
                "params": {
                  "id": "{{ vars.oldest_incident_id }}"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Get Incident",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "770",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "4c314e7a-887d-5a4f-8c32-36ac5ff60de4"
            },
            {
              "@type": "WorkflowStep",
              "name": "Extract Context",
              "description": null,
              "arguments": {
                "device_list_json": "{{ (((vars.steps.Get_Incident.data.alerts | default([], true)) | map(attribute='devices') | map('default', [], true) | sum(start=[]) | map(attribute='deviceDnsName') | list) + ((vars.steps.Get_Incident.data.alerts | default([], true)) | map(attribute='entities') | map('default', [], true) | sum(start=[]) | selectattr('entityType', 'equalto', 'Device') | map(attribute='deviceName') | list)) | select | unique | list | tojson }}",
                "compromised_user": "{{ ((vars.steps.Get_Incident.data.alerts | default([], true)) | map(attribute='entities') | map('default', [], true) | sum(start=[]) | selectattr('entityType', 'equalto', 'User') | map(attribute='userPrincipalName') | select | unique | list | first) | default('', true) }}",
                "device_count": "{{ ((((vars.steps.Get_Incident.data.alerts | default([], true)) | map(attribute='devices') | map('default', [], true) | sum(start=[]) | map(attribute='deviceDnsName') | list) + ((vars.steps.Get_Incident.data.alerts | default([], true)) | map(attribute='entities') | map('default', [], true) | sum(start=[]) | selectattr('entityType', 'equalto', 'Device') | map(attribute='deviceName') | list)) | select | unique | list) | length }}"
              },
              "status": null,
              "top": "900",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "ac885c63-0b64-5264-a8c9-1eda023aa80a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Device Hunt",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "advanced_hunting",
                "config": "",
                "ignore_errors": true,
                "params": {
                  "Query": "DeviceNetworkEvents | where Timestamp > ago(24h) and DeviceName in (dynamic({{ vars.device_list_json }})) | summarize EventCount=count(), RemoteIPs=make_set(RemoteIP, 20), RemoteIPTypes=make_set(RemoteIPType, 5)\n  by DeviceName, InitiatingProcessFileName"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Run Advanced Hunting Query",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1030",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "afb73af7-a0c0-5cbb-afbb-1f5323ac6e43"
            },
            {
              "@type": "WorkflowStep",
              "name": "Create SOAR Alert",
              "description": null,
              "arguments": {
                "operation": "Replace",
                "step_variables": [],
                "resource": {
                  "name": "M365 Defender incident {{ vars.steps.Get_Incident.data.incidentId }}",
                  "description": "Triage of Microsoft 365 Defender incident {{ vars.steps.Get_Incident.data.incidentId }} \"{{ vars.steps.Get_Incident.data.incidentName }}\" (severity {{ vars.steps.Get_Incident.data.severity | default('unknown', true) }}). Compromised user: {{ vars.compromised_user }}. Devices in evidence: {{ vars.device_count }}. {% if vars.steps.Device_Hunt.data is defined %}Advanced Hunting matched {{ ((vars.steps.Device_Hunt.data | default({}, true)).Results | default([], true)) | length }} network-activity row(s) in the last 24h.{% else %}Advanced Hunting did not return data for this run (the query failed; see the run log).{% endif %} Response pending approval.",
                  "severity": "/api/3/picklists/40187287-89fc-4e9c-b717-e9443d57eedb",
                  "type": "/api/3/picklists/8b6f20f0-08ba-47f7-bc7d-233592309940"
                },
                "collection": "/api/3/alerts"
              },
              "status": null,
              "top": "1160",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/2597053c-e718-44b4-8394-4d40fe26d357",
              "group": null,
              "uuid": "08735e06-cfad-5e14-8864-ae5ad6a5c999"
            },
            {
              "@type": "WorkflowStep",
              "name": "Approval",
              "description": "<b>{{ vars.steps.Get_Incident.data.incidentName }}</b> (severity {{ vars.steps.Get_Incident.data.severity | default('unknown', true) }}, status {{ vars.steps.Get_Incident.data.status | default('unknown', true) }}).<br> Compromised user: {{ vars.compromised_user }}.<br> Devices: {{ vars.device_count }} in evidence; Advanced Hunting saw {{ ((vars.steps.Device_Hunt.data | default({}, true)).Results | default([], true)) | length }} network-activity row(s).<br><br> On <b>approve</b>: incident set to In Progress / TruePositive, {{ vars.reported_ip }} blocked in the Conditional Access named location, sessions revoked for {{ vars.compromised_user }}. On <b>reject</b>: the incident stays open and the Graph alert records that the response was not approved.",
              "arguments": {
                "isRecordLinked": true,
                "record": "{{ vars.steps.Create_SOAR_Alert['@id'] }}",
                "owner_detail": {
                  "isAssigned": false,
                  "externalRecipients": "{{ vars.approver }}"
                },
                "inputInternalUsers": true,
                "inline_channel_list": [
                  "/api/3/picklists/c7c35e25-9c26-4a43-a984-4f57d2027111"
                ],
                "unauthenticated_input": true,
                "type": "DecisionBased",
                "input": {
                  "schema": {
                    "title": "Approve response on Defender incident {{ vars.steps.Get_Incident.data.incidentId }}?",
                    "description": "<b>{{ vars.steps.Get_Incident.data.incidentName }}</b> (severity {{ vars.steps.Get_Incident.data.severity | default('unknown', true) }}, status {{ vars.steps.Get_Incident.data.status | default('unknown', true) }}).<br> Compromised user: {{ vars.compromised_user }}.<br> Devices: {{ vars.device_count }} in evidence; Advanced Hunting saw {{ ((vars.steps.Device_Hunt.data | default({}, true)).Results | default([], true)) | length }} network-activity row(s).<br><br> On <b>approve</b>: incident set to In Progress / TruePositive, {{ vars.reported_ip }} blocked in the Conditional Access named location, sessions revoked for {{ vars.compromised_user }}. On <b>reject</b>: the incident stays open and the Graph alert records that the response was not approved.",
                    "inputVariables": []
                  }
                },
                "is_approval": false,
                "step_variables": [],
                "response_mapping": {
                  "options": [
                    {
                      "option": "approve",
                      "primary": true,
                      "step_iri": "/api/3/workflow_steps/97bdc301-22c6-5850-b832-9b88e049ca0b"
                    },
                    {
                      "option": "reject",
                      "step_iri": "/api/3/workflow_steps/8e731fa3-6131-5ae5-82b0-86d2af5bb2f9"
                    }
                  ],
                  "duplicateOption": false,
                  "customSuccessMessage": "Awaiting Playbook resumed successfully."
                },
                "email_notification": {
                  "enabled": false,
                  "smtpParameters": []
                },
                "external_channel_list": []
              },
              "status": null,
              "top": "1290",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/fc04082a-d7dc-4299-96fb-6837b1baa0fe",
              "group": null,
              "uuid": "004aa01f-96f5-5259-9979-12e18b3c15a9"
            },
            {
              "@type": "WorkflowStep",
              "name": "Update Incident",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "update_incident",
                "config": "",
                "params": {
                  "id": "{{ vars.steps.Get_Incident.data.incidentId }}",
                  "status": "In Progress",
                  "classification": "TruePositive",
                  "comment": "Containment approved via FortiSOAR (SOAR alert {{ vars.steps.Create_SOAR_Alert['@id'] }}): blocking {{ vars.reported_ip }} and revoking sessions for {{ vars.compromised_user }}."
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Update Incident",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1420",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "97bdc301-22c6-5850-b832-9b88e049ca0b"
            },
            {
              "@type": "WorkflowStep",
              "name": "Block IPs",
              "description": null,
              "arguments": {
                "connector": "microsoft-graph-v2",
                "operation": "block_new_ips",
                "config": "",
                "params": {
                  "namedLocationUuid": "{{ vars.named_location_id }}",
                  "ipv4_ips": "{{ vars.reported_ip if '/' in vars.reported_ip else vars.reported_ip ~ '/32' }}",
                  "ipv6_ips": ""
                },
                "version": "5.0.0",
                "name": "Microsoft Graph API v2",
                "operationTitle": "Block New IP Ranges",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1550",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "19cdb3c1-3695-5475-b00f-242cd6e9b570"
            },
            {
              "@type": "WorkflowStep",
              "name": "User To Revoke",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Incident names a user",
                    "condition": "{{ vars.compromised_user | default('', true) | string | length > 0 }}",
                    "step_iri": "/api/3/workflow_steps/15d057ff-914c-5f66-bd91-ec7e203757e8",
                    "step_name": "Revoke Sessions"
                  },
                  {
                    "option": "No user in evidence",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/d130af05-de25-575c-9c44-2adeba4a2dbf",
                    "step_name": "Responded"
                  }
                ]
              },
              "status": null,
              "top": "1680",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "828d57a7-227b-5578-b9cb-e4de6a0b2a70"
            },
            {
              "@type": "WorkflowStep",
              "name": "Revoke Sessions",
              "description": null,
              "arguments": {
                "connector": "microsoft-graph-v2",
                "operation": "revoke_user_sessions",
                "config": "",
                "params": {
                  "user": "{{ vars.compromised_user }}"
                },
                "version": "5.0.0",
                "name": "Microsoft Graph API v2",
                "operationTitle": "Revoke User Session",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1810",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "15d057ff-914c-5f66-bd91-ec7e203757e8"
            },
            {
              "@type": "WorkflowStep",
              "name": "Reject Comment",
              "description": null,
              "arguments": {
                "connector": "microsoft-graph-v2",
                "operation": "add_comment_on_security_alert",
                "config": "",
                "params": {
                  "alert_id": "{{ vars.graph_alert_id }}",
                  "comment": "Defender incident {{ vars.steps.Get_Incident.data.incidentId }} ({{ vars.steps.Get_Incident.data.incidentName }}): response REJECTED at approval. The incident was left open; no IPs were blocked and no sessions were revoked. See SOAR alert {{ vars.steps.Create_SOAR_Alert['@id'] }}."
                },
                "version": "5.0.0",
                "name": "Microsoft Graph API v2",
                "operationTitle": "Add Comment on Security Alert",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1420",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "8e731fa3-6131-5ae5-82b0-86d2af5bb2f9"
            },
            {
              "@type": "WorkflowStep",
              "name": "Responded",
              "description": null,
              "arguments": {
                "outcome": "responded",
                "incident_id": "{{ vars.steps.Get_Incident.data.incidentId }}",
                "soar_alert": "{{ vars.steps.Create_SOAR_Alert['@id'] }}",
                "compromised_user": "{{ vars.compromised_user }}",
                "revoked": "{{ (vars.steps.Revoke_Sessions | default({}, true)).data.value | default(false, true) }}",
                "named_location": "{{ vars.steps.Block_IPs.data.displayName }}"
              },
              "status": null,
              "top": "1940",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "d130af05-de25-575c-9c44-2adeba4a2dbf"
            },
            {
              "@type": "WorkflowStep",
              "name": "Held",
              "description": null,
              "arguments": {
                "outcome": "held",
                "incident_id": "{{ vars.steps.Get_Incident.data.incidentId }}",
                "soar_alert": "{{ vars.steps.Create_SOAR_Alert['@id'] }}",
                "compromised_user": "{{ vars.compromised_user }}",
                "revoked": false,
                "named_location": ""
              },
              "status": null,
              "top": "1550",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "214ca9e7-7a97-5624-93ff-b2365f2fffa3"
            },
            {
              "@type": "WorkflowStep",
              "name": "Nothing To Triage",
              "description": null,
              "arguments": {
                "outcome": "nothing_to_triage",
                "incident_id": "",
                "soar_alert": "",
                "compromised_user": "",
                "revoked": false,
                "named_location": ""
              },
              "status": null,
              "top": "770",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "f2d19824-5bf6-533f-a294-4d887d133c84"
            }
          ],
          "routes": [
            {
              "@type": "WorkflowRoute",
              "name": "Start -> Resolve Inputs",
              "targetStep": "/api/3/workflow_steps/8a1e074c-da70-56e7-96dd-22772e5e0c30",
              "sourceStep": "/api/3/workflow_steps/d6013d88-32ec-5bb3-a0b0-c31023abfa8b",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "b258b4b2-72d5-5cf5-a0c4-6dbf161e2959"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Resolve Inputs -> List Incidents",
              "targetStep": "/api/3/workflow_steps/9d213023-d2d1-5976-b771-b3217fddeeda",
              "sourceStep": "/api/3/workflow_steps/8a1e074c-da70-56e7-96dd-22772e5e0c30",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "ebede1be-7ae4-5844-ae4e-2334fec91fd5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "List Incidents -> Oldest First",
              "targetStep": "/api/3/workflow_steps/9c808a76-0eb3-526e-b452-e51cba881fe5",
              "sourceStep": "/api/3/workflow_steps/9d213023-d2d1-5976-b771-b3217fddeeda",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "efc7bf4d-39aa-5a2d-8a30-150fa38b9ca4"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Oldest First -> Incidents Found",
              "targetStep": "/api/3/workflow_steps/f5ff6100-79e5-54af-8d28-88d77d4915c9",
              "sourceStep": "/api/3/workflow_steps/9c808a76-0eb3-526e-b452-e51cba881fe5",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "14185dfe-28f0-580e-a124-aa97140bcb84"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Incidents Found -> Get Incident",
              "targetStep": "/api/3/workflow_steps/4c314e7a-887d-5a4f-8c32-36ac5ff60de4",
              "sourceStep": "/api/3/workflow_steps/f5ff6100-79e5-54af-8d28-88d77d4915c9",
              "label": "Active incidents found",
              "isExecuted": false,
              "group": null,
              "uuid": "a0507511-4757-5dc6-9bd5-30b30c75b8e8"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Incidents Found -> Nothing To Triage",
              "targetStep": "/api/3/workflow_steps/f2d19824-5bf6-533f-a294-4d887d133c84",
              "sourceStep": "/api/3/workflow_steps/f5ff6100-79e5-54af-8d28-88d77d4915c9",
              "label": "Nothing to triage",
              "isExecuted": false,
              "group": null,
              "uuid": "68908756-df8f-59df-9290-a84cdf56a3f8"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Get Incident -> Extract Context",
              "targetStep": "/api/3/workflow_steps/ac885c63-0b64-5264-a8c9-1eda023aa80a",
              "sourceStep": "/api/3/workflow_steps/4c314e7a-887d-5a4f-8c32-36ac5ff60de4",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "74718432-a5f4-549c-8a94-00e8ab6223d7"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Extract Context -> Device Hunt",
              "targetStep": "/api/3/workflow_steps/afb73af7-a0c0-5cbb-afbb-1f5323ac6e43",
              "sourceStep": "/api/3/workflow_steps/ac885c63-0b64-5264-a8c9-1eda023aa80a",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "706185ec-4481-5afa-9c1e-13c3f97f79cf"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Device Hunt -> Create SOAR Alert",
              "targetStep": "/api/3/workflow_steps/08735e06-cfad-5e14-8864-ae5ad6a5c999",
              "sourceStep": "/api/3/workflow_steps/afb73af7-a0c0-5cbb-afbb-1f5323ac6e43",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "d591d1ab-2fde-58ba-80d1-943e09f8fa0d"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Create SOAR Alert -> Approval",
              "targetStep": "/api/3/workflow_steps/004aa01f-96f5-5259-9979-12e18b3c15a9",
              "sourceStep": "/api/3/workflow_steps/08735e06-cfad-5e14-8864-ae5ad6a5c999",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "2f15f45b-ff63-56be-8afd-9af97dce225e"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Approval -> Update Incident",
              "targetStep": "/api/3/workflow_steps/97bdc301-22c6-5850-b832-9b88e049ca0b",
              "sourceStep": "/api/3/workflow_steps/004aa01f-96f5-5259-9979-12e18b3c15a9",
              "label": "approve",
              "isExecuted": false,
              "group": null,
              "uuid": "b0318ef0-85d8-5e96-be50-a713372a38a5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Approval -> Reject Comment",
              "targetStep": "/api/3/workflow_steps/8e731fa3-6131-5ae5-82b0-86d2af5bb2f9",
              "sourceStep": "/api/3/workflow_steps/004aa01f-96f5-5259-9979-12e18b3c15a9",
              "label": "reject",
              "isExecuted": false,
              "group": null,
              "uuid": "f080c12e-2a8d-5c6d-9947-862e0be618cd"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Update Incident -> Block IPs",
              "targetStep": "/api/3/workflow_steps/19cdb3c1-3695-5475-b00f-242cd6e9b570",
              "sourceStep": "/api/3/workflow_steps/97bdc301-22c6-5850-b832-9b88e049ca0b",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "2a51c1e5-5472-50e3-923b-402617d8d8ff"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Block IPs -> User To Revoke",
              "targetStep": "/api/3/workflow_steps/828d57a7-227b-5578-b9cb-e4de6a0b2a70",
              "sourceStep": "/api/3/workflow_steps/19cdb3c1-3695-5475-b00f-242cd6e9b570",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "c6a5750b-15ea-5e67-aa81-d688b1d41986"
            },
            {
              "@type": "WorkflowRoute",
              "name": "User To Revoke -> Revoke Sessions",
              "targetStep": "/api/3/workflow_steps/15d057ff-914c-5f66-bd91-ec7e203757e8",
              "sourceStep": "/api/3/workflow_steps/828d57a7-227b-5578-b9cb-e4de6a0b2a70",
              "label": "Incident names a user",
              "isExecuted": false,
              "group": null,
              "uuid": "5a5de065-97d4-5317-887c-155457bb67b5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "User To Revoke -> Responded",
              "targetStep": "/api/3/workflow_steps/d130af05-de25-575c-9c44-2adeba4a2dbf",
              "sourceStep": "/api/3/workflow_steps/828d57a7-227b-5578-b9cb-e4de6a0b2a70",
              "label": "No user in evidence",
              "isExecuted": false,
              "group": null,
              "uuid": "2855c8c6-0618-52f4-807d-6fe20bdb62c4"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Revoke Sessions -> Responded",
              "targetStep": "/api/3/workflow_steps/d130af05-de25-575c-9c44-2adeba4a2dbf",
              "sourceStep": "/api/3/workflow_steps/15d057ff-914c-5f66-bd91-ec7e203757e8",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "8361d70b-914f-5534-81e0-edcf9a9f99c5"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Reject Comment -> Held",
              "targetStep": "/api/3/workflow_steps/214ca9e7-7a97-5624-93ff-b2365f2fffa3",
              "sourceStep": "/api/3/workflow_steps/8e731fa3-6131-5ae5-82b0-86d2af5bb2f9",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "f6ccda43-7def-5435-93c0-fd19e7452e80"
            }
          ],
          "groups": [
            {
              "@type": "WorkflowGroup",
              "name": "Note: List Incidents",
              "description": "Active and In Progress incidents, all pages (get_all_records). The datetime params are left off on purpose: they must carry fractional seconds or the connector refuses the run before any HTTP call, and a triage sweep wants every open incident, not a time slice.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "380",
              "left": "540",
              "height": "160",
              "width": "440",
              "uuid": "e926a857-2b3e-5819-a01f-4f206251c484",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Extract Context",
              "description": "The incident's evidence carries the hunt targets: device names feed the Advanced Hunting query, the user entities name the accounts whose sessions get revoked on approval. Entities flatten across alerts; a null entities list (fresh incidents) collapses to nothing through the default filters instead of failing the render.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "906",
              "left": "540",
              "height": "182",
              "width": "440",
              "uuid": "66565612-b53e-5caa-a93d-2ff073210bd3",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Device Hunt",
              "description": "Read-only KQL over DeviceNetworkEvents for the incident's devices in the last 24h - the \"what did these machines actually do\" slice a responder wants before approving containment. The device list is injected as a KQL dynamic() array built from the incident evidence.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1108",
              "left": "540",
              "height": "160",
              "width": "440",
              "uuid": "b8552f40-eb5e-52a2-9915-59652a8d9b80",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Update Incident",
              "description": "Status and classification carry the decision; the comment names the SOAR alert so the Defender incident points back at the case record. Values are the connector's own display keys ('In Progress' maps to the API's InProgress on the wire).",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1420",
              "left": "880",
              "height": "160",
              "width": "440",
              "uuid": "f1fd6563-fb01-59b6-8b86-8d39ae483b55",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Block IPs",
              "description": "The Conditional Access half of the containment, on Graph: the reported IP is appended to an existing IP named location (existing ranges are preserved). The named location must exist - create it once per tenant and pass its id; block_new_ips refuses trusted locations and non-IP locations by design.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1758",
              "left": "880",
              "height": "182",
              "width": "440",
              "uuid": "d83f5e9b-5ecf-594d-b0a9-8582151ad0b4",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Revoke Sessions",
              "description": "revokeSignInSessions kills every token issued so far for the compromised account - the user re-authenticates, an attacker holding a stolen session cookie is out.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1960",
              "left": "880",
              "height": "116",
              "width": "440",
              "uuid": "60b75c59-741c-5673-b8c2-0b74b7714321",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Reject Comment",
              "description": "Graph security alerts_v2 ids are a different surface from Defender alertIds, so the caller passes the Graph-side alert to annotate (graph_alert_id); on a live tenant that id comes from the matching alert in the Graph security API.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1600",
              "left": "880",
              "height": "138",
              "width": "440",
              "uuid": "20821976-cc83-544b-8b02-afef0a479378",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Nothing To Triage",
              "description": "A clean no-op: no Active incidents (or the fetch answered empty). Scheduled runs land here most days, which is the point.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "770",
              "left": "880",
              "height": "116",
              "width": "440",
              "uuid": "544df1a2-a18a-5807-84ee-d448c1bc4cb6",
              "recordTags": []
            }
          ],
          "priority": "/api/3/picklists/9e8d41e4-8ada-4a2c-bd02-07f62c6d0a00",
          "isEditable": true,
          "uuid": "b54d5b9c-feba-58e9-9c06-b7f6d6439875",
          "isPrivate": false
        },
        {
          "@type": "Workflow",
          "name": "Respond to Defender Endpoint Incident",
          "aliasName": null,
          "tag": "",
          "recordTags": [],
          "description": "Endpoint response for one Microsoft 365 Defender incident: pull the incident, find the device in its alert evidence, confirm the device is onboarded to Defender for Endpoint, then let an analyst choose the containment. The choices are isolate the device (Full isolation: all traffic except the Defender cloud channel is cut), run a Quick antivirus scan, collect an investigation package, or no action. The machine action is asynchronous, so the playbook waits and polls the action until Defender reports a terminal status, then records the outcome as a comment and tag on the incident.\nWhy the device comes from the incident and not from a parameter: the analyst is answering a detection, and the device is the one Defender already attached to it. Taking the device id from the alert evidence keeps the response on the machine the detection names.\nWhy the onboarding gate: a device that is not onboarded has no sensor to act through, and Defender answers the action with an error that reads like a permissions problem. The gate reports the real state.\nWhy the poll: isolation finishes in seconds, a Quick scan in about a minute, a package in a few minutes. The action record is the only place Defender reports success or failure, so the outcome is read from it.\nInputs: incident_id (the Defender incident to respond to; default is a sample id). Outputs: outcome (responded, action_failed, no_action, not_onboarded or no_device), incident_id, device_name, action_name, action_id, final_status.\nLive prerequisites: the microsoft-365-defender-v2 connector (1.3.0 or later) configured with Application permission auth, and the Machine.* application roles granted (Read.All, Isolate, Scan, CollectForensics, RestrictExecution). The Defender for Endpoint plane must be licensed and the device onboarded.",
          "isActive": false,
          "debug": true,
          "singleRecordExecution": false,
          "remoteExecutableFlag": 0,
          "parameters": [
            "incident_id"
          ],
          "synchronous": false,
          "triggerStep": "/api/3/workflow_steps/de870f35-3881-5d36-a586-f9199df79c92",
          "steps": [
            {
              "@type": "WorkflowStep",
              "name": "Start",
              "description": null,
              "arguments": {
                "step_variables": {
                  "input": {
                    "params": []
                  }
                }
              },
              "status": null,
              "top": "120",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/b348f017-9a94-471f-87f8-ce88b6a7ad62",
              "group": null,
              "uuid": "de870f35-3881-5d36-a586-f9199df79c92"
            },
            {
              "@type": "WorkflowStep",
              "name": "Resolve Inputs",
              "description": null,
              "arguments": {
                "incident_id": "{{ vars.input.params.incident_id | default(vars.incident_id, true) | default('1', true) }}"
              },
              "status": null,
              "top": "250",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "ea90b02f-9638-5a05-9a63-f143417c7cf4"
            },
            {
              "@type": "WorkflowStep",
              "name": "Get Incident",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "get_incident",
                "config": "",
                "params": {
                  "id": "{{ vars.incident_id }}"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Get Incident",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "380",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "f8f1efde-759c-52d4-a7f5-b49f5a2db6c8"
            },
            {
              "@type": "WorkflowStep",
              "name": "Pick Device",
              "description": null,
              "arguments": {
                "device_id": "{{ vars.steps.Get_Incident.data.alerts | default([], true) | selectattr('devices') | map(attribute='devices') | sum(start=[]) | map(attribute='mdatpDeviceId') | select | first | default('', true) }}",
                "device_name": "{{ vars.steps.Get_Incident.data.alerts | default([], true) | selectattr('devices') | map(attribute='devices') | sum(start=[]) | map(attribute='deviceDnsName') | select | first | default('', true) }}"
              },
              "status": null,
              "top": "510",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "8bc94035-604c-530a-b2cb-e4f2707f3571"
            },
            {
              "@type": "WorkflowStep",
              "name": "Device Found",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Incident names a device",
                    "condition": "{{ vars.device_id | length > 0 }}",
                    "step_iri": "/api/3/workflow_steps/cc75f7ee-54e8-5323-b2b5-8cb3227a18b7",
                    "step_name": "Get Machine"
                  },
                  {
                    "option": "No device in the evidence",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/e71083dd-27cb-52ba-9550-30d566dfa26b",
                    "step_name": "Close No Device"
                  }
                ]
              },
              "status": null,
              "top": "640",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "356d244e-ab9f-5b6f-abba-4cf3c4cf4f4b"
            },
            {
              "@type": "WorkflowStep",
              "name": "Get Machine",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "get_machine",
                "config": "",
                "params": {
                  "id": "{{ vars.device_id }}"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Get Machine",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "770",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "cc75f7ee-54e8-5323-b2b5-8cb3227a18b7"
            },
            {
              "@type": "WorkflowStep",
              "name": "Onboarded",
              "description": null,
              "arguments": {
                "conditions": [
                  {
                    "option": "Device is onboarded to Defender",
                    "condition": "{{ (vars.steps.Get_Machine.data | default({}, true)).onboardingStatus | default('', true) == 'Onboarded' }}",
                    "step_iri": "/api/3/workflow_steps/e39f8d79-1b47-5976-896b-fa8a846dfbdb",
                    "step_name": "Analyst Gate"
                  },
                  {
                    "option": "Not onboarded or record unreadable",
                    "default": true,
                    "step_iri": "/api/3/workflow_steps/127909f7-6391-5e42-b5e6-3409b8ffc089",
                    "step_name": "Close Not Onboarded"
                  }
                ]
              },
              "status": null,
              "top": "900",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/12254cf5-5db7-4b1a-8cb1-3af081924b28",
              "group": null,
              "uuid": "cf835c16-6aa3-51f7-8bbb-41b68a39e242"
            },
            {
              "@type": "WorkflowStep",
              "name": "Analyst Gate",
              "description": "<b>{{ vars.steps.Get_Incident.data.incidentName | default('incident', true) }}</b> (severity {{ vars.steps.Get_Incident.data.severity | default('unknown', true) }}, status {{ vars.steps.Get_Incident.data.status | default('unknown', true) }}).<br> Device <b>{{ vars.device_name }}</b>: health {{ vars.steps.Get_Machine.data.healthStatus | default('unknown', true) }}, risk {{ vars.steps.Get_Machine.data.riskScore | default('unknown', true) }}, last seen {{ vars.steps.Get_Machine.data.lastSeen | default('unknown', true) }}.<br><br> <b>isolate</b> cuts all network traffic except the Defender channel. <b>av scan</b> runs a Quick Microsoft Defender Antivirus scan. <b>collect package</b> gathers an investigation package for download. <b>no action</b> leaves the device alone and records that decision.",
              "arguments": {
                "type": "DecisionBased",
                "input": {
                  "schema": {
                    "title": "Endpoint response for Defender incident {{ vars.incident_id }} on {{ vars.device_name }}",
                    "description": "<b>{{ vars.steps.Get_Incident.data.incidentName | default('incident', true) }}</b> (severity {{ vars.steps.Get_Incident.data.severity | default('unknown', true) }}, status {{ vars.steps.Get_Incident.data.status | default('unknown', true) }}).<br> Device <b>{{ vars.device_name }}</b>: health {{ vars.steps.Get_Machine.data.healthStatus | default('unknown', true) }}, risk {{ vars.steps.Get_Machine.data.riskScore | default('unknown', true) }}, last seen {{ vars.steps.Get_Machine.data.lastSeen | default('unknown', true) }}.<br><br> <b>isolate</b> cuts all network traffic except the Defender channel. <b>av scan</b> runs a Quick Microsoft Defender Antivirus scan. <b>collect package</b> gathers an investigation package for download. <b>no action</b> leaves the device alone and records that decision.",
                    "inputVariables": []
                  }
                },
                "record": "",
                "is_approval": false,
                "isRecordLinked": false,
                "owner_detail": {
                  "isAssigned": false
                },
                "step_variables": [],
                "response_mapping": {
                  "options": [
                    {
                      "option": "isolate",
                      "primary": true,
                      "step_iri": "/api/3/workflow_steps/6c35f5e5-512c-58a8-9353-615f21322c73"
                    },
                    {
                      "option": "av scan",
                      "step_iri": "/api/3/workflow_steps/1659a0c4-9af1-5ea3-b47a-d89886842388"
                    },
                    {
                      "option": "collect package",
                      "step_iri": "/api/3/workflow_steps/e8a0548e-7983-5f95-a9a2-5dfe5467c882"
                    },
                    {
                      "option": "no action",
                      "step_iri": "/api/3/workflow_steps/77a316c8-c1ab-5f8c-9e78-15d28008ec45"
                    }
                  ],
                  "duplicateOption": false,
                  "customSuccessMessage": "Awaiting Playbook resumed successfully."
                },
                "email_notification": {
                  "enabled": false,
                  "smtpParameters": []
                },
                "inline_channel_list": [],
                "external_channel_list": [],
                "unauthenticated_input": false
              },
              "status": null,
              "top": "1030",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/fc04082a-d7dc-4299-96fb-6837b1baa0fe",
              "group": null,
              "uuid": "e39f8d79-1b47-5976-896b-fa8a846dfbdb"
            },
            {
              "@type": "WorkflowStep",
              "name": "Isolate Device",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "isolate_machine",
                "config": "",
                "params": {
                  "id": "{{ vars.device_id }}",
                  "isolation_type": "Full",
                  "comment": "FortiSOAR scenario D: isolate for Defender incident {{ vars.incident_id }} (analyst decision)"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Isolate Machine",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1160",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "6c35f5e5-512c-58a8-9353-615f21322c73"
            },
            {
              "@type": "WorkflowStep",
              "name": "Note Isolation",
              "description": null,
              "arguments": {
                "action_name": "isolate",
                "action_id": "{{ vars.steps.Isolate_Device.data.id | default('', true) }}"
              },
              "status": null,
              "top": "1290",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "0a14c608-93fb-5971-8799-eb55665dd52c"
            },
            {
              "@type": "WorkflowStep",
              "name": "Run AV Scan",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "run_av_scan",
                "config": "",
                "params": {
                  "id": "{{ vars.device_id }}",
                  "scan_type": "Quick",
                  "comment": "FortiSOAR scenario D: quick antivirus scan for Defender incident {{ vars.incident_id }} (analyst decision)"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Run Antivirus Scan",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1160",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "1659a0c4-9af1-5ea3-b47a-d89886842388"
            },
            {
              "@type": "WorkflowStep",
              "name": "Note AV Scan",
              "description": null,
              "arguments": {
                "action_name": "av_scan",
                "action_id": "{{ vars.steps.Run_AV_Scan.data.id | default('', true) }}"
              },
              "status": null,
              "top": "1290",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "3a101843-50a2-505c-b917-dc8705b309ee"
            },
            {
              "@type": "WorkflowStep",
              "name": "Collect Package",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "collect_investigation_package",
                "config": "",
                "params": {
                  "id": "{{ vars.device_id }}",
                  "comment": "FortiSOAR scenario D: investigation package for Defender incident {{ vars.incident_id }} (analyst decision)"
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Collect Investigation Package",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1160",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "e8a0548e-7983-5f95-a9a2-5dfe5467c882"
            },
            {
              "@type": "WorkflowStep",
              "name": "Note Package",
              "description": null,
              "arguments": {
                "action_name": "collect_package",
                "action_id": "{{ vars.steps.Collect_Package.data.id | default('', true) }}"
              },
              "status": null,
              "top": "1290",
              "left": "880",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "1d345c67-6b88-5799-bf02-f3cdeb3dcd1e"
            },
            {
              "@type": "WorkflowStep",
              "name": "Settle Action",
              "description": null,
              "arguments": {
                "type": "TimeBased",
                "delay": {
                  "days": 0,
                  "hours": 0,
                  "minutes": 0,
                  "seconds": 20
                },
                "rule": {
                  "actions": [
                    {
                      "type": "resume_playbook",
                      "enabled": true,
                      "channel_uuid": "e2ce87c2-c55a-11ec-9d64-0242ac120002"
                    }
                  ],
                  "is_active": true,
                  "event_source": "crudhub"
                }
              },
              "status": null,
              "top": "1420",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/6832e556-b9c7-497a-babe-feda3bd27dbf",
              "group": null,
              "uuid": "95185fbe-0aa1-51e5-9ce9-8898d194db87"
            },
            {
              "@type": "WorkflowStep",
              "name": "Poll Action",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "get_machine_action",
                "config": "",
                "params": {
                  "id": "{{ vars.action_id }}"
                },
                "do_until": {
                  "condition": "{{ (vars.steps.Poll_Action.data | default({}, true)).status | default('', true) in ['Succeeded', 'Failed', 'Cancelled', 'TimeOut'] }}",
                  "retries": 40,
                  "delay": 15
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Get Machine Action",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1550",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "ff903281-c24c-5b6b-ad26-30e25cd08d90"
            },
            {
              "@type": "WorkflowStep",
              "name": "Action Result",
              "description": null,
              "arguments": {
                "final_status": "{{ (vars.steps.Poll_Action.data | default({}, true)).status | default('unknown', true) }}"
              },
              "status": null,
              "top": "1680",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "a2be60c7-7067-5924-be85-b3f9a1de768a"
            },
            {
              "@type": "WorkflowStep",
              "name": "Record Response",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "update_incident",
                "config": "",
                "params": {
                  "id": "{{ vars.incident_id }}",
                  "status": "In Progress",
                  "tags": "fortisoar-endpoint-response",
                  "comment": "FortiSOAR endpoint response on {{ vars.device_name }}: {{ vars.action_name }} finished {{ vars.final_status }} (machine action {{ vars.action_id }})."
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Update Incident",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1810",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "31306d0f-0c58-51c7-a4db-caf5ca73e9e6"
            },
            {
              "@type": "WorkflowStep",
              "name": "Record No Action",
              "description": null,
              "arguments": {
                "connector": "microsoft-365-defender-v2",
                "operation": "update_incident",
                "config": "",
                "params": {
                  "id": "{{ vars.incident_id }}",
                  "comment": "FortiSOAR endpoint response: analyst reviewed {{ vars.device_name }} and chose no action."
                },
                "version": "3.0.2",
                "name": "Microsoft 365 Defender v2",
                "operationTitle": "Update Incident",
                "step_variables": [],
                "pickFromTenant": false
              },
              "status": null,
              "top": "1160",
              "left": "1220",
              "stepType": "/api/3/workflow_step_types/0bfed618-0316-11e7-93ae-92361f002671",
              "group": null,
              "uuid": "77a316c8-c1ab-5f8c-9e78-15d28008ec45"
            },
            {
              "@type": "WorkflowStep",
              "name": "Responded",
              "description": null,
              "arguments": {
                "outcome": "{{ 'responded' if vars.final_status == 'Succeeded' else 'action_failed' }}",
                "incident_id": "{{ vars.incident_id }}",
                "device_name": "{{ vars.device_name }}",
                "action_name": "{{ vars.action_name }}",
                "action_id": "{{ vars.action_id }}",
                "final_status": "{{ vars.final_status }}"
              },
              "status": null,
              "top": "1940",
              "left": "200",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "362abea7-8668-54dd-ab5d-ef29573d1d1c"
            },
            {
              "@type": "WorkflowStep",
              "name": "Close No Action",
              "description": null,
              "arguments": {
                "outcome": "no_action",
                "incident_id": "{{ vars.incident_id }}",
                "device_name": "{{ vars.device_name }}",
                "action_name": "",
                "action_id": "",
                "final_status": ""
              },
              "status": null,
              "top": "1290",
              "left": "1220",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "27f3daf2-5981-5425-ae79-37a2efc53737"
            },
            {
              "@type": "WorkflowStep",
              "name": "Close Not Onboarded",
              "description": null,
              "arguments": {
                "outcome": "not_onboarded",
                "incident_id": "{{ vars.incident_id }}",
                "device_name": "{{ vars.device_name }}",
                "action_name": "",
                "action_id": "",
                "final_status": ""
              },
              "status": null,
              "top": "1030",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "127909f7-6391-5e42-b5e6-3409b8ffc089"
            },
            {
              "@type": "WorkflowStep",
              "name": "Close No Device",
              "description": null,
              "arguments": {
                "outcome": "no_device",
                "incident_id": "{{ vars.incident_id }}",
                "device_name": "",
                "action_name": "",
                "action_id": "",
                "final_status": ""
              },
              "status": null,
              "top": "770",
              "left": "540",
              "stepType": "/api/3/workflow_step_types/04d0cf46-b6a8-42c4-8683-60a7eaa69e8f",
              "group": null,
              "uuid": "e71083dd-27cb-52ba-9550-30d566dfa26b"
            }
          ],
          "routes": [
            {
              "@type": "WorkflowRoute",
              "name": "Start -> Resolve Inputs",
              "targetStep": "/api/3/workflow_steps/ea90b02f-9638-5a05-9a63-f143417c7cf4",
              "sourceStep": "/api/3/workflow_steps/de870f35-3881-5d36-a586-f9199df79c92",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "975c233e-4865-59d5-ba42-705c83ec0b37"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Resolve Inputs -> Get Incident",
              "targetStep": "/api/3/workflow_steps/f8f1efde-759c-52d4-a7f5-b49f5a2db6c8",
              "sourceStep": "/api/3/workflow_steps/ea90b02f-9638-5a05-9a63-f143417c7cf4",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "42eff3c4-540a-50bf-877a-81dea199e2cd"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Get Incident -> Pick Device",
              "targetStep": "/api/3/workflow_steps/8bc94035-604c-530a-b2cb-e4f2707f3571",
              "sourceStep": "/api/3/workflow_steps/f8f1efde-759c-52d4-a7f5-b49f5a2db6c8",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "578cf2ec-f01f-51be-86b7-703dfb69d09f"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Pick Device -> Device Found",
              "targetStep": "/api/3/workflow_steps/356d244e-ab9f-5b6f-abba-4cf3c4cf4f4b",
              "sourceStep": "/api/3/workflow_steps/8bc94035-604c-530a-b2cb-e4f2707f3571",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "5e113cd1-8a86-5052-9a86-67650928d65a"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Device Found -> Get Machine",
              "targetStep": "/api/3/workflow_steps/cc75f7ee-54e8-5323-b2b5-8cb3227a18b7",
              "sourceStep": "/api/3/workflow_steps/356d244e-ab9f-5b6f-abba-4cf3c4cf4f4b",
              "label": "Incident names a device",
              "isExecuted": false,
              "group": null,
              "uuid": "4553a731-9a8e-5c03-a31e-28c82282e7f6"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Device Found -> Close No Device",
              "targetStep": "/api/3/workflow_steps/e71083dd-27cb-52ba-9550-30d566dfa26b",
              "sourceStep": "/api/3/workflow_steps/356d244e-ab9f-5b6f-abba-4cf3c4cf4f4b",
              "label": "No device in the evidence",
              "isExecuted": false,
              "group": null,
              "uuid": "7f6a21c2-d8e4-5bf2-83a5-6cf61e334755"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Get Machine -> Onboarded",
              "targetStep": "/api/3/workflow_steps/cf835c16-6aa3-51f7-8bbb-41b68a39e242",
              "sourceStep": "/api/3/workflow_steps/cc75f7ee-54e8-5323-b2b5-8cb3227a18b7",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "e65c852d-3a65-5914-b6fe-047447400023"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Onboarded -> Analyst Gate",
              "targetStep": "/api/3/workflow_steps/e39f8d79-1b47-5976-896b-fa8a846dfbdb",
              "sourceStep": "/api/3/workflow_steps/cf835c16-6aa3-51f7-8bbb-41b68a39e242",
              "label": "Device is onboarded to Defender",
              "isExecuted": false,
              "group": null,
              "uuid": "e1e6fdfe-c777-56ba-8546-675665b88090"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Onboarded -> Close Not Onboarded",
              "targetStep": "/api/3/workflow_steps/127909f7-6391-5e42-b5e6-3409b8ffc089",
              "sourceStep": "/api/3/workflow_steps/cf835c16-6aa3-51f7-8bbb-41b68a39e242",
              "label": "Not onboarded or record unreadable",
              "isExecuted": false,
              "group": null,
              "uuid": "70e992e0-379b-549b-8841-586cc3a3fe10"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Isolate Device",
              "targetStep": "/api/3/workflow_steps/6c35f5e5-512c-58a8-9353-615f21322c73",
              "sourceStep": "/api/3/workflow_steps/e39f8d79-1b47-5976-896b-fa8a846dfbdb",
              "label": "isolate",
              "isExecuted": false,
              "group": null,
              "uuid": "e784e8c8-8639-5d15-91b5-1b507829e204"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Run AV Scan",
              "targetStep": "/api/3/workflow_steps/1659a0c4-9af1-5ea3-b47a-d89886842388",
              "sourceStep": "/api/3/workflow_steps/e39f8d79-1b47-5976-896b-fa8a846dfbdb",
              "label": "av scan",
              "isExecuted": false,
              "group": null,
              "uuid": "87115585-c572-5827-9d83-878ac5364c3e"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Collect Package",
              "targetStep": "/api/3/workflow_steps/e8a0548e-7983-5f95-a9a2-5dfe5467c882",
              "sourceStep": "/api/3/workflow_steps/e39f8d79-1b47-5976-896b-fa8a846dfbdb",
              "label": "collect package",
              "isExecuted": false,
              "group": null,
              "uuid": "d6cde3a4-52e3-5d58-8499-9c72bf6d2c21"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Analyst Gate -> Record No Action",
              "targetStep": "/api/3/workflow_steps/77a316c8-c1ab-5f8c-9e78-15d28008ec45",
              "sourceStep": "/api/3/workflow_steps/e39f8d79-1b47-5976-896b-fa8a846dfbdb",
              "label": "no action",
              "isExecuted": false,
              "group": null,
              "uuid": "fd5fe339-5468-5a6a-a8df-575d0f42e617"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Isolate Device -> Note Isolation",
              "targetStep": "/api/3/workflow_steps/0a14c608-93fb-5971-8799-eb55665dd52c",
              "sourceStep": "/api/3/workflow_steps/6c35f5e5-512c-58a8-9353-615f21322c73",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "9ca01501-f61d-504f-81fd-ac07d8de76cb"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Note Isolation -> Settle Action",
              "targetStep": "/api/3/workflow_steps/95185fbe-0aa1-51e5-9ce9-8898d194db87",
              "sourceStep": "/api/3/workflow_steps/0a14c608-93fb-5971-8799-eb55665dd52c",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "eb5dbb96-9c7a-588c-8f5c-88903b043fe9"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Run AV Scan -> Note AV Scan",
              "targetStep": "/api/3/workflow_steps/3a101843-50a2-505c-b917-dc8705b309ee",
              "sourceStep": "/api/3/workflow_steps/1659a0c4-9af1-5ea3-b47a-d89886842388",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "524ff4f9-4b50-55e1-88b9-b75dd88a21e2"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Note AV Scan -> Settle Action",
              "targetStep": "/api/3/workflow_steps/95185fbe-0aa1-51e5-9ce9-8898d194db87",
              "sourceStep": "/api/3/workflow_steps/3a101843-50a2-505c-b917-dc8705b309ee",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "46235990-69c9-5eb3-a8fa-f84df5dbd5c6"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Collect Package -> Note Package",
              "targetStep": "/api/3/workflow_steps/1d345c67-6b88-5799-bf02-f3cdeb3dcd1e",
              "sourceStep": "/api/3/workflow_steps/e8a0548e-7983-5f95-a9a2-5dfe5467c882",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "cbcc438c-4bcf-5017-badb-2e0c5945f481"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Note Package -> Settle Action",
              "targetStep": "/api/3/workflow_steps/95185fbe-0aa1-51e5-9ce9-8898d194db87",
              "sourceStep": "/api/3/workflow_steps/1d345c67-6b88-5799-bf02-f3cdeb3dcd1e",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "264a24f7-26bb-5212-bab3-38e87af26e38"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Settle Action -> Poll Action",
              "targetStep": "/api/3/workflow_steps/ff903281-c24c-5b6b-ad26-30e25cd08d90",
              "sourceStep": "/api/3/workflow_steps/95185fbe-0aa1-51e5-9ce9-8898d194db87",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "90f92fb2-1f32-5aa0-be05-4332a2e5633b"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Poll Action -> Action Result",
              "targetStep": "/api/3/workflow_steps/a2be60c7-7067-5924-be85-b3f9a1de768a",
              "sourceStep": "/api/3/workflow_steps/ff903281-c24c-5b6b-ad26-30e25cd08d90",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "7ed54448-2894-5b02-99c6-c365a851ff7e"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Action Result -> Record Response",
              "targetStep": "/api/3/workflow_steps/31306d0f-0c58-51c7-a4db-caf5ca73e9e6",
              "sourceStep": "/api/3/workflow_steps/a2be60c7-7067-5924-be85-b3f9a1de768a",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "82acfd76-c680-5022-b3c7-da6ffd15c318"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Record Response -> Responded",
              "targetStep": "/api/3/workflow_steps/362abea7-8668-54dd-ab5d-ef29573d1d1c",
              "sourceStep": "/api/3/workflow_steps/31306d0f-0c58-51c7-a4db-caf5ca73e9e6",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "588a654c-6976-52ee-894d-3bef84a912bb"
            },
            {
              "@type": "WorkflowRoute",
              "name": "Record No Action -> Close No Action",
              "targetStep": "/api/3/workflow_steps/27f3daf2-5981-5425-ae79-37a2efc53737",
              "sourceStep": "/api/3/workflow_steps/77a316c8-c1ab-5f8c-9e78-15d28008ec45",
              "label": null,
              "isExecuted": false,
              "group": null,
              "uuid": "43bd443a-0b13-5840-9ed6-3ba28d6f330e"
            }
          ],
          "groups": [
            {
              "@type": "WorkflowGroup",
              "name": "Note: Get Incident",
              "description": "The full incident, alerts expanded, is what carries the device evidence. get_incident is read-only.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "380",
              "left": "540",
              "height": "94",
              "width": "440",
              "uuid": "f96229db-55e5-5a8e-8ea4-60c8b7ec1695",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Get Machine",
              "description": "Reads the machine record by its id. The onboarding state and the health are shown to the analyst at the gate.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "770",
              "left": "880",
              "height": "94",
              "width": "440",
              "uuid": "bb284d28-1b62-5088-b4fc-b55d8d5d1cc0",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Isolate Device",
              "description": "Full isolation: Defender cuts the device off the network except its own cloud channel, which is what lets the release action reach it. Selective isolation would keep Microsoft productivity endpoints reachable; the analyst gate uses Full.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1166",
              "left": "1560",
              "height": "160",
              "width": "440",
              "uuid": "8e28d088-820e-5422-8860-83ef41f14373",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Run AV Scan",
              "description": "Quick scan: the usual malware locations, minutes rather than the hours a Full scan takes. The analyst chose a scan, not isolation, so the device stays on the network.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1346",
              "left": "1560",
              "height": "116",
              "width": "440",
              "uuid": "40054073-e8f5-5604-bbbc-3dcd5764d4b2",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Collect Package",
              "description": "Asks the device for its investigation package. The package is collected by the sensor and stored in Defender; the playbook records that it was requested and that it completed, not the package itself.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1482",
              "left": "540",
              "height": "138",
              "width": "440",
              "uuid": "70ee5b5c-9cb7-542f-baf1-b112bdacced1",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Poll Action",
              "description": "get_machine_action, retried until the status is terminal. Pending and InProgress keep it looping.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1776",
              "left": "540",
              "height": "94",
              "width": "440",
              "uuid": "474643bd-fd6f-5285-89de-7ddb8b5db503",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Record Response",
              "description": "The incident gets the result as a tag (searchable in the Defender portal), an In Progress status and a comment naming the machine action. The comment does not echo back on read in the tenant, so the tag is the durable record.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1890",
              "left": "540",
              "height": "138",
              "width": "440",
              "uuid": "5b6cf7c4-7455-537f-b83a-c03735a79840",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Record No Action",
              "description": "No containment was chosen. The decision still goes on the incident, so the record shows the device was looked at and left alone.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1640",
              "left": "540",
              "height": "116",
              "width": "440",
              "uuid": "e9f36a4b-8b2b-542d-befb-49f994289ac0",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Responded",
              "description": "action_failed is the honest terminal when Defender finished the machine action unsuccessfully: the incident still got the record, but the outcome does not claim a containment that did not happen.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "2048",
              "left": "540",
              "height": "138",
              "width": "440",
              "uuid": "c9753e00-6194-5f2b-be87-05f4eb024552",
              "recordTags": []
            },
            {
              "@type": "WorkflowGroup",
              "name": "Note: Close Not Onboarded",
              "description": "Nothing is sent to the device: Defender reports it is not onboarded, so an action would fail on the sensor, not on the request.",
              "type": "note",
              "isCollapsed": false,
              "hasTriggerStep": false,
              "hideInLogs": true,
              "metadata": [],
              "reusable": false,
              "top": "1030",
              "left": "1560",
              "height": "116",
              "width": "440",
              "uuid": "2061d9f8-f756-5ef4-a502-4825f7f537d5",
              "recordTags": []
            }
          ],
          "priority": "/api/3/picklists/9e8d41e4-8ada-4a2c-bd02-07f62c6d0a00",
          "isEditable": true,
          "uuid": "ffd4259d-902e-58e7-999d-458d562ca975",
          "isPrivate": false
        }
      ]
    }
  ]
}
