Skip to content

Commit 22a1155

Browse files
enhancement: concise information
1 parent 6403e96 commit 22a1155

File tree

1 file changed

+4
-4
lines changed
  • crowdsec-docs/docs/local_api/notification_plugins

1 file changed

+4
-4
lines changed

crowdsec-docs/docs/local_api/notification_plugins/intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ email_subject: "CrowdSec Notification"
6060
Please note that `cscli notifications inspect` command does not interpolate environment variables and will always show the raw value of the key.
6161
:::
6262

63-
If you wish to use `cscli notifications test` command, you must provide the environment variables in the command line. For example, if you have a `SMTP_PASSWORD` environment variable, you can test the email_default plugin with the following command:
63+
If you wish to use `cscli notifications test` command, you must provide the environment variables in the command line or within your shell environment.
64+
65+
For example, if you have a `SMTP_PASSWORD` environment variable, you can test the `email_default` plugin with the following command:
6466

6567
:::warning
66-
Some shells may hold this information in history, so please consult your shell documentation to ensure that the password is not stored in history.
68+
Some shells may hold this information in history, so please consult your shell documentation to ensure that the password or other sensitive data is not stored in clear text.
6769
:::
6870

6971
```bash
7072
SMTP_PASSWORD=your_password cscli notifications test email_default
7173
```
7274

73-
If you wish to not use the environment variable whilst running the command, you must configure the environment variables within your shell this is out of scope for this documentation so please use your favourite search engine.
74-
7575
### Registering plugin to profile
7676

7777
After discovering the plugins, CrowdSec registers the plugins to the profiles. Here's a profile which sends alerts to plugin named `slackreport`.

0 commit comments

Comments
 (0)