Skip to content

Commit d9e65f8

Browse files
enhance: add unix socket comment to http_default (#615)
Add `unix_socket` key to `http_default` since the documentation does not really keep all parameters in an order.
1 parent aaae7cb commit d9e65f8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crowdsec-docs/docs/notification_plugins

crowdsec-docs/docs/notification_plugins/http.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ format: | # This template receives list of models.Alert objects. The request bo
3737
{{.|toJson}}
3838
3939
url: http://localhost # plugin will make requests to this url. Eg value https://www.example.com/
40+
# unix_socket: /var/run/example.sock # plugin will send the `url` across the unix socket instead of opening a remote connection
4041

4142
method: POST # eg either of "POST", "GET", "PUT" and other http verbs is valid value.
4243

@@ -66,4 +67,4 @@ Let's restart crowdsec
6667
sudo systemctl restart crowdsec
6768
```
6869

69-
You can verify whether the plugin is properly working by triggering scenarios using tools like wapiti, nikto etc.
70+
You can verify whether the plugin is properly working by triggering scenarios using tools like wapiti, nikto etc.

0 commit comments

Comments
 (0)