ddan Interface Class

The ddan interface class can be found in the interfaces module: ddpy.interfaces.ddan.DDAN. This class will be your main interaction with DDaN and DTAS: Dynamic Threat Analysis System.

Please see below for auto documentation generated for this class.


class ddpy.interfaces.ddan.DDAN(api_key: str, analyzer_ip, protocol_version: str = '1.5', verify_cert: bool = False, cert_path: str = False)
get_black_lists(last_query_id: str = '0')

Issue a request to retrieve all blacklist information

submit_file(path_to_file: str)

Upload a file to Analyzer for analysis :param path_to_file:

Returns:http response code
test_connection()

Issue a request to make sure that all settings are correct and the connection to Analyzer’s API is good.

Returns:http response code