<commit_before>id: SentinelOne V2 - test
version: -1
name: SentinelOne V2 - test
starttaskid: "0"
tasks:
  "0":
    id: "0"
    taskid: 372e23d6-59d4-428e-8fa6-cc39c0a83ac2
    type: start
    task:
      id: 372e23d6-59d4-428e-8fa6-cc39c0a83ac2
      version: -1
      name: ""
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "1"
      - "22"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 50
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "1":
    id: "1"
    taskid: 8c69a666-0427-4d4a-8bcf-745e4784b9dc
    type: regular
    task:
      id: 8c69a666-0427-4d4a-8bcf-745e4784b9dc
      version: -1
      name: Delete Context
      description: Delete field from context
      scriptName: DeleteContext
      type: regular
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "2"
      - "3"
      - "4"
      - "7"
      - "12"
      - "13"
    scriptarguments:
      all:
        simple: "yes"
      index: {}
      key: {}
      keysToKeep: {}
      subplaybook: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 190
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "2":
    id: "2"
    taskid: ffa0cb5b-302d-48cc-84f2-68fa45140dbf
    type: regular
    task:
      id: ffa0cb5b-302d-48cc-84f2-68fa45140dbf
      version: -1
      name: Get Threats
      description: Get threats using a variety of filters.
      script: '|||sentinelone-get-threats'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "9"
    scriptarguments:
      classifications: {}
      content_hash: {}
      created_after: {}
      created_before: {}
      created_from: {}
      created_until: {}
      display_name: {}
      limit: {}
      mitigation_status: {}
      query: {}
      rank: {}
      resolved: {}
      threat_ids: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "3":
    id: "3"
    taskid: f0a21eb8-d655-4a4d-8bc9-46a1be03183a
    type: regular
    task:
      id: f0a21eb8-d655-4a4d-8bc9-46a1be03183a
      version: -1
      name: Get Activities
      description: Get a list of activities.
      script: '|||sentinelone-get-activities'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "17"
    scriptarguments:
      activities_ids: {}
      activity_types: {}
      agent_ids: {}
      created_after: {}
      created_before: {}
      created_between: {}
      created_from: {}
      created_until: {}
      group_ids: {}
      include_hidden: {}
      limit: {}
      threats_ids: {}
      user_emails: {}
      user_ids: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 1350,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "4":
    id: "4"
    taskid: aa1e18d3-a6c0-4a9e-8a9b-070b09e95501
    type: regular
    task:
      id: aa1e18d3-a6c0-4a9e-8a9b-070b09e95501
      version: -1
      name: Get All agents
      description: List all agents matching the input filter.
      script: '|||sentinelone-list-agents'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "5"
    scriptarguments:
      computer_name: {}
      created_at: {}
      min_active_threats: {}
      os_type: {}
      scan_status: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "5":
    id: "5"
    taskid: 192b4a05-e7ac-4342-8329-3521b7c431d0
    type: regular
    task:
      id: 192b4a05-e7ac-4342-8329-3521b7c431d0
      version: -1
      name: Get Agent
      description: Get details of an agent by its ID.
      script: '|||sentinelone-get-agent'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "6"
    scriptarguments:
      agent_id:
        simple: "657613730168123595"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 550
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "6":
    id: "6"
    taskid: 5877b73d-eb2a-45d7-8ecf-eda0eaea13a9
    type: regular
    task:
      id: 5877b73d-eb2a-45d7-8ecf-eda0eaea13a9
      version: -1
      name: Get Agent Processess
      description: Retrieve running processes for a specific agent.
      script: '|||sentinelone-agent-processes'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "10"
    scriptarguments:
      agents_ids:
        simple: "657613730168123595"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 740
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "7":
    id: "7"
    taskid: b952481e-cc6a-4bb4-8feb-7a89848eed74
    type: regular
    task:
      id: b952481e-cc6a-4bb4-8feb-7a89848eed74
      version: -1
      name: Get all groups
      description: Gets the group data.
      script: '|||sentinelone-get-groups'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "8"
    scriptarguments:
      group_id: {}
      group_ids: {}
      group_type: {}
      is_default: {}
      limit: {}
      name: {}
      query: {}
      rank: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 880,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "8":
    id: "8"
    taskid: 0e99af0e-c732-41ee-8155-1b8828c4a0af
    type: regular
    task:
      id: 0e99af0e-c732-41ee-8155-1b8828c4a0af
      version: -1
      name: Get threat summary
      description: Get dashboard threat summary.
      script: '|||sentinelone-threat-summary'
      type: regular
      iscommand: true
      brand: ""
    scriptarguments:
      group_ids:
        simple: ${SentinelOne.Group.id}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 880,
          "y": 570
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "9":
    id: "9"
    taskid: eb36a271-0d54-4a49-8f40-fff09e306f1a
    type: regular
    task:
      id: eb36a271-0d54-4a49-8f40-fff09e306f1a
      version: -1
      name: Mark as threat
      description: Mark suspicious threats as threats
      script: '|||sentinelone-mark-as-threat'
      type: regular
      iscommand: true
      brand: ""
    scriptarguments:
      target_scope:
        simple: site
      threat_ids:
        simple: "513526418089756174"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 570
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "10":
    id: "10"
    taskid: e20a2156-86ea-4a44-861b-16b4e983c73b
    type: regular
    task:
      id: e20a2156-86ea-4a44-861b-16b4e983c73b
      version: -1
      name: Disconnect agent to network
      description: Disconnect agents from network
      script: '|||sentinelone-disconnect-agent'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "23"
    scriptarguments:
      agent_id:
        simple: ${SentinelOne.Agent.ID}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 915
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "12":
    id: "12"
    taskid: 6c169566-ebb8-4de5-8da9-c3bc11260722
    type: regular
    task:
      id: 6c169566-ebb8-4de5-8da9-c3bc11260722
      version: -1
      name: Broadcast Message
      description: Broadcasts a message to all agents matching the input filter.
      script: '|||sentinelone-broadcast-message'
      type: regular
      iscommand: true
      brand: ""
    scriptarguments:
      active_agent: {}
      agent_id:
        simple: "657613730168123595"
      domain: {}
      group_id: {}
      message:
        simple: Hey There, just checking
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -470,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "13":
    id: "13"
    taskid: 2ef96a17-2e6d-4508-8d02-4bf28902641b
    type: regular
    task:
      id: 2ef96a17-2e6d-4508-8d02-4bf28902641b
      version: -1
      name: Create Query ID
      description: Start a Deep Visibility Query and get the queryId, use queryId
        for all other APIs such as Get All Events
      script: '|||sentinelone-create-query'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "29"
    scriptarguments:
      from_date:
        simple: "2020-01-01T04:49:26.257525Z"
      query:
        simple: AgentName Is Not Empty
      to_date:
        simple: "2020-02-07T04:49:26.257525Z"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 1780,
          "y": 360<commit_msg>Fixed timestanps<commit_after>id: SentinelOne V2 - test
