Get File Sample From Path - Generic Deprecated

Deprecated. Use `Get File Sample From Path - Generic V3` instead. Returns a file sample to the war-room from a path on an endpoint using one or more integrations inputs: * UseD2 - if "True", use Demisto Dissolvable Agent (D2) to return the file (default: False)

Common Playbooks · 6 tasks · 3 inputs · 1 output

Details

IDget_file_sample_from_path_-_generic
From Version5.0.0
Tasks6

README

Deprecated. Use Get File Sample From Path - Generic V3 instead. Returns a file sample to the war-room from a path on an endpoint using one or more integrations

inputs:

  • UseD2 - if “True”, use Demisto Dissolvable Agent (D2) to return the file (default: False)

Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks

  • Get File Sample From Path - Carbon Black Enterprise Response
  • Get File Sample From Path - D2

Integrations

This playbook does not use any integrations.

Scripts

This playbook does not use any scripts.

Commands

This playbook does not use any commands.

Playbook Inputs


Name Description Default Value Required
UseD2   no Optional
Hostname   ${Endpoint.Hostname} Optional
Path   ${File.Path} Optional

Playbook Outputs


Path Description Type
File The file to sample. unknown

Playbook Image


Get File Sample From Path - Generic

Inputs

  • UseD2
  • Hostname
  • Path

Outputs

  • File — The file to sample.

Flowchart

yes Start Start Use D2 agent? Use D2 agent? Done Done Get File Sample From Path - D2 - Get File Sample From Path - D2 Get File Sample From Path... Get File Sample From Path - D2 Use 3rd party products Use 3rd party products Get File Sample From Path - Carbon Black Enterprise Response - Get File Sample From Path - Carbon Black Enterprise Response Get File Sample From Path... Get File Sample From Path - C...
id: get_file_sample_from_path_-_generic
version: -1
name: Get File Sample From Path - Generic
deprecated: true
description: |-
  Deprecated. Use `Get File Sample From Path - Generic V3` instead. Returns a file sample to the war-room from a path on an endpoint using one or more integrations

  inputs:
  * UseD2 - if "True", use Demisto Dissolvable Agent (D2) to return the file (default: False)
starttaskid: "0"
tasks:
  "0":
    id: "0"
    taskid: 5d887731-fb71-4226-872c-a9e8dbddac42
    type: start
    task:
      id: 5d887731-fb71-4226-872c-a9e8dbddac42
      version: -1
      name: ""
      iscommand: false
      brand: ""
      description: ''
    nexttasks:
      '#none#':
      - "1"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 50
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "1":
    id: "1"
    taskid: 8adb1ff3-5400-4f88-8a2b-4511ae8303f5
    type: condition
    task:
      id: 8adb1ff3-5400-4f88-8a2b-4511ae8303f5
      version: -1
      name: Use D2 agent?
      description: Yes if we want to use D2 agent to get the file
      type: condition
      iscommand: false
      brand: ""
    nexttasks:
      '#default#':
      - "11"
      "yes":
      - "10"
    scriptarguments:
      left:
        simple: ${inputs.UseD2}
      right:
        simple: "True"
    separatecontext: false
    conditions:
    - label: "yes"
      condition:
      - - operator: isEqualString
          left:
            value:
              simple: inputs.UseD2
            iscontext: true
          right:
            value:
              simple: "yes"
    view: |-
      {
        "position": {
          "x": 265,
          "y": 195
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "8":
    id: "8"
    taskid: f81d6908-8ce9-452b-8dde-689f44256933
    type: title
    task:
      id: f81d6908-8ce9-452b-8dde-689f44256933
      version: -1
      name: Done
      type: title
      iscommand: false
      brand: ""
      description: ''
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 690
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "10":
    id: "10"
    taskid: 0245733c-b0c2-418e-8d68-a58a2c7ffe1a
    type: playbook
    task:
      id: 0245733c-b0c2-418e-8d68-a58a2c7ffe1a
      version: -1
      name: Get File Sample From Path - D2
      description: |-
        Returns a file sample to the war-room from a path on an endpoint using Demisto Dissolvable Agent (D2)

        Input:
        * Credentials - credentials to use when trying to deploy Demisto Dissolvable Agent (D2)  (default: Admin)
        * ${Endpoint.Hostname} - deploy agent on target endpoint
        * ${File.Path} - file's path to collect
      playbookName: Get File Sample From Path - D2
      type: playbook
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "8"
    scriptarguments:
      Credentials:
        simple: Admin
      Hostname:
        simple: ${Endpoint.Hostname}
      Path:
        simple: ${File.Path}
    separatecontext: false
    loop:
      iscommand: false
      exitCondition: ""
      wait: 1
      max: 0
    view: |-
      {
        "position": {
          "x": 1,
          "y": 355
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: true
    quietmode: 0
  "11":
    id: "11"
    taskid: 33162da0-6e16-4324-8e6e-bcbd0e74f463
    type: title
    task:
      id: 33162da0-6e16-4324-8e6e-bcbd0e74f463
      version: -1
      name: Use 3rd party products
      type: title
      iscommand: false
      brand: ""
      description: ''
    nexttasks:
      '#none#':
      - "12"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 480,
          "y": 370
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "12":
    id: "12"
    taskid: bad94136-3f5d-49d7-800d-e21389ae1baa
    type: playbook
    task:
      id: bad94136-3f5d-49d7-800d-e21389ae1baa
      version: -1
      name: Get File Sample From Path - Carbon Black Enterprise Response
      description: Returns a file sample to the war-room from a path on an endpoint using Carbon Black Enterprise Response
      playbookName: Get File Sample From Path - Carbon Black Enterprise Response
      type: playbook
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "8"
    scriptarguments:
      Hostname:
        simple: ${inputs.Hostname}
      Path:
        simple: ${inputs.Path}
    separatecontext: true
    loop:
      iscommand: false
      exitCondition: ""
      wait: 1
      max: 0
    view: |-
      {
        "position": {
          "x": 480,
          "y": 516
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: true
    quietmode: 0
view: |-
  {
    "linkLabelsPosition": {},
    "paper": {
      "dimensions": {
        "height": 705,
        "width": 859,
        "x": 1,
        "y": 50
      }
    }
  }
inputs:
- key: UseD2
  value:
    simple: "no"
  required: false
  description: ""
  playbookInputQuery:
- key: Hostname
  value:
    simple: ${Endpoint.Hostname}
  required: false
  description: ""
  playbookInputQuery:
- key: Path
  value:
    simple: ${File.Path}
  required: false
  description: ""
  playbookInputQuery:
outputs:
- contextPath: File
  description: The file to sample.
  type: unknown
fromversion: 5.0.0
tests:
- No Test