Skip to content

Commit 15cb5e8

Browse files
authored
renamed stix to non stix indicator for the create relationship automa… (demisto#12912)
* renamed stix to non stix indicator for the create relationship automation * added rn * added rn
1 parent f3f4edd commit 15cb5e8

4 files changed

Lines changed: 18 additions & 9 deletions

File tree

Packs/Base/ReleaseNotes/1_11_6.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Scripts
3+
##### CreateIndicatorRelationship
4+
- Maintenance and stability enhancements.
5+
##### CommonServerPython
6+
- Maintenance and stability enhancements.

Packs/Base/Scripts/CommonServerPython/CommonServerPython.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,7 @@ def indicator_type_by_server_version(indicator_type):
413413
:rtype: ``str``
414414
:return:: Indicator type .
415415
"""
416-
a = is_demisto_version_ge("6.2.0")
417-
if a and indicator_type.startswith(STIX_PREFIX):
416+
if is_demisto_version_ge("6.2.0") and indicator_type.startswith(STIX_PREFIX):
418417
return indicator_type[len(STIX_PREFIX):]
419418
return indicator_type
420419

Packs/Base/Scripts/CreateIndicatorRelationship/CreateIndicatorRelationship.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ args:
2626
- ssdeep
2727
- accountRep
2828
- CIDR
29-
- STIX Attack Pattern
30-
- STIX Malware
31-
- STIX Report
32-
- STIX Threat Actor
33-
- STIX Tool
29+
- Attack Pattern
30+
- Malware
31+
- Report
32+
- Threat Actor
33+
- Tool
34+
- Campaign
35+
- Course of Action
36+
- Infrastructure
37+
- Intrusion Set
3438
required: true
3539
secret: false
3640
- default: false
@@ -283,7 +287,7 @@ tags:
283287
timeout: '0'
284288
type: python
285289
subtype: python3
286-
dockerimage: demisto/python3:3.9.4.19537
290+
dockerimage: demisto/python3:3.9.5.20070
287291
fromversion: 6.2.0
288292
tests:
289293
- Relationships scripts - Test

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.11.5",
5+
"currentVersion": "1.11.6",
66
"author": "Cortex XSOAR",
77
"serverMinVersion": "6.0.0",
88
"url": "https://www.paloaltonetworks.com/cortex",

0 commit comments

Comments
 (0)