(collection: str)
return tc_src
establish a connection with the TAXII server.

    arguments: 
        collection: string, the url of the collection with which to connect.

    returns: 
        connection to the taxii collection
establish a connection with the TAXII server.
establish a connection with the TAXII server .
def establish_connection(collection: str):
    """establish a connection with the TAXII server.

    arguments: 
        collection: string, the url of the collection with which to connect.

    returns: 
        connection to the taxii collection
    """

    
    # Establish TAXII2 Collection instance for Enterprise ATT&CK collection
    collection = Collection(collection)
    # Supply the collection to TAXIICollection
    tc_src = TAXIICollectionSource(collection)
    return tc_src
def establish_connection ( collection : str ) : # Establish TAXII2 Collection instance for Enterprise ATT&CK collection collection = Collection ( collection ) # Supply the collection to TAXIICollection tc_src = TAXIICollectionSource ( collection ) return tc_src