Skip to content

Commit c4162fe

Browse files
content-botxsoar-bot
authored andcommitted
CheckPoint Threat Emulation / Sandblast - Fix get_dbotscore() (demisto#24550)
1 parent 16dc879 commit c4162fe

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

Packs/CheckPointSandBlast/Integrations/CheckPointSandBlast/CheckPointSandBlast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ def get_dbotscore(response: Dict[str, Any]) -> int:
846846
te_severity = dict_safe_get(response, ['response', 'te', 'severity'])
847847
te_combined_verdict = dict_safe_get(response, ['response', 'te', 'combined_verdict'])
848848
if av_confidence == 0 and av_severity == 0 and \
849-
te_combined_verdict == 'Benign' and (te_severity == 0 or te_severity is None) and (te_confidence
850-
<= 1 or te_confidence is None):
849+
te_combined_verdict.lower() == 'benign' and (te_severity == 0 or te_severity is None) and \
850+
(te_confidence <= 1 or te_confidence is None):
851851
score = Common.DBotScore.GOOD
852852

853853
elif te_severity == 1:

Packs/CheckPointSandBlast/Integrations/CheckPointSandBlast/CheckPointSandBlast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ script:
590590
- contextPath: SandBlast.Quota.Action
591591
description: The quota action.
592592
type: String
593-
dockerimage: demisto/python3:3.10.9.46807
593+
dockerimage: demisto/python3:3.10.10.47713
594594
feed: false
595595
isfetch: false
596596
longRunning: false
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#### Integrations
2+
##### Check Point Threat Emulation (SandBlast)
3+
- Fixed an issue where the Dbot score was not calculated correctly for the ***file*** command.
4+
- Updated the Docker image to: *demisto/python3:3.10.10.47713*.

Packs/CheckPointSandBlast/pack_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Check Point Threat Emulation (SandBlast)",
33
"description": "Upload files using polling, the service supports Microsoft Office files, as well as PDF, SWF, archives and executables. Active content will be cleaned from any documents that you upload (Microsoft Office and PDF files only). Query on existing IOCs, file status, analysis, reports. Download files from the database. Supports both appliance and cloud. Supported Threat Emulation versions are any R80x.",
44
"support": "xsoar",
5-
"currentVersion": "1.0.4",
5+
"currentVersion": "1.0.5",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",
@@ -15,4 +15,4 @@
1515
"keywords": [],
1616
"githubUser": [],
1717
"certification": "certified"
18-
}
18+
}

0 commit comments

Comments
 (0)