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

Commit 40036d4

Browse files
[client] Handle description for Cryptocurrency-Wallet
1 parent 22e5d88 commit 40036d4

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
@@ -1413,6 +1413,12 @@ def create(self, **kwargs):
14131413
type == "Cryptocurrency-Wallet"
14141414
or type == "X-OpenCTI-Cryptocurrency-Wallet"
14151415
):
1416+
# Cryptocurrency-Wallet is an OpenCTI object, description is directly inside the object
1417+
input_variables["x_opencti_description"] = (
1418+
observable_data["description"]
1419+
if "description" in observable_data
1420+
else None
1421+
)
14161422
input_variables["CryptocurrencyWallet"] = {
14171423
"value": observable_data["value"]
14181424
if "value" in observable_data

0 commit comments

Comments
 (0)