fix documentation in write_configurations (#666)
Co-authored-by: AlteredCoder <AlteredCoder>
This commit is contained in:
parent
a8b16a66b1
commit
92f290ebe0
2 changed files with 4 additions and 4 deletions
|
@ -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 :
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue