New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crowdsec-client-scenarios

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crowdsec-client-scenarios - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

lib/types/scenarios/AllowList/AllowListEnricher.d.ts

@@ -14,4 +14,4 @@ import { IScenarioOptions } from '../IScenarioOptions.js';

private allowed;
constructor(options: IScenarioOptions);
constructor(options?: IScenarioOptions);
enrich(alert: APITypes.Alert): APITypes.Alert | undefined;
}

@@ -17,3 +17,3 @@ /// <reference types="node" resolution-mode="require"/>

interface IScenarioOptions {
'x-forwarded-for': IXForwardedForOptions;
'x-forwarded-for'?: IXForwardedForOptions;
}

@@ -20,0 +20,0 @@ }

{
"name": "crowdsec-client-scenarios",
"version": "0.0.8",
"version": "0.0.9",
"description": "tmp",

@@ -5,0 +5,0 @@ "main": "./lib/index.cjs",

@@ -44,3 +44,3 @@ # crowdsec-client-scenarios

This package, is planned to host scenarios used by [crowdsec-http-middleware](../crowdsec-http-middleware) and other middleware that extend it
This package, is planned to host scenarios used by [crowdsec-http-middleware](https://www.npmjs.com/package/crowdsec-http-middleware) and other middleware that extend it

@@ -52,7 +52,7 @@ # Scenarios

## Defaults scenarios
the defaults scenarios are ([defined here](./src/index.ts#L8)) :
the defaults scenarios are ([defined here](https://github.com/thib3113/node-crowdsec/blob/main/packages/crowdsec-client-scenarios/src/index.ts#L8)) :
- [AllowListEnricher](#allowlist) : allow you to skip alerts on your local ips
- [XForwardedForChecker](#xforwardedforchecker) : allow to extract visitor ip
- [HTTPEnricher](#httpenricher) : enrich alerts with informations from the http request
- [HTTPEnricher](#httpenricher) : enrich alerts with information from the http request

@@ -59,0 +59,0 @@ ## Available scenarios

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc