id: playbook14 version: -1 name: Checkpoint Firewall Configuration Backup Playbook description: Deprecated. Triggers a backup task on each firewall appliance and pulls the resulting file into the war room via SCP. system: true fromversion: 5.0.0 starttaskid: "0" hidden: true tasks: "0": id: "0" taskid: 1048472f-83e3-4b55-8d84-8e9fafbbd6cf type: start task: id: 1048472f-83e3-4b55-8d84-8e9fafbbd6cf version: -1 description: "" name: start_task type: start iscommand: false brand: "" nexttasks: '#none#': - "1" separatecontext: false view: |- { "position": { "x": 50, "y": 50 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "1": id: "1" taskid: 230eed7b-c702-4c0f-87f0-700bd9d630b1 type: regular task: id: 230eed7b-c702-4c0f-87f0-700bd9d630b1 version: -1 description: "" name: Determine list of devices to be backed up type: regular iscommand: false brand: "" nexttasks: '#none#': - "2" scriptarguments: key: simple: chkpdevicestobackup value: {} separatecontext: false view: |- { "position": { "x": 50, "y": 195 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "2": id: "2" taskid: 6eb6a468-79cc-460b-8e2c-cada1799b034 type: regular task: id: 6eb6a468-79cc-460b-8e2c-cada1799b034 version: -1 description: "" name: Trigger backup on each device scriptName: CPCreateBackup type: regular iscommand: false brand: "" nexttasks: '#none#': - "3" scriptarguments: devices: simple: ${chkpdevicestobackup} results: - CheckpointBackup separatecontext: false view: |- { "position": { "x": 50, "y": 370 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "3": id: "3" taskid: 143e5bcf-7746-409b-8c53-ff761a2d4b99 type: regular task: id: 143e5bcf-7746-409b-8c53-ff761a2d4b99 version: -1 description: "" name: Show status for initiated backup tasks scriptName: CPShowBackupStatus type: regular iscommand: false brand: "" nexttasks: '#none#': - "4" scriptarguments: devices: simple: ${chkpbackupstarted} waittimeout: simple: "5" results: - CheckpointBackup separatecontext: false view: |- { "position": { "x": 50, "y": 545 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "4": id: "4" taskid: 1e1e3c6f-5703-47ea-8d70-871327266a2b type: condition task: id: 1e1e3c6f-5703-47ea-8d70-871327266a2b version: -1 description: "" name: Have any backups failed? scriptName: UtilAnyResults type: condition iscommand: false brand: "" nexttasks: '#default#': - "6" "yes": - "5" scriptarguments: data: simple: ${devicesbackuperror} separatecontext: false view: |- { "position": { "x": 50, "y": 720 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "5": id: "5" taskid: 3fb51d97-0e06-4b4d-8d3d-44a10e657cc4 type: regular task: id: 3fb51d97-0e06-4b4d-8d3d-44a10e657cc4 version: -1 description: "" name: Open ticket on ServiceNow with list of problematic devices scriptName: SNOpenTicket type: regular iscommand: false brand: "" nexttasks: '#none#': - "6" scriptarguments: assignmentgroup: {} category: {} comments: simple: ${devicesbackuperror} shortdescription: simple: Checkpoint configuration backups - Failed subcategory: {} separatecontext: false view: |- { "position": { "x": 293, "y": 903 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "6": id: "6" taskid: 36723772-43f0-4619-872f-f54d53770054 type: regular task: id: 36723772-43f0-4619-872f-f54d53770054 version: -1 description: "" name: Retrieve the backup files from the devices scriptName: SCPPullFiles type: regular iscommand: false brand: "" nexttasks: '#none#': - "7" scriptarguments: systems2files: simple: ${devicesbackupfiles} separatecontext: false view: |- { "position": { "x": 80, "y": 1097 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "7": id: "7" taskid: d187c4cc-630c-4edd-8048-40678669101b type: regular task: id: d187c4cc-630c-4edd-8048-40678669101b version: -1 description: "" name: Email a report of backup results scriptName: SendEmail type: regular iscommand: false brand: "" nexttasks: '#none#': - "8" scriptarguments: attachIDs: {} bcc: {} body: simple: ${backupsreporttext} cc: {} htmlBody: {} subject: simple: Demisto - Checkpoint Backup Report to: {} separatecontext: false view: |- { "position": { "x": 80, "y": 1291 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "8": id: "8" taskid: 65e21959-2a73-48ab-8b31-0aa8b55e66d9 type: regular task: id: 65e21959-2a73-48ab-8b31-0aa8b55e66d9 version: -1 description: "" name: CloseInvestigation scriptName: CloseInvestigation type: regular iscommand: false brand: "" scriptarguments: notes: {} reason: simple: Done separatecontext: false view: |- { "position": { "x": 80, "y": 1485 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 1530, "width": 623, "x": 50, "y": 50 } } } inputs: [] outputs: [] tests: - No test - old playbook deprecated: true