# cscli alerts

## cscli alerts[​](#cscli-alerts "Direct link to cscli alerts")

Manage alerts

TEXTCOPY

```
cscli alerts [action] [flags]
```

### Options[​](#options "Direct link to Options")

TEXTCOPY

```
  -h, --help   help for alerts
```

### Options inherited from parent commands[​](#options-inherited-from-parent-commands "Direct link to Options inherited from parent commands")

TEXTCOPY

```
      --color string    Output color: yes, no, auto (default "auto")
  -c, --config string   path to crowdsec config file (default "/etc/crowdsec/config.yaml")
      --debug           Set logging to debug
      --error           Set logging to error
      --info            Set logging to info
  -o, --output string   Output format: human, json, raw
      --trace           Set logging to trace
      --warning         Set logging to warning
```

### SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [cscli](https://docs.crowdsec.net/docs/next/cscli/.md) - cscli allows you to manage crowdsec
* [cscli alerts delete](https://docs.crowdsec.net/docs/next/cscli/cscli_alerts_delete.md) - Delete alerts /!\ This command can be used only on the same machine than the local API.
* [cscli alerts flush](https://docs.crowdsec.net/docs/next/cscli/cscli_alerts_flush.md) - Flush alerts /!\ This command can be used only on the same machine than the local API
* [cscli alerts inspect](https://docs.crowdsec.net/docs/next/cscli/cscli_alerts_inspect.md) - Show info about an alert
* [cscli alerts list](https://docs.crowdsec.net/docs/next/cscli/cscli_alerts_list.md) - List alerts
