diff --git a/classes/crowdsec_client.Alerts.html b/classes/crowdsec_client.Alerts.html index 61f18946..d12491b1 100644 --- a/classes/crowdsec_client.Alerts.html +++ b/classes/crowdsec_client.Alerts.html @@ -1,9 +1,9 @@ -Alerts | Node CrowdSec Client

Hierarchy

Constructors

constructor +Alerts | Node CrowdSec Client

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

http: AxiosInstance

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

http: AxiosInstance

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.AxiosError.html b/classes/crowdsec_client.AxiosError.html index c4cc2294..ec158e1f 100644 --- a/classes/crowdsec_client.AxiosError.html +++ b/classes/crowdsec_client.AxiosError.html @@ -1,4 +1,4 @@ -AxiosError | Node CrowdSec Client

Hierarchy

  • Error
    • AxiosError

Constructors

constructor +AxiosError | Node CrowdSec Client

Hierarchy

  • Error
    • AxiosError

Constructors

Properties

cause? config message @@ -13,11 +13,11 @@ captureStackTrace

Constructors

Properties

cause?: unknown
config: undefined | InternalAxiosRequestConfig<any>
message: string
name: string
request?: any
response?: AxiosResponse<unknown, any>
stack?: string
status?: number
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

Properties

cause?: unknown
config: undefined | InternalAxiosRequestConfig<any>
message: string
name: string
request?: any
response?: AxiosResponse<unknown, any>
stack?: string
status?: number
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    +
stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.BaseSubObject.html b/classes/crowdsec_client.BaseSubObject.html index 594b2298..557fc561 100644 --- a/classes/crowdsec_client.BaseSubObject.html +++ b/classes/crowdsec_client.BaseSubObject.html @@ -1,3 +1,3 @@ -BaseSubObject | Node CrowdSec Client

Hierarchy

Constructors

constructor +BaseSubObject | Node CrowdSec Client

Hierarchy

Constructors

Properties

Constructors

Properties

http: AxiosInstance

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

http: AxiosInstance

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.BouncerClient.html b/classes/crowdsec_client.BouncerClient.html index ea78ec79..206cd508 100644 --- a/classes/crowdsec_client.BouncerClient.html +++ b/classes/crowdsec_client.BouncerClient.html @@ -1,4 +1,4 @@ -BouncerClient | Node CrowdSec Client

Hierarchy

Constructors

constructor +BouncerClient | Node CrowdSec Client

Hierarchy

Constructors

Properties

Constructors

Properties

Decisions: DecisionsBouncer
debug: Debugger = ...
http: AxiosInstance

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

Decisions: DecisionsBouncer
debug: Debugger = ...
http: AxiosInstance

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.CrowdSecClient.html b/classes/crowdsec_client.CrowdSecClient.html index b9f6a626..89a413fa 100644 --- a/classes/crowdsec_client.CrowdSecClient.html +++ b/classes/crowdsec_client.CrowdSecClient.html @@ -1,4 +1,4 @@ -CrowdSecClient | Node CrowdSec Client

Hierarchy

Constructors

constructor +CrowdSecClient | Node CrowdSec Client

Hierarchy

Constructors

Properties

_http: AxiosInstance
debug: Debugger = debug
http: AxiosInstance

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

_http: AxiosInstance
debug: Debugger = debug
http: AxiosInstance

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.CrowdSecServerError.html b/classes/crowdsec_client.CrowdSecServerError.html index 0d3bca07..8b70f293 100644 --- a/classes/crowdsec_client.CrowdSecServerError.html +++ b/classes/crowdsec_client.CrowdSecServerError.html @@ -1,4 +1,4 @@ -CrowdSecServerError | Node CrowdSec Client

Hierarchy

Constructors

constructor +CrowdSecServerError | Node CrowdSec Client

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

_message: string
axiosError?: AxiosError

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

-
errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

-
exception: Error
message: string
name: string = 'CrowdSecError'
stack: string

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

_message: string
axiosError?: AxiosError

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

+
errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

+
exception: Error
message: string
name: string = 'CrowdSecError'
stack: string

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.CrowdsecClientError.html b/classes/crowdsec_client.CrowdsecClientError.html index 6977db9b..cc294f3d 100644 --- a/classes/crowdsec_client.CrowdsecClientError.html +++ b/classes/crowdsec_client.CrowdsecClientError.html @@ -1,4 +1,4 @@ -CrowdsecClientError | Node CrowdSec Client

Hierarchy

Constructors

constructor +CrowdsecClientError | Node CrowdSec Client

Hierarchy

Constructors

Properties

_message code errorCode @@ -7,6 +7,6 @@ name stack

Methods

Constructors

Properties

_message: string

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

-
errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

-
exception: Error
message: string
name: string = 'Error'
stack: string

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

_message: string

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

+
errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

+
exception: Error
message: string
name: string = 'Error'
stack: string

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.Decision.html b/classes/crowdsec_client.Decision.html index 51dd09eb..b9faac3e 100644 --- a/classes/crowdsec_client.Decision.html +++ b/classes/crowdsec_client.Decision.html @@ -1,5 +1,5 @@ Decision | Node CrowdSec Client

Class Decision<Scope, Origin, Type>

Represent a Decision .

-

Type Parameters

Hierarchy

  • Decision

Constructors

Type Parameters

Hierarchy

  • Decision

Constructors

Properties

duration endAt id? @@ -10,4 +10,4 @@ type until value -

Constructors

Properties

duration: string
endAt: Date
id?: number
origin: Origin
scenario: string
scope: Scope
simulated?: boolean
type: Type
until: undefined | string
value: string

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

duration: string
endAt: Date
id?: number
origin: Origin
scenario: string
scope: Scope
simulated?: boolean
type: Type
until: undefined | string
value: string

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.DecisionsBouncer.html b/classes/crowdsec_client.DecisionsBouncer.html index 03481d03..3c926f9e 100644 --- a/classes/crowdsec_client.DecisionsBouncer.html +++ b/classes/crowdsec_client.DecisionsBouncer.html @@ -1,4 +1,4 @@ -DecisionsBouncer | Node CrowdSec Client

Hierarchy

Constructors

constructor +DecisionsBouncer | Node CrowdSec Client

Hierarchy

Constructors

Properties

getStreamTimeout?: Timeout
http: AxiosInstance
runningStreams: DecisionsStream<any, string>[] = []

Methods

  • Parameters

    • Optional options: {
          origins?: string | string[];
          scenarios_containing?: string | string[];
          scenarios_not_containing?: string | string[];
          scopes?: string | string[];
          startup?: boolean;
      }
      • Optional origins?: string | string[]
      • Optional scenarios_containing?: string | string[]
      • Optional scenarios_not_containing?: string | string[]
      • Optional scopes?: string | string[]
      • Optional startup?: boolean

    Returns Promise<APITypes.DecisionsStreamResponse>

  • Type Parameters

    • Scopes extends string = "ip"

    • Origins extends string = string

    Parameters

    • Optional optionsParam: {
          interval?: number;
          origins?: Origins | Origins[];
          scenarios_containing?: string | string[];
          scenarios_not_containing?: string | string[];
          scopes?: Scopes | Scopes[];
      }
      • Optional interval?: number
      • Optional origins?: Origins | Origins[]
      • Optional scenarios_containing?: string | string[]
      • Optional scenarios_not_containing?: string | string[]
      • Optional scopes?: Scopes | Scopes[]
    • Optional cb: CallBack<Scopes, Origins>

    Returns DecisionsStream<Scopes, Origins>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

getStreamTimeout?: Timeout
http: AxiosInstance
runningStreams: DecisionsStream<any, string>[] = []

Methods

  • Parameters

    • Optional options: {
          origins?: string | string[];
          scenarios_containing?: string | string[];
          scenarios_not_containing?: string | string[];
          scopes?: string | string[];
          startup?: boolean;
      }
      • Optional origins?: string | string[]
      • Optional scenarios_containing?: string | string[]
      • Optional scenarios_not_containing?: string | string[]
      • Optional scopes?: string | string[]
      • Optional startup?: boolean

    Returns Promise<APITypes.DecisionsStreamResponse>

  • Type Parameters

    • Scopes extends string = "ip"

    • Origins extends string = string

    Parameters

    • Optional optionsParam: {
          interval?: number;
          origins?: Origins | Origins[];
          scenarios_containing?: string | string[];
          scenarios_not_containing?: string | string[];
          scopes?: Scopes | Scopes[];
      }
      • Optional interval?: number
      • Optional origins?: Origins | Origins[]
      • Optional scenarios_containing?: string | string[]
      • Optional scenarios_not_containing?: string | string[]
      • Optional scopes?: Scopes | Scopes[]
    • Optional cb: CallBack<Scopes, Origins>

    Returns DecisionsStream<Scopes, Origins>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.DecisionsStream.html b/classes/crowdsec_client.DecisionsStream.html index 9fce6b18..0ec17fa0 100644 --- a/classes/crowdsec_client.DecisionsStream.html +++ b/classes/crowdsec_client.DecisionsStream.html @@ -1,4 +1,4 @@ -DecisionsStream | Node CrowdSec Client

Class DecisionsStream<Scopes, Origins>

Type Parameters

Hierarchy

Constructors

constructor +DecisionsStream | Node CrowdSec Client

Class DecisionsStream<Scopes, Origins>

Type Parameters

Hierarchy

Constructors

Properties

Constructors

Properties

_paused: boolean = true
debug: Debugger
decisions: {
    added: Decision<Scopes, Origins, string>[];
    deleted: Decision<Scopes, Origins, string>[];
} = ...

Type declaration

  • added: Decision<Scopes, Origins, string>[]
  • deleted: Decision<Scopes, Origins, string>[]
looping: boolean = false
name: string
captureRejectionSymbol: typeof captureRejectionSymbol

Value: Symbol.for('nodejs.rejection')

+>.constructor

Properties

_paused: boolean = true
debug: Debugger
decisions: {
    added: Decision<Scopes, Origins, string>[];
    deleted: Decision<Scopes, Origins, string>[];
} = ...

Type declaration

  • added: Decision<Scopes, Origins, string>[]
  • deleted: Decision<Scopes, Origins, string>[]
looping: boolean = false
name: string
captureRejectionSymbol: typeof captureRejectionSymbol

Value: Symbol.for('nodejs.rejection')

See how to write a custom rejection handler.

Since

v13.4.0, v12.16.0

captureRejections: boolean

Value: boolean

@@ -75,9 +75,9 @@

Installing a listener using this symbol does not change the behavior once an'error' event is emitted. Therefore, the process will still crash if no regular 'error' listener is installed.

Since

v13.6.0, v12.17.0

-

Accessors

Methods

  • Parameters

    • error: Error
    • event: string
    • Rest ...args: any[]

    Returns void

  • Alias for emitter.on(eventName, listener).

    +

Accessors

Methods

  • Parameters

    • error: Error
    • event: string
    • Rest ...args: any[]

    Returns void

  • Alias for emitter.on(eventName, listener).

    Parameters

    • eventName: string | symbol
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns DecisionsStream<Scopes, Origins>

    Since

    v0.1.26

    -
  • Returns an array listing the events for which the emitter has registered +

  • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

    import { EventEmitter } from 'node:events';

    const myEE = new EventEmitter();
    myEE.on('foo', () => {});
    myEE.on('bar', () => {});

    const sym = Symbol('symbol');
    myEE.on(sym, () => {});

    console.log(myEE.eventNames());
    // Prints: [ 'foo', 'bar', Symbol(symbol) ]
    @@ -85,7 +85,7 @@
  • Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

    Returns number

    Since

    v1.0.0

    -
  • Returns the number of listeners listening for the event named eventName. +

  • Returns the number of listeners listening for the event named eventName. If listener is provided, it will return how many times the listener is found in the list of the listeners of the event.

    Parameters

    • eventName: string | symbol

      The name of the event being listened for

      @@ -95,9 +95,9 @@
      server.on('connection', (stream) => {
      console.log('someone connected!');
      });
      console.log(util.inspect(server.listeners('connection')));
      // Prints: [ [Function] ]

      Parameters

      • eventName: string | symbol

      Returns Function[]

      Since

      v0.1.26

      -
  • Alias for emitter.removeListener().

    +
  • Alias for emitter.removeListener().

    Parameters

    • eventName: string | symbol
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns DecisionsStream<Scopes, Origins>

    Since

    v10.0.0

    -
  • Adds a one-timelistener function for the event named eventName. The +

  • Adds a one-timelistener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.

    server.once('connection', (stream) => {
    console.log('Ah, we have our first user!');
    });
    @@ -109,7 +109,7 @@

    Parameters

    • eventName: string | symbol

      The name of the event.

    • listener: ((...args) => void)

      The callback function

        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns DecisionsStream<Scopes, Origins>

    Since

    v0.3.0

    -
  • Adds the listener function to the beginning of the listeners array for the +

  • Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple times.

    @@ -127,7 +127,7 @@

    Parameters

    • eventName: string | symbol

      The name of the event.

    • listener: ((...args) => void)

      The callback function

        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns DecisionsStream<Scopes, Origins>

    Since

    v6.0.0

    -
  • Returns a copy of the array of listeners for the event named eventName, +

  • Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

    import { EventEmitter } from 'node:events';
    const emitter = new EventEmitter();
    emitter.once('log', () => console.log('log once'));

    // Returns a new Array with a function `onceWrapper` which has a property
    // `listener` which contains the original listener bound above
    const listeners = emitter.rawListeners('log');
    const logFnWrapper = listeners[0];

    // Logs "log once" to the console and does not unbind the `once` event
    logFnWrapper.listener();

    // Logs "log once" to the console and removes the listener
    logFnWrapper();

    emitter.on('log', () => console.log('log persistently'));
    // Will return a new Array with a single function bound by `.on()` above
    const newListeners = emitter.rawListeners('log');

    // Logs "log persistently" twice
    newListeners[0]();
    emitter.emit('log');
    @@ -162,14 +162,14 @@

    Returns a reference to the EventEmitter, so that calls can be chained.

    Parameters

    • eventName: string | symbol
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns DecisionsStream<Scopes, Origins>

    Since

    v0.1.26

    -
  • By default EventEmitters will print a warning if more than 10 listeners are +

  • By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be modified for this specific EventEmitter instance. The value can be set toInfinity (or 0) to indicate an unlimited number of listeners.

    Returns a reference to the EventEmitter, so that calls can be chained.

    Parameters

    • n: number

    Returns DecisionsStream<Scopes, Origins>

    Since

    v0.3.5

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client.__Error.html b/classes/crowdsec_client.__Error.html index d0fcd51a..35134066 100644 --- a/classes/crowdsec_client.__Error.html +++ b/classes/crowdsec_client.__Error.html @@ -1,4 +1,4 @@ -__Error | Node CrowdSec Client

Hierarchy

Implements

  • Error

Constructors

constructor +__Error | Node CrowdSec Client

Hierarchy

Implements

  • Error

Constructors

Properties

_message code errorCode @@ -7,6 +7,6 @@ name stack

Methods

Constructors

Properties

_message: string

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

-
errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

-
exception: Error
message: string
name: string = 'Error'
stack: string

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

_message: string

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

+
errorCode: EErrorsCodes

can also contain error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number

+
exception: Error
message: string
name: string = 'Error'
stack: string

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client_scenarios.AllowListEnricher.html b/classes/crowdsec_client_scenarios.AllowListEnricher.html index 2b4dd73f..dda1f8dd 100644 --- a/classes/crowdsec_client_scenarios.AllowListEnricher.html +++ b/classes/crowdsec_client_scenarios.AllowListEnricher.html @@ -1,4 +1,4 @@ -AllowListEnricher | Node CrowdSec Client

Hierarchy

  • EnricherScenario
    • AllowListEnricher

Constructors

constructor +AllowListEnricher | Node CrowdSec Client

Hierarchy

  • EnricherScenario
    • AllowListEnricher

Constructors

Properties

allowed: AddressObject[]
extractIp?: ((req) => undefined | IIpExtractionResult)

Type declaration

ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'allow-list'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

  • Parameters

    • Optional address: string

    Returns AddressObject

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

allowed: AddressObject[]
extractIp?: ((req) => undefined | IIpExtractionResult)

Type declaration

ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'allow-list'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

  • Parameters

    • Optional address: string

    Returns AddressObject

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client_scenarios.BaseScenario.html b/classes/crowdsec_client_scenarios.BaseScenario.html index a23cd8b8..5745d3ea 100644 --- a/classes/crowdsec_client_scenarios.BaseScenario.html +++ b/classes/crowdsec_client_scenarios.BaseScenario.html @@ -1,5 +1,5 @@ BaseScenario | Node CrowdSec Client

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

-

Hierarchy

Implements

Constructors

Hierarchy

Implements

Constructors

Properties

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

Type declaration

ipObjectCache: LRUCache<string, AddressObject, unknown>

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

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

Type declaration

ipObjectCache: LRUCache<string, AddressObject, unknown>

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client_scenarios.HTTPEnricher.html b/classes/crowdsec_client_scenarios.HTTPEnricher.html index a5b00284..95d12045 100644 --- a/classes/crowdsec_client_scenarios.HTTPEnricher.html +++ b/classes/crowdsec_client_scenarios.HTTPEnricher.html @@ -1,4 +1,4 @@ -HTTPEnricher | Node CrowdSec Client

Hierarchy

  • EnricherScenario
    • HTTPEnricher

Constructors

constructor +HTTPEnricher | Node CrowdSec Client

Hierarchy

  • EnricherScenario
    • HTTPEnricher

Constructors

Properties

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

Type declaration

ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'http-enricher'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

  • Parameters

    • Optional address: string

    Returns AddressObject

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

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

Type declaration

ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'http-enricher'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

  • Parameters

    • Optional address: string

    Returns AddressObject

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client_scenarios.MaxMindEnricher.html b/classes/crowdsec_client_scenarios.MaxMindEnricher.html index 656e44ff..036c8d37 100644 --- a/classes/crowdsec_client_scenarios.MaxMindEnricher.html +++ b/classes/crowdsec_client_scenarios.MaxMindEnricher.html @@ -1,5 +1,5 @@ MaxMindEnricher | Node CrowdSec Client

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

-

Hierarchy

Constructors

Hierarchy

Constructors

Properties

currentOptions: IMaxMindOptions
extractIp?: ((req) => undefined | IIpExtractionResult)

Type declaration

internalEnrichers: IInternalEnricher[] = []
loaded: boolean = false
ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'maxmind'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

currentOptions: IMaxMindOptions
extractIp?: ((req) => undefined | IIpExtractionResult)

Type declaration

internalEnrichers: IInternalEnricher[] = []
loaded: boolean = false
ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: string = 'maxmind'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_client_scenarios.XForwardedForChecker.html b/classes/crowdsec_client_scenarios.XForwardedForChecker.html index fb24bc5f..460443bd 100644 --- a/classes/crowdsec_client_scenarios.XForwardedForChecker.html +++ b/classes/crowdsec_client_scenarios.XForwardedForChecker.html @@ -1,4 +1,4 @@ -XForwardedForChecker | Node CrowdSec Client

Hierarchy

  • CheckerScenario
    • XForwardedForChecker

Constructors

constructor +XForwardedForChecker | Node CrowdSec Client

Hierarchy

  • CheckerScenario
    • XForwardedForChecker

Constructors

Properties

announceToLAPI: true = true

announce current scenario to LAPI

-
currentOptions: IXForwardedForOptions
extractIpCache: LRUCache<string, IExtractedIP[], unknown>
reverseProxiesRange: AddressObject[]
ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: "thib3113/x-forwarded-for" = 'thib3113/x-forwarded-for'
scenarioVersion: "0.0.1" = '0.0.1'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

  • Parameters

    • Optional address: string

    Returns AddressObject

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

announceToLAPI: true = true

announce current scenario to LAPI

+
currentOptions: IXForwardedForOptions
extractIpCache: LRUCache<string, IExtractedIP[], unknown>
reverseProxiesRange: AddressObject[]
ipObjectCache: LRUCache<string, AddressObject, unknown>
scenarioName: "thib3113/x-forwarded-for" = 'thib3113/x-forwarded-for'
scenarioVersion: "0.0.1" = '0.0.1'

Accessors

  • get ipObjectCache(): LRUCache<string, AddressObject, unknown>
  • Returns LRUCache<string, AddressObject, unknown>

Methods

  • Parameters

    • Optional address: string

    Returns AddressObject

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/crowdsec_http_middleware.CrowdSecHTTPMiddleware.html b/classes/crowdsec_http_middleware.CrowdSecHTTPMiddleware.html index bca6bcfe..17bc7471 100644 --- a/classes/crowdsec_http_middleware.CrowdSecHTTPMiddleware.html +++ b/classes/crowdsec_http_middleware.CrowdSecHTTPMiddleware.html @@ -1,4 +1,4 @@ -CrowdSecHTTPMiddleware | Node CrowdSec Client

Hierarchy

  • CommonsMiddleware
    • CrowdSecHTTPMiddleware

Constructors

constructor +CrowdSecHTTPMiddleware | Node CrowdSec Client

Hierarchy

  • CommonsMiddleware
    • CrowdSecHTTPMiddleware

Constructors

Properties

Constructors

Properties

bouncer?: CrowdSecHTTPBouncerMiddleware
clientOptions: ICrowdSecClientOptions
ipObjectCache: IpObjectsCacher
logger: Required<logger>
watcher?: CrowdSecHTTPWatcherMiddleware

Methods

  • Private

    extract current ip from the request . +

Constructors

Properties

bouncer?: CrowdSecHTTPBouncerMiddleware
clientOptions: ICrowdSecClientOptions
ipObjectCache: IpObjectsCacher
logger: Required<logger>
watcher?: CrowdSecHTTPWatcherMiddleware

Methods

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • req: IncomingMessage

Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/crowdsec_client.EErrorsCodes.html b/enums/crowdsec_client.EErrorsCodes.html index 4413b14d..7dfef3ef 100644 --- a/enums/crowdsec_client.EErrorsCodes.html +++ b/enums/crowdsec_client.EErrorsCodes.html @@ -1,4 +1,4 @@ -EErrorsCodes | Node CrowdSec Client

Enumeration Members

ACCEPTED +EErrorsCodes | Node CrowdSec Client

Enumeration Members

ACCEPTED: 202
BAD_GATEWAY: 502
BAD_REQUEST: 400
CONFLICT: 409
CONNECTION_FAILED: 2
CONNECTION_TEST_FAILED: 1
CONTINUE: 100
CREATED: 201
EXPECTATION_FAILED: 417
FORBIDDEN: 403
FOUND: 302
GATEWAY_TIMEOUT: 504
GONE: 410
HTTP_VERSION_NOT_SUPPORTED: 505
INTERNAL_SERVER_ERROR: 500
LENGTH_REQUIRED: 411
METHOD_NOT_ALLOWED: 405
MOVED_PERMANENTLY: 301
MULTIPLE_CHOICES: 300
NON_AUTHORITATIVE_INFORMATION: 203
NOT_ACCEPTABLE: 406
NOT_FOUND: 404
NOT_IMPLEMENTED: 501
NOT_MODIFIED: 304
NO_CONTENT: 204
OK: 200
PARTIAL_CONTENT: 206
PAYMENT_REQUIRED: 402
PRECONDITION_FAILED: 412
PROXY_AUTHENTICATION_REQUIRED: 407
REQUESTED_RANGE_NOT_SATISFIABLE: 416
REQUEST_ENTITY_TOO_LARGE: 413
REQUEST_TIMEOUT: 408
REQUEST_URI_TOO_LONG: 414
RESET_CONTENT: 205
SEE_OTHER: 303
SERVICE_UNAVAILABLE: 503
SWITCHING_PROTOCOLS: 101
TEMPORARY_REDIRECT: 307
TOO_MANY_REQUESTS: 429
UNAUTHORIZED: 401
UNKNOWN_ERROR: 0
UNPROCESSABLE_ENTITY: 422
UNSUPPORTED_MEDIA_TYPE: 415
USE_PROXY: 305

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

ACCEPTED: 202
BAD_GATEWAY: 502
BAD_REQUEST: 400
CONFLICT: 409
CONNECTION_FAILED: 2
CONNECTION_TEST_FAILED: 1
CONTINUE: 100
CREATED: 201
EXPECTATION_FAILED: 417
FORBIDDEN: 403
FOUND: 302
GATEWAY_TIMEOUT: 504
GONE: 410
HTTP_VERSION_NOT_SUPPORTED: 505
INTERNAL_SERVER_ERROR: 500
LENGTH_REQUIRED: 411
METHOD_NOT_ALLOWED: 405
MOVED_PERMANENTLY: 301
MULTIPLE_CHOICES: 300
NON_AUTHORITATIVE_INFORMATION: 203
NOT_ACCEPTABLE: 406
NOT_FOUND: 404
NOT_IMPLEMENTED: 501
NOT_MODIFIED: 304
NO_CONTENT: 204
OK: 200
PARTIAL_CONTENT: 206
PAYMENT_REQUIRED: 402
PRECONDITION_FAILED: 412
PROXY_AUTHENTICATION_REQUIRED: 407
REQUESTED_RANGE_NOT_SATISFIABLE: 416
REQUEST_ENTITY_TOO_LARGE: 413
REQUEST_TIMEOUT: 408
REQUEST_URI_TOO_LONG: 414
RESET_CONTENT: 205
SEE_OTHER: 303
SERVICE_UNAVAILABLE: 503
SWITCHING_PROTOCOLS: 101
TEMPORARY_REDIRECT: 307
TOO_MANY_REQUESTS: 429
UNAUTHORIZED: 401
UNKNOWN_ERROR: 0
UNPROCESSABLE_ENTITY: 422
UNSUPPORTED_MEDIA_TYPE: 415
USE_PROXY: 305

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.Alert.html b/interfaces/crowdsec_client.APITypes.Alert.html index c9b2a011..6b06f60d 100644 --- a/interfaces/crowdsec_client.APITypes.Alert.html +++ b/interfaces/crowdsec_client.APITypes.Alert.html @@ -1,5 +1,5 @@ Alert | Node CrowdSec Client

Alert

-

Hierarchy

  • Alert

Properties

Hierarchy

  • Alert

Properties

Properties

capacity: number

Format

int32

-
created_at?: string

only relevant for GET, ignored in POST requests

-
decisions?: APITypes.Decision[]
events: APITypes.Event[]

the Meta of the events leading to overflow

-
events_count: number

Format

int32

-
id?: number

only relevant for GET, ignored in POST requests

-
labels?: string[]
leakspeed: string
machine_id?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

-
message: string

a human readable message

-
meta?: APITypes.Meta

the Meta data of the Alert itself

-
remediation?: boolean
scenario: string
scenario_hash: string
scenario_version: string
simulated: boolean
start_at: string
stop_at: string
uuid?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

-

Generated using TypeDoc

\ No newline at end of file +
created_at?: string

only relevant for GET, ignored in POST requests

+
decisions?: APITypes.Decision[]
events: APITypes.Event[]

the Meta of the events leading to overflow

+
events_count: number

Format

int32

+
id?: number

only relevant for GET, ignored in POST requests

+
labels?: string[]
leakspeed: string
machine_id?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

+
message: string

a human readable message

+
meta?: APITypes.Meta

the Meta data of the Alert itself

+
remediation?: boolean
scenario: string
scenario_hash: string
scenario_version: string
simulated: boolean
start_at: string
stop_at: string
uuid?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.Decision.html b/interfaces/crowdsec_client.APITypes.Decision.html index b1e8ca03..771a5268 100644 --- a/interfaces/crowdsec_client.APITypes.Decision.html +++ b/interfaces/crowdsec_client.APITypes.Decision.html @@ -1,5 +1,5 @@ Decision | Node CrowdSec Client

Decision

-

Hierarchy

  • Decision

Properties

Hierarchy

  • Decision

Properties

duration id? origin scenario @@ -10,12 +10,12 @@ uuid? value

Properties

duration: string

the duration of the decisions

-
id?: number

(only relevant for GET ops) the unique id

-
origin: string

the origin of the decision : cscli, crowdsec

-
scenario: string
scope: string

the scope of decision : does it apply to an IP, a range, a username, etc

-
simulated?: boolean

true if the decision result from a scenario in simulation mode

-
type: string

the type of decision, might be 'ban', 'captcha' or something custom. Ignored when watcher (cscli/crowdsec) is pushing to APIL.

-
until?: string

the date until the decisions must be active

-
uuid?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

-
value: string

the value of the decision scope : an IP, a range, a username, etc

-

Generated using TypeDoc

\ No newline at end of file +
id?: number

(only relevant for GET ops) the unique id

+
origin: string

the origin of the decision : cscli, crowdsec

+
scenario: string
scope: string

the scope of decision : does it apply to an IP, a range, a username, etc

+
simulated?: boolean

true if the decision result from a scenario in simulation mode

+
type: string

the type of decision, might be 'ban', 'captcha' or something custom. Ignored when watcher (cscli/crowdsec) is pushing to APIL.

+
until?: string

the date until the decisions must be active

+
uuid?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

+
value: string

the value of the decision scope : an IP, a range, a username, etc

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.DecisionsStreamResponse.html b/interfaces/crowdsec_client.APITypes.DecisionsStreamResponse.html index df74d47f..0921891d 100644 --- a/interfaces/crowdsec_client.APITypes.DecisionsStreamResponse.html +++ b/interfaces/crowdsec_client.APITypes.DecisionsStreamResponse.html @@ -1,4 +1,4 @@ DecisionsStreamResponse | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Properties

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.DeleteAlertsParams.html b/interfaces/crowdsec_client.APITypes.DeleteAlertsParams.html index ffee611d..95ce942e 100644 --- a/interfaces/crowdsec_client.APITypes.DeleteAlertsParams.html +++ b/interfaces/crowdsec_client.APITypes.DeleteAlertsParams.html @@ -1,4 +1,4 @@ -DeleteAlertsParams | Node CrowdSec Client

Hierarchy

  • DeleteAlertsParams

Properties

alert_source? +DeleteAlertsParams | Node CrowdSec Client

Hierarchy

  • DeleteAlertsParams

Properties

alert_source?: string

delete only alerts with matching source (ie. cscli/crowdsec)

-
has_active_decision?: boolean

delete only alerts with decisions not expired yet

-
ip?: string

delete Alerts with IP (shorthand for scope=ip&value=)

-
range?: string

delete alerts concerned by range (shorthand for scope=range&value=)

-
scenario?: string

delete alerts for this scenario

-
scope?: string

delete alerts for this scope

-
since?: string

delete alerts added after YYYY-mm-DD-HH:MM:SS

+
has_active_decision?: boolean

delete only alerts with decisions not expired yet

+
ip?: string

delete Alerts with IP (shorthand for scope=ip&value=)

+
range?: string

delete alerts concerned by range (shorthand for scope=range&value=)

+
scenario?: string

delete alerts for this scenario

+
scope?: string

delete alerts for this scope

+
since?: string

delete alerts added after YYYY-mm-DD-HH:MM:SS

Format

date-time

-
until?: string

delete alerts added before YYYY-mm-DD-HH:MM:SS

+
until?: string

delete alerts added before YYYY-mm-DD-HH:MM:SS

Format

date-time

-
value?: string

delete alerts for this value (used with scope)

-

Generated using TypeDoc

\ No newline at end of file +
value?: string

delete alerts for this value (used with scope)

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.DeleteAlertsResponse.html b/interfaces/crowdsec_client.APITypes.DeleteAlertsResponse.html index 94fec861..1c002416 100644 --- a/interfaces/crowdsec_client.APITypes.DeleteAlertsResponse.html +++ b/interfaces/crowdsec_client.APITypes.DeleteAlertsResponse.html @@ -1,4 +1,4 @@ DeleteAlertsResponse | Node CrowdSec Client

DeleteAlertsResponse

-

Hierarchy

  • DeleteAlertsResponse

Properties

Hierarchy

  • DeleteAlertsResponse

Properties

Properties

nbDeleted?: string

number of deleted alerts

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.DeleteDecisionResponse.html b/interfaces/crowdsec_client.APITypes.DeleteDecisionResponse.html index d9066017..4d16f7b2 100644 --- a/interfaces/crowdsec_client.APITypes.DeleteDecisionResponse.html +++ b/interfaces/crowdsec_client.APITypes.DeleteDecisionResponse.html @@ -1,4 +1,4 @@ DeleteDecisionResponse | Node CrowdSec Client

DeleteDecisionResponse

-

Hierarchy

  • DeleteDecisionResponse

Properties

Hierarchy

  • DeleteDecisionResponse

Properties

Properties

nbDeleted?: string

number of deleted decisions

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.DeleteDecisionsParams.html b/interfaces/crowdsec_client.APITypes.DeleteDecisionsParams.html index 9939d0fd..b05ca74f 100644 --- a/interfaces/crowdsec_client.APITypes.DeleteDecisionsParams.html +++ b/interfaces/crowdsec_client.APITypes.DeleteDecisionsParams.html @@ -1,13 +1,13 @@ -DeleteDecisionsParams | Node CrowdSec Client

Hierarchy

  • DeleteDecisionsParams

Properties

ip? +DeleteDecisionsParams | Node CrowdSec Client

Hierarchy

  • DeleteDecisionsParams

Properties

ip?: string

IP to search for (shorthand for scope=ip&value=)

-
range?: string

range to search for (shorthand for scope=range&value=)

-
scenario?: string

scenario to search

-
scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

-
type?: string

type of decision

-
value?: string

the value to match for in the specified scope

-

Generated using TypeDoc

\ No newline at end of file +
range?: string

range to search for (shorthand for scope=range&value=)

+
scenario?: string

scenario to search

+
scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

+
type?: string

type of decision

+
value?: string

the value to match for in the specified scope

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.ErrorResponse.html b/interfaces/crowdsec_client.APITypes.ErrorResponse.html index 204c5efa..ab443701 100644 --- a/interfaces/crowdsec_client.APITypes.ErrorResponse.html +++ b/interfaces/crowdsec_client.APITypes.ErrorResponse.html @@ -1,7 +1,7 @@ ErrorResponse | Node CrowdSec Client

error response error response return by the API

-

Hierarchy

  • ErrorResponse

Properties

Hierarchy

  • ErrorResponse

Properties

Properties

errors?: string

more detail on individual errors

-
message: string

Error message

-

Generated using TypeDoc

\ No newline at end of file +
message: string

Error message

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.Event.html b/interfaces/crowdsec_client.APITypes.Event.html index 7732541c..ec23e5c0 100644 --- a/interfaces/crowdsec_client.APITypes.Event.html +++ b/interfaces/crowdsec_client.APITypes.Event.html @@ -1,5 +1,5 @@ Event | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +
timestamp: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.GetDecisionsParams.html b/interfaces/crowdsec_client.APITypes.GetDecisionsParams.html index 94a6bbd6..c6c85220 100644 --- a/interfaces/crowdsec_client.APITypes.GetDecisionsParams.html +++ b/interfaces/crowdsec_client.APITypes.GetDecisionsParams.html @@ -1,4 +1,4 @@ -GetDecisionsParams | Node CrowdSec Client

Hierarchy

  • GetDecisionsParams

Properties

contains? +GetDecisionsParams | Node CrowdSec Client

Hierarchy

  • GetDecisionsParams

Properties

Properties

contains?: boolean

indicate if you're looking for a decision that contains the value, or that is contained within the value

-
ip?: string

IP to search for (shorthand for scope=ip&value=)

-
origins?: string

Comma separated name of origins. If provided, then only the decisions originating from provided origins would be returned.

-
range?: string

range to search for (shorthand for scope=range&value=)

-
scenarios_containing?: string

Comma separated words. If provided, only the decisions created by scenarios containing any of the provided word would be returned.

-
scenarios_not_containing?: string

Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.

-
scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

-
type?: string

type of decision

-
value?: string

the value to match for in the specified scope

-

Generated using TypeDoc

\ No newline at end of file +
ip?: string

IP to search for (shorthand for scope=ip&value=)

+
origins?: string

Comma separated name of origins. If provided, then only the decisions originating from provided origins would be returned.

+
range?: string

range to search for (shorthand for scope=range&value=)

+
scenarios_containing?: string

Comma separated words. If provided, only the decisions created by scenarios containing any of the provided word would be returned.

+
scenarios_not_containing?: string

Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.

+
scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

+
type?: string

type of decision

+
value?: string

the value to match for in the specified scope

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.GetDecisionsStreamParams.html b/interfaces/crowdsec_client.APITypes.GetDecisionsStreamParams.html index bef2dc16..4be995f6 100644 --- a/interfaces/crowdsec_client.APITypes.GetDecisionsStreamParams.html +++ b/interfaces/crowdsec_client.APITypes.GetDecisionsStreamParams.html @@ -1,11 +1,11 @@ -GetDecisionsStreamParams | Node CrowdSec Client

Hierarchy

  • GetDecisionsStreamParams

Properties

origins? +GetDecisionsStreamParams | Node CrowdSec Client

Hierarchy

  • GetDecisionsStreamParams

Properties

origins?: string

Comma separated name of origins. If provided, then only the decisions originating from provided origins would be returned.

-
scenarios_containing?: string

Comma separated words. If provided, only the decisions created by scenarios containing any of the provided word would be returned.

-
scenarios_not_containing?: string

Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.

-
scopes?: string

Comma separated scopes of decisions to fetch

-
startup?: boolean

If true, means that the bouncers is starting and a full list must be provided

-

Generated using TypeDoc

\ No newline at end of file +
scenarios_containing?: string

Comma separated words. If provided, only the decisions created by scenarios containing any of the provided word would be returned.

+
scenarios_not_containing?: string

Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.

+
scopes?: string

Comma separated scopes of decisions to fetch

+
startup?: boolean

If true, means that the bouncers is starting and a full list must be provided

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.HeadAlertsParams.html b/interfaces/crowdsec_client.APITypes.HeadAlertsParams.html index 318aeb62..bdd00620 100644 --- a/interfaces/crowdsec_client.APITypes.HeadAlertsParams.html +++ b/interfaces/crowdsec_client.APITypes.HeadAlertsParams.html @@ -1,4 +1,4 @@ -HeadAlertsParams | Node CrowdSec Client

Hierarchy

  • HeadAlertsParams

Properties

decision_type? +HeadAlertsParams | Node CrowdSec Client

Hierarchy

  • HeadAlertsParams

Properties

decision_type?: string

restrict results to alerts with decisions matching given type

-
has_active_decision?: boolean

only return alerts with decisions not expired yet

-
ip?: string

IP to search for (shorthand for scope=ip&value=)

-
limit?: number

number of alerts to return

-
origin?: string

restrict results to this origin (ie. lists,CAPI,cscli)

-
range?: string

range to search for (shorthand for scope=range&value=)

-
scenario?: string

show alerts for this scenario

-
scope?: string

show alerts for this scope

-
simulated?: boolean

if set to true, decisions in simulation mode will be returned as well

-
since?: string

search alerts newer than delay (format must be compatible with time.ParseDuration)

+
has_active_decision?: boolean

only return alerts with decisions not expired yet

+
ip?: string

IP to search for (shorthand for scope=ip&value=)

+
limit?: number

number of alerts to return

+
origin?: string

restrict results to this origin (ie. lists,CAPI,cscli)

+
range?: string

range to search for (shorthand for scope=range&value=)

+
scenario?: string

show alerts for this scenario

+
scope?: string

show alerts for this scope

+
simulated?: boolean

if set to true, decisions in simulation mode will be returned as well

+
since?: string

search alerts newer than delay (format must be compatible with time.ParseDuration)

Format

date-time

-
until?: string

search alerts older than delay (format must be compatible with time.ParseDuration)

+
until?: string

search alerts older than delay (format must be compatible with time.ParseDuration)

Format

date-time

-
value?: string

show alerts for this value (used with scope)

-

Generated using TypeDoc

\ No newline at end of file +
value?: string

show alerts for this value (used with scope)

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.HeadDecisionsParams.html b/interfaces/crowdsec_client.APITypes.HeadDecisionsParams.html index e46b4e89..94dce446 100644 --- a/interfaces/crowdsec_client.APITypes.HeadDecisionsParams.html +++ b/interfaces/crowdsec_client.APITypes.HeadDecisionsParams.html @@ -1,13 +1,13 @@ -HeadDecisionsParams | Node CrowdSec Client

Hierarchy

  • HeadDecisionsParams

Properties

contains? +HeadDecisionsParams | Node CrowdSec Client

Hierarchy

  • HeadDecisionsParams

Properties

contains?: boolean

indicate if you're looking for a decision that contains the value, or that is contained within the value

-
ip?: string

IP to search for (shorthand for scope=ip&value=)

-
range?: string

range to search for (shorthand for scope=range&value=)

-
scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

-
type?: string

type of decision

-
value?: string

the value to match for in the specified scope

-

Generated using TypeDoc

\ No newline at end of file +
ip?: string

IP to search for (shorthand for scope=ip&value=)

+
range?: string

range to search for (shorthand for scope=range&value=)

+
scope?: string

scope to which the decision applies (ie. IP/Range/Username/Session/...)

+
type?: string

type of decision

+
value?: string

the value to match for in the specified scope

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.HeadDecisionsStreamParams.html b/interfaces/crowdsec_client.APITypes.HeadDecisionsStreamParams.html index 8560a708..56443624 100644 --- a/interfaces/crowdsec_client.APITypes.HeadDecisionsStreamParams.html +++ b/interfaces/crowdsec_client.APITypes.HeadDecisionsStreamParams.html @@ -1,3 +1,3 @@ -HeadDecisionsStreamParams | Node CrowdSec Client

Hierarchy

  • HeadDecisionsStreamParams

Properties

startup? +HeadDecisionsStreamParams | Node CrowdSec Client

Hierarchy

  • HeadDecisionsStreamParams

Properties

Properties

startup?: boolean

If true, means that the bouncer is starting and a full list must be provided

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.Metrics.html b/interfaces/crowdsec_client.APITypes.Metrics.html index 8b33cd75..0002e205 100644 --- a/interfaces/crowdsec_client.APITypes.Metrics.html +++ b/interfaces/crowdsec_client.APITypes.Metrics.html @@ -1,6 +1,6 @@ Metrics | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.MetricsAgentInfo.html b/interfaces/crowdsec_client.APITypes.MetricsAgentInfo.html index 7fac04dd..ef0e00de 100644 --- a/interfaces/crowdsec_client.APITypes.MetricsAgentInfo.html +++ b/interfaces/crowdsec_client.APITypes.MetricsAgentInfo.html @@ -1,11 +1,11 @@ MetricsAgentInfo | Node CrowdSec Client

MetricsAgentInfo Software version info (so we can warn users about out-of-date software). The software name and the version are "guessed" from the user-agent

-

Hierarchy

  • MetricsAgentInfo

Properties

Hierarchy

  • MetricsAgentInfo

Properties

last_push?: string

last agent push date

-
last_update?: string

last agent update date

-
name?: string

name of the component

-
version?: string

software version

-

Generated using TypeDoc

\ No newline at end of file +
last_update?: string

last agent update date

+
name?: string

name of the component

+
version?: string

software version

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.MetricsBouncerInfo.html b/interfaces/crowdsec_client.APITypes.MetricsBouncerInfo.html index 34739a0a..d787e43b 100644 --- a/interfaces/crowdsec_client.APITypes.MetricsBouncerInfo.html +++ b/interfaces/crowdsec_client.APITypes.MetricsBouncerInfo.html @@ -1,11 +1,11 @@ MetricsBouncerInfo | Node CrowdSec Client

MetricsBouncerInfo Software version info (so we can warn users about out-of-date software). The software name and the version are "guessed" from the user-agent

-

Hierarchy

  • MetricsBouncerInfo

Properties

Hierarchy

  • MetricsBouncerInfo

Properties

custom_name?: string

name of the component

-
last_pull?: string

last bouncer pull date

-
name?: string

bouncer type (firewall, php ...)

-
version?: string

software version

-

Generated using TypeDoc

\ No newline at end of file +
last_pull?: string

last bouncer pull date

+
name?: string

bouncer type (firewall, php ...)

+
version?: string

software version

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.SearchAlertsParams.html b/interfaces/crowdsec_client.APITypes.SearchAlertsParams.html index ca612103..5e3a4395 100644 --- a/interfaces/crowdsec_client.APITypes.SearchAlertsParams.html +++ b/interfaces/crowdsec_client.APITypes.SearchAlertsParams.html @@ -1,4 +1,4 @@ -SearchAlertsParams | Node CrowdSec Client

Hierarchy

  • SearchAlertsParams

Properties

decision_type? +SearchAlertsParams | Node CrowdSec Client

Hierarchy

  • SearchAlertsParams

Properties

decision_type?: string

restrict results to alerts with decisions matching given type

-
has_active_decision?: boolean

only return alerts with decisions not expired yet

-
ip?: string

IP to search for (shorthand for scope=ip&value=)

-
limit?: number

number of alerts to return

-
origin?: string

restrict results to this origin (ie. lists,CAPI,cscli)

-
range?: string

range to search for (shorthand for scope=range&value=)

-
scenario?: string

show alerts for this scenario

-
scope?: string

show alerts for this scope

-
simulated?: boolean

if set to true, decisions in simulation mode will be returned as well

-
since?: string

search alerts newer than delay (format must be compatible with time.ParseDuration)

+
has_active_decision?: boolean

only return alerts with decisions not expired yet

+
ip?: string

IP to search for (shorthand for scope=ip&value=)

+
limit?: number

number of alerts to return

+
origin?: string

restrict results to this origin (ie. lists,CAPI,cscli)

+
range?: string

range to search for (shorthand for scope=range&value=)

+
scenario?: string

show alerts for this scenario

+
scope?: string

show alerts for this scope

+
simulated?: boolean

if set to true, decisions in simulation mode will be returned as well

+
since?: string

search alerts newer than delay (format must be compatible with time.ParseDuration)

Format

date-time

-
until?: string

search alerts older than delay (format must be compatible with time.ParseDuration)

+
until?: string

search alerts older than delay (format must be compatible with time.ParseDuration)

Format

date-time

-
value?: string

show alerts for this value (used with scope)

-

Generated using TypeDoc

\ No newline at end of file +
value?: string

show alerts for this value (used with scope)

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.Source.html b/interfaces/crowdsec_client.APITypes.Source.html index 9fbbd93e..80e3949c 100644 --- a/interfaces/crowdsec_client.APITypes.Source.html +++ b/interfaces/crowdsec_client.APITypes.Source.html @@ -1,5 +1,5 @@ Source | Node CrowdSec Client

Source

-

Hierarchy

  • Source

Properties

Hierarchy

  • Source

Properties

as_name? as_number? cn? ip? @@ -9,11 +9,11 @@ scope value

Properties

as_name?: string

provided as a convenience when the source is an IP

-
as_number?: string

provided as a convenience when the source is an IP

-
cn?: string
ip?: string

provided as a convenience when the source is an IP

-
latitude?: number

Format

float

-
longitude?: number

Format

float

-
range?: string

provided as a convenience when the source is an IP

-
scope: string

the scope of a source : ip,range,username,etc

-
value: string

the value of a source : the ip, the range, the username,etc

-

Generated using TypeDoc

\ No newline at end of file +
as_number?: string

provided as a convenience when the source is an IP

+
cn?: string
ip?: string

provided as a convenience when the source is an IP

+
latitude?: number

Format

float

+
longitude?: number

Format

float

+
range?: string

provided as a convenience when the source is an IP

+
scope: string

the scope of a source : ip,range,username,etc

+
value: string

the value of a source : the ip, the range, the username,etc

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.WatcherAuthRequest.html b/interfaces/crowdsec_client.APITypes.WatcherAuthRequest.html index 4c78bce8..71cfb364 100644 --- a/interfaces/crowdsec_client.APITypes.WatcherAuthRequest.html +++ b/interfaces/crowdsec_client.APITypes.WatcherAuthRequest.html @@ -1,7 +1,7 @@ WatcherAuthRequest | Node CrowdSec Client

WatcherAuthRequest

-

Hierarchy

  • WatcherAuthRequest

Properties

Hierarchy

  • WatcherAuthRequest

Properties

machine_id: string
password: string

Format

password

-
scenarios?: string[]

the list of scenarios enabled on the watcher

-

Generated using TypeDoc

\ No newline at end of file +

Properties

machine_id: string
password: string

Format

password

+
scenarios?: string[]

the list of scenarios enabled on the watcher

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.WatcherAuthResponse.html b/interfaces/crowdsec_client.APITypes.WatcherAuthResponse.html index 2fd16202..08ecd515 100644 --- a/interfaces/crowdsec_client.APITypes.WatcherAuthResponse.html +++ b/interfaces/crowdsec_client.APITypes.WatcherAuthResponse.html @@ -1,6 +1,6 @@ WatcherAuthResponse | Node CrowdSec Client

WatcherAuthResponse the response of a successful authentication

-

Hierarchy

  • WatcherAuthResponse

Properties

Hierarchy

  • WatcherAuthResponse

Properties

Properties

code?: number
expire?: string
token?: string

Generated using TypeDoc

\ No newline at end of file +

Properties

code?: number
expire?: string
token?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.APITypes.WatcherRegistrationRequest.html b/interfaces/crowdsec_client.APITypes.WatcherRegistrationRequest.html index c1f371bf..ff1613ce 100644 --- a/interfaces/crowdsec_client.APITypes.WatcherRegistrationRequest.html +++ b/interfaces/crowdsec_client.APITypes.WatcherRegistrationRequest.html @@ -1,5 +1,5 @@ WatcherRegistrationRequest | Node CrowdSec Client

WatcherRegistrationRequest

-

Hierarchy

  • WatcherRegistrationRequest

Properties

Hierarchy

  • WatcherRegistrationRequest

Properties

Properties

machine_id: string
password: string

Format

password

-

Generated using TypeDoc

\ No newline at end of file +

Properties

machine_id: string
password: string

Format

password

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.IBaseSubObjectOptions.html b/interfaces/crowdsec_client.IBaseSubObjectOptions.html index 0e622915..ffde993b 100644 --- a/interfaces/crowdsec_client.IBaseSubObjectOptions.html +++ b/interfaces/crowdsec_client.IBaseSubObjectOptions.html @@ -1,2 +1,2 @@ -IBaseSubObjectOptions | Node CrowdSec Client

Hierarchy

  • IBaseSubObjectOptions

Properties

Properties

httpClient: AxiosInstance

Generated using TypeDoc

\ No newline at end of file +IBaseSubObjectOptions | Node CrowdSec Client

Hierarchy

  • IBaseSubObjectOptions

Properties

Properties

httpClient: AxiosInstance

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.IBouncerAuthentication.html b/interfaces/crowdsec_client.IBouncerAuthentication.html index c5638d8f..dae822f7 100644 --- a/interfaces/crowdsec_client.IBouncerAuthentication.html +++ b/interfaces/crowdsec_client.IBouncerAuthentication.html @@ -1,2 +1,2 @@ -IBouncerAuthentication | Node CrowdSec Client

Hierarchy

  • IBouncerAuthentication

Properties

Properties

apiKey: string

Generated using TypeDoc

\ No newline at end of file +IBouncerAuthentication | Node CrowdSec Client

Hierarchy

  • IBouncerAuthentication

Properties

Properties

apiKey: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.IBouncerClientOptions.html b/interfaces/crowdsec_client.IBouncerClientOptions.html index fefaa630..cbaea799 100644 --- a/interfaces/crowdsec_client.IBouncerClientOptions.html +++ b/interfaces/crowdsec_client.IBouncerClientOptions.html @@ -1,6 +1,6 @@ -IBouncerClientOptions | Node CrowdSec Client

Hierarchy

Properties

auth +IBouncerClientOptions | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Properties

strictSSL?: boolean
timeout?: number
url: string
userAgent?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.ICrowdSecClientOptions.html b/interfaces/crowdsec_client.ICrowdSecClientOptions.html index 91064943..e49b51eb 100644 --- a/interfaces/crowdsec_client.ICrowdSecClientOptions.html +++ b/interfaces/crowdsec_client.ICrowdSecClientOptions.html @@ -1,5 +1,5 @@ -ICrowdSecClientOptions | Node CrowdSec Client

Hierarchy

Properties

strictSSL? +ICrowdSecClientOptions | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Properties

strictSSL?: boolean
timeout?: number
url: string
userAgent?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.IHTTPOptions.html b/interfaces/crowdsec_client.IHTTPOptions.html index 7b814f92..abc8351c 100644 --- a/interfaces/crowdsec_client.IHTTPOptions.html +++ b/interfaces/crowdsec_client.IHTTPOptions.html @@ -1,5 +1,5 @@ -IHTTPOptions | Node CrowdSec Client

Hierarchy

Properties

strictSSL? +IHTTPOptions | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Properties

strictSSL?: boolean
timeout?: number
url: string
userAgent?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.ITLSAuthentication.html b/interfaces/crowdsec_client.ITLSAuthentication.html index ada2bcbf..cee0f042 100644 --- a/interfaces/crowdsec_client.ITLSAuthentication.html +++ b/interfaces/crowdsec_client.ITLSAuthentication.html @@ -1,4 +1,4 @@ -ITLSAuthentication | Node CrowdSec Client

Hierarchy

  • ITLSAuthentication

Properties

ca +ITLSAuthentication | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Properties

ca: string | Buffer
cert: string | Buffer
key: string | Buffer

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.IWatcherAuthentication.html b/interfaces/crowdsec_client.IWatcherAuthentication.html index b3ce4ded..95cada64 100644 --- a/interfaces/crowdsec_client.IWatcherAuthentication.html +++ b/interfaces/crowdsec_client.IWatcherAuthentication.html @@ -1,4 +1,4 @@ -IWatcherAuthentication | Node CrowdSec Client

Hierarchy

  • IWatcherAuthentication

Properties

autoRenew? +IWatcherAuthentication | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Properties

autoRenew?: boolean
machineID: string
password: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client.IWatcherClientOptions.html b/interfaces/crowdsec_client.IWatcherClientOptions.html index a6800fe1..d637b93f 100644 --- a/interfaces/crowdsec_client.IWatcherClientOptions.html +++ b/interfaces/crowdsec_client.IWatcherClientOptions.html @@ -1,11 +1,11 @@ -IWatcherClientOptions | Node CrowdSec Client

Hierarchy

Properties

auth? +IWatcherClientOptions | Node CrowdSec Client

Hierarchy

Properties

heartbeat?: number | boolean

send heartbeat periodically +

Properties

heartbeat?: number | boolean

send heartbeat periodically pass number to specify ms between call

-
scenarios?: string[]

scenarios handled by this watcher

-
strictSSL?: boolean
timeout?: number
url: string
userAgent?: string

Generated using TypeDoc

\ No newline at end of file +
scenarios?: string[]

scenarios handled by this watcher

+
strictSSL?: boolean
timeout?: number
url: string
userAgent?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client_scenarios.IExtractedIP.html b/interfaces/crowdsec_client_scenarios.IExtractedIP.html index e41d11fd..d765444d 100644 --- a/interfaces/crowdsec_client_scenarios.IExtractedIP.html +++ b/interfaces/crowdsec_client_scenarios.IExtractedIP.html @@ -1,5 +1,5 @@ -IExtractedIP | Node CrowdSec Client

Hierarchy

  • IExtractedIP

Properties

address +IExtractedIP | Node CrowdSec Client

Hierarchy

  • IExtractedIP

Properties

address: AddressObject
ip: string
trustedProxy?: boolean
valid?: boolean

Generated using TypeDoc

\ No newline at end of file +

Properties

address: AddressObject
ip: string
trustedProxy?: boolean
valid?: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client_scenarios.IIpExtractionResult.html b/interfaces/crowdsec_client_scenarios.IIpExtractionResult.html index e80d3bfb..fbe0c17a 100644 --- a/interfaces/crowdsec_client_scenarios.IIpExtractionResult.html +++ b/interfaces/crowdsec_client_scenarios.IIpExtractionResult.html @@ -1,4 +1,4 @@ -IIpExtractionResult | Node CrowdSec Client

Hierarchy

  • IIpExtractionResult

Properties

confidence +IIpExtractionResult | Node CrowdSec Client

Hierarchy

  • IIpExtractionResult

Properties

Properties

confidence: number

confidence of the ip extraction between 0 and 10

-
ip: string

Generated using TypeDoc

\ No newline at end of file +
ip: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client_scenarios.IMaxMindOptions.html b/interfaces/crowdsec_client_scenarios.IMaxMindOptions.html index 9e6b12a9..0f14b89f 100644 --- a/interfaces/crowdsec_client_scenarios.IMaxMindOptions.html +++ b/interfaces/crowdsec_client_scenarios.IMaxMindOptions.html @@ -1,5 +1,5 @@ -IMaxMindOptions | Node CrowdSec Client

Hierarchy

  • IMaxMindOptions

Properties

paths +IMaxMindOptions | Node CrowdSec Client

Hierarchy

  • IMaxMindOptions

Properties

paths: {
    ASN?: string;
    city?: string;
}

specify the path to ASN and/or city MaxMind files

-

Type declaration

  • Optional ASN?: string
  • Optional city?: string
watchForUpdates?: boolean

Supports reloading the reader when changes occur to the database that is loaded. Default: false

-

Generated using TypeDoc

\ No newline at end of file +

Type declaration

  • Optional ASN?: string
  • Optional city?: string
watchForUpdates?: boolean

Supports reloading the reader when changes occur to the database that is loaded. Default: false

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client_scenarios.IScenario.html b/interfaces/crowdsec_client_scenarios.IScenario.html index 47198756..263cc9b2 100644 --- a/interfaces/crowdsec_client_scenarios.IScenario.html +++ b/interfaces/crowdsec_client_scenarios.IScenario.html @@ -1,4 +1,4 @@ -IScenario | Node CrowdSec Client

Hierarchy

  • IScenario

Implemented by

Properties

announceToLAPI? +IScenario | Node CrowdSec Client

Hierarchy

  • IScenario

Implemented by

Properties

announceToLAPI?: boolean

announce current scenario to LAPI

-
check?: ((ip, req) => undefined | APITypes.Alert | APITypes.Alert[])

Type declaration

enrich?: ((alert, req) => undefined | APITypes.Alert)

Type declaration

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

Type declaration

load?: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • promise to load the scenario

      -

      Returns Promise<void>

loaded?: boolean

is the scenario loaded ?

-
name: string

name of the scenario

-

Generated using TypeDoc

\ No newline at end of file +
check?: ((ip, req) => undefined | APITypes.Alert | APITypes.Alert[])

Type declaration

enrich?: ((alert, req) => undefined | APITypes.Alert)

Type declaration

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

Type declaration

load?: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • promise to load the scenario

      +

      Returns Promise<void>

loaded?: boolean

is the scenario loaded ?

+
name: string

name of the scenario

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client_scenarios.IScenarioOptions.html b/interfaces/crowdsec_client_scenarios.IScenarioOptions.html index b338ca64..88c831ea 100644 --- a/interfaces/crowdsec_client_scenarios.IScenarioOptions.html +++ b/interfaces/crowdsec_client_scenarios.IScenarioOptions.html @@ -1,5 +1,5 @@ -IScenarioOptions | Node CrowdSec Client

Hierarchy

  • IScenarioOptions

Properties

allow-list? +IScenarioOptions | Node CrowdSec Client

Hierarchy

  • IScenarioOptions

Properties

allow-list?: {
    allowed?: string[];
}

Type declaration

  • Optional allowed?: string[]
maxIpCache?: number
maxmind?: IMaxMindOptions
x-forwarded-for?: IXForwardedForOptions

Generated using TypeDoc

\ No newline at end of file +

Properties

allow-list?: {
    allowed?: string[];
}

Type declaration

  • Optional allowed?: string[]
maxIpCache?: number
maxmind?: IMaxMindOptions
x-forwarded-for?: IXForwardedForOptions

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_client_scenarios.IXForwardedForOptions.html b/interfaces/crowdsec_client_scenarios.IXForwardedForOptions.html index 7d26d286..44a467f4 100644 --- a/interfaces/crowdsec_client_scenarios.IXForwardedForOptions.html +++ b/interfaces/crowdsec_client_scenarios.IXForwardedForOptions.html @@ -1,4 +1,4 @@ -IXForwardedForOptions | Node CrowdSec Client

Hierarchy

  • IXForwardedForOptions

Properties

alertOnNotTrustedIps? +IXForwardedForOptions | Node CrowdSec Client

Hierarchy

  • IXForwardedForOptions

Properties

alertOnNotTrustedIps?: boolean
trustedProxies?: string[]

ips/cidr of allowed reverse proxies

-

Generated using TypeDoc

\ No newline at end of file +

Properties

alertOnNotTrustedIps?: boolean
trustedProxies?: string[]

ips/cidr of allowed reverse proxies

+

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_http_middleware.ICommonOptions.html b/interfaces/crowdsec_http_middleware.ICommonOptions.html index 6e793013..36cdff12 100644 --- a/interfaces/crowdsec_http_middleware.ICommonOptions.html +++ b/interfaces/crowdsec_http_middleware.ICommonOptions.html @@ -1,5 +1,5 @@ -ICommonOptions | Node CrowdSec Client

Hierarchy

Properties

logger? +ICommonOptions | Node CrowdSec Client

Hierarchy

Properties

Properties

logger?: loggerOption
maxIpCache?: number

IP objects keep in cache . +

Properties

logger?: loggerOption
maxIpCache?: number

IP objects keep in cache . ( usefully on really high load, without multiples instances )

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/crowdsec_http_middleware.ICrowdSecHTTPMiddlewareOptions.html b/interfaces/crowdsec_http_middleware.ICrowdSecHTTPMiddlewareOptions.html index 69ec33bb..fb2c48a9 100644 --- a/interfaces/crowdsec_http_middleware.ICrowdSecHTTPMiddlewareOptions.html +++ b/interfaces/crowdsec_http_middleware.ICrowdSecHTTPMiddlewareOptions.html @@ -1,4 +1,4 @@ -ICrowdSecHTTPMiddlewareOptions | Node CrowdSec Client

