drupflare/worker - v1.0.4
    Preparing search index...

    Function cspReportAllowed

    • Counts one report against the address and the isolate, and says whether it may be logged.

      In memory and per isolate, like the owner failure budget: a durable counter would spend a row per report. The map is bounded because the key is attacker-supplied.

      Parameters

      • address: string
      • nowMs: number

      Returns boolean