Skip to content

Commit 6d8cd20

Browse files
roysagiItay4
andauthored
fixing email context output (demisto#12774)
* fixing email context output * Update Packs/Base/ReleaseNotes/1_10_28.md Co-authored-by: Itay Keren <[email protected]> * fixing readme * fixing conflict Co-authored-by: Itay Keren <[email protected]>
1 parent 6b44e86 commit 6d8cd20

5 files changed

Lines changed: 8 additions & 4 deletions

File tree

Packs/Base/ReleaseNotes/1_10_29.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
#### Scripts
3+
##### CommonServerPython
4+
- ***Breaking Change*** Fixed an issue where using the **Email context indicator class** created the context with the wrong prefix ('EMAIL' instead of 'Email'). Please note: this is a backward compatibility break for the ***email*** command in the **IPQualityScore** and **Threat Crowd v2** integrations

Packs/Base/Scripts/CommonServerPython/CommonServerPython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3137,7 +3137,7 @@ class EMAIL(Indicator):
31373137
:return: None
31383138
:rtype: ``None``
31393139
"""
3140-
CONTEXT_PATH = 'EMAIL(val.Address && val.Address == obj.Address)'
3140+
CONTEXT_PATH = 'Email(val.Address && val.Address == obj.Address)'
31413141

31423142
def __init__(self, address, dbot_score, domain=None, blocked=None, relationships=None):
31433143
# type (str, str, bool) -> None

Packs/Base/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Base",
33
"description": "The base pack for Cortex XSOAR.",
44
"support": "xsoar",
5-
"currentVersion": "1.10.28",
5+
"currentVersion": "1.10.29",
66
"author": "Cortex XSOAR",
77
"serverMinVersion": "6.0.0",
88
"url": "https://www.paloaltonetworks.com/cortex",

Packs/IPQualityScore/Integrations/IPQualityScore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Runs reputation on email addresses.
224224
"Type": "email",
225225
"Vendor": "IPQualityScore"
226226
},
227-
"EMAIL": {
227+
"Email": {
228228
"Address": "[email protected]",
229229
"Domain": "ipqualityscore.com"
230230
},

Packs/Threat_Crowd/Integrations/ThreatCrowd_v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Get a report of an email address.
284284
"Type": "email",
285285
"Vendor": "Threat Crowd"
286286
},
287-
"EMAIL": {
287+
"Email": {
288288
"Address": "[email protected]"
289289
},
290290
"ThreatCrowd": {

0 commit comments

Comments
 (0)