SSLBL module
- class SSLBL.SSLBL(config: Config)
Bases:
object
Class used for checking content from SSLBL IP feeds
- get_list(name: str)
Returns response from search method :param name: name of the searched object :return: response from search :rtype: dict
- static is_security_flagged(response: dict) bool
- static read(name: str, key: str, log: Log, config: Config, cache: Cache)
Returns response from API and writes to cache
- Parameters:
name – name of the searched object
key – key to use when writing to cache
log – Log object
config – Config object
cache – Cache object
- Returns:
response from url
- Return type:
dict | None
- search(blackList)
Returns response if value is in blackist
- Parameters:
value – value of the searched object
blackList – addresses list
- Returns:
searched object
- Return type:
dict