Skip to content

Commit

Permalink
sfp_names: Update list of trusted modules for processing RAW_RIR_DATA.
Browse files Browse the repository at this point in the history
  • Loading branch information
smicallef committed Dec 15, 2022
1 parent 2666900 commit 5e23bc4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modules/sfp_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ def handleEvent(self, event):
# For RAW_RIR_DATA, there are only specific modules we
# expect to see RELEVANT names within.
if eventName == "RAW_RIR_DATA":
if srcModuleName not in ["sfp_arin", "sfp_builtwith", "sfp_clearbit",
"sfp_fullcontact", "sfp_github", "sfp_hunter",
"sfp_opencorporates", "sfp_slideshare",
"sfp_twitter", "sfp_venmo", "sfp_instagram",
"sfp_stackoverflow"]:
if srcModuleName not in [ "sfp_builtwith", "sfp_clearbit", "sfp_emailcrawlr",
"sfp_fullcontact", "sfp_github", "sfp_hunter",
"sfp_opencorporates", "sfp_slideshare", "sfp_jsonwhoiscom",
"sfp_twitter", "sfp_gravatar", "sfp_keybase"]:
self.debug("Ignoring RAW_RIR_DATA from untrusted module.")
return

Expand Down

0 comments on commit 5e23bc4

Please sign in to comment.