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

Commit 0645b7f

Browse files
committed
[client] Restore UserAgent
1 parent 89b0ee9 commit 0645b7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pycti/entities/opencti_stix_cyber_observable.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,12 @@ def create(self, **kwargs):
10691069
if "data_type" in observable_data
10701070
else None,
10711071
}
1072+
elif type == "User-Agent":
1073+
input_variables["UserAgent"] = {
1074+
"value": observable_data["value"]
1075+
if "value" in observable_data
1076+
else None,
1077+
}
10721078
elif type == "Cryptographic-Key":
10731079
input_variables["CryptographicKey"] = {
10741080
"value": observable_data["value"]

0 commit comments

Comments
 (0)