INNER CODE UNIT · Python

AbuseIPDBEngine

stanfrbd/cyberbro · engines/abuseipdb.py:13

class AbuseIPDBEngine(BaseEngine):
    @property
    def name(self):
        return "abuseipdb"

    @property
    def supported_types(self) -> ObservableType:
        return ObservableType.IPV4 | ObservableType.IPV6

    @property
    def execute_after_reverse_dns(self):
        # AbuseIPDB only supports IPs, so we want it to run AFTER any potential DNS resolution
        return True

    def analyze(self, observable: Observable) -> dict | None:
        api_key: str = self.secrets.abuseipdb

        if not api_key:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…