def overview():
search = Credential.search()<EOL>search.aggs.bucket('<STR_LIT>', '<STR_LIT>', field='<STR_LIT>', order={'<STR_LIT>': '<STR_LIT>'}, size=<NUM_LIT:20>).metric('<STR_LIT>', '<STR_LIT>', field='<STR_LIT:username>').metric('<STR_LIT>', '<STR_LIT>', field='<STR_LIT>').metric('<STR_LIT>', '<STR_LIT>', docvalue_fields=['<STR_LIT:username>'], size=<NUM_LIT:100>)<EOL>response = search.execute()<EOL>print_line("<STR_LIT>".format("<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"))<EOL>print_line("<STR_LIT:->"*<NUM_LIT:100>)<EOL>for entry in response.aggregations.password_count.buckets:<EOL><INDENT>usernames = []<EOL>for creds in entry.top_hits:<EOL><INDENT>usernames.append(creds.username[<NUM_LIT:0>])<EOL><DEDENT>usernames = list(set(usernames))<EOL>print_line("<STR_LIT>".format(entry.key, entry.doc_count, entry.host_count.value, entry.username_count.value, usernames))<EOL><DEDENT>
Provides an overview of the duplicate credentials.