Update documentation for crowdsec v0.3.0 (#141)
This commit is contained in:
parent
a104e6d053
commit
6b4674104c
|
@ -1,57 +0,0 @@
|
|||
## cscli
|
||||
|
||||
cscli allows you to manage crowdsec
|
||||
|
||||
### Synopsis
|
||||
|
||||
cscli is the main command to interact with your crowdsec service, scenarios & db.
|
||||
It is meant to allow you to manage bans, parsers/scenarios/etc, api and generally manage you crowdsec setup.
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
View/Add/Remove bans:
|
||||
- cscli ban list
|
||||
- cscli ban add ip 1.2.3.4 24h 'go away'
|
||||
- cscli ban del 1.2.3.4
|
||||
|
||||
View/Add/Upgrade/Remove scenarios and parsers:
|
||||
- cscli list
|
||||
- cscli install collection crowdsec/linux-web
|
||||
- cscli remove scenario crowdsec/ssh_enum
|
||||
- cscli upgrade --all
|
||||
|
||||
API interaction:
|
||||
- cscli api pull
|
||||
- cscli api register
|
||||
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--debug Set logging to debug.
|
||||
--info Set logging to info.
|
||||
--warning Set logging to warning.
|
||||
--error Set logging to error.
|
||||
-h, --help help for cscli
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
* [cscli backup](cscli_backup.md) - Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
* [cscli list](cscli_list.md) - List enabled configs
|
||||
* [cscli metrics](cscli_metrics.md) - Display crowdsec prometheus metrics.
|
||||
* [cscli remove](cscli_remove.md) - Remove/disable configuration(s)
|
||||
* [cscli update](cscli_update.md) - Fetch available configs from hub
|
||||
* [cscli upgrade](cscli_upgrade.md) - Upgrade configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,49 +0,0 @@
|
|||
## cscli api
|
||||
|
||||
Crowdsec API interaction
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Allow to register your machine into crowdsec API to send and receive signal.
|
||||
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
|
||||
cscli api register # Register to Crowdsec API
|
||||
cscli api pull # Pull malevolant IPs from Crowdsec API
|
||||
cscli api reset # Reset your machines credentials
|
||||
cscli api enroll # Enroll your machine to the user account you created on Crowdsec backend
|
||||
cscli api credentials # Display your API credentials
|
||||
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for api
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli api credentials](cscli_api_credentials.md) - Display api credentials
|
||||
* [cscli api enroll](cscli_api_enroll.md) - Associate your machine to an existing crowdsec user
|
||||
* [cscli api pull](cscli_api_pull.md) - Pull crowdsec API TopX
|
||||
* [cscli api register](cscli_api_register.md) - Register on Crowdsec API
|
||||
* [cscli api reset](cscli_api_reset.md) - Reset password on CrowdSec API
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli api credentials
|
||||
|
||||
Display api credentials
|
||||
|
||||
### Synopsis
|
||||
|
||||
Display api credentials
|
||||
|
||||
```
|
||||
cscli api credentials [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli api credentials
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for credentials
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,41 +0,0 @@
|
|||
## cscli api enroll
|
||||
|
||||
Associate your machine to an existing crowdsec user
|
||||
|
||||
### Synopsis
|
||||
|
||||
Enrolling your machine into your user account will allow for more accurate lists and threat detection. See website to create user account.
|
||||
|
||||
```
|
||||
cscli api enroll [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli api enroll -u 1234567890ffff
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for enroll
|
||||
-u, --user string User ID (required)
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli api pull
|
||||
|
||||
Pull crowdsec API TopX
|
||||
|
||||
### Synopsis
|
||||
|
||||
Pulls a list of malveolent IPs relevant to your situation and add them into the local ban database.
|
||||
|
||||
```
|
||||
cscli api pull [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli api pull
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for pull
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,41 +0,0 @@
|
|||
## cscli api register
|
||||
|
||||
Register on Crowdsec API
|
||||
|
||||
### Synopsis
|
||||
|
||||
This command will register your machine to crowdsec API to allow you to receive list of malveolent IPs.
|
||||
The printed machine_id and password should be added to your api.yaml file.
|
||||
|
||||
```
|
||||
cscli api register [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli api register
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for register
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli api reset
|
||||
|
||||
Reset password on CrowdSec API
|
||||
|
||||
### Synopsis
|
||||
|
||||
Attempts to reset your credentials to the API.
|
||||
|
||||
```
|
||||
cscli api reset [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli api reset
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for reset
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,39 +0,0 @@
|
|||
## cscli backup
|
||||
|
||||
Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
This command is here to help you save and/or restore crowdsec configurations to simple replication
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli backup save ./my-backup
|
||||
cscli backup restore ./my-backup
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for backup
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli backup restore](cscli_backup_restore.md) - Restore configuration (api, parsers, scenarios etc.) from directory
|
||||
* [cscli backup save](cscli_backup_save.md) - Backup configuration (api, parsers, scenarios etc.) to directory
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,49 +0,0 @@
|
|||
## cscli backup restore
|
||||
|
||||
Restore configuration (api, parsers, scenarios etc.) from directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
restore command will try to restore all saved information from <directory> to yor local setup, including :
|
||||
|
||||
- Installation of up-to-date scenarios/parsers/... via cscli
|
||||
|
||||
- Restauration of tainted/local/out-of-date scenarios/parsers/... file
|
||||
|
||||
- Restauration of API credentials (if the existing ones aren't working)
|
||||
|
||||
- Restauration of acqusition configuration
|
||||
|
||||
|
||||
```
|
||||
cscli backup restore <directory> [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli backup restore ./my-backup
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for restore
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli backup](cscli_backup.md) - Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,50 +0,0 @@
|
|||
## cscli backup save
|
||||
|
||||
Backup configuration (api, parsers, scenarios etc.) to directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
backup command will try to save all relevant informations to crowdsec config, including :
|
||||
|
||||
- List of scenarios, parsers, postoverflows and collections that are up-to-date
|
||||
|
||||
- Actual backup of tainted/local/out-of-date scenarios, parsers, postoverflows and collections
|
||||
|
||||
- Backup of API credentials
|
||||
|
||||
- Backup of acqusition configuration
|
||||
|
||||
|
||||
|
||||
```
|
||||
cscli backup save <directory> [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli backup save ./my-backup
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for save
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli backup](cscli_backup.md) - Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,38 +0,0 @@
|
|||
## cscli ban
|
||||
|
||||
Manage bans/mitigations
|
||||
|
||||
### Synopsis
|
||||
|
||||
This is the main interaction point with local ban database for humans.
|
||||
|
||||
You can add/delete/list or flush current bans in your local ban DB.
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--db string Set path to SQLite DB.
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
-h, --help help for ban
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli ban add](cscli_ban_add.md) - Adds a ban against a given ip/range for the provided duration
|
||||
* [cscli ban del](cscli_ban_del.md) - Delete bans from db
|
||||
* [cscli ban flush](cscli_ban_flush.md) - Fush ban DB
|
||||
* [cscli ban list](cscli_ban_list.md) - List local or api bans/remediations
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,46 +0,0 @@
|
|||
## cscli ban add
|
||||
|
||||
Adds a ban against a given ip/range for the provided duration
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Allows to add a ban against a specific ip or range target for a specific duration.
|
||||
|
||||
The duration argument can be expressed in seconds(s), minutes(m) or hours (h).
|
||||
|
||||
See [time.ParseDuration](https://golang.org/pkg/time/#ParseDuration) for more informations.
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban add ip 1.2.3.4 24h "scan"
|
||||
cscli ban add range 1.2.3.0/24 24h "the whole range"
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for add
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
* [cscli ban add ip](cscli_ban_add_ip.md) - Adds the specific ip to the ban db
|
||||
* [cscli ban add range](cscli_ban_add_range.md) - Adds the specific ip to the ban db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli ban add ip
|
||||
|
||||
Adds the specific ip to the ban db
|
||||
|
||||
### Synopsis
|
||||
|
||||
Duration must be [time.ParseDuration](https://golang.org/pkg/time/#ParseDuration), expressed in s/m/h.
|
||||
|
||||
```
|
||||
cscli ban add ip <target> <duration> <reason> [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban add ip 1.2.3.4 12h "the scan"
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for ip
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban add](cscli_ban_add.md) - Adds a ban against a given ip/range for the provided duration
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli ban add range
|
||||
|
||||
Adds the specific ip to the ban db
|
||||
|
||||
### Synopsis
|
||||
|
||||
Duration must be [time.ParseDuration](https://golang.org/pkg/time/#ParseDuration) compatible, expressed in s/m/h.
|
||||
|
||||
```
|
||||
cscli ban add range <target> <duration> <reason> [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban add range 1.2.3.0/24 12h "the whole range"
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for range
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban add](cscli_ban_add.md) - Adds a ban against a given ip/range for the provided duration
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,41 +0,0 @@
|
|||
## cscli ban del
|
||||
|
||||
Delete bans from db
|
||||
|
||||
### Synopsis
|
||||
|
||||
The removal of the bans can be applied on a single IP address or directly on a IP range.
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban del ip 1.2.3.4
|
||||
cscli ban del range 1.2.3.0/24
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for del
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
* [cscli ban del ip](cscli_ban_del_ip.md) - Delete bans for given ip from db
|
||||
* [cscli ban del range](cscli_ban_del_range.md) - Delete bans for given ip from db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli ban del ip
|
||||
|
||||
Delete bans for given ip from db
|
||||
|
||||
### Synopsis
|
||||
|
||||
Delete bans for given ip from db
|
||||
|
||||
```
|
||||
cscli ban del ip <target> [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban del ip 1.2.3.4
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for ip
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban del](cscli_ban_del.md) - Delete bans from db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli ban del range
|
||||
|
||||
Delete bans for given ip from db
|
||||
|
||||
### Synopsis
|
||||
|
||||
Delete bans for given ip from db
|
||||
|
||||
```
|
||||
cscli ban del range <target> [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban del range 1.2.3.0/24
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for range
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban del](cscli_ban_del.md) - Delete bans from db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli ban flush
|
||||
|
||||
Fush ban DB
|
||||
|
||||
### Synopsis
|
||||
|
||||
Fush ban DB
|
||||
|
||||
```
|
||||
cscli ban flush [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli ban flush
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for flush
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,50 +0,0 @@
|
|||
## cscli ban list
|
||||
|
||||
List local or api bans/remediations
|
||||
|
||||
### Synopsis
|
||||
|
||||
List the bans, by default only local decisions.
|
||||
|
||||
If --all/-a is specified, api-provided bans will be displayed too.
|
||||
|
||||
Time can be specified with --at and support a variety of date formats:
|
||||
- Jan 2 15:04:05
|
||||
- Mon Jan 02 15:04:05.000000 2006
|
||||
- 2006-01-02T15:04:05Z07:00
|
||||
- 2006/01/02
|
||||
- 2006/01/02 15:04
|
||||
- 2006-01-02
|
||||
- 2006-01-02 15:04
|
||||
|
||||
|
||||
```
|
||||
cscli ban list [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-a, --all List as well bans received from API
|
||||
--at string List bans at given time
|
||||
-h, --help help for list
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli config
|
||||
|
||||
Allows to view/edit cscli config
|
||||
|
||||
### Synopsis
|
||||
|
||||
Allow to configure sqlite path and installation directory.
|
||||
If no commands are specified, config is in interactive mode.
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
- cscli config show
|
||||
- cscli config prompt
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for config
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli config backend](cscli_config_backend.md) - Configure installation directory
|
||||
* [cscli config installdir](cscli_config_installdir.md) - Configure installation directory
|
||||
* [cscli config prompt](cscli_config_prompt.md) - Prompt for configuration values in an interactive fashion
|
||||
* [cscli config show](cscli_config_show.md) - Displays current config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config backend
|
||||
|
||||
Configure installation directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
Configure the backend plugin directory of crowdsec, such as /etc/crowdsec/plugins/backend
|
||||
|
||||
```
|
||||
cscli config backend [value] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for backend
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config installdir
|
||||
|
||||
Configure installation directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
Configure the installation directory of crowdsec, such as /etc/crowdsec/config/
|
||||
|
||||
```
|
||||
cscli config installdir [value] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for installdir
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config prompt
|
||||
|
||||
Prompt for configuration values in an interactive fashion
|
||||
|
||||
### Synopsis
|
||||
|
||||
Start interactive configuration of cli. It will successively ask for install dir, db path.
|
||||
|
||||
```
|
||||
cscli config prompt [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for prompt
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config show
|
||||
|
||||
Displays current config
|
||||
|
||||
### Synopsis
|
||||
|
||||
Displays the current cli configuration.
|
||||
|
||||
```
|
||||
cscli config show [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for show
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli dashboard
|
||||
|
||||
Start a dashboard (metabase) container.
|
||||
|
||||
### Synopsis
|
||||
|
||||
Start a metabase container exposing dashboards and metrics.
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli dashboard setup
|
||||
cscli dashboard start
|
||||
cscli dashboard stop
|
||||
cscli dashboard setup --force
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for dashboard
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli dashboard setup](cscli_dashboard_setup.md) - Setup a metabase container.
|
||||
* [cscli dashboard start](cscli_dashboard_start.md) - Start the metabase container.
|
||||
* [cscli dashboard stop](cscli_dashboard_stop.md) - Stops the metabase container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,47 +0,0 @@
|
|||
## cscli dashboard setup
|
||||
|
||||
Setup a metabase container.
|
||||
|
||||
### Synopsis
|
||||
|
||||
Perform a metabase docker setup, download standard dashboards, create a fresh user and start the container
|
||||
|
||||
```
|
||||
cscli dashboard setup [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli dashboard setup
|
||||
cscli dashboard setup --force
|
||||
cscli dashboard setup -l 0.0.0.0 -p 443
|
||||
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-d, --dir string Shared directory with metabase container. (default "/var/lib/crowdsec/data")
|
||||
-f, --force Force setup : override existing files.
|
||||
-h, --help help for setup
|
||||
-l, --listen string Listen address of container (default "127.0.0.1")
|
||||
-p, --port string Listen port of container (default "3000")
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli dashboard start
|
||||
|
||||
Start the metabase container.
|
||||
|
||||
### Synopsis
|
||||
|
||||
Stats the metabase container using docker.
|
||||
|
||||
```
|
||||
cscli dashboard start [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for start
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,35 +0,0 @@
|
|||
## cscli dashboard stop
|
||||
|
||||
Stops the metabase container.
|
||||
|
||||
### Synopsis
|
||||
|
||||
Stops the metabase container using docker.
|
||||
|
||||
```
|
||||
cscli dashboard stop [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for stop
|
||||
-r, --remove remove (docker rm) container as well.
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,47 +0,0 @@
|
|||
## cscli inspect
|
||||
|
||||
Inspect configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Inspect give you full detail about local installed configuration.
|
||||
|
||||
[type] must be parser, scenario, postoverflow, collection.
|
||||
|
||||
[config_name] must be a valid config name from [Crowdsec Hub](https://hub.crowdsec.net) or locally installed.
|
||||
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli inspect parser crowdsec/xxx
|
||||
cscli inspect collection crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for inspect
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli inspect collection](cscli_inspect_collection.md) - Inspect given collection
|
||||
* [cscli inspect parser](cscli_inspect_parser.md) - Inspect given log parser
|
||||
* [cscli inspect postoverflow](cscli_inspect_postoverflow.md) - Inspect given postoverflow parser
|
||||
* [cscli inspect scenario](cscli_inspect_scenario.md) - Inspect given scenario
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli inspect collection
|
||||
|
||||
Inspect given collection
|
||||
|
||||
### Synopsis
|
||||
|
||||
Inspect given collection from hub
|
||||
|
||||
```
|
||||
cscli inspect collection [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli inspect collection crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for collection
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli inspect parser
|
||||
|
||||
Inspect given log parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
Inspect given parser from hub
|
||||
|
||||
```
|
||||
cscli inspect parser [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli inspect parser crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for parser
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli inspect postoverflow
|
||||
|
||||
Inspect given postoverflow parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
Inspect given postoverflow from hub.
|
||||
|
||||
```
|
||||
cscli inspect postoverflow [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli inspect postoverflow crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for postoverflow
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,40 +0,0 @@
|
|||
## cscli inspect scenario
|
||||
|
||||
Inspect given scenario
|
||||
|
||||
### Synopsis
|
||||
|
||||
Inspect given scenario from hub
|
||||
|
||||
```
|
||||
cscli inspect scenario [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli inspect scenario crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for scenario
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,51 +0,0 @@
|
|||
## cscli install
|
||||
|
||||
Install configuration(s) from hub
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Install configuration from the CrowdSec Hub.
|
||||
|
||||
In order to download latest versions of configuration,
|
||||
you should [update cscli](./cscli_update.md).
|
||||
|
||||
[type] must be parser, scenario, postoverflow, collection.
|
||||
|
||||
[config_name] must be a valid config name from [Crowdsec Hub](https://hub.crowdsec.net).
|
||||
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli install [type] [config_name]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
-h, --help help for install
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli install collection](cscli_install_collection.md) - Install given collection
|
||||
* [cscli install parser](cscli_install_parser.md) - Install given log parser
|
||||
* [cscli install postoverflow](cscli_install_postoverflow.md) - Install given postoverflow parser
|
||||
* [cscli install scenario](cscli_install_scenario.md) - Install given scenario
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli install collection
|
||||
|
||||
Install given collection
|
||||
|
||||
### Synopsis
|
||||
|
||||
Fetch and install given collection from hub
|
||||
|
||||
```
|
||||
cscli install collection [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli install collection crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for collection
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli install parser
|
||||
|
||||
Install given log parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
Fetch and install given parser from hub
|
||||
|
||||
```
|
||||
cscli install parser [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli install parser crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for parser
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,43 +0,0 @@
|
|||
## cscli install postoverflow
|
||||
|
||||
Install given postoverflow parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
Fetch and install given postoverflow from hub.
|
||||
As a reminder, postoverflows are parsing configuration that will occur after the overflow (before a decision is applied).
|
||||
|
||||
```
|
||||
cscli install postoverflow [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli install collection crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for postoverflow
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,42 +0,0 @@
|
|||
## cscli install scenario
|
||||
|
||||
Install given scenario
|
||||
|
||||
### Synopsis
|
||||
|
||||
Fetch and install given scenario from hub
|
||||
|
||||
```
|
||||
cscli install scenario [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli install scenario crowdsec/xxx
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for scenario
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,54 +0,0 @@
|
|||
## cscli list
|
||||
|
||||
List enabled configs
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
List enabled configurations (parser/scenarios/collections) on your host.
|
||||
|
||||
It is possible to list also configuration from [Crowdsec Hub](https://hub.crowdsec.net) with the '-a' options.
|
||||
|
||||
[type] must be parsers, scenarios, postoverflows, collections
|
||||
|
||||
|
||||
```
|
||||
cscli list [-a] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli list # List all local configurations
|
||||
cscli list [type] # List all local configuration of type [type]
|
||||
cscli list -a # List all local and remote configurations
|
||||
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-a, --all List as well disabled items
|
||||
-h, --help help for list
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli list collections](cscli_list_collections.md) - List enabled collections
|
||||
* [cscli list parsers](cscli_list_parsers.md) - List enabled parsers
|
||||
* [cscli list postoverflows](cscli_list_postoverflows.md) - List enabled postoverflow parsers
|
||||
* [cscli list scenarios](cscli_list_scenarios.md) - List enabled scenarios
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,35 +0,0 @@
|
|||
## cscli list collections
|
||||
|
||||
List enabled collections
|
||||
|
||||
### Synopsis
|
||||
|
||||
List enabled collections
|
||||
|
||||
```
|
||||
cscli list collections [-a] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for collections
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-a, --all List as well disabled items
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli list](cscli_list.md) - List enabled configs
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,35 +0,0 @@
|
|||
## cscli list parsers
|
||||
|
||||
List enabled parsers
|
||||
|
||||
### Synopsis
|
||||
|
||||
List enabled parsers
|
||||
|
||||
```
|
||||
cscli list parsers [-a] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for parsers
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-a, --all List as well disabled items
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli list](cscli_list.md) - List enabled configs
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,35 +0,0 @@
|
|||
## cscli list postoverflows
|
||||
|
||||
List enabled postoverflow parsers
|
||||
|
||||
### Synopsis
|
||||
|
||||
List enabled postoverflow parsers
|
||||
|
||||
```
|
||||
cscli list postoverflows [-a] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for postoverflows
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-a, --all List as well disabled items
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli list](cscli_list.md) - List enabled configs
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,35 +0,0 @@
|
|||
## cscli list scenarios
|
||||
|
||||
List enabled scenarios
|
||||
|
||||
### Synopsis
|
||||
|
||||
List enabled scenarios
|
||||
|
||||
```
|
||||
cscli list scenarios [-a] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for scenarios
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-a, --all List as well disabled items
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli list](cscli_list.md) - List enabled configs
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,35 +0,0 @@
|
|||
## cscli metrics
|
||||
|
||||
Display crowdsec prometheus metrics.
|
||||
|
||||
### Synopsis
|
||||
|
||||
Fetch metrics from the prometheus server and display them in a human-friendly way
|
||||
|
||||
```
|
||||
cscli metrics [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for metrics
|
||||
-u, --url string Prometheus url (default "http://127.0.0.1:6060/metrics")
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,48 +0,0 @@
|
|||
## cscli remove
|
||||
|
||||
Remove/disable configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Remove local configuration.
|
||||
|
||||
[type] must be parser, scenario, postoverflow, collection
|
||||
|
||||
[config_name] must be a valid config name from [Crowdsec Hub](https://hub.crowdsec.net) or locally installed.
|
||||
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli remove [type] [config_name]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--all Delete all the files in selected scope
|
||||
-h, --help help for remove
|
||||
--purge Delete source file in ~/.cscli/hub/ too
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli remove collection](cscli_remove_collection.md) - Remove/disable collection
|
||||
* [cscli remove parser](cscli_remove_parser.md) - Remove/disable parser
|
||||
* [cscli remove postoverflow](cscli_remove_postoverflow.md) - Remove/disable postoverflow parser
|
||||
* [cscli remove scenario](cscli_remove_scenario.md) - Remove/disable scenario
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,36 +0,0 @@
|
|||
## cscli remove collection
|
||||
|
||||
Remove/disable collection
|
||||
|
||||
### Synopsis
|
||||
|
||||
<config> must be a valid collection.
|
||||
|
||||
```
|
||||
cscli remove collection [config] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for collection
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Delete all the files in selected scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--purge Delete source file in ~/.cscli/hub/ too
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli remove](cscli_remove.md) - Remove/disable configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,36 +0,0 @@
|
|||
## cscli remove parser
|
||||
|
||||
Remove/disable parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
<config> must be a valid parser.
|
||||
|
||||
```
|
||||
cscli remove parser <config> [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for parser
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Delete all the files in selected scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--purge Delete source file in ~/.cscli/hub/ too
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli remove](cscli_remove.md) - Remove/disable configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,36 +0,0 @@
|
|||
## cscli remove postoverflow
|
||||
|
||||
Remove/disable postoverflow parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
<config> must be a valid collection.
|
||||
|
||||
```
|
||||
cscli remove postoverflow [config] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for postoverflow
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Delete all the files in selected scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--purge Delete source file in ~/.cscli/hub/ too
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli remove](cscli_remove.md) - Remove/disable configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,36 +0,0 @@
|
|||
## cscli remove scenario
|
||||
|
||||
Remove/disable scenario
|
||||
|
||||
### Synopsis
|
||||
|
||||
<config> must be a valid scenario.
|
||||
|
||||
```
|
||||
cscli remove scenario [config] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for scenario
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Delete all the files in selected scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--purge Delete source file in ~/.cscli/hub/ too
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli remove](cscli_remove.md) - Remove/disable configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,36 +0,0 @@
|
|||
## cscli update
|
||||
|
||||
Fetch available configs from hub
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Fetches the [.index.json](https://github.com/crowdsecurity/hub/blob/master/.index.json) file from hub, containing the list of available configs.
|
||||
|
||||
|
||||
```
|
||||
cscli update [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for update
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,62 +0,0 @@
|
|||
## cscli upgrade
|
||||
|
||||
Upgrade configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Upgrade configuration from the CrowdSec Hub.
|
||||
|
||||
In order to upgrade latest versions of configuration,
|
||||
the Hub cache should be [updated](./cscli_update.md).
|
||||
|
||||
Tainted configuration will not be updated (use --force to update them).
|
||||
|
||||
[type] must be parser, scenario, postoverflow, collection.
|
||||
|
||||
[config_name] must be a valid config name from [Crowdsec Hub](https://hub.crowdsec.net).
|
||||
|
||||
|
||||
|
||||
|
||||
```
|
||||
cscli upgrade [type] [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
cscli upgrade [type] [config_name]
|
||||
cscli upgrade --all # Upgrade all configurations types
|
||||
cscli upgrade --force # Overwrite tainted configuration
|
||||
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--all Upgrade all configuration in scope
|
||||
--force Overwrite existing files, even if tainted
|
||||
-h, --help help for upgrade
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli upgrade collection](cscli_upgrade_collection.md) - Upgrade collection configuration(s)
|
||||
* [cscli upgrade parser](cscli_upgrade_parser.md) - Upgrade parser configuration(s)
|
||||
* [cscli upgrade postoverflow](cscli_upgrade_postoverflow.md) - Upgrade postoverflow parser configuration(s)
|
||||
* [cscli upgrade scenario](cscli_upgrade_scenario.md) - Upgrade scenario configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,44 +0,0 @@
|
|||
## cscli upgrade collection
|
||||
|
||||
Upgrade collection configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
Upgrade one or more collection configurations
|
||||
|
||||
```
|
||||
cscli upgrade collection [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
- cscli upgrade collection crowdsec/apache-lamp
|
||||
- cscli upgrade collection -all
|
||||
- cscli upgrade collection crowdsec/apache-lamp --force
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for collection
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Upgrade all configuration in scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--force Overwrite existing files, even if tainted
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli upgrade](cscli_upgrade.md) - Upgrade configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,44 +0,0 @@
|
|||
## cscli upgrade parser
|
||||
|
||||
Upgrade parser configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
Upgrade one or more parser configurations
|
||||
|
||||
```
|
||||
cscli upgrade parser [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
- cscli upgrade parser crowdsec/apache-logs
|
||||
- cscli upgrade parser -all
|
||||
- cscli upgrade parser crowdsec/apache-logs --force
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for parser
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Upgrade all configuration in scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--force Overwrite existing files, even if tainted
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli upgrade](cscli_upgrade.md) - Upgrade configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,44 +0,0 @@
|
|||
## cscli upgrade postoverflow
|
||||
|
||||
Upgrade postoverflow parser configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
Upgrade one or more postoverflow parser configurations
|
||||
|
||||
```
|
||||
cscli upgrade postoverflow [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
- cscli upgrade postoverflow crowdsec/enrich-rdns
|
||||
- cscli upgrade postoverflow -all
|
||||
- cscli upgrade postoverflow crowdsec/enrich-rdns --force
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for postoverflow
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Upgrade all configuration in scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--force Overwrite existing files, even if tainted
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli upgrade](cscli_upgrade.md) - Upgrade configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,43 +0,0 @@
|
|||
## cscli upgrade scenario
|
||||
|
||||
Upgrade scenario configuration(s)
|
||||
|
||||
### Synopsis
|
||||
|
||||
Upgrade one or more scenario configurations
|
||||
|
||||
```
|
||||
cscli upgrade scenario [config] [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
- cscli upgrade scenario -all
|
||||
- cscli upgrade scenario crowdsec/http-404 --force
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for scenario
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--all Upgrade all configuration in scope
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--force Overwrite existing files, even if tainted
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli upgrade](cscli_upgrade.md) - Upgrade configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -115,7 +115,7 @@ API interaction:
|
|||
rootCmd.AddCommand(cmdVersion)
|
||||
|
||||
//rootCmd.PersistentFlags().BoolVarP(&config.simulation, "simulate", "s", false, "No action; perform a simulation of events that would occur based on the current arguments.")
|
||||
rootCmd.PersistentFlags().StringVarP(&config.ConfigFilePath, "config", "c", "/etc/crowdsec/config/default.yaml", "path to crowdsec config file (default: /etc/crowdsec/config/default.yaml)")
|
||||
rootCmd.PersistentFlags().StringVarP(&config.ConfigFilePath, "config", "c", "/etc/crowdsec/config/default.yaml", "path to crowdsec config file")
|
||||
|
||||
rootCmd.PersistentFlags().StringVarP(&config.output, "output", "o", "human", "Output format : human, json, raw.")
|
||||
rootCmd.PersistentFlags().BoolVar(&dbg_lvl, "debug", false, "Set logging to debug.")
|
||||
|
|
|
@ -158,6 +158,11 @@ func ShowPrometheus(url string) {
|
|||
parsers_stats[name] = make(map[string]int)
|
||||
}
|
||||
parsers_stats[name]["parsed"] += ival
|
||||
case "cs_node_hits_ko":
|
||||
if _, ok := parsers_stats[name]; !ok {
|
||||
parsers_stats[name] = make(map[string]int)
|
||||
}
|
||||
parsers_stats[name]["unparsed"] += ival
|
||||
default:
|
||||
continue
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Blockers
|
||||
|
||||
Blockers are part of the {{crowdsec.name}} full stack integration. They allow you to block an IP at any level of your infra/stack.
|
||||
|
||||
You can explore [available {{plugins.name}} on the hub]({{hub.plugins_url}}).
|
||||
{{blockers.Name}} are standalone software pieces in charge of acting upon blocked IPs.
|
||||
|
||||
Some core {{plugins.name}} are documented here :
|
||||
They can either within the applicative stack, or work out of band :
|
||||
|
||||
- [nginx lua helper](/blockers/nginx/installation/)
|
||||
- [netfilter a-la-fail2ban](/blockers/netfilter/installation/)
|
||||
- [wordpress plugin](/blockers/wordpress/installation/)
|
||||
[nginx blocker](https://github.com/crowdsecurity/cs-nginx-blocker) will check every unknown IP against the database before letting go through or serving a *403* to the user, while a [netfilter blocker](https://github.com/crowdsecurity/cs-netfilter-blocker) will simply "add" malevolent IPs to nftables/ipset set of blacklisted IPs.
|
||||
|
||||
|
||||
You can explore [available {{blockers.name}} on the hub]({{hub.plugins_url}}), and find below a few of the "main" {{blockers.name}}.
|
||||
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
<center><a href="https://github.com/crowdsecurity/cs-netfilter-blocker/"><i class="fa fa-github" style="font-size:36px"></i>Netfilter {{plugins.name}}</a></center>
|
||||
|
||||
|
||||
The configuration file is located in `/etc/crowdsec/netfilter-blocker/netfilter-blocker.yaml` :
|
||||
|
||||
```
|
||||
mode: ipset # The mode you want : ipset or TC
|
||||
dbpath: /var/lib/crowdsec/data/crowdsec.db # Path to the crowdsec database
|
||||
piddir: /var/run/ # PID file, don't touch
|
||||
update_frequency: 10s #
|
||||
daemonize: true # Run as a service if true
|
||||
log_mode: file # Output log to file or stdout
|
||||
log_dir: /var/log/ # Folder to write log
|
||||
```
|
||||
|
||||
The log file created by `netfilter-blocker` is called `netfilter-blocker.log`.
|
|
@ -1,25 +0,0 @@
|
|||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
||||
|
||||
<center><a href="https://github.com/crowdsecurity/cs-netfilter-blocker/"><i class="fa fa-github" style="font-size:36px"></i>Netfilter {{plugins.name}}</a></center>
|
||||
|
||||
|
||||
First, please [download the latest release](https://github.com/crowdsecurity/cs-netfilter-blocker/releases/latest) of our netfilter {{plugins.name}}.
|
||||
|
||||
Then run the following commands:
|
||||
|
||||
```bash
|
||||
tar xzvf cs-netfilter-blocker.tgz
|
||||
```
|
||||
```bash
|
||||
cd cs-netfilter-blocker/
|
||||
```
|
||||
```bash
|
||||
sudo ./install.sh
|
||||
```
|
||||
|
||||
|
||||
When an IP is referenced in the database, it will be put in an ipset blacklist to ban that IP.
|
||||
|
||||
|
||||
ⓘ IPv4 and IPv6 are supported.
|
|
@ -1,10 +0,0 @@
|
|||
The blocker configuration is in `/usr/local/lua/crowdsec/crowdsec.conf` :
|
||||
|
||||
```
|
||||
DB_PATH=/var/lib/crowdsec/data/crowdsec.db # The path of the crowdsec SQlite3 database.
|
||||
LOG_FILE=/tmp/lua_mod.log # Path to file to log
|
||||
CACHE_EXPIRATION=1 # Cache expiration in seconds
|
||||
CACHE_SIZE=1000 # Max cache size
|
||||
```
|
||||
|
||||
The nginx configuration file used by nginx to run the module is `/etc/nginx/conf.d/crowdsec_nginx.conf`.
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
<center>[nginx {{plugins.name}} github](https://github.com/crowdsecurity/cs-nginx-plugin/)</center>
|
||||
|
||||
First, please [download the latest version](https://github.com/crowdsecurity/cs-nginx-plugin/releases/latest) of our nginx blocker.
|
||||
|
||||
And run the following commands:
|
||||
|
||||
```bash
|
||||
tar xzvf cs-nginx-plugin-release.tgz
|
||||
```
|
||||
```bash
|
||||
cd cs-nginx-plugin-vX.Y.Z/
|
||||
```
|
||||
```bash
|
||||
sudo ./install.sh
|
||||
```
|
||||
```bash
|
||||
sudo systemctl restart nginx
|
||||
```
|
||||
|
||||
When an IP is referenced in the database, any request from this IP will lead to a `403` reply.
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
The {{crowdsec.name}} wordress plugins configuration is located under "Crowdsec" => "Settings".
|
||||
|
||||
### {{crowdsec.name}} configuration
|
||||
|
||||
- `Activate Crowdsec PULL` : Ban IP addresses from crowdsec API
|
||||
- `Crowdsec API Token` : Crowdsec API Token from crowdsec backoffice subscription
|
||||
|
||||
### {{crowdsec.name}} configuration
|
||||
|
||||
- `Activate {{crowdsec.name}} decision pull` : Ban IP addresses from {{crowdsec.name}} decision
|
||||
- `{{crowdsec.name}} db file` : Path to {{crowdsec.name}} database file
|
||||
|
||||
## General configuration
|
||||
|
||||
- `Activate on backend` : Activate the plugin on the wordpress backend or not
|
|
@ -1,6 +0,0 @@
|
|||
First, please [download the latest release](https://github.com/crowdsecurity/cs-wordpress-plugin/releases/latest) of our wordpress blocker.
|
||||
|
||||
Then upload the zip file into your Wordpress backoffice in "Plugins" => "Add new" => "Upload Plugin"
|
||||
|
||||
When the plugin is installed, activate it.
|
||||
|
|
@ -30,13 +30,13 @@ API interaction:
|
|||
### Options
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--debug Set logging to debug.
|
||||
--info Set logging to info.
|
||||
--warning Set logging to warning.
|
||||
--error Set logging to error.
|
||||
-h, --help help for cscli
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--debug Set logging to debug.
|
||||
--info Set logging to info.
|
||||
--warning Set logging to warning.
|
||||
--error Set logging to error.
|
||||
-h, --help help for cscli
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
@ -51,7 +51,8 @@ API interaction:
|
|||
* [cscli list](cscli_list.md) - List enabled configs
|
||||
* [cscli metrics](cscli_metrics.md) - Display crowdsec prometheus metrics.
|
||||
* [cscli remove](cscli_remove.md) - Remove/disable configuration(s)
|
||||
* [cscli simulation](cscli_simulation.md) -
|
||||
* [cscli update](cscli_update.md) - Fetch available configs from hub
|
||||
* [cscli upgrade](cscli_upgrade.md) - Upgrade configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -29,12 +29,12 @@ cscli api credentials # Display your API credentials
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
@ -46,4 +46,4 @@ cscli api credentials # Display your API credentials
|
|||
* [cscli api register](cscli_api_register.md) - Register on Crowdsec API
|
||||
* [cscli api reset](cscli_api_reset.md) - Reset password on CrowdSec API
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli api credentials
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -26,16 +26,16 @@ cscli api enroll -u 1234567890ffff
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli api pull
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -26,16 +26,16 @@ cscli api register
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli api reset
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli api](cscli_api.md) - Crowdsec API interaction
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ cscli backup restore ./my-backup
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
@ -36,4 +36,4 @@ cscli backup restore ./my-backup
|
|||
* [cscli backup restore](cscli_backup_restore.md) - Restore configuration (api, parsers, scenarios etc.) from directory
|
||||
* [cscli backup save](cscli_backup_save.md) - Backup configuration (api, parsers, scenarios etc.) to directory
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -34,16 +34,16 @@ cscli backup restore ./my-backup
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli backup](cscli_backup.md) - Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ backup command will try to save all relevant informations to crowdsec config, in
|
|||
|
||||
- Backup of API credentials
|
||||
|
||||
- Backup of acqusition configuration
|
||||
- Backup of acquisition configuration
|
||||
|
||||
|
||||
|
||||
|
@ -35,16 +35,16 @@ cscli backup save ./my-backup
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli backup](cscli_backup.md) - Backup or restore configuration (api, parsers, scenarios etc.) to/from directory
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ You can add/delete/list or flush current bans in your local ban DB.
|
|||
### Options
|
||||
|
||||
```
|
||||
--db string Set path to SQLite DB.
|
||||
--remediation string Set specific remediation type : ban|slow|captcha (default "ban")
|
||||
-h, --help help for ban
|
||||
```
|
||||
|
@ -19,12 +18,12 @@ You can add/delete/list or flush current bans in your local ban DB.
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
@ -35,4 +34,4 @@ You can add/delete/list or flush current bans in your local ban DB.
|
|||
* [cscli ban flush](cscli_ban_flush.md) - Fush ban DB
|
||||
* [cscli ban list](cscli_ban_list.md) - List local or api bans/remediations
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -27,8 +27,7 @@ cscli ban add range 1.2.3.0/24 24h "the whole range"
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -43,4 +42,4 @@ cscli ban add range 1.2.3.0/24 24h "the whole range"
|
|||
* [cscli ban add ip](cscli_ban_add_ip.md) - Adds the specific ip to the ban db
|
||||
* [cscli ban add range](cscli_ban_add_range.md) - Adds the specific ip to the ban db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ cscli ban add ip 1.2.3.4 12h "the scan"
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -39,4 +38,4 @@ cscli ban add ip 1.2.3.4 12h "the scan"
|
|||
|
||||
* [cscli ban add](cscli_ban_add.md) - Adds a ban against a given ip/range for the provided duration
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ cscli ban add range 1.2.3.0/24 12h "the whole range"
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -39,4 +38,4 @@ cscli ban add range 1.2.3.0/24 12h "the whole range"
|
|||
|
||||
* [cscli ban add](cscli_ban_add.md) - Adds a ban against a given ip/range for the provided duration
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -22,8 +22,7 @@ cscli ban del range 1.2.3.0/24
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -38,4 +37,4 @@ cscli ban del range 1.2.3.0/24
|
|||
* [cscli ban del ip](cscli_ban_del_ip.md) - Delete bans for given ip from db
|
||||
* [cscli ban del range](cscli_ban_del_range.md) - Delete bans for given ip from db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ cscli ban del ip 1.2.3.4
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -39,4 +38,4 @@ cscli ban del ip 1.2.3.4
|
|||
|
||||
* [cscli ban del](cscli_ban_del.md) - Delete bans from db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ cscli ban del range 1.2.3.0/24
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -39,4 +38,4 @@ cscli ban del range 1.2.3.0/24
|
|||
|
||||
* [cscli ban del](cscli_ban_del.md) - Delete bans from db
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ cscli ban flush
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -39,4 +38,4 @@ cscli ban flush
|
|||
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@ List local or api bans/remediations
|
|||
|
||||
List the bans, by default only local decisions.
|
||||
|
||||
If --all/-a is specified, api-provided bans will be displayed too.
|
||||
If --all/-a is specified, bans will be displayed without limit (--limit).
|
||||
Default limit is 50.
|
||||
|
||||
Time can be specified with --at and support a variety of date formats:
|
||||
- Jan 2 15:04:05
|
||||
|
@ -22,19 +23,34 @@ Time can be specified with --at and support a variety of date formats:
|
|||
cscli ban list [flags]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
ban list --range 0.0.0.0/0 : will list all
|
||||
ban list --country CN
|
||||
ban list --reason crowdsecurity/http-probing
|
||||
ban list --as OVH
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-a, --all List as well bans received from API
|
||||
--at string List bans at given time
|
||||
-h, --help help for list
|
||||
-a, --all List bans without limit
|
||||
--api List as well bans received from API
|
||||
--as string List bans belonging to given AS name
|
||||
--at string List bans at given time
|
||||
--country string List bans belonging to given country code
|
||||
-h, --help help for list
|
||||
--ip string List bans for given IP
|
||||
--limit int Limit of bans to display (default 50) (default 50)
|
||||
--range string List bans belonging to given range
|
||||
--reason string List bans containing given reason
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--db string Set path to SQLite DB.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
|
@ -47,4 +63,4 @@ cscli ban list [flags]
|
|||
|
||||
* [cscli ban](cscli_ban.md) - Manage bans/mitigations
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ Allows to view/edit cscli config
|
|||
|
||||
### Synopsis
|
||||
|
||||
Allow to configure sqlite path and installation directory.
|
||||
Allow to configure database plugin path and installation directory.
|
||||
If no commands are specified, config is in interactive mode.
|
||||
|
||||
### Examples
|
||||
|
@ -23,20 +23,17 @@ If no commands are specified, config is in interactive mode.
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli config backend](cscli_config_backend.md) - Configure installation directory
|
||||
* [cscli config installdir](cscli_config_installdir.md) - Configure installation directory
|
||||
* [cscli config prompt](cscli_config_prompt.md) - Prompt for configuration values in an interactive fashion
|
||||
* [cscli config show](cscli_config_show.md) - Displays current config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config backend
|
||||
|
||||
Configure installation directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
Configure the backend plugin directory of crowdsec, such as /etc/crowdsec/plugins/backend
|
||||
|
||||
```
|
||||
cscli config backend [value] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for backend
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config installdir
|
||||
|
||||
Configure installation directory
|
||||
|
||||
### Synopsis
|
||||
|
||||
Configure the installation directory of crowdsec, such as /etc/crowdsec/config/
|
||||
|
||||
```
|
||||
cscli config installdir [value] [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for installdir
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -1,34 +0,0 @@
|
|||
## cscli config prompt
|
||||
|
||||
Prompt for configuration values in an interactive fashion
|
||||
|
||||
### Synopsis
|
||||
|
||||
Start interactive configuration of cli. It will successively ask for install dir, db path.
|
||||
|
||||
```
|
||||
cscli config prompt [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for prompt
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
|
@ -19,16 +19,16 @@ cscli config show [flags]
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli config](cscli_config.md) - Allows to view/edit cscli config
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -24,12 +24,12 @@ cscli dashboard setup --force
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
@ -39,4 +39,4 @@ cscli dashboard setup --force
|
|||
* [cscli dashboard start](cscli_dashboard_start.md) - Start the metabase container.
|
||||
* [cscli dashboard stop](cscli_dashboard_stop.md) - Stops the metabase container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -32,16 +32,16 @@ cscli dashboard setup -l 0.0.0.0 -p 443
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -19,16 +19,16 @@ cscli dashboard start [flags]
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -20,16 +20,16 @@ cscli dashboard stop [flags]
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli dashboard](cscli_dashboard.md) - Start a dashboard (metabase) container.
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -28,12 +28,12 @@ cscli inspect collection crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
@ -44,4 +44,4 @@ cscli inspect collection crowdsec/xxx
|
|||
* [cscli inspect postoverflow](cscli_inspect_postoverflow.md) - Inspect given postoverflow parser
|
||||
* [cscli inspect scenario](cscli_inspect_scenario.md) - Inspect given scenario
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli inspect collection crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli inspect parser crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli inspect postoverflow crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ cscli inspect scenario crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli inspect](cscli_inspect.md) - Inspect configuration(s)
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ cscli install [type] [config_name]
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
--error Set logging to error.
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli](cscli.md) - cscli allows you to manage crowdsec
|
||||
* [cscli install collection](cscli_install_collection.md) - Install given collection
|
||||
* [cscli install parser](cscli_install_parser.md) - Install given log parser
|
||||
* [cscli install parser](cscli_install_parser.md) - Install given parser
|
||||
* [cscli install postoverflow](cscli_install_postoverflow.md) - Install given postoverflow parser
|
||||
* [cscli install scenario](cscli_install_scenario.md) - Install given scenario
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -25,18 +25,18 @@ cscli install collection crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## cscli install parser
|
||||
|
||||
Install given log parser
|
||||
Install given parser
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
@ -25,18 +25,18 @@ cscli install parser crowdsec/xxx
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config-dir string Configuration directory to use. (default "/etc/crowdsec/cscli/")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config/default.yaml")
|
||||
--debug Set logging to debug.
|
||||
-d, --download-only Only download packages, don't enable
|
||||
--error Set logging to error.
|
||||
--force Force install : Overwrite tainted and outdated files
|
||||
--info Set logging to info.
|
||||
-o, --output string Output format : human, json, raw. (default "human")
|
||||
--warning Set logging to warning.
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [cscli install](cscli_install.md) - Install configuration(s) from hub
|
||||
|
||||
###### Auto generated by spf13/cobra on 15-May-2020
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue