mentat.stats.test_idea module¶
-
class
mentat.stats.test_idea.
TestMentatStatsIdea
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
-
ideas_raw
= [{'Format': 'IDEA0', 'ID': 'msg01', 'CreateTime': '2012-11-03T10:00:02Z', 'DetectTime': '2012-11-03T10:00:07Z', 'Category': ['Fraud.Phishing'], 'Source': [{'Type': ['Phishing'], 'IP4': ['192.168.0.2-192.168.0.5', '192.168.0.0/25'], 'IP6': ['2001:db8::ff00:42:0/112']}], 'Node': [{'Name': 'org.example.kippo', 'Tags': ['Protocol', 'Honeypot'], 'SW': ['Kippo']}], '_Mentat': {'ResolvedAbuses': ['abuse@cesnet.cz']}}, {'Format': 'IDEA0', 'ID': 'msg02', 'CreateTime': '2012-11-03T11:00:02Z', 'DetectTime': '2012-11-03T11:00:07Z', 'Category': ['Fraud.Phishing'], 'Source': [{'Type': ['Phishing'], 'IP4': ['192.168.0.2-192.168.0.5', '192.168.0.0/25'], 'IP6': ['2001:db8::ff00:42:0/112']}], 'Node': [{'Name': 'org.example.kippo', 'Tags': ['Protocol', 'Honeypot'], 'SW': ['Kippo']}], '_Mentat': {'ResolvedAbuses': ['abuse@cesnet.cz']}}, {'Format': 'IDEA0', 'ID': 'msg03', 'CreateTime': '2012-11-03T12:00:02Z', 'DetectTime': '2012-11-03T12:00:07Z', 'Category': ['Fraud.Phishing'], 'Source': [{'Type': ['Phishing'], 'IP4': ['192.168.0.2-192.168.0.5', '192.168.0.0/25'], 'IP6': ['2001:db8::ff00:42:0/112']}], 'Node': [{'Name': 'org.example.dionaea', 'Tags': ['Protocol', 'Honeypot'], 'SW': ['Kippo']}], '_Mentat': {'ResolvedAbuses': ['abuse@cesnet.cz']}}, {'Format': 'IDEA0', 'ID': 'msg04', 'CreateTime': '2012-11-03T15:00:02Z', 'DetectTime': '2012-11-03T15:00:07Z', 'Category': ['Spam'], 'Source': [{'Type': ['Spam'], 'IP4': ['192.168.0.100', '192.168.0.105']}], 'Node': [{'Name': 'org.example.dionaea', 'Tags': ['Protocol', 'Honeypot'], 'SW': ['Dionaea']}]}, {'Format': 'IDEA0', 'ID': 'msg05', 'CreateTime': '2012-11-03T18:00:02Z', 'DetectTime': '2012-11-03T18:00:07Z', 'Category': ['Exploit'], 'Source': [{'Type': ['Exploit'], 'IP4': ['192.168.0.109', '192.168.0.200']}], 'Node': [{'Name': 'org.example.labrea', 'Tags': ['Protocol', 'Honeypot'], 'SW': ['LaBrea']}], '_Mentat': {'ResolvedAbuses': ['abuse@cesnet.cz']}}, {'Format': 'IDEA0', 'ID': 'msg06', 'CreateTime': '2012-11-03T18:00:02Z', 'DetectTime': '2012-11-03T18:00:07Z', 'Category': ['Exploit'], 'Source': [{'Type': ['Exploit'], 'IP4': ['192.172.0.109', '192.172.0.200']}], 'Node': [{'Name': 'org.example.labrea', 'Tags': ['Protocol', 'Honeypot'], 'SW': ['LaBrea']}, {'SW': ['Beekeeper'], 'Name': 'cz.cesnet.holly'}]}]¶
-
verbose
= False¶
-