fix documentation in write_configurations (#666)

Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
AlteredCoder 2021-03-08 15:20:25 +01:00 committed by GitHub
parent a8b16a66b1
commit 92f290ebe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -305,7 +305,7 @@ Adding `remediation: true` into the labels tells {{v1X.crowdsec.name}} that we s
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/scenarios/mytest.yaml`)
- I restart {{v1X.crowdsec.name}} (`systemctl reload crowdsec`)
Let's check if it seems correctly enabled :

View file

@ -75,15 +75,15 @@ $ {{v1X.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/parsers/s02-enrich/mywhitelists.yaml` file with the following content :
```yaml
name: crowdsecurity/whitelists
description: "Whitelist events from my ip addresses"
whitelist:
reason: "my ip ranges"
ip:
- "80.x.x.x"
ip:
- "80.x.x.x"
```
and reload {{v1X.crowdsec.name}} : `sudo systemctl reload crowdsec`