intelmq.bots.collectors.microsoft package¶
Submodules¶
intelmq.bots.collectors.microsoft.collector_azure module¶
Uses the azure.storage.blob module. Tested with version 12.13.1
-
intelmq.bots.collectors.microsoft.collector_azure.
BOT
¶ alias of
intelmq.bots.collectors.microsoft.collector_azure.MicrosoftAzureCollectorBot
-
class
intelmq.bots.collectors.microsoft.collector_azure.
MicrosoftAzureCollectorBot
(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: Optional[bool] = None)¶ Bases:
intelmq.lib.bot.CollectorBot
-
init
()¶
-
process
()¶
-
intelmq.bots.collectors.microsoft.collector_interflow module¶
https://interflow.portal.azure-api.net/
Example:
[{ “indicatorthreattype”: “Botnet”, “description”: “B106-Dynamer”, “indicatorexpirationdatetime”: “2017-04- 05T20:21:09.0000000Z”, “tlplevel”: “Green”, “severity”: 60, “firstreporteddatetime”: 131356377289905913, “version”: 1.5, “tags”: [“ccTLD”,“ASN”], “networksourceipv4”: “xxx.xxx.xxx.xxx”, Microsoft Confidential”networksourceport”: 23041, “networkdestinationipv4”: “yyy.yyy.yyy.yyy”, “networkdestinationport”: 9003, “isproductlicensed”: “True”, “ispartnershareable”: “True” }]
Parameter: * api_key: The API key * file_match: an optional regex to match filenames * not_older_than: optional
-
intelmq.bots.collectors.microsoft.collector_interflow.
BOT
¶ alias of
intelmq.bots.collectors.microsoft.collector_interflow.MicrosoftInterflowCollectorBot
-
class
intelmq.bots.collectors.microsoft.collector_interflow.
MicrosoftInterflowCollectorBot
(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: Optional[bool] = None)¶ Bases:
intelmq.lib.bot.CollectorBot
-
check_ttl_time
()¶ Checks if the cache’s TTL is big enough compared to the chosen time frame so that the bot does not process the same data over and over.
-
init
()¶
-
print_filelist
()¶ Can be called from the debugger for example.
-
process
()¶
-