From de2f01eb00ad5a941669a24f95a1638de5c2c005 Mon Sep 17 00:00:00 2001 From: liorkol Date: Sat, 24 Dec 2016 17:29:37 +0200 Subject: [PATCH] McAfee playbooks - fixed yaml double colons in script fields --- ...cAfee_ePO_Endpoint_Compliance_Playbook.yml | 8 ++++---- ...fee_ePO_Repository_Compliance_Playbook.yml | 20 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Playbooks/playbook-McAfee_ePO_Endpoint_Compliance_Playbook.yml b/Playbooks/playbook-McAfee_ePO_Endpoint_Compliance_Playbook.yml index 0e6be872e9cc..ad5847963ce5 100644 --- a/Playbooks/playbook-McAfee_ePO_Endpoint_Compliance_Playbook.yml +++ b/Playbooks/playbook-McAfee_ePO_Endpoint_Compliance_Playbook.yml @@ -11,7 +11,7 @@ tasks: id: f5a623c7-65a2-42e7-89b6-6a7d30b50825 version: 1 name: Determine the correct repository to use - script:: SetContext + script: SetContext scriptarguments: key: repo value: "" @@ -22,7 +22,7 @@ tasks: id: 858d4f66-8300-4f1f-8249-e2a3f9f0ac7c version: 7 name: Retrieve ePO's current DAT version - script:: EPORetrieveCurrentDATVersion + script: EPORetrieveCurrentDATVersion scriptarguments: repos: ${repo} results: @@ -92,7 +92,7 @@ tasks: id: d8cd9924-954c-4301-8583-05c263e67848 version: 1 name: Display list of AV related tickets from ServiceNow - script:: SNListTickets + script: SNListTickets scriptarguments: fields: comments,short_description,category,subcategory,state query: subcategory=Antivirus @@ -103,6 +103,6 @@ tasks: id: 8b9983e7-0454-4087-8dee-e85b4cda4ba4 version: 1 name: Close the investigation - script:: CloseInvestigation + script: CloseInvestigation scriptarguments: reason: AuditCompleted diff --git a/Playbooks/playbook-McAfee_ePO_Repository_Compliance_Playbook.yml b/Playbooks/playbook-McAfee_ePO_Repository_Compliance_Playbook.yml index 4f9faa7e1b88..1d0d7cc47ec7 100644 --- a/Playbooks/playbook-McAfee_ePO_Repository_Compliance_Playbook.yml +++ b/Playbooks/playbook-McAfee_ePO_Repository_Compliance_Playbook.yml @@ -16,7 +16,7 @@ tasks: Determine which EPO servers to check (configured as instances under Demisto Settings). Sets the eporepos context item to a comma-separated list of instance names exactly as they appearin Settings. This can be filled manually or set to a constant value in the playbook such as corp1,dev1,test2 - script:: SetContext + script: SetContext scriptarguments: key: eporepos value: "" @@ -27,7 +27,7 @@ tasks: id: e9055a8b-bdcc-424f-8473-9714cf0cd8cb version: 1 name: Retrieve DAT version and date from McAfee - script:: EPOCheckLatestDAT + script: EPOCheckLatestDAT results: - latestdat - id: "3" @@ -37,7 +37,7 @@ tasks: id: d2fa687c-f7a1-49a2-8b8b-d8fb8deed0ed version: 1 name: Are any local repositories using older DATs? - script:: EPORepositoryComplianceCheck + script: EPORepositoryComplianceCheck condition: "no": [] "yes": @@ -48,7 +48,7 @@ tasks: id: 18ab6c23-eb90-4f0f-817c-6318dc746338 version: 1 name: Initiate update task in each local repository - script:: EPOUpdateRepository + script: EPOUpdateRepository scriptarguments: repos: ${olddatrepos} results: @@ -61,7 +61,7 @@ tasks: id: ab38cd4d-22c3-48ac-8afa-ba67f73c32e3 version: 1 name: Send report to admin with update results - script:: SendEmail + script: SendEmail scriptarguments: attachIDs: "" bcc: "" @@ -77,7 +77,7 @@ tasks: id: c064dd4b-1407-4f65-82af-00f3ba8e57e0 version: 4 name: Are any repositories faulty and may not be updating correctly? - script:: UtilAnyResults + script: UtilAnyResults condition: "no": [] "yes": @@ -88,7 +88,7 @@ tasks: id: 9a3ce8cf-6716-4163-8ee0-e2f13186af78 version: 1 name: Send email alert with list of faulty repositories to admin - script:: SendEmail + script: SendEmail scriptarguments: attachIDs: "" bcc: "" @@ -115,7 +115,7 @@ tasks: id: 30c8b46b-e0e7-4af6-8dc2-0012c5c37ca8 version: 3 name: Display list of AV related tickets from ServiceNow - script:: SNListTickets + script: SNListTickets scriptarguments: fields: comments,short_description,category,subcategory,state query: subcategory=Antivirus @@ -126,7 +126,7 @@ tasks: id: f9ee1f48-bc46-465b-84c2-6e717f732ba8 version: 4 name: Send audit report to administrator with list of servers and their results - script:: SendEmail + script: SendEmail scriptarguments: attachIDs: "" bcc: "" @@ -142,7 +142,7 @@ tasks: id: 220a0d1d-b7cc-403f-8750-526d3bf55b51 version: 3 name: Close the investigation - script:: CloseInvestigation + script: CloseInvestigation scriptarguments: notes: "" reason: AuditCompleted