From 1b5d1e068a4b922f440dadb8883b31749f1e8fe5 Mon Sep 17 00:00:00 2001 From: Laurence Date: Fri, 8 Nov 2024 14:56:21 +0000 Subject: [PATCH 1/2] enhance: Add new configuration options for 1.6.4 --- .../configuration/crowdsec_configuration.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/crowdsec-docs/docs/configuration/crowdsec_configuration.md b/crowdsec-docs/docs/configuration/crowdsec_configuration.md index ecf46e8e..34e1d5c6 100644 --- a/crowdsec-docs/docs/configuration/crowdsec_configuration.md +++ b/crowdsec-docs/docs/configuration/crowdsec_configuration.md @@ -175,6 +175,10 @@ api: use_forwarded_for_headers: "" console_path: online_client: + sharing: "(true|false)" + pull: + community: "(true|false)" + blocklists: "(true|false)" credentials_path: "" disable_remote_lapi_registration: (true|false) capi_whitelists_path: "" @@ -697,6 +701,10 @@ api: use_forwarded_for_headers: "(true|false)" console_path: online_client: + sharing: "(true|false)" + pull: + community: "(true|false)" + blocklists: "(true|false)" credentials_path: "" disable_remote_lapi_registration: (true|false) capi_whitelists_path: "" @@ -803,6 +811,10 @@ server: #- 10.0.0.0/24 console_path: online_client: + sharing: "(true|false)" + pull: + community: "(true|false)" + blocklists: "(true|false)" credentials_path: disable_remote_lapi_registration: (true|false) capi_whitelists_path: "" @@ -876,9 +888,36 @@ Configuration to push signals and receive bad IPs from Crowdsec API. ```yaml online_client: + sharing: "(true|false)" + pull: + community: "(true|false)" + blocklists: "(true|false)" credentials_path: "" ``` +###### `sharing` +> bool + +Whether you want to share signals with Central API, please note as outlined in the [Community blocklists](#TODO!!) section, enabling or disabling based on your plan type will affect how many IP's are downloaded from the community blocklists. + +###### `pull` + +```yaml +pull: + community: "(true|false)" + blocklists: "(true|false)" +``` + +###### `community` +> bool + +Whether to pull signals from the community blocklists. Useful when you want to share your signals with the community but don't want to receive signals from the community. + +###### `blocklists` +> bool + +Whether to pull signals from the CrowdSec blocklists. Useful when you want to share your signals with the community but don't want to receive signals from 3rd party or first party blocklists. + ###### `credentials_path` > string From 28aa4b9f7d27e84a918f5a67a125ff55e80f24c4 Mon Sep 17 00:00:00 2001 From: Laurence Date: Fri, 8 Nov 2024 15:07:29 +0000 Subject: [PATCH 2/2] enhance: Update linkage --- crowdsec-docs/docs/configuration/crowdsec_configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdsec-docs/docs/configuration/crowdsec_configuration.md b/crowdsec-docs/docs/configuration/crowdsec_configuration.md index 34e1d5c6..d6c8a6fc 100644 --- a/crowdsec-docs/docs/configuration/crowdsec_configuration.md +++ b/crowdsec-docs/docs/configuration/crowdsec_configuration.md @@ -898,7 +898,7 @@ online_client: ###### `sharing` > bool -Whether you want to share signals with Central API, please note as outlined in the [Community blocklists](#TODO!!) section, enabling or disabling based on your plan type will affect how many IP's are downloaded from the community blocklists. +Whether you want to share signals with Central API, please note as outlined in the [Community blocklists](central_api/blocklist.md) section, enabling or disabling based on your plan type will affect how many IP's are downloaded from the community blocklists. ###### `pull`