main.py
def list_taxii_collections(taxii_discovery_url: str,
                           taxii_username: str,
                           taxii_password: str):
    """
    This method is used to list all collections in a TAXII server enabled for the user
    """
    try:
        taxii_object = CyTaxii(discovery_url=taxii_discovery_url,
                               username=taxii_username,
                               password=taxii_password)
        result = taxii_object.collection_request()

    except Exception as e:
        result = str(e)

    return result

    This method is used to list all collections in a TAXII server enabled for the user
    
This method is used to list all collections in a TAXII server enabled for the user
This method is used to list all collections in a TAXII server enabled for the user
def list_taxii_collections(taxii_discovery_url: str,
                           taxii_username: str,
                           taxii_password: str):
    try:
        taxii_object = CyTaxii(discovery_url=taxii_discovery_url,
                               username=taxii_username,
                               password=taxii_password)
        result = taxii_object.collection_request()
    except Exception as e:
        result = str(e)
    return result
def list_taxii_collections ( taxii_discovery_url : str , taxii_username : str , taxii_password : str ) : try : taxii_object = CyTaxii ( discovery_url = taxii_discovery_url , username = taxii_username , password = taxii_password ) result = taxii_object . collection_request ( ) except Exception as e : result = str ( e ) return result
This method is used to list all collections in a TAXII server enabled for the user
This method is used to list all collections in a TAXII server enabled for the user
"""
    This method is used to list all collections in a TAXII server enabled for the user
    """
taxii_discovery_url
str
taxii_username
str
taxii_password
str