def blacklist(**kwargs):
    # type: (**Any) -> Dict[str, Any]
    '''
    Makes a call to the ignored database.
    Content:
        {
            "blacklist": List[Dict]: list of dictionaries representing ignored alerts
        }
        Each item in "blacklist" has only an ldap
    '''
    response = build_response()
    args = kwargs
    build_arguments(DEFAULT_BLACKLIST_ARGUMENTS, args, response)
    try:
        raw_results = SQLEngine.execute(BLACKLIST_QUERY, (args['limit'],))
    except SQLEngineException:
        response['error'] = 'Invalid parameters'
        return response

    results = build_query_dict(BLACKLIST_FIELDS, raw_results)

    response['content']['blacklist'] = results
    response['ok'] = True
    return response
Makes a call to the ignored database.
Content:
{
"blacklist": List[Dict]: list of dictionaries representing ignored alerts
}
Each item in "blacklist" has only an ldap
frontend/securitybot_api.py