Skip to content

Commit

Permalink
RN
Browse files Browse the repository at this point in the history
  • Loading branch information
barryyosi-panw committed Oct 4, 2024
1 parent 907b898 commit a7030b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_15_66.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Scripts

##### DeleteContext

- Fixed an issue where 'DBotScore' key was not excluded from deletion, causing performance issues.
2 changes: 1 addition & 1 deletion Packs/CommonScripts/Scripts/DeleteContext/DeleteContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function deleteKeys(keysToDelete = [], _keysToKeep = []) {
for (var key of keysToDelete) {
// 'DBotScore' key shall not be deleted in order to prevent caching it repeatedly and impacting performance.
if (key === "DBotScore"){
continue
continue;
}
const originalKey = typeof key === "string" ? key.trim() : key;
const keyToDelete = isSubPlaybookKey ? 'subplaybook-${currentPlaybookID}.' + originalKey: originalKey;
Expand Down
4 changes: 2 additions & 2 deletions Packs/CommonScripts/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.15.65",
"currentVersion": "1.15.66",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down Expand Up @@ -58,4 +58,4 @@
"marketplacev2",
"xpanse"
]
}
}

0 comments on commit a7030b6

Please sign in to comment.