Node CrowdSec Client
    Preparing search index...

    Class BaseScenarioAbstract

    when creating a scenario, you need to add a static scenarioName

    Hierarchy (View Summary)

    Implements

    Index
    extractIp?: (req: IncomingMessage) => IIpExtractionResult | undefined

    allow some scenario to extract ip from the request

    ipObjectCache: LRUCache<string, AddressObject, unknown>
    • Parameters

      • Optionaladdress: string

      Returns AddressObject