Skip to content

Commit bcaa00f

Browse files
authored
[urlhaus] Add labels to Indicators #5186 (#5589)
1 parent 5afaf01 commit bcaa00f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

external-import/urlhaus/src/external_import_connector/converter_to_stix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def create_indicator(
8484
custom_properties={
8585
"x_opencti_score": self.config.default_x_opencti_score,
8686
"x_opencti_main_observable_type": "Url",
87+
"labels": [x for x in row[6].split(",") if x],
8788
},
8889
)
8990
return stix_indicator

0 commit comments

Comments
 (0)