A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
feat(types): format phone numbers to avoid doublons
dextmorgn1ee06f5c8ad8
diff --git a/flowsint-types/src/flowsint_types/phone.py b/flowsint-types/src/flowsint_types/phone.pyindex c9f04b57..6790d9b3 100644--- a/flowsint-types/src/flowsint_types/phone.py+++ b/flowsint-types/src/flowsint_types/phone.py@@ -41,7 +41,7 @@ class Phone(FlowsintType):try:parsed = phonenumbers.parse(v, None)if phonenumbers.is_valid_number(parsed):- return v+ return phonenumbers.format_number(parsed, phonenumbers.PhoneNumberFormat.E164)except NumberParseException:pass