File tree 2 files changed +5
-6
lines changed
internal-import-file/import-document-ai/src/reportimporter 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 14
14
StixCoreRelationship ,
15
15
get_config_variable ,
16
16
)
17
- from requests .exceptions import ConnectionError , HTTPError
18
-
19
17
from reportimporter .constants import (
20
18
RESULT_FORMAT_CATEGORY ,
21
19
RESULT_FORMAT_MATCH ,
22
20
RESULT_FORMAT_TYPE ,
23
21
)
24
22
from reportimporter .util import create_stix_object
23
+ from requests .exceptions import ConnectionError , HTTPError
25
24
26
25
27
26
class ReportImporter :
Original file line number Diff line number Diff line change 1
1
from typing import Dict , List
2
2
3
3
import stix2
4
+ from pycti import Identity # For Sector, Organization, Individual
4
5
from pycti import (
5
6
AttackPattern ,
6
- Identity , # For Sector, Organization, Individual
7
7
IntrusionSet ,
8
8
Location ,
9
9
Malware ,
10
10
ThreatActorGroup ,
11
11
Vulnerability ,
12
12
)
13
+ from pycti .utils .constants import IdentityTypes # classes d’identité STIX valides
13
14
from pycti .utils .constants import (
14
- CustomObjectChannel , # custom-object « Channel » déjà fourni par pycti
15
- IdentityTypes , # classes d’identité STIX valides
16
- )
15
+ CustomObjectChannel ,
16
+ ) # custom-object « Channel » déjà fourni par pycti
17
17
18
18
19
19
def create_stix_object (
You can’t perform that action at this time.
0 commit comments