Skip to content

Commit 47f9918

Browse files
authored
Merge pull request #796 from crowdsecurity/mma-basic-auth
Add more details about generic firewall integration
2 parents 5b1425b + 562d9dd commit 47f9918

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crowdsec-docs/unversioned/integrations/genericvendor.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ Once the integration is generated you will be presented with a credentials scree
4747
}}
4848
/>
4949

50+
The username and password provided follows a *Basic Authentication* mechanism that you can use with any HTTP client such as `curl`
51+
52+
```
53+
curl -u 'username:password' https://admin.api.crowdsec.net/v1/integrations/${content_id}/content
54+
```
55+
56+
In case you lost your credentials you can regenerate them by clicking `Configure -> Regenerate Credentials` button at the top right corner of the integration.
57+
5058
## Format example
5159

5260
The CrowdSec blocklist will be in plain text format, with one IP address per line. Here is an example of how the blocklist will look:

0 commit comments

Comments
 (0)