id: Host Lookup - Infoblox NIOS version: -1 name: Host Lookup - Infoblox NIOS description: This playbook looks up hosts info using Infoblox NIOS integration. starttaskid: "0" tasks: "0": id: "0" taskid: 854d3f8c-3185-4adc-866f-df5bb423b823 type: start task: id: 854d3f8c-3185-4adc-866f-df5bb423b823 version: -1 name: "" iscommand: false brand: "" description: '' nexttasks: '#none#': - "1" separatecontext: false continueonerrortype: "" view: |- { "position": { "x": 610, "y": -70 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "1": id: "1" taskid: 0a698aa4-4fd3-48fb-8bf4-f38bb61af4e8 type: condition task: id: 0a698aa4-4fd3-48fb-8bf4-f38bb61af4e8 version: -1 name: Is Infoblox NIOS integration enabled? description: Checks whether Infoblox NIOS integration is enabled or not. type: condition iscommand: false brand: "" nexttasks: '#default#': - "6" "yes": - "2" separatecontext: false conditions: - label: "yes" condition: - - operator: isExists left: value: complex: root: modules filters: - - operator: isEqualString left: value: simple: modules.brand iscontext: true right: value: simple: Infoblox - - operator: isEqualString left: value: simple: modules.state iscontext: true right: value: simple: active accessor: name iscontext: true right: value: {} continueonerrortype: "" view: |- { "position": { "x": 610, "y": 70 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "2": id: "2" taskid: 13c93141-9509-414f-8f11-864bacb10e46 type: regular task: id: 13c93141-9509-414f-8f11-864bacb10e46 version: -1 name: Clear previous inputs description: |- Delete field from context. This automation runs using the default Limited User role, unless you explicitly change the permissions. For more information, see the section about permissions here: https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.10/Cortex-XSOAR-Administrator-Guide/Automations scriptName: DeleteContext type: regular iscommand: false brand: "" nexttasks: '#none#': - "8" scriptarguments: key: simple: FoundIndicators subplaybook: simple: auto separatecontext: false continueonerrortype: "" view: |- { "position": { "x": 610, "y": 320 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "3": id: "3" taskid: e0fa8bb3-e009-449d-8913-c38de81680a8 type: regular task: id: e0fa8bb3-e009-449d-8913-c38de81680a8 version: -1 name: Fetch Indicators from Incident description: commands.local.cmd.find.indicators script: Builtin|||findIndicators type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "10" scriptarguments: extend-context: simple: FoundIndicators=.={"value":val.value,"indicator_type":val.indicator_type} query: complex: root: incident accessor: id transformers: - operator: Stringify - operator: concat args: prefix: value: simple: 'investigationIDs:' suffix: {} separatecontext: false continueonerrortype: "" view: |- { "position": { "x": 610, "y": 700 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "4": id: "4" taskid: a8b87552-3a88-4eaa-8c90-fca7ed22bd25 type: regular task: id: a8b87552-3a88-4eaa-8c90-fca7ed22bd25 version: -1 name: List Host Info description: Get all host records. script: '|||infoblox-list-host-info' type: regular iscommand: true brand: "" nexttasks: '#none#': - "6" scriptarguments: host_name: complex: root: FoundIndicators filters: - - operator: isEqualString left: value: simple: FoundIndicators.indicator_type iscontext: true right: value: simple: domain ignorecase: true accessor: value transformers: - operator: SetIfEmpty args: applyIfEmpty: {} defaultValue: value: simple: inputs.hosts iscontext: true - operator: splitAndTrim args: delimiter: value: simple: ',' - operator: RemoveEmpty args: empty_values: {} remove_keys: {} separatecontext: false continueonerror: true continueonerrortype: "" view: |- { "position": { "x": 610, "y": 1290 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "6": id: "6" taskid: 852620c8-a21c-48a1-8797-6b9869c2a6d0 type: title task: id: 852620c8-a21c-48a1-8797-6b9869c2a6d0 version: -1 name: Done type: title iscommand: false brand: "" description: '' separatecontext: false continueonerrortype: "" view: |- { "position": { "x": 870, "y": 1460 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "8": id: "8" taskid: 8ac6b929-e097-42f3-849e-c00842954ecc type: condition task: id: 8ac6b929-e097-42f3-849e-c00842954ecc version: -1 name: Check whether hosts or domains are available in playbook input description: Check whether host or domains are available in playbook input. type: condition iscommand: false brand: "" nexttasks: '#default#': - "3" "yes": - "10" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: complex: root: inputs.hosts transformers: - operator: splitAndTrim args: delimiter: value: simple: ',' - operator: RemoveEmpty args: empty_values: {} remove_keys: {} iscontext: true right: value: {} continueonerrortype: "" view: |- { "position": { "x": 610, "y": 480 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "10": id: "10" taskid: cb44accd-5be1-4e0a-8903-ba2aa8766f5c type: title task: id: cb44accd-5be1-4e0a-8903-ba2aa8766f5c version: -1 name: Check for indicators type: title iscommand: false brand: "" description: '' nexttasks: '#none#': - "11" separatecontext: false continueonerrortype: "" view: |- { "position": { "x": 610, "y": 900 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "11": id: "11" taskid: 98a97378-5a32-485d-88d4-5fa934c078dd type: condition task: id: 98a97378-5a32-485d-88d4-5fa934c078dd version: -1 name: Check that host indicators are present or not description: Check that domains are present or not. type: condition iscommand: false brand: "" nexttasks: '#default#': - "6" "yes": - "4" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: complex: root: FoundIndicators filters: - - operator: isEqualString left: value: simple: FoundIndicators.indicator_type iscontext: true right: value: simple: Domain ignorecase: true accessor: value transformers: - operator: SetIfEmpty args: applyIfEmpty: {} defaultValue: value: simple: inputs.hosts iscontext: true - operator: splitAndTrim args: delimiter: value: simple: ',' - operator: RemoveEmpty args: empty_values: {} remove_keys: {} iscontext: true right: value: {} continueonerrortype: "" view: |- { "position": { "x": 610, "y": 1030 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false view: |- { "linkLabelsPosition": { "11_4_yes": 0.46, "11_6_#default#": 0.2, "1_2_yes": 0.58, "1_6_#default#": 0.1, "8_10_yes": 0.16, "8_3_#default#": 0.56 }, "paper": { "dimensions": { "height": 1595, "width": 640, "x": 610, "y": -70 } } } inputs: - key: hosts value: {} required: false description: The optional comma-separated list of hosts to lookup. playbookInputQuery: outputs: [] tests: - No tests (auto formatted) fromversion: 6.10.0