From b270bfbcfec632bb1cd4f50a734a340511c9109e Mon Sep 17 00:00:00 2001 From: AlteredCoder <64792091+AlteredCoder@users.noreply.github.com> Date: Sun, 13 Sep 2020 15:56:04 +0200 Subject: [PATCH] Fix documentation (#219) * fix typo in documentation --- docs/write_configurations/scenarios.md | 2 +- docs/write_configurations/whitelist.md | 2 +- wizard.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/write_configurations/scenarios.md b/docs/write_configurations/scenarios.md index a5c451490..f822be380 100644 --- a/docs/write_configurations/scenarios.md +++ b/docs/write_configurations/scenarios.md @@ -300,7 +300,7 @@ Adding `remediation: true` into the labels tells {{crowdsec.name}} that we shoul Let's try : - - I copied the yaml file to a production system (`/etc/crowdsec/crowdsec/scenarios/mytest.yaml`) + - I copied the yaml file to a production system (`/etc/crowdsec/config/scenarios/mytest.yaml`) - I restart {{crowdsec.name}} (`systemctl reload crowdsec`) Let's check if it seems correctly enabled : diff --git a/docs/write_configurations/whitelist.md b/docs/write_configurations/whitelist.md index 3b2ff3697..ae0e74136 100644 --- a/docs/write_configurations/whitelist.md +++ b/docs/write_configurations/whitelist.md @@ -75,7 +75,7 @@ $ {{cli.bin}} ban list ### Create the whitelist by IP -Let's create a `/etc/crowdsec/crowdsec/parsers/s02-enrich/mywhitelists.yaml` file with the following content : +Let's create a `/etc/crowdsec/config/parsers/s02-enrich/mywhitelists.yaml` file with the following content : ```yaml name: crowdsecurity/whitelists diff --git a/wizard.sh b/wizard.sh index 906b97a10..7a858b788 100755 --- a/wizard.sh +++ b/wizard.sh @@ -288,6 +288,7 @@ install_crowdsec() { mkdir -p "${CROWDSEC_DATA_DIR}" (cd config && find patterns -type f -exec install -Dm 644 "{}" "${CROWDSEC_CONFIG_PATH}/{}" \; && cd ../) || exit mkdir -p "${CROWDSEC_CONFIG_PATH}/scenarios" || exit + mkdir -p "${CROWDSEC_CONFIG_PATH}/parsers" || exit mkdir -p "${CROWDSEC_CONFIG_PATH}/postoverflows" || exit mkdir -p "${CROWDSEC_CONFIG_PATH}/collections" || exit mkdir -p "${CROWDSEC_CONFIG_PATH}/patterns" || exit