From eb5c0735c024eb3ea5f9064271a6ca37b29bb7c1 Mon Sep 17 00:00:00 2001 From: MosheEichler Date: Thu, 23 Nov 2023 16:09:44 +0200 Subject: [PATCH 1/6] Fixed DBotClosedIncidentsPercentage script query --- .../DBotClosedIncidentsPercentage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.js b/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.js index ce89bd03f6ed..06a7a40b8d97 100644 --- a/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.js +++ b/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.js @@ -1,5 +1,5 @@ var res = executeCommand("getIncidents", { - 'query': 'status:closed and investigation.users:""', + 'query': 'status:closed and closingUser:DBot', 'fromdate': args.from, 'todate': args.to, 'size': 0 From c4621d84ab91c21906a4fc8d15eb35cd2260c632 Mon Sep 17 00:00:00 2001 From: MosheEichler Date: Thu, 23 Nov 2023 16:19:34 +0200 Subject: [PATCH 2/6] RN --- Packs/CommonScripts/ReleaseNotes/1_12_47.md | 6 ++++++ Packs/CommonScripts/pack_metadata.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_47.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_47.md b/Packs/CommonScripts/ReleaseNotes/1_12_47.md new file mode 100644 index 000000000000..dc847a70b037 --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_12_47.md @@ -0,0 +1,6 @@ + +#### Scripts + +##### DBotClosedIncidentsPercentage + +- Updated the query in **DBotClosedIncidentsPercentage** script to `status:closed and closingUser:DBot` diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 9ef501c85e85..049c579cd41a 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.12.46", + "currentVersion": "1.12.47", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From 97db587ea19ef9f8a1407c35877d4426dc0cfb93 Mon Sep 17 00:00:00 2001 From: MosheEichler Date: Thu, 23 Nov 2023 16:21:38 +0200 Subject: [PATCH 3/6] format --- .../DBotClosedIncidentsPercentage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.yml b/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.yml index 8dd83fad5977..7eac281f06a8 100644 --- a/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.yml +++ b/Packs/CommonScripts/Scripts/DBotClosedIncidentsPercentage/DBotClosedIncidentsPercentage.yml @@ -6,7 +6,7 @@ script: '' type: javascript tags: - widget -comment: Data output script for populating dashboard pie graph widget with the percentage of incidents closed by DBot vs. incidents closed by analysts +comment: Data output script for populating dashboard pie graph widget with the percentage of incidents closed by DBot vs. incidents closed by analysts. enabled: true scripttarget: 0 runas: DBotRole From a55ba9b388727ef3b8e54c7e7a8a9315a68693ef Mon Sep 17 00:00:00 2001 From: MosheEichler Date: Thu, 23 Nov 2023 17:19:40 +0200 Subject: [PATCH 4/6] RN --- Packs/CommonScripts/ReleaseNotes/1_12_47.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_47.md b/Packs/CommonScripts/ReleaseNotes/1_12_47.md index dc847a70b037..34caee22375d 100644 --- a/Packs/CommonScripts/ReleaseNotes/1_12_47.md +++ b/Packs/CommonScripts/ReleaseNotes/1_12_47.md @@ -3,4 +3,4 @@ ##### DBotClosedIncidentsPercentage -- Updated the query in **DBotClosedIncidentsPercentage** script to `status:closed and closingUser:DBot` +- Updated the query in **DBotClosedIncidentsPercentage** script to `status:closed and closingUser:DBot`. From 5cfcb36d6ce46f71135a0c51532aa608430fe35b Mon Sep 17 00:00:00 2001 From: Moshe Eichler <78307768+MosheEichler@users.noreply.github.com> Date: Fri, 24 Nov 2023 09:11:03 +0200 Subject: [PATCH 5/6] Update Packs/CommonScripts/ReleaseNotes/1_12_47.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> --- Packs/CommonScripts/ReleaseNotes/1_12_47.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_47.md b/Packs/CommonScripts/ReleaseNotes/1_12_47.md index 34caee22375d..a97dae9637c8 100644 --- a/Packs/CommonScripts/ReleaseNotes/1_12_47.md +++ b/Packs/CommonScripts/ReleaseNotes/1_12_47.md @@ -3,4 +3,4 @@ ##### DBotClosedIncidentsPercentage -- Updated the query in **DBotClosedIncidentsPercentage** script to `status:closed and closingUser:DBot`. +Updated the query in the**DBotClosedIncidentsPercentage** script to `status:closed and closingUser:DBot`. From 1a84547405b9eda142f77e62bb4a38ec8e76fb8a Mon Sep 17 00:00:00 2001 From: Content Bot Date: Sun, 26 Nov 2023 08:55:07 +0000 Subject: [PATCH 6/6] Bump pack from version CommonScripts to 1.12.48. --- Packs/CommonScripts/ReleaseNotes/1_12_48.md | 6 ++++++ Packs/CommonScripts/pack_metadata.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_48.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_48.md b/Packs/CommonScripts/ReleaseNotes/1_12_48.md new file mode 100644 index 000000000000..a97dae9637c8 --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_12_48.md @@ -0,0 +1,6 @@ + +#### Scripts + +##### DBotClosedIncidentsPercentage + +Updated the query in the**DBotClosedIncidentsPercentage** script to `status:closed and closingUser:DBot`. diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 049c579cd41a..486617406114 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.12.47", + "currentVersion": "1.12.48", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",