Skip to content

Commit 0671a8b

Browse files
gethviaaronkaplan
authored andcommitted
ENH: Adds feed.documentation to Shadowserver parser.
1 parent ac6aa4e commit 0671a8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

intelmq/bots/parsers/shadowserver/parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ def parse_line(self, row, report):
119119
# set feed.name and code, honor the overwrite parameter
120120
event.add('feed.name', self.feedname, overwrite=self.overwrite)
121121

122+
# set feed.documentation to a report url
123+
event.add('feed.documentation', conf.get('url'))
124+
122125
extra = {} # The Json-Object which will be populated with the
123126
# fields that could not be added to the standard intelmq fields
124127
# the parser is going to write this information into an object

0 commit comments

Comments
 (0)