McAfee ePO Repository Compliance Playbook Deprecated Hidden

Deprecated. Use "McAfee ePO Repository Compliance Playbook v2" playbook instead. Ensures that ePO servers are updated to the latest McAfee published AV signatures (DAT file version).

Deprecated Content (Deprecated) · 12 tasks · 0 inputs · 0 outputs

Details

IDplaybook11
From Version5.0.0
Tasks12

README

DEPRECATED. Use “McAfee ePO Repository Compliance Playbook v2” playbook instead. Ensures that ePO servers are updated to the latest McAfee published AV signatures (DAT file version).

Dependencies

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

Sub-playbooks

This playbook does not use any sub-playbooks.

Integrations

  • epo

Scripts

  • CloseInvestigation
  • SendEmail
  • Sleep
  • IncidentSet
  • AreValuesEqual

Commands

  • epo-get-current-dat
  • epo-get-latest-dat
  • epo-update-repository

Playbook Inputs


There are no inputs for this playbook.

Playbook Outputs


There are no outputs for this playbook.

Playbook Image


McAfee_ePO_Repository_Compliance_Playbook

Commands used

epo-get-current-dat epo-get-latest-dat epo-update-repository

Flowchart

yes yes start_task start_task Retrieve DAT version and date from McAfee - epo-get-latest-dat Retrieve DAT version and ... epo-get-latest-dat Initiate update task in each local repository - epo-update-repository Initiate update task in e... epo-update-repository Send report to admin with update results - SendEmail Send report to admin with... SendEmail Send email alert with list of faulty repositories to admin - SendEmail Send email alert with lis... SendEmail Close the investigation - CloseInvestigation Close the investigation CloseInvestigation epo-get-current-dat - epo-get-current-dat epo-get-current-dat epo-get-current-dat Check if ePO has latest DAT from McAfee - AreValuesEqual Check if ePO has latest D... AreValuesEqual Wait for 5 minutes - Sleep Wait for 5 minutes Sleep Get ePO current DAT version - epo-get-current-dat Get ePO current DAT version epo-get-current-dat Check if ePO has latest DAT from McAfee - AreValuesEqual Check if ePO has latest D... AreValuesEqual Set incident to High severity - IncidentSet Set incident to High seve... IncidentSet
id: playbook11
version: -1
system: true
fromversion: 5.0.0
name: McAfee ePO Repository Compliance Playbook
description: Deprecated. Use "McAfee ePO Repository Compliance Playbook v2" playbook instead. Ensures that ePO servers are updated to the latest McAfee published AV signatures (DAT file version).
starttaskid: "0"
hidden: true
tasks:
  "0":
    id: "0"
    taskid: ee018e04-2610-4998-87d0-f5217127bbad
    type: start
    task:
      id: ee018e04-2610-4998-87d0-f5217127bbad
      version: -1
      description: ""
      name: start_task
      type: start
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "11"
      - "2"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 50,
          "y": 50
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "2":
    id: "2"
    taskid: 4d3e8911-2cd9-4f8c-89fa-1d1418bc3dfa
    type: regular
    task:
      id: 4d3e8911-2cd9-4f8c-89fa-1d1418bc3dfa
      version: -1
      description: ""
      name: Retrieve DAT version and date from McAfee
      script: epo|||epo-get-latest-dat
      type: regular
      iscommand: true
      brand: epo
    nexttasks:
      '#none#':
      - "12"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 284,
          "y": 186
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "4":
    id: "4"
    taskid: b7e28ac8-487e-4946-8316-7361f08ac1c5
    type: regular
    task:
      id: b7e28ac8-487e-4946-8316-7361f08ac1c5
      version: -1
      description: ""
      name: Initiate update task in each local repository
      script: epo|||epo-update-repository
      type: regular
      iscommand: true
      brand: epo
    nexttasks:
      '#none#':
      - "13"
    scriptarguments:
      repos:
        simple: ${olddatrepos}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 284,
          "y": 524
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "5":
    id: "5"
    taskid: 620023d1-63b0-4834-81a2-74dd20437dda
    type: regular
    task:
      id: 620023d1-63b0-4834-81a2-74dd20437dda
      version: -1
      description: ""
      name: Send report to admin with update results
      scriptName: SendEmail
      type: regular
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "10"
    scriptarguments:
      attachIDs: {}
      bcc: {}
      body:
        simple: ePO Update Successful.
      cc: {}
      htmlBody: {}
      noteEntryID: {}
      subject:
        simple: 'Demisto: ePO Update Results'
      to:
        simple: ${incident.labels.adminEmail}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 115,
          "y": 1177
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "7":
    id: "7"
    taskid: dccfaaf4-cca5-44d3-8818-6a5131b502ed
    type: regular
    task:
      id: dccfaaf4-cca5-44d3-8818-6a5131b502ed
      version: -1
      description: ""
      name: Send email alert with list of faulty repositories to admin
      scriptName: SendEmail
      type: regular
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "16"
    scriptarguments:
      attachIDs: {}
      bcc: {}
      body:
        simple: ePO Update Error. Please review status of Demisto incident ${incident.id} - ${incident.name}
      cc: {}
      htmlBody: {}
      noteEntryID: {}
      subject:
        simple: 'Demisto: Faulty ePO Repositories Alert'
      to:
        simple: ${incident.labels.adminEmail}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 603,
          "y": 1177
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "10":
    id: "10"
    taskid: 220a0d1d-b7cc-403f-8750-526d3bf55b51
    type: regular
    task:
      id: 220a0d1d-b7cc-403f-8750-526d3bf55b51
      version: -1
      description: ""
      name: Close the investigation
      scriptName: CloseInvestigation
      type: regular
      iscommand: false
      brand: ""
    scriptarguments:
      notes: {}
      reason:
        simple: AuditCompleted
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -204,
          "y": 1356
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "11":
    id: "11"
    taskid: dd5d9578-ca9e-4a3b-8088-940627f3fe9e
    type: regular
    task:
      id: dd5d9578-ca9e-4a3b-8088-940627f3fe9e
      version: -1
      name: epo-get-current-dat
      description: check the existing DAT file version in ePO
      script: epo|||epo-get-current-dat
      type: regular
      iscommand: true
      brand: epo
    nexttasks:
      '#none#':
      - "12"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": -175,
          "y": 186
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "12":
    id: "12"
    taskid: 4405829c-0e70-4c29-8a33-3c17a9644b00
    type: condition
    task:
      id: 4405829c-0e70-4c29-8a33-3c17a9644b00
      version: -1
      name: Check if ePO has latest DAT from McAfee
      description: Check whether the values provided in arguments are equal.
      scriptName: AreValuesEqual
      type: condition
      iscommand: false
      brand: ""
    nexttasks:
      '#default#':
      - "4"
      "yes":
      - "10"
    scriptarguments:
      left:
        simple: ${mcafee.latestDAT}
      right:
        simple: ${mcafee.epoDAT=val.substr(0,val.indexOf('.'))}
    results:
    - AreValuesEqual
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 50,
          "y": 355
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "13":
    id: "13"
    taskid: 8de9cf55-b3d6-46d0-8aa6-3de9bcd2a64b
    type: regular
    task:
      id: 8de9cf55-b3d6-46d0-8aa6-3de9bcd2a64b
      version: -1
      name: Wait for 5 minutes
      description: Sleep for X seconds
      scriptName: Sleep
      type: regular
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "14"
    scriptarguments:
      seconds:
        simple: "300"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 284,
          "y": 683
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "14":
    id: "14"
    taskid: b766e4a2-8988-46e1-84ab-d91d118d48a7
    type: regular
    task:
      id: b766e4a2-8988-46e1-84ab-d91d118d48a7
      version: -1
      name: Get ePO current DAT version
      description: check the existing DAT file version in ePO
      script: epo|||epo-get-current-dat
      type: regular
      iscommand: true
      brand: epo
    nexttasks:
      '#none#':
      - "15"
    scriptarguments:
      extend-context:
        simple: mcafee.newEpoDAT=productDetectionProductVersion
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 284,
          "y": 837
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "15":
    id: "15"
    taskid: 5b82d2b7-4ac6-4759-8f19-4810dff0b0ad
    type: condition
    task:
      id: 5b82d2b7-4ac6-4759-8f19-4810dff0b0ad
      version: -1
      name: Check if ePO has latest DAT from McAfee
      description: Check whether the values provided in arguments are equal.
      scriptName: AreValuesEqual
      type: condition
      iscommand: false
      brand: ""
    nexttasks:
      '#default#':
      - "7"
      "yes":
      - "5"
    scriptarguments:
      left:
        simple: ${mcafee.latestDAT}
      right:
        simple: ${mcafee.newEpoDAT=val.substr(1,val.indexOf('.'))}
    results:
    - AreValuesEqual
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 284,
          "y": 1003
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
  "16":
    id: "16"
    taskid: 5e480762-0617-4ad1-80e3-8bead4c6adf5
    type: regular
    task:
      id: 5e480762-0617-4ad1-80e3-8bead4c6adf5
      version: -1
      name: Set incident to High severity
      description: Modify incident info such as name, owner, type, etc.
      scriptName: IncidentSet
      type: regular
      iscommand: false
      brand: ""
    scriptarguments:
      addLabels: {}
      customFieldName: {}
      customFieldValue: {}
      details: {}
      labels: {}
      name: {}
      owner: {}
      playbook: {}
      severity:
        simple: High
      stage: {}
      type: {}
      updatePlaybookForType: {}
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 603,
          "y": 1356
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
    skipunavailable: false
    quietmode: 0
view: |-
  {
    "linkLabelsPosition": {},
    "paper": {
      "dimensions": {
        "height": 1401,
        "width": 1187,
        "x": -204,
        "y": 50
      }
    }
  }
inputs: []
outputs: []
tests:
- No test - Deprecated playbook
deprecated: true