Pentera Run Scan

Pentera · 9 tasks · 1 input · 1 output

Details

IDPentera Run Scan
From Version5.0.0
Tasks9

README

Dependencies

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

Sub-playbooks

  • GenericPolling

Integrations

This playbook does not use any integrations.

Scripts

This playbook does not use any scripts.

Commands

  • pentera-run-template-by-name
  • pentera-get-task-run-full-action-report
  • pentera-get-task-run-status

Playbook Inputs


Name Description Default Value Required
PenteraTaskName The name of the Pentera task to run   Required

Playbook Outputs


Path Description Type
Pentera.TaskRun.FullActionReport Pentera Full Action Report is the summary of the given TaskName in a CSV format, that contains all the actions that Pentera performed during the task run. unknown

Inputs

  • PenteraTaskName — The name of the Pentera task to run

Outputs

  • Pentera.TaskRun.FullActionReport — Pentera Full Action Report is the summary of the given TaskName in a CSV format, that contains all the actions that Pentera performed during the task run.

Commands used

pentera-get-task-run-full-action-report pentera-get-task-run-status pentera-run-template-by-name

Flowchart

Start Start Run Pentera Template - pentera-run-template-by-name Run Pentera Template pentera-run-template-by-name GenericPolling - GenericPolling GenericPolling GenericPolling Start the Scan Start the Scan Wait For The Scan To Complete Wait For The Scan To Comp... Collect The Full Action Report Collect The Full Action R... Retrieve The Full Action Report - pentera-get-task-run-full-action-report Retrieve The Full Action ... pentera-get-task-run-full-act... Update Template Status Update Template Status Get Template Status - pentera-get-task-run-status Get Template Status pentera-get-task-run-status
id: Pentera Run Scan
version: -1
name: Pentera Run Scan
starttaskid: '0'
tasks:
  '0':
    id: '0'
    taskid: 5a959fa6-a7d4-4fa6-8071-47de420ebf6b
    type: start
    task:
      id: 5a959fa6-a7d4-4fa6-8071-47de420ebf6b
      version: -1
      name: ''
      iscommand: false
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '3'
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 50\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '1':
    id: '1'
    taskid: 3a4bdbe3-2e52-4694-847c-a75c713304a0
    type: regular
    task:
      id: 3a4bdbe3-2e52-4694-847c-a75c713304a0
      version: -1
      name: Run Pentera Template
      script: '|||pentera-run-template-by-name'
      type: regular
      iscommand: true
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '4'
    scriptarguments:
      template_name:
        simple: ${inputs.PenteraTaskName}
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 340\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '2':
    id: '2'
    taskid: c39055fd-077a-4425-8d66-f67a1115faca
    type: playbook
    task:
      id: c39055fd-077a-4425-8d66-f67a1115faca
      version: -1
      name: GenericPolling
      playbookName: GenericPolling
      type: playbook
      iscommand: false
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '7'
    scriptarguments:
      AdditionalPollingCommandArgNames: {}
      AdditionalPollingCommandArgValues: {}
      Ids:
        simple: ${Pentera.TaskRun.ID}
      Interval:
        simple: '1'
      PollingCommandArgName:
        simple: task_run_id
      PollingCommandName:
        simple: pentera-get-task-run-status
      Timeout:
        simple: '60'
      dt:
        simple: Pentera.TaskRun(val.Status == 'Running' || val.Status == 'Cleaning
          up').ID
    separatecontext: true
    loop:
      iscommand: false
      exitCondition: ''
      wait: 1
      max: 0
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 660\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '3':
    id: '3'
    taskid: 42db38b6-8f8b-4596-859a-bcc95f2cb854
    type: title
    task:
      id: 42db38b6-8f8b-4596-859a-bcc95f2cb854
      version: -1
      name: Start the Scan
      type: title
      iscommand: false
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '1'
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 195\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '4':
    id: '4'
    taskid: e219e85f-a56a-4e27-8168-f6d1452e7db0
    type: title
    task:
      id: e219e85f-a56a-4e27-8168-f6d1452e7db0
      version: -1
      name: Wait For The Scan To Complete
      type: title
      iscommand: false
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '2'
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 515\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '5':
    id: '5'
    taskid: 9edbe478-90d3-4e33-8804-d3ea6679f63f
    type: title
    task:
      id: 9edbe478-90d3-4e33-8804-d3ea6679f63f
      version: -1
      name: Collect The Full Action Report
      type: title
      iscommand: false
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '6'
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 1155\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '6':
    id: '6'
    taskid: 9dfd1648-57d8-408d-8b83-2df67ab2f8b7
    type: regular
    task:
      id: 9dfd1648-57d8-408d-8b83-2df67ab2f8b7
      version: -1
      name: Retrieve The Full Action Report
      script: '|||pentera-get-task-run-full-action-report'
      type: regular
      iscommand: true
      brand: ''
      description: ''
    scriptarguments:
      task_run_id:
        simple: ${Pentera.TaskRun.ID}
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 1300\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '7':
    id: '7'
    taskid: e55b1bd2-c601-4388-8d78-1dc24bae2ef0
    type: title
    task:
      id: e55b1bd2-c601-4388-8d78-1dc24bae2ef0
      version: -1
      name: Update Template Status
      type: title
      iscommand: false
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '8'
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 835\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  '8':
    id: '8'
    taskid: fb9b4b42-aaa1-473d-853b-f35aa18463a8
    type: regular
    task:
      id: fb9b4b42-aaa1-473d-853b-f35aa18463a8
      version: -1
      name: Get Template Status
      script: '|||pentera-get-task-run-status'
      type: regular
      iscommand: true
      brand: ''
      description: ''
    nexttasks:
      '#none#':
      - '5'
    scriptarguments:
      task_run_id:
        simple: ${Pentera.TaskRun.ID}
    separatecontext: false
    view: "{\n  \"position\": {\n    \"x\": 50,\n    \"y\": 980\n  }\n}"
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
system: true
view: "{\n  \"linkLabelsPosition\": {},\n  \"paper\": {\n    \"dimensions\": {\n \
  \     \"height\": 1345,\n      \"width\": 380,\n      \"x\": 50,\n      \"y\": 50\n\
  \    }\n  }\n}"
inputs:
- key: PenteraTaskName
  value: {}
  required: true
  description: The name of the Pentera task to run
  playbookInputQuery:
outputs:
- contextPath: Pentera.TaskRun.FullActionReport
  description: Pentera Full Action Report is the summary of the given TaskName in
    a CSV format, that contains all the actions that Pentera performed during the
    task run.
  type: unknown
fromversion: 5.0.0
description: ''
tests:
- No tests (auto formatted)