Hierarchy

Properties

bouncer? +ICrowdSecHTTPMiddlewareOptions | Node CrowdSec Client

Properties

clientOptions?: Omit<ICrowdSecClientOptions, "url">
getCurrentIp?: getCurrentIpFn
logger?: loggerOption
maxIpCache?: number

IP objects keep in cache . ( usefully on really high load, without multiples instances )

-
protectedByHeader?: boolean
url: string

Generated using TypeDoc

\ No newline at end of file +
protectedByHeader?: boolean
url: string

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/crowdsec_client.APITypes.Alerts.DeleteAlert.html b/modules/crowdsec_client.APITypes.Alerts.DeleteAlert.html index 84dc7ade..50af1894 100644 --- a/modules/crowdsec_client.APITypes.Alerts.DeleteAlert.html +++ b/modules/crowdsec_client.APITypes.Alerts.DeleteAlert.html @@ -3,7 +3,7 @@

Tags

watchers

Name

DeleteAlert

Summary

DeleteAlert

Request

DELETE:/alerts/{alert_id}

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.DeleteAlerts.html b/modules/crowdsec_client.APITypes.Alerts.DeleteAlerts.html index d8a219a3..f46be810 100644 --- a/modules/crowdsec_client.APITypes.Alerts.DeleteAlerts.html +++ b/modules/crowdsec_client.APITypes.Alerts.DeleteAlerts.html @@ -3,7 +3,7 @@

Tags

watchers

Name

DeleteAlerts

Summary

deleteAlerts

Request

DELETE:/alerts

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.GetAlertbyId.html b/modules/crowdsec_client.APITypes.Alerts.GetAlertbyId.html index 338cddc0..d7bc1230 100644 --- a/modules/crowdsec_client.APITypes.Alerts.GetAlertbyId.html +++ b/modules/crowdsec_client.APITypes.Alerts.GetAlertbyId.html @@ -3,7 +3,7 @@

Tags

watchers

Name

GetAlertbyId

Summary

GetAlertByID

Request

GET:/alerts/{alert_id}

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.HeadAlertbyId.html b/modules/crowdsec_client.APITypes.Alerts.HeadAlertbyId.html index 383551db..1a8d088b 100644 --- a/modules/crowdsec_client.APITypes.Alerts.HeadAlertbyId.html +++ b/modules/crowdsec_client.APITypes.Alerts.HeadAlertbyId.html @@ -3,7 +3,7 @@

Tags

watchers

Name

HeadAlertbyId

Summary

GetAlertByID

Request

HEAD:/alerts/{alert_id}

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.HeadAlerts.html b/modules/crowdsec_client.APITypes.Alerts.HeadAlerts.html index 8ca1b90a..890ed5e3 100644 --- a/modules/crowdsec_client.APITypes.Alerts.HeadAlerts.html +++ b/modules/crowdsec_client.APITypes.Alerts.HeadAlerts.html @@ -3,7 +3,7 @@

Tags

watchers

Name

HeadAlerts

Summary

searchAlerts

Request

HEAD:/alerts

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.PushAlerts.html b/modules/crowdsec_client.APITypes.Alerts.PushAlerts.html index e48a7033..1f217fab 100644 --- a/modules/crowdsec_client.APITypes.Alerts.PushAlerts.html +++ b/modules/crowdsec_client.APITypes.Alerts.PushAlerts.html @@ -3,7 +3,7 @@

Tags

watchers

Name

PushAlerts

Summary

pushAlerts

Request

POST:/alerts

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.SearchAlerts.html b/modules/crowdsec_client.APITypes.Alerts.SearchAlerts.html index 1d30c9e7..62f7b88c 100644 --- a/modules/crowdsec_client.APITypes.Alerts.SearchAlerts.html +++ b/modules/crowdsec_client.APITypes.Alerts.SearchAlerts.html @@ -3,7 +3,7 @@

Tags

watchers

Name

SearchAlerts

Summary

searchAlerts

Request

GET:/alerts

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Alerts.html b/modules/crowdsec_client.APITypes.Alerts.html index 7f125d54..2ba52963 100644 --- a/modules/crowdsec_client.APITypes.Alerts.html +++ b/modules/crowdsec_client.APITypes.Alerts.html @@ -1,4 +1,4 @@ -Alerts | Node CrowdSec Client

Index

Namespaces

DeleteAlert +Alerts | Node CrowdSec Client

Index

Namespaces

DeleteAlert DeleteAlerts GetAlertbyId HeadAlertbyId diff --git a/modules/crowdsec_client.APITypes.Decisions.DeleteDecision.html b/modules/crowdsec_client.APITypes.Decisions.DeleteDecision.html index 76f2d2c9..ee31c856 100644 --- a/modules/crowdsec_client.APITypes.Decisions.DeleteDecision.html +++ b/modules/crowdsec_client.APITypes.Decisions.DeleteDecision.html @@ -3,7 +3,7 @@

Tags

watchers

Name

DeleteDecision

Summary

DeleteDecision

Request

DELETE:/decisions/{decision_id}

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Decisions.DeleteDecisions.html b/modules/crowdsec_client.APITypes.Decisions.DeleteDecisions.html index aaac2d6d..101944f4 100644 --- a/modules/crowdsec_client.APITypes.Decisions.DeleteDecisions.html +++ b/modules/crowdsec_client.APITypes.Decisions.DeleteDecisions.html @@ -3,7 +3,7 @@

Tags

watchers

Name

DeleteDecisions

Summary

deleteDecisions

Request

DELETE:/decisions

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Decisions.GetDecisions.html b/modules/crowdsec_client.APITypes.Decisions.GetDecisions.html index 92d2d4bc..326262ba 100644 --- a/modules/crowdsec_client.APITypes.Decisions.GetDecisions.html +++ b/modules/crowdsec_client.APITypes.Decisions.GetDecisions.html @@ -3,7 +3,7 @@

Tags

bouncers

Name

GetDecisions

Summary

getDecisions

Request

GET:/decisions

-

Index

Type Aliases

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Decisions.GetDecisionsStream.html b/modules/crowdsec_client.APITypes.Decisions.GetDecisionsStream.html index 0d8a7a26..6a5fd18e 100644 --- a/modules/crowdsec_client.APITypes.Decisions.GetDecisionsStream.html +++ b/modules/crowdsec_client.APITypes.Decisions.GetDecisionsStream.html @@ -3,7 +3,7 @@

Tags

bouncers

Name

GetDecisionsStream

Summary

getDecisionsStream

Request

GET:/decisions/stream

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Decisions.HeadDecisions.html b/modules/crowdsec_client.APITypes.Decisions.HeadDecisions.html index 831b1ab9..7e70ab44 100644 --- a/modules/crowdsec_client.APITypes.Decisions.HeadDecisions.html +++ b/modules/crowdsec_client.APITypes.Decisions.HeadDecisions.html @@ -3,7 +3,7 @@

Tags

bouncers

Name

HeadDecisions

Summary

GetDecisions

Request

HEAD:/decisions

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.html b/modules/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.html index fd7ca332..e4b592df 100644 --- a/modules/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.html +++ b/modules/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.html @@ -3,7 +3,7 @@

Tags

bouncers

Name

HeadDecisionsStream

Summary

GetDecisionsStream

Request

HEAD:/decisions/stream

-

Secure

Index

Type Aliases

RequestBody +

Secure

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Decisions.html b/modules/crowdsec_client.APITypes.Decisions.html index 3af64ce0..160857fc 100644 --- a/modules/crowdsec_client.APITypes.Decisions.html +++ b/modules/crowdsec_client.APITypes.Decisions.html @@ -1,4 +1,4 @@ -Decisions | Node CrowdSec Client

Index

Namespaces

DeleteDecision +Decisions | Node CrowdSec Client

Index

Namespaces

DeleteDecision DeleteDecisions GetDecisions GetDecisionsStream diff --git a/modules/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.html b/modules/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.html index ab278ac3..a802ca7a 100644 --- a/modules/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.html +++ b/modules/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.html @@ -3,7 +3,7 @@

Tags

watchers

Name

AuthenticateWatcher

Summary

AuthenticateWatcher

Request

POST:/watchers/login

-

Index

Type Aliases

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Watchers.RegisterWatcher.html b/modules/crowdsec_client.APITypes.Watchers.RegisterWatcher.html index 0a7ea1ea..e805c4fd 100644 --- a/modules/crowdsec_client.APITypes.Watchers.RegisterWatcher.html +++ b/modules/crowdsec_client.APITypes.Watchers.RegisterWatcher.html @@ -3,7 +3,7 @@

Tags

watchers

Name

RegisterWatcher

Summary

RegisterWatcher

Request

POST:/watchers

-

Index

Type Aliases

Index

Type Aliases

RequestBody RequestHeaders RequestParams RequestQuery diff --git a/modules/crowdsec_client.APITypes.Watchers.html b/modules/crowdsec_client.APITypes.Watchers.html index b724f633..9071644d 100644 --- a/modules/crowdsec_client.APITypes.Watchers.html +++ b/modules/crowdsec_client.APITypes.Watchers.html @@ -1,3 +1,3 @@ -Watchers | Node CrowdSec Client

Index

Namespaces

AuthenticateWatcher +Watchers | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/crowdsec_client.APITypes.html b/modules/crowdsec_client.APITypes.html index c5793338..65cff68c 100644 --- a/modules/crowdsec_client.APITypes.html +++ b/modules/crowdsec_client.APITypes.html @@ -1,4 +1,4 @@ -APITypes | Node CrowdSec Client

Index

Namespaces

Alerts +APITypes | Node CrowdSec Client

Index

Namespaces

Interfaces

Alert diff --git a/types/crowdsec_client.APITypes.AddAlertsRequest.html b/types/crowdsec_client.APITypes.AddAlertsRequest.html index 492de11d..8eb7a7cf 100644 --- a/types/crowdsec_client.APITypes.AddAlertsRequest.html +++ b/types/crowdsec_client.APITypes.AddAlertsRequest.html @@ -1,2 +1,2 @@ AddAlertsRequest | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.AddAlertsResponse.html b/types/crowdsec_client.APITypes.AddAlertsResponse.html index 7a13ffd0..de3e23a5 100644 --- a/types/crowdsec_client.APITypes.AddAlertsResponse.html +++ b/types/crowdsec_client.APITypes.AddAlertsResponse.html @@ -1,2 +1,2 @@ AddAlertsResponse | Node CrowdSec Client
AddAlertsResponse: string[]

AddAlertsResponse

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestBody.html index b6c930b8..5202be44 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +RequestBody | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestHeaders.html index 0686461f..a4615a9e 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +RequestHeaders | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestParams.html index 7d5a14da..4e18a728 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client
RequestParams: {
    alertId: string;
}

Type declaration

  • alertId: string

Generated using TypeDoc

\ No newline at end of file +RequestParams | Node CrowdSec Client
RequestParams: {
    alertId: string;
}

Type declaration

  • alertId: string

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestQuery.html index 70557cb6..3a64dff4 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +RequestQuery | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.ResponseBody.html index 5e343b3a..d06905b7 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlert.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlert.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +ResponseBody | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestBody.html index 678462c5..6be95bf8 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +RequestBody | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestHeaders.html index e2ef231d..cad31567 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +RequestHeaders | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestParams.html index 4d89d731..0af02d14 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file +RequestParams | Node CrowdSec Client

Generated using TypeDoc

\ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestQuery.html index 6acb814a..835aa9f3 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.RequestQuery.html @@ -9,4 +9,4 @@
  • Optional until?: string

    delete alerts added before YYYY-mm-DD-HH:MM:SS

    Format

    date-time

  • Optional value?: string

    delete alerts for this value (used with scope)

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.ResponseBody.html index d30bcf3a..1a8c1531 100644 --- a/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.DeleteAlerts.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestBody.html index 04e9919a..64ed3c03 100644 --- a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestHeaders.html index 8c7fd99b..9d9dc989 100644 --- a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestParams.html index 544e46ce..0542952d 100644 --- a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client
    RequestParams: {
        alertId: string;
    }

    Type declaration

    • alertId: string

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client
    RequestParams: {
        alertId: string;
    }

    Type declaration

    • alertId: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestQuery.html index 0d9e2848..33c0f072 100644 --- a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.ResponseBody.html index 4810270b..08c9d398 100644 --- a/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.GetAlertbyId.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestBody.html index c174a292..3f1a4d01 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestHeaders.html index dba3c76b..739dad20 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestParams.html index a7533808..e9617c61 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client
    RequestParams: {
        alertId: string;
    }

    Type declaration

    • alertId: string

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client
    RequestParams: {
        alertId: string;
    }

    Type declaration

    • alertId: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestQuery.html index 4a669764..9f2bb9ca 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.ResponseBody.html index 6c0f3126..1cc3f1f0 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlertbyId.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestBody.html index 95147786..cf33fa2f 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestHeaders.html index 3d508717..aaec3df2 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestParams.html index d4bed19b..fd95f993 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestQuery.html index 380bd8f9..ac686dd6 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.RequestQuery.html @@ -12,4 +12,4 @@
  • Optional until?: string

    search alerts older than delay (format must be compatible with time.ParseDuration)

    Format

    date-time

  • Optional value?: string

    show alerts for this value (used with scope)

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.ResponseBody.html index 07948fc6..d0680cd6 100644 --- a/types/crowdsec_client.APITypes.Alerts.HeadAlerts.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.HeadAlerts.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestBody.html index ebe29804..97fff08f 100644 --- a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestHeaders.html index 450c0a13..7375a254 100644 --- a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestParams.html index 118500f2..20d416ea 100644 --- a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestQuery.html index bce80d56..aa6fe701 100644 --- a/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.PushAlerts.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.PushAlerts.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.PushAlerts.ResponseBody.html index bc712bca..ceb3e723 100644 --- a/types/crowdsec_client.APITypes.Alerts.PushAlerts.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.PushAlerts.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestBody.html b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestBody.html index 88813831..4249d262 100644 --- a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestBody.html +++ b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestHeaders.html b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestHeaders.html index 1c6bfb00..2239df7b 100644 --- a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestParams.html b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestParams.html index e29ed559..885c0657 100644 --- a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestParams.html +++ b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestQuery.html b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestQuery.html index fce83c53..4cf36ab2 100644 --- a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.RequestQuery.html @@ -12,4 +12,4 @@
  • Optional until?: string

    search alerts older than delay (format must be compatible with time.ParseDuration)

    Format

    date-time

  • Optional value?: string

    show alerts for this value (used with scope)

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.ResponseBody.html b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.ResponseBody.html index 4532a0f9..5dfa8f7e 100644 --- a/types/crowdsec_client.APITypes.Alerts.SearchAlerts.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Alerts.SearchAlerts.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestBody.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestBody.html index c0f1b40c..5fdb5dfe 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestBody.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestHeaders.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestHeaders.html index 2f8a347d..79fcf0bd 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestParams.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestParams.html index fe923eb2..849d9e20 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestParams.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client
    RequestParams: {
        decisionId: string;
    }

    Type declaration

    • decisionId: string

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client
    RequestParams: {
        decisionId: string;
    }

    Type declaration

    • decisionId: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestQuery.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestQuery.html index b172b8a6..4783e9ef 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.ResponseBody.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.ResponseBody.html index 6fb1b6f4..bc7a1bf0 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecision.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecision.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestBody.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestBody.html index dc135d40..5ce6a08f 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestBody.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestHeaders.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestHeaders.html index 5b344a42..62cde0fb 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestParams.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestParams.html index fadfd88f..bb863104 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestParams.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestQuery.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestQuery.html index 5f87d8bb..0cc47978 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.RequestQuery.html @@ -4,4 +4,4 @@
  • Optional scope?: string

    scope to which the decision applies (ie. IP/Range/Username/Session/...)

  • Optional type?: string

    type of decision

  • Optional value?: string

    the value to match for in the specified scope

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.ResponseBody.html b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.ResponseBody.html index 17bdf377..452fcc9d 100644 --- a/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Decisions.DeleteDecisions.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestBody.html b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestBody.html index 67356c2e..6f91e86e 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestBody.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestHeaders.html b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestHeaders.html index 303440e4..95167830 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestParams.html b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestParams.html index 476523f6..5be41ed6 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestParams.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestQuery.html b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestQuery.html index 6b9b3e51..50eb57b9 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisions.RequestQuery.html @@ -7,4 +7,4 @@
  • Optional scope?: string

    scope to which the decision applies (ie. IP/Range/Username/Session/...)

  • Optional type?: string

    type of decision

  • Optional value?: string

    the value to match for in the specified scope

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisions.ResponseBody.html b/types/crowdsec_client.APITypes.Decisions.GetDecisions.ResponseBody.html index 8039b841..1f3e6c0b 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisions.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisions.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestBody.html b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestBody.html index 3e72c015..923030f8 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestBody.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestHeaders.html b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestHeaders.html index 1423cfcb..6d950360 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestParams.html b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestParams.html index baff14fb..ada85983 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestParams.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestQuery.html b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestQuery.html index 3ccf86d1..ef545d5f 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.RequestQuery.html @@ -3,4 +3,4 @@
  • Optional scenarios_not_containing?: string

    Comma separated words. If provided, only the decisions created by scenarios, not containing any of the provided word would be returned.

  • Optional scopes?: string

    Comma separated scopes of decisions to fetch

  • Optional startup?: boolean

    If true, means that the bouncers is starting and a full list must be provided

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.ResponseBody.html b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.ResponseBody.html index 4857bd98..31424c8a 100644 --- a/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Decisions.GetDecisionsStream.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestBody.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestBody.html index c2029d54..323cce40 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestBody.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestHeaders.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestHeaders.html index e1e81e35..7783131f 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestParams.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestParams.html index 2171aeca..bc609ffc 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestParams.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestQuery.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestQuery.html index cb3e5344..7339a01d 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.RequestQuery.html @@ -4,4 +4,4 @@
  • Optional scope?: string

    scope to which the decision applies (ie. IP/Range/Username/Session/...)

  • Optional type?: string

    type of decision

  • Optional value?: string

    the value to match for in the specified scope

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.ResponseBody.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.ResponseBody.html index 90aa5558..d34fdada 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisions.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisions.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestBody.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestBody.html index 05327135..35bbae0a 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestBody.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestHeaders.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestHeaders.html index 52c17f88..2565839a 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestParams.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestParams.html index d4c51b43..2b307d77 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestParams.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestQuery.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestQuery.html index e1de36fe..89a101cd 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.RequestQuery.html @@ -1,2 +1,2 @@ RequestQuery | Node CrowdSec Client
    RequestQuery: {
        startup?: boolean;
    }

    Type declaration

    • Optional startup?: boolean

      If true, means that the bouncer is starting and a full list must be provided

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.ResponseBody.html b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.ResponseBody.html index f59d846c..014c9461 100644 --- a/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Decisions.HeadDecisionsStream.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.GetAlertsResponse.html b/types/crowdsec_client.APITypes.GetAlertsResponse.html index eefd812f..b92405eb 100644 --- a/types/crowdsec_client.APITypes.GetAlertsResponse.html +++ b/types/crowdsec_client.APITypes.GetAlertsResponse.html @@ -1,2 +1,2 @@ GetAlertsResponse | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.GetDecisionsResponse.html b/types/crowdsec_client.APITypes.GetDecisionsResponse.html index 81e66865..62790c9e 100644 --- a/types/crowdsec_client.APITypes.GetDecisionsResponse.html +++ b/types/crowdsec_client.APITypes.GetDecisionsResponse.html @@ -1,2 +1,2 @@ GetDecisionsResponse | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Meta.html b/types/crowdsec_client.APITypes.Meta.html index b547652e..0e044b8f 100644 --- a/types/crowdsec_client.APITypes.Meta.html +++ b/types/crowdsec_client.APITypes.Meta.html @@ -1,3 +1,3 @@ Meta | Node CrowdSec Client
    Meta: {
        key?: string;
        value?: string;
    }[]

    Meta the Meta data of the Alert itself

    -

    Type declaration

    • Optional key?: string
    • Optional value?: string

    Generated using TypeDoc

    \ No newline at end of file +

    Type declaration

    • Optional key?: string
    • Optional value?: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestBody.html b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestBody.html index 3c0b74bb..565d52f5 100644 --- a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestBody.html +++ b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestHeaders.html b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestHeaders.html index e05bfcd0..8b60f82c 100644 --- a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestParams.html b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestParams.html index 881cd10e..5188ff63 100644 --- a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestParams.html +++ b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestQuery.html b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestQuery.html index 54bf4896..93b0d609 100644 --- a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.ResponseBody.html b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.ResponseBody.html index 0864815e..ea9e5d63 100644 --- a/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Watchers.AuthenticateWatcher.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestBody.html b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestBody.html index f2e4e573..f90ad6ca 100644 --- a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestBody.html +++ b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestBody.html @@ -1 +1 @@ -RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestHeaders.html b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestHeaders.html index 1122e8f1..60b7b7ca 100644 --- a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestHeaders.html +++ b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestHeaders | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestParams.html b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestParams.html index 06cec11e..1c4198e0 100644 --- a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestParams.html +++ b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestParams.html @@ -1 +1 @@ -RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestParams | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestQuery.html b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestQuery.html index 7358692a..d2603546 100644 --- a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestQuery.html +++ b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.RequestQuery.html @@ -1 +1 @@ -RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +RequestQuery | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.ResponseBody.html b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.ResponseBody.html index 03ccf3a5..1b6ac2a3 100644 --- a/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.ResponseBody.html +++ b/types/crowdsec_client.APITypes.Watchers.RegisterWatcher.ResponseBody.html @@ -1 +1 @@ -ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +ResponseBody | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.decisionOrigin.html b/types/crowdsec_client.APITypes.decisionOrigin.html index 4e984a5e..ec19e3bd 100644 --- a/types/crowdsec_client.APITypes.decisionOrigin.html +++ b/types/crowdsec_client.APITypes.decisionOrigin.html @@ -1 +1 @@ -decisionOrigin | Node CrowdSec Client
    decisionOrigin: "capi" | "crowdsec" | "cscli" | "console" | "cscli-import" | "lists" | string

    Generated using TypeDoc

    \ No newline at end of file +decisionOrigin | Node CrowdSec Client
    decisionOrigin: "capi" | "crowdsec" | "cscli" | "console" | "cscli-import" | "lists" | string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.APITypes.decisionType.html b/types/crowdsec_client.APITypes.decisionType.html index c1a2fe6d..0cc359c5 100644 --- a/types/crowdsec_client.APITypes.decisionType.html +++ b/types/crowdsec_client.APITypes.decisionType.html @@ -1 +1 @@ -decisionType | Node CrowdSec Client
    decisionType: "ban" | "captcha" | string

    Generated using TypeDoc

    \ No newline at end of file +decisionType | Node CrowdSec Client
    decisionType: "ban" | "captcha" | string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.CallBack.html b/types/crowdsec_client.CallBack.html index de969f56..846e2a05 100644 --- a/types/crowdsec_client.CallBack.html +++ b/types/crowdsec_client.CallBack.html @@ -1 +1 @@ -CallBack | Node CrowdSec Client

    Type alias CallBack<Scopes, Origins>

    CallBack<Scopes, Origins>: ((err?, data?) => any)

    Type Parameters

    Type declaration

      • (err?, data?): any
      • Parameters

        Returns any

    Generated using TypeDoc

    \ No newline at end of file +CallBack | Node CrowdSec Client

    Type alias CallBack<Scopes, Origins>

    CallBack<Scopes, Origins>: ((err?, data?) => any)

    Type Parameters

    Type declaration

      • (err?, data?): any
      • Parameters

        Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.CallBackParams.html b/types/crowdsec_client.CallBackParams.html index 882d7e8c..cb45700b 100644 --- a/types/crowdsec_client.CallBackParams.html +++ b/types/crowdsec_client.CallBackParams.html @@ -1 +1 @@ -CallBackParams | Node CrowdSec Client

    Type alias CallBackParams<Scopes, Origins>

    CallBackParams<Scopes, Origins>: {
        decision: Decision<Scopes, Origins>;
        type: "added" | "deleted";
    }

    Type Parameters

    Type declaration

    • decision: Decision<Scopes, Origins>
    • type: "added" | "deleted"

    Generated using TypeDoc

    \ No newline at end of file +CallBackParams | Node CrowdSec Client

    Type alias CallBackParams<Scopes, Origins>

    CallBackParams<Scopes, Origins>: {
        decision: Decision<Scopes, Origins>;
        type: "added" | "deleted";
    }

    Type Parameters

    Type declaration

    • decision: Decision<Scopes, Origins>
    • type: "added" | "deleted"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.DecisionsStreamEvents.html b/types/crowdsec_client.DecisionsStreamEvents.html index a4e8986c..9d0e07f5 100644 --- a/types/crowdsec_client.DecisionsStreamEvents.html +++ b/types/crowdsec_client.DecisionsStreamEvents.html @@ -1 +1 @@ -DecisionsStreamEvents | Node CrowdSec Client

    Type alias DecisionsStreamEvents<Scopes, Origins>

    DecisionsStreamEvents<Scopes, Origins>: {
        added: ((decision) => void);
        close: (() => void);
        deleted: ((decision) => void);
        error: ((error) => void);
        parsed: ((decisions) => void);
        pause: (() => void);
        raw: ((decisions) => void);
        resume: (() => void);
    }

    Type Parameters

    Type declaration

    • added: ((decision) => void)
        • (decision): void
        • Parameters

          Returns void

    • close: (() => void)
        • (): void
        • Returns void

    • deleted: ((decision) => void)
        • (decision): void
        • Parameters

          Returns void

    • error: ((error) => void)
        • (error): void
        • Parameters

          • error: any

          Returns void

    • parsed: ((decisions) => void)
        • (decisions): void
        • Parameters

          • decisions: Record<"added" | "deleted", Decision<Scopes, Origins>[]>

          Returns void

    • pause: (() => void)
        • (): void
        • Returns void

    • raw: ((decisions) => void)
    • resume: (() => void)
        • (): void
        • Returns void

    Generated using TypeDoc

    \ No newline at end of file +DecisionsStreamEvents | Node CrowdSec Client

    Type alias DecisionsStreamEvents<Scopes, Origins>

    DecisionsStreamEvents<Scopes, Origins>: {
        added: ((decision) => void);
        close: (() => void);
        deleted: ((decision) => void);
        error: ((error) => void);
        parsed: ((decisions) => void);
        pause: (() => void);
        raw: ((decisions) => void);
        resume: (() => void);
    }

    Type Parameters

    Type declaration

    • added: ((decision) => void)
        • (decision): void
        • Parameters

          Returns void

    • close: (() => void)
        • (): void
        • Returns void

    • deleted: ((decision) => void)
        • (decision): void
        • Parameters

          Returns void

    • error: ((error) => void)
        • (error): void
        • Parameters

          • error: any

          Returns void

    • parsed: ((decisions) => void)
        • (decisions): void
        • Parameters

          • decisions: Record<"added" | "deleted", Decision<Scopes, Origins>[]>

          Returns void

    • pause: (() => void)
        • (): void
        • Returns void

    • raw: ((decisions) => void)
    • resume: (() => void)
        • (): void
        • Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.commaSeparatedParams.html b/types/crowdsec_client.commaSeparatedParams.html index 06cae502..4d74a0b3 100644 --- a/types/crowdsec_client.commaSeparatedParams.html +++ b/types/crowdsec_client.commaSeparatedParams.html @@ -1 +1 @@ -commaSeparatedParams | Node CrowdSec Client
    commaSeparatedParams: "scopes" | "origins" | "scenarios_containing" | "scenarios_not_containing"

    Generated using TypeDoc

    \ No newline at end of file +commaSeparatedParams | Node CrowdSec Client
    commaSeparatedParams: "scopes" | "origins" | "scenarios_containing" | "scenarios_not_containing"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client.customPickFromAxiosError.html b/types/crowdsec_client.customPickFromAxiosError.html index be9631f5..32129fe5 100644 --- a/types/crowdsec_client.customPickFromAxiosError.html +++ b/types/crowdsec_client.customPickFromAxiosError.html @@ -1 +1 @@ -customPickFromAxiosError | Node CrowdSec Client
    customPickFromAxiosError: Pick<BaseAxiosError, "config" | "request" | "response">

    Generated using TypeDoc

    \ No newline at end of file +customPickFromAxiosError | Node CrowdSec Client
    customPickFromAxiosError: Pick<BaseAxiosError, "config" | "request" | "response">

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_client_scenarios.IScenarioConstructor.html b/types/crowdsec_client_scenarios.IScenarioConstructor.html index 38f78ca4..21b85976 100644 --- a/types/crowdsec_client_scenarios.IScenarioConstructor.html +++ b/types/crowdsec_client_scenarios.IScenarioConstructor.html @@ -1 +1 @@ -IScenarioConstructor | Node CrowdSec Client
    IScenarioConstructor: (new (option?) => IScenario)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +IScenarioConstructor | Node CrowdSec Client
    IScenarioConstructor: (new (option?) => IScenario)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_http_middleware.ICrowdSecHTTPBouncerMiddlewareOptions.html b/types/crowdsec_http_middleware.ICrowdSecHTTPBouncerMiddlewareOptions.html index ba2931d7..c693c608 100644 --- a/types/crowdsec_http_middleware.ICrowdSecHTTPBouncerMiddlewareOptions.html +++ b/types/crowdsec_http_middleware.ICrowdSecHTTPBouncerMiddlewareOptions.html @@ -1 +1 @@ -ICrowdSecHTTPBouncerMiddlewareOptions | Node CrowdSec Client
    ICrowdSecHTTPBouncerMiddlewareOptions: (IBouncerAuthentication | ITLSAuthentication) & {
        pollingInterval?: number;
    } & ICommonOptions

    Type declaration

    • Optional pollingInterval?: number

    Generated using TypeDoc

    \ No newline at end of file +ICrowdSecHTTPBouncerMiddlewareOptions | Node CrowdSec Client
    ICrowdSecHTTPBouncerMiddlewareOptions: (IBouncerAuthentication | ITLSAuthentication) & {
        pollingInterval?: number;
    } & ICommonOptions

    Type declaration

    • Optional pollingInterval?: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_http_middleware.ICrowdSecHTTPWatcherMiddlewareOptions.html b/types/crowdsec_http_middleware.ICrowdSecHTTPWatcherMiddlewareOptions.html index 48f08a3b..e984bd90 100644 --- a/types/crowdsec_http_middleware.ICrowdSecHTTPWatcherMiddlewareOptions.html +++ b/types/crowdsec_http_middleware.ICrowdSecHTTPWatcherMiddlewareOptions.html @@ -1 +1 @@ -ICrowdSecHTTPWatcherMiddlewareOptions | Node CrowdSec Client
    ICrowdSecHTTPWatcherMiddlewareOptions: (IWatcherAuthentication | ITLSAuthentication) & {
        heartbeat?: boolean;
        scenarios?: (IScenarioConstructor | string)[];
        scenariosOptions?: IScenarioOptions;
    } & ICommonOptions

    Type declaration

    • Optional heartbeat?: boolean
    • Optional scenarios?: (IScenarioConstructor | string)[]
    • Optional scenariosOptions?: IScenarioOptions

    Generated using TypeDoc

    \ No newline at end of file +ICrowdSecHTTPWatcherMiddlewareOptions | Node CrowdSec Client
    ICrowdSecHTTPWatcherMiddlewareOptions: (IWatcherAuthentication | ITLSAuthentication) & {
        heartbeat?: boolean;
        scenarios?: (IScenarioConstructor | string)[];
        scenariosOptions?: IScenarioOptions;
    } & ICommonOptions

    Type declaration

    • Optional heartbeat?: boolean
    • Optional scenarios?: (IScenarioConstructor | string)[]
    • Optional scenariosOptions?: IScenarioOptions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_http_middleware.getCurrentIpFn.html b/types/crowdsec_http_middleware.getCurrentIpFn.html index 6cae8f04..224bb30d 100644 --- a/types/crowdsec_http_middleware.getCurrentIpFn.html +++ b/types/crowdsec_http_middleware.getCurrentIpFn.html @@ -1 +1 @@ -getCurrentIpFn | Node CrowdSec Client
    getCurrentIpFn: ((req) => string)

    Type declaration

      • (req): string
      • Parameters

        • req: IncomingMessage

        Returns string

    Generated using TypeDoc

    \ No newline at end of file +getCurrentIpFn | Node CrowdSec Client
    getCurrentIpFn: ((req) => string)

    Type declaration

      • (req): string
      • Parameters

        • req: IncomingMessage

        Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_http_middleware.logFn.html b/types/crowdsec_http_middleware.logFn.html index 9ae95885..ac3242d1 100644 --- a/types/crowdsec_http_middleware.logFn.html +++ b/types/crowdsec_http_middleware.logFn.html @@ -1 +1 @@ -logFn | Node CrowdSec Client
    logFn: ((message?, ...optionalParams) => void)

    Type declaration

      • (message?, ...optionalParams): void
      • Parameters

        • Optional message: any
        • Rest ...optionalParams: any[]

        Returns void

    Generated using TypeDoc

    \ No newline at end of file +logFn | Node CrowdSec Client
    logFn: ((message?, ...optionalParams) => void)

    Type declaration

      • (message?, ...optionalParams): void
      • Parameters

        • Optional message: any
        • Rest ...optionalParams: any[]

        Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_http_middleware.logger.html b/types/crowdsec_http_middleware.logger.html index 87b5fc9a..a1155624 100644 --- a/types/crowdsec_http_middleware.logger.html +++ b/types/crowdsec_http_middleware.logger.html @@ -1 +1 @@ -logger | Node CrowdSec Client
    logger: {
        debug: logFn;
        error: logFn;
        extend?: ((name) => logger);
        info: logFn;
        warn: logFn;
    }

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +logger | Node CrowdSec Client
    logger: {
        debug: logFn;
        error: logFn;
        extend?: ((name) => logger);
        info: logFn;
        warn: logFn;
    }

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/crowdsec_http_middleware.loggerOption.html b/types/crowdsec_http_middleware.loggerOption.html index 56e51331..ed8b4285 100644 --- a/types/crowdsec_http_middleware.loggerOption.html +++ b/types/crowdsec_http_middleware.loggerOption.html @@ -1 +1 @@ -loggerOption | Node CrowdSec Client
    loggerOption: logger | ((name) => logger)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +loggerOption | Node CrowdSec Client
    loggerOption: logger | ((name) => logger)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/crowdsec_client.VERSION.html b/variables/crowdsec_client.VERSION.html index b7bd4505..905e3dd2 100644 --- a/variables/crowdsec_client.VERSION.html +++ b/variables/crowdsec_client.VERSION.html @@ -1 +1 @@ -VERSION | Node CrowdSec Client
    VERSION: string = pkg.version

    Generated using TypeDoc

    \ No newline at end of file +VERSION | Node CrowdSec Client
    VERSION: string = pkg.version

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/crowdsec_client_scenarios.MAX_CONFIDENCE.html b/variables/crowdsec_client_scenarios.MAX_CONFIDENCE.html index 389b8a38..13670f4b 100644 --- a/variables/crowdsec_client_scenarios.MAX_CONFIDENCE.html +++ b/variables/crowdsec_client_scenarios.MAX_CONFIDENCE.html @@ -1 +1 @@ -MAX_CONFIDENCE | Node CrowdSec Client
    MAX_CONFIDENCE: 10 = 10

    Generated using TypeDoc

    \ No newline at end of file +MAX_CONFIDENCE | Node CrowdSec Client
    MAX_CONFIDENCE: 10 = 10

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/crowdsec_client_scenarios.VERSION.html b/variables/crowdsec_client_scenarios.VERSION.html index 689136dc..72c41b6d 100644 --- a/variables/crowdsec_client_scenarios.VERSION.html +++ b/variables/crowdsec_client_scenarios.VERSION.html @@ -1 +1 @@ -VERSION | Node CrowdSec Client
    VERSION: string = pkg.version

    Generated using TypeDoc

    \ No newline at end of file +VERSION | Node CrowdSec Client
    VERSION: string = pkg.version

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/crowdsec_client_scenarios.scenarios.html b/variables/crowdsec_client_scenarios.scenarios.html index 32d7d504..411d86a0 100644 --- a/variables/crowdsec_client_scenarios.scenarios.html +++ b/variables/crowdsec_client_scenarios.scenarios.html @@ -1 +1 @@ -scenarios | Node CrowdSec Client
    scenarios: IScenario[] = ...

    Generated using TypeDoc

    \ No newline at end of file +scenarios | Node CrowdSec Client
    scenarios: IScenario[] = ...

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/crowdsec_http_middleware.VERSION.html b/variables/crowdsec_http_middleware.VERSION.html index 91ae81a9..71ebe96c 100644 --- a/variables/crowdsec_http_middleware.VERSION.html +++ b/variables/crowdsec_http_middleware.VERSION.html @@ -1 +1 @@ -VERSION | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file +VERSION | Node CrowdSec Client

    Generated using TypeDoc

    \ No newline at end of file