Skip to content

Commit

Permalink
Fix search hash in sandbox generic cs falcon (demisto#33719)
Browse files Browse the repository at this point in the history
* Added limit for each report to be retrieved on a hash
+ removed the transformer "firstarrayelment"

* Added limit for each report to be retrieved on a hash
+ removed the transformer "firstarrayelment"

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

---------

Co-authored-by: ShirleyDenkberg <[email protected]>
  • Loading branch information
ssokolovich and ShirleyDenkberg authored Apr 7, 2024
1 parent 0de2c34 commit 7404408
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ tasks:
root: inputs.FileSha256
transformers:
- operator: uniq
limit:
simple: "1"
separatecontext: false
view: |-
{
Expand Down Expand Up @@ -289,10 +291,10 @@ tasks:
simple: "true"
ids:
complex:
root: csfalconx.resource.FindReport
accessor: reportIds
root: csfalconx.resource
accessor: resources
transformers:
- operator: FirstArrayElement
- operator: uniq
separatecontext: false
view: |-
{
Expand Down
6 changes: 6 additions & 0 deletions Packs/CommonPlaybooks/ReleaseNotes/2_6_27.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Playbooks

##### Search For Hash In Sandbox - Generic

Fixed an issue where a CrowdStrike report was retrieved only for a single SH256 file instead of for multiple SH256 files.
2 changes: 1 addition & 1 deletion Packs/CommonPlaybooks/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Playbooks",
"description": "Frequently used playbooks pack.",
"support": "xsoar",
"currentVersion": "2.6.26",
"currentVersion": "2.6.27",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 7404408

Please sign in to comment.