Skip to content

Commit

Permalink
Xsup 39381 joesecurity file value (#35408)
Browse files Browse the repository at this point in the history
* Changed indicator to be sha256

* fixed ut

* added rn

* Bumped docker

* Bumped RN

* Bumped dicker

* Update Packs/JoeSecurity/ReleaseNotes/1_1_23.md

Co-authored-by: Dan Tavori <[email protected]>

---------

Co-authored-by: Dan Tavori <[email protected]>
  • Loading branch information
ShahafBenYakir and dantavori authored Jul 14, 2024
1 parent 4b3babf commit a206b2d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def build_file_object(client: Client, analysis: Dict[str, Any], analyses: List[D
score, description = max(
[indicator_calculate_score(entry.get('detection', '')) for entry in analyses if entry.get('sha256') == sha256],
key=lambda tup: tup[1]) # Find the max dbot score between all the analysis results.
dbot_score = Common.DBotScore(indicator=file_name, integration_name='JoeSecurityV2',
dbot_score = Common.DBotScore(indicator=sha256, integration_name='JoeSecurityV2',
indicator_type=DBotScoreType.FILE,
reliability=DBotScoreReliability.get_dbot_score_reliability_from_str(
client.reliability), score=score, malicious_description=description)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ script:
script: '-'
type: python
subtype: python3
dockerimage: demisto/vendors-sdk:1.0.0.98422
dockerimage: demisto/vendors-sdk:1.0.0.103334
fromversion: 6.8.0
tests:
- testplaybook-JoeSecuirtyV2
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
"DBotScore": [
{
"Type": "file",
"Indicator": "1.pdf",
"Indicator": "1111111111111111111111111111111111111111111111111111111111111111",
"Reliability": "C - Fairly reliable",
"Score": 1,
"Vendor": "JoeSecurityV2"
},
{
"Type": "file",
"Indicator": "2.png",
"Indicator": "2222222222222222222222222222222222222222222222222222222222222222",
"Reliability": "C - Fairly reliable",
"Score": 2,
"Vendor": "JoeSecurityV2"
},
{
"Type": "file",
"Indicator": "3.pdf",
"Indicator": "3333333333333333333333333333333333333333333333333333333333333333",
"Reliability": "C - Fairly reliable",
"Score": 3,
"Vendor": "JoeSecurityV2"
Expand Down
7 changes: 7 additions & 0 deletions Packs/JoeSecurity/ReleaseNotes/1_1_23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Joe Security v2
- Updated the Docker image to: *demisto/vendors-sdk:1.0.0.103334*.

Fixed an issue where the *DBotScore.Indicator* output of the ***file*** command contained the file name instead of the file's SHA256.
2 changes: 1 addition & 1 deletion Packs/JoeSecurity/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Joe Security",
"description": "Sandbox Cloud",
"support": "xsoar",
"currentVersion": "1.1.22",
"currentVersion": "1.1.23",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit a206b2d

Please sign in to comment.