diff --git a/registry/tracecat_registry/templates/crowdsec/block_ip_address.yml b/registry/tracecat_registry/templates/crowdsec/block_ip_address.yml index def28116a..f43e1b540 100644 --- a/registry/tracecat_registry/templates/crowdsec/block_ip_address.yml +++ b/registry/tracecat_registry/templates/crowdsec/block_ip_address.yml @@ -9,6 +9,7 @@ definition: - name: crowdsec keys: - CROWDSEC_API_TOKEN + - CROWDSEC_API_URL optional_keys: null expects: cn: @@ -27,10 +28,6 @@ definition: type: str description: The IP address to block default: null - url_server: - type: str - description: Your local url api crowdsec - default: null timestamp: type: str description: Time @@ -39,7 +36,7 @@ definition: - ref: block_ip_address action: core.http_request args: - url: ${{ inputs.url_server }}/v1/alerts + url: ${{ SECRETS.crowdsec.CROWDSEC_API_URL }}/v1/alerts method: POST headers: accept: application/json diff --git a/registry/tracecat_registry/templates/crowdsec/unblock_ip_address.yml b/registry/tracecat_registry/templates/crowdsec/unblock_ip_address.yml index a1617728d..f8d23b9d4 100644 --- a/registry/tracecat_registry/templates/crowdsec/unblock_ip_address.yml +++ b/registry/tracecat_registry/templates/crowdsec/unblock_ip_address.yml @@ -16,10 +16,6 @@ definition: type: str description: The IP address to unblock default: null - url_server: - type: str - description: The IP address server - default: null steps: - ref: unblock_ip_address action: core.http_request