Exemplo n.º 1
0
def create_domain_name_observable(domain_name):
    '''Creates a CybOX Observable representing a domain name.'''
     
    domain_name_object  = uri_helper.create_from_dict({'value':domain_name, 'type':'Domain Name'})
    observable          = create_observable(domain_name_object)
    
    return observable
Exemplo n.º 2
0
def create_domain_name_observable(domain_name):
    '''Creates a CybOX Observable representing a domain name.'''

    domain_name_object = uri_helper.create_from_dict({
        'value': domain_name,
        'type': 'Domain Name'
    })
    observable = create_observable(domain_name_object)

    return observable
Exemplo n.º 3
0
def create_url_observable(url):
    url_object = uri_helper.create_from_dict({'value':url, 'type':'URL'})
    observable = create_observable(url_object)
    return observable
Exemplo n.º 4
0
def create_url_observable(url):
    url_object = uri_helper.create_from_dict({'value': url, 'type': 'URL'})
    observable = create_observable(url_object)
    return observable