Skip to content

Commit

Permalink
McAfee playbooks - fixed yaml double colons in script fields
Browse files Browse the repository at this point in the history
  • Loading branch information
liorkol committed Dec 24, 2016
1 parent 3b4624d commit de2f01e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -103,6 +103,6 @@ tasks:
id: 8b9983e7-0454-4087-8dee-e85b4cda4ba4
version: 1
name: Close the investigation
script:: CloseInvestigation
script: CloseInvestigation
scriptarguments:
reason: AuditCompleted
20 changes: 10 additions & 10 deletions Playbooks/playbook-McAfee_ePO_Repository_Compliance_Playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand All @@ -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"
Expand All @@ -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":
Expand All @@ -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:
Expand All @@ -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: ""
Expand All @@ -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":
Expand All @@ -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: ""
Expand All @@ -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
Expand All @@ -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: ""
Expand All @@ -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

0 comments on commit de2f01e

Please sign in to comment.