version: -1
name: SentinelOne V2 - test
starttaskid: "0"
tasks:
  "0":
    id: "0"
    taskid: 372e23d6-59d4-428e-8fa6-cc39c0a83ac2
    type: start
    task:
      id: 372e23d6-59d4-428e-8fa6-cc39c0a83ac2
      version: -1
      name: ""
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "1"
      - "22"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 50
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "1":
    id: "1"
    taskid: 8c69a666-0427-4d4a-8bcf-745e4784b9dc
    type: regular
    task:
      id: 8c69a666-0427-4d4a-8bcf-745e4784b9dc
      version: -1
      name: Delete Context
      description: Delete field from context
      scriptName: DeleteContext
      type: regular
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "2"
      - "3"
      - "4"
      - "7"
      - "12"
      - "13"
    scriptarguments:
      all:
        simple: "yes"
      index: {}
      key: {}
      keysToKeep: {}
      subplaybook: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 190
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "2":
    id: "2"
    taskid: ffa0cb5b-302d-48cc-84f2-68fa45140dbf
    type: regular
    task:
      id: ffa0cb5b-302d-48cc-84f2-68fa45140dbf
      version: -1
      name: Get Threats
      description: Get threats using a variety of filters.
      script: '|||sentinelone-get-threats'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "9"
    scriptarguments:
      classifications: {}
      content_hash: {}
      created_after: {}
      created_before: {}
      created_from: {}
      created_until: {}
      display_name: {}
      limit: {}
      mitigation_status: {}
      query: {}
      rank: {}
      resolved: {}
      threat_ids: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "3":
    id: "3"
    taskid: f0a21eb8-d655-4a4d-8bc9-46a1be03183a
    type: regular
    task:
      id: f0a21eb8-d655-4a4d-8bc9-46a1be03183a
      version: -1
      name: Get Activities
      description: Get a list of activities.
      script: '|||sentinelone-get-activities'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "17"
    scriptarguments:
      activities_ids: {}
      activity_types: {}
      agent_ids: {}
      created_after: {}
      created_before: {}
      created_between: {}
      created_from: {}
      created_until: {}
      group_ids: {}
      include_hidden: {}
      limit: {}
      threats_ids: {}
      user_emails: {}
      user_ids: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 1350,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "4":
    id: "4"
    taskid: aa1e18d3-a6c0-4a9e-8a9b-070b09e95501
    type: regular
    task:
      id: aa1e18d3-a6c0-4a9e-8a9b-070b09e95501
      version: -1
      name: Get All agents
      description: List all agents matching the input filter.
      script: '|||sentinelone-list-agents'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "5"
    scriptarguments:
      computer_name: {}
      created_at: {}
      min_active_threats: {}
      os_type: {}
      scan_status: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "5":
    id: "5"
    taskid: 192b4a05-e7ac-4342-8329-3521b7c431d0
    type: regular
    task:
      id: 192b4a05-e7ac-4342-8329-3521b7c431d0
      version: -1
      name: Get Agent
      description: Get details of an agent by its ID.
      script: '|||sentinelone-get-agent'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "6"
    scriptarguments:
      agent_id:
        simple: "657613730168123595"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 550
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "6":
    id: "6"
    taskid: 5877b73d-eb2a-45d7-8ecf-eda0eaea13a9
    type: regular
    task:
      id: 5877b73d-eb2a-45d7-8ecf-eda0eaea13a9
      version: -1
      name: Get Agent Processess
      description: Retrieve running processes for a specific agent.
      script: '|||sentinelone-agent-processes'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "10"
    scriptarguments:
      agents_ids:
        simple: "657613730168123595"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 740
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "7":
    id: "7"
    taskid: b952481e-cc6a-4bb4-8feb-7a89848eed74
    type: regular
    task:
      id: b952481e-cc6a-4bb4-8feb-7a89848eed74
      version: -1
      name: Get all groups
      description: Gets the group data.
      script: '|||sentinelone-get-groups'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "8"
    scriptarguments:
      group_id: {}
      group_ids: {}
      group_type: {}
      is_default: {}
      limit: {}
      name: {}
      query: {}
      rank: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 880,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "8":
    id: "8"
    taskid: 0e99af0e-c732-41ee-8155-1b8828c4a0af
    type: regular
    task:
      id: 0e99af0e-c732-41ee-8155-1b8828c4a0af
      version: -1
      name: Get threat summary
      description: Get dashboard threat summary.
      script: '|||sentinelone-threat-summary'
      type: regular
      iscommand: true
      brand: ""
    scriptarguments:
      group_ids:
        simple: ${SentinelOne.Group.id}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 880,
          "y": 570
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "9":
    id: "9"
    taskid: eb36a271-0d54-4a49-8f40-fff09e306f1a
    type: regular
    task:
      id: eb36a271-0d54-4a49-8f40-fff09e306f1a
      version: -1
      name: Mark as threat
      description: Mark suspicious threats as threats
      script: '|||sentinelone-mark-as-threat'
      type: regular
      iscommand: true
      brand: ""
    scriptarguments:
      target_scope:
        simple: site
      threat_ids:
        simple: "513526418089756174"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 450,
          "y": 570
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "10":
    id: "10"
    taskid: e20a2156-86ea-4a44-861b-16b4e983c73b
    type: regular
    task:
      id: e20a2156-86ea-4a44-861b-16b4e983c73b
      version: -1
      name: Disconnect agent to network
      description: Disconnect agents from network
      script: '|||sentinelone-disconnect-agent'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "23"
    scriptarguments:
      agent_id:
        simple: ${SentinelOne.Agent.ID}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -10,
          "y": 915
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "12":
    id: "12"
    taskid: 6c169566-ebb8-4de5-8da9-c3bc11260722
    type: regular
    task:
      id: 6c169566-ebb8-4de5-8da9-c3bc11260722
      version: -1
      name: Broadcast Message
      description: Broadcasts a message to all agents matching the input filter.
      script: '|||sentinelone-broadcast-message'
      type: regular
      iscommand: true
      brand: ""
    scriptarguments:
      active_agent: {}
      agent_id:
        simple: "657613730168123595"
      domain: {}
      group_id: {}
      message:
        simple: Hey There, just checking
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -470,
          "y": 360
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "13":
    id: "13"
    taskid: 2ef96a17-2e6d-4508-8d02-4bf28902641b
    type: regular
    task:
      id: 2ef96a17-2e6d-4508-8d02-4bf28902641b
      version: -1
      name: Create Query ID
      description: Start a Deep Visibility Query and get the queryId, use queryId
        for all other APIs such as Get All Events
      script: '|||sentinelone-create-query'
      type: regular
      iscommand: true
      brand: ""
    nexttasks:
      '#none#':
      - "29"
    scriptarguments:
      from_date:
        simple: "2020-04-01T04:49:26.257525Z"
      query:
        simple: AgentName Is Not Empty
      to_date:
        simple: "2020-04-05T04:49:26.257525Z"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 1780,
          "y": 360
{'fraction_non_alphanumeric': 0.11566265060240964, 'fraction_numerical': 0.08342704149933065, 'mean_word_length': 1.7082366589327147, 'pattern_counts': {'":': 104, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6432086', 'n_tokens_mistral': 7427, 'n_tokens_neox': 6710, 'n_words': 1398}