From c57aa1cc8ad6c0c0c288283cc74f7152b07ada16 Mon Sep 17 00:00:00 2001 From: Karina Fishman <147307864+karinafishman@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:04:07 +0300 Subject: [PATCH 1/3] fix for image path in read me file (#35692) --- .../Playbooks/Detonate_URL_-_WildFire_v2.2_README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/Palo_Alto_Networks_WildFire/Playbooks/Detonate_URL_-_WildFire_v2.2_README.md b/Packs/Palo_Alto_Networks_WildFire/Playbooks/Detonate_URL_-_WildFire_v2.2_README.md index 14c8ea73333f..dad45312d6b5 100644 --- a/Packs/Palo_Alto_Networks_WildFire/Playbooks/Detonate_URL_-_WildFire_v2.2_README.md +++ b/Packs/Palo_Alto_Networks_WildFire/Playbooks/Detonate_URL_-_WildFire_v2.2_README.md @@ -86,4 +86,4 @@ This playbook does not use any scripts. --- -![Detonate URL - WildFire v2.2](../doc_files/Detonate_URL_-_WildFire_v2.2.png) +![Detonate URL - WildFire v2.2](../doc_files/Detonate_URL_-_WildFire_v2_2.png) From bd37f9c09c1d85b54c51a7371e648e1cd8bf805a Mon Sep 17 00:00:00 2001 From: Menachem Weinfeld <90556466+mmhw@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:56:54 +0300 Subject: [PATCH 2/3] [File Reputation PB] Fixed the data path for VirusTotal malicious file count (#35697) --- .../CommonPlaybooks/Playbooks/playbook-File_Reputation.yml | 2 +- Packs/CommonPlaybooks/ReleaseNotes/2_6_37.md | 6 ++++++ Packs/CommonPlaybooks/pack_metadata.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 Packs/CommonPlaybooks/ReleaseNotes/2_6_37.md diff --git a/Packs/CommonPlaybooks/Playbooks/playbook-File_Reputation.yml b/Packs/CommonPlaybooks/Playbooks/playbook-File_Reputation.yml index d7867bc79236..16c2e3b8f8e8 100644 --- a/Packs/CommonPlaybooks/Playbooks/playbook-File_Reputation.yml +++ b/Packs/CommonPlaybooks/Playbooks/playbook-File_Reputation.yml @@ -189,7 +189,7 @@ tasks: left: value: complex: - root: VirusTotal.SearchResults.attributes.last_analysis_stats + root: VirusTotal.File.attributes.last_analysis_stats accessor: malicious iscontext: true right: diff --git a/Packs/CommonPlaybooks/ReleaseNotes/2_6_37.md b/Packs/CommonPlaybooks/ReleaseNotes/2_6_37.md new file mode 100644 index 000000000000..84606523d297 --- /dev/null +++ b/Packs/CommonPlaybooks/ReleaseNotes/2_6_37.md @@ -0,0 +1,6 @@ + +#### Playbooks + +##### File Reputation + +Fixed the data path for VirusTotal malicious file count. diff --git a/Packs/CommonPlaybooks/pack_metadata.json b/Packs/CommonPlaybooks/pack_metadata.json index 81e954ffa0e7..b258bf46644c 100644 --- a/Packs/CommonPlaybooks/pack_metadata.json +++ b/Packs/CommonPlaybooks/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Playbooks", "description": "Frequently used playbooks pack.", "support": "xsoar", - "currentVersion": "2.6.36", + "currentVersion": "2.6.37", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From bfbd4b0040e1c9d950cb6ff217838cae9cdc67bd Mon Sep 17 00:00:00 2001 From: Yaakov Praisler <59408745+yaakovpraisler@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:01:48 +0300 Subject: [PATCH 3/3] Fix FailedInstances automation to test SNOW CMDB with oauth enabled (#35694) * Fix FailedInstances automation to test SNOW CMDB with oauth enabed * try to enable tpb * Revert "try to enable tpb" This reverts commit 1b08776e241b5a8848e26aa1cec38d335a6996b3. --- Packs/CommonScripts/ReleaseNotes/1_15_40.md | 6 ++++++ .../Scripts/FailedInstances/FailedInstances.js | 4 ++-- Packs/CommonScripts/pack_metadata.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_15_40.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_15_40.md b/Packs/CommonScripts/ReleaseNotes/1_15_40.md new file mode 100644 index 000000000000..c52d17fcde6a --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_15_40.md @@ -0,0 +1,6 @@ + +#### Scripts + +##### FailedInstances + +- Fixed an issue where the script failed when a ServiceNow CMDB instance was configured with OAuth flow enabled. diff --git a/Packs/CommonScripts/Scripts/FailedInstances/FailedInstances.js b/Packs/CommonScripts/Scripts/FailedInstances/FailedInstances.js index c31cb9ddaef3..18b372c11945 100644 --- a/Packs/CommonScripts/Scripts/FailedInstances/FailedInstances.js +++ b/Packs/CommonScripts/Scripts/FailedInstances/FailedInstances.js @@ -18,9 +18,9 @@ Object.keys(all).forEach(function(m) { var res = executeCommand(cmd, {}); var content = res[0].Contents - var result = content.includes("Test button cannot be used") && all[m].brand === "ServiceNow v2"; + var result = content.includes("Test button cannot be used") && (all[m].brand === "ServiceNow v2" || all[m].brand === "ServiceNow CMDB"); if (result === true) { - cmd = 'servicenow-oauth-test' + cmd = all[m].brand === "ServiceNow v2" ? "servicenow-oauth-test" : "servicenow-cmdb-oauth-test" res = executeCommand(cmd, {}); } executeCommand("addEntries", {"entries": JSON.stringify([{ diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index fdb5faba052f..26e2f335b5bf 100644 --- a/Packs/CommonScripts/pack_metadata.json +++ b/Packs/CommonScripts/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Scripts", "description": "Frequently used scripts pack.", "support": "xsoar", - "currentVersion": "1.15.39", + "currentVersion": "1.15.40", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",