@@ -1022,7 +1022,10 @@ def create(self, **kwargs):
1022
1022
observable_data ["value" ] if "value" in observable_data else None
1023
1023
),
1024
1024
}
1025
- elif type == "Financial-Account" or type .lower () == "x-opencti-financial-account" :
1025
+ elif (
1026
+ type == "Financial-Account"
1027
+ or type .lower () == "x-opencti-financial-account"
1028
+ ):
1026
1029
input_variables ["FinancialAccount" ] = {
1027
1030
"iban_number" : observable_data .get ("iban_number" ),
1028
1031
"bic_number" : observable_data .get ("bic_number" ),
@@ -1031,14 +1034,19 @@ def create(self, **kwargs):
1031
1034
"account_type" : observable_data .get ("account_type" ),
1032
1035
"currency_code" : observable_data .get ("currency_code" ),
1033
1036
}
1034
- elif type == "Financial-Asset" or type .lower () == "x-opencti-financial-asset" :
1037
+ elif (
1038
+ type == "Financial-Asset" or type .lower () == "x-opencti-financial-asset"
1039
+ ):
1035
1040
input_variables ["FinancialAsset" ] = {
1036
1041
"name" : observable_data .get ("name" ),
1037
1042
"asset_type" : observable_data .get ("asset_type" ),
1038
1043
"asset_value" : observable_data .get ("asset_value" ),
1039
1044
"currency_code" : observable_data .get ("currency_code" ),
1040
1045
}
1041
- elif type == "Financial-Transaction" or type .lower () == "x-opencti-transaction" :
1046
+ elif (
1047
+ type == "Financial-Transaction"
1048
+ or type .lower () == "x-opencti-transaction"
1049
+ ):
1042
1050
input_variables ["FinancialTransaction" ] = {
1043
1051
"transaction_date" : observable_data .get ("transaction_date" ),
1044
1052
"transaction_value" : observable_data .get ("transaction_value" ),
0 commit comments