mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
Some modifications made to developer guide and a new noop collector bot example added
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"Collector": {
|
||||
},
|
||||
"Parser": {
|
||||
},
|
||||
"Expert": {
|
||||
"Example": {
|
||||
"description": "Example own bot.",
|
||||
"module": "intelmq.bots.experts.example.expert",
|
||||
"parameters": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"Output": {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -30,4 +30,4 @@ class NoOpCollectorBot(CollectorBot):
|
||||
self.send_message(report)
|
||||
|
||||
|
||||
BOT = NoOpCollectorBot
|
||||
BOT = NoOpCollectorBot
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from intelmq.lib.bot import Bot
|
||||
|
||||
|
||||
class ExampleExpertBot(Bot):
|
||||
|
||||
def init(self):
|
||||
pass
|
||||
|
||||
def process(self):
|
||||
pass
|
||||
|
||||
|
||||
BOT = ExampleExpertBot
|
||||
Reference in New Issue
Block a user