def create_email_address_observable(email_address): '''Creates a CybOX Observable representing an IPv4 address''' email_address_object = address_helper.create_from_dict({'address_value':email_address, 'category':'e-mail'}) observable = create_observable(email_address_object) return observable
def create_ipv4_observable(ipv4_address): '''Creates a CybOX Observable representing an IPv4 address''' ipv4_object = address_helper.create_from_dict({'address_value':ipv4_address, 'category':'ipv4-addr'}) observable = create_observable(ipv4_object) return observable
def create_email_address_observable(email_address): '''Creates a CybOX Observable representing an IPv4 address''' email_address_object = address_helper.create_from_dict({ 'address_value': email_address, 'category': 'e-mail' }) observable = create_observable(email_address_object) return observable
def create_ipv4_observable(ipv4_address): '''Creates a CybOX Observable representing an IPv4 address''' ipv4_object = address_helper.create_from_dict({ 'address_value': ipv4_address, 'category': 'ipv4-addr' }) observable = create_observable(ipv4_object) return observable