Node CrowdSec Client
    Preparing search index...

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

    Hierarchy (View Summary)

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

    allow some scenario to extract ip from the request

    loaded: boolean = false
    ipObjectCache: LRUCache<string, AddressObject, unknown>
    scenarioName: string = 'maxmind'
    • get ipObjectCache(): LRUCache<string, AddressObject, unknown>

      Returns LRUCache<string, AddressObject, unknown>