Skip to content

Commit

Permalink
Add missing RAW_RIR_DATA producedEvents() declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
smicallef committed Nov 25, 2022
1 parent 74419c2 commit e21cbac
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/sfp_bitcoinwhoswho.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def watchedEvents(self):
return ["BITCOIN_ADDRESS"]

def producedEvents(self):
return ["MALICIOUS_BITCOIN_ADDRESS"]
return ["MALICIOUS_BITCOIN_ADDRESS", "RAW_RIR_DATA"]

def query(self, qry):
qs = urllib.parse.urlencode({"address": qry})
Expand Down
3 changes: 2 additions & 1 deletion modules/sfp_crxcavator.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def producedEvents(self):
'LINKED_URL_INTERNAL',
'AFFILIATE_INTERNET_NAME',
'AFFILIATE_INTERNET_NAME_UNRESOLVED',
'PHYSICAL_ADDRESS'
'PHYSICAL_ADDRESS',
'RAW_RIR_DATA'
]

def query(self, qry):
Expand Down
2 changes: 1 addition & 1 deletion modules/sfp_dnsgrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def watchedEvents(self):

# What events this module produces
def producedEvents(self):
return ["INTERNET_NAME", "INTERNET_NAME_UNRESOLVED"]
return ["INTERNET_NAME", "INTERNET_NAME_UNRESOLVED", "RAW_RIR_DATA"]

# Query the DNSGrep REST API
def query(self, qry):
Expand Down
1 change: 1 addition & 0 deletions modules/sfp_fullhunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def producedEvents(self):
"TCP_PORT_OPEN",
"PROVIDER_DNS",
"PROVIDER_MAIL",
"RAW_RIR_DATA"
]

def queryDomainDetails(self, qry):
Expand Down
1 change: 1 addition & 0 deletions modules/sfp_koodous.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def watchedEvents(self):
def producedEvents(self):
return [
'APPSTORE_ENTRY',
'RAW_RIR_DATA'
]

def queryPackageName(self, qry, cursor=''):
Expand Down

0 comments on commit e21cbac

Please sign in to comment.