Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 0c2d8de

Browse files
author
Samuel Hassine
authored
Merge branch 'master' into custom_properties_and_observable_types
2 parents 3316c3c + a5b7608 commit 0c2d8de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pycti/opencti_stix2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
import datefinder
77
import dateutil.parser
88
import pytz
9-
10-
from pycti.constants import ObservableTypes, CustomProperties
119
import stix2
10+
1211
from stix2 import ObjectPath, ObservationExpression, EqualityComparisonExpression, HashConstant
12+
from pycti.constants import ObservableTypes, CustomProperties
1313

1414
datefinder.ValueError = ValueError, OverflowError
1515
utc = pytz.UTC
@@ -22,7 +22,7 @@
2222
'file:hashes.sha256': ObservableTypes.FILE_HASH_SHA256,
2323
'ipv4-addr:value': ObservableTypes.IPV4_ADDR,
2424
'domain:value': ObservableTypes.DOMAIN,
25-
'url:value': ObservableTypes.URL,
25+
'url:value': ObservableTypes.URL
2626
}
2727

2828

0 commit comments

Comments
 (0)