Skip to content

Commit 511f92a

Browse files
authored
Merge pull request #858 from crowdsecurity/hes-update-mikrotik-integ
add header to receive compressed data
2 parents c71a902 + e47251f commit 511f92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crowdsec-docs/unversioned/integrations/mikrotik.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Then you need to add the following script:
6666
:local url "https://admin.api.crowdsec.net/v1/integrations/<integration_id>/content"
6767
:local fileName "blocklist.rsc"
6868
:log info "$name fetch blocklist from $url"
69-
/tool fetch url="$url" mode=https dst-path=$fileName http-auth-scheme=basic user="<username>" password="<password>" idle-timeout="30s"
69+
/tool fetch url="$url" mode=https dst-path=$fileName http-auth-scheme=basic user="<username>" password="<password>" idle-timeout="30s" http-header-field="Accept-Encoding:gzip"
7070
:if ([:len [/file find name=$fileName]] > 0) do={
7171
:log info "removing old ipv4 blocklist"
7272
/ip/firewall/address-list/remove [ find where list="crowdsec-integration" ];

0 commit comments

Comments
 (0)