diff --git a/crowdsec/plugin.json b/crowdsec/plugin.json index 1be660a..e3e0f9a 100644 --- a/crowdsec/plugin.json +++ b/crowdsec/plugin.json @@ -30,7 +30,7 @@ "id": "crowdsec-api-key", "label": "CrowdSec API key", "regex": "^.*$", - "type": "text" + "type": "password" }, "CROWDSEC_MODE": { "context": "global", @@ -39,7 +39,8 @@ "id": "crowdsec-mode", "label": "CrowdSec Mode", "regex": "^(live|stream)$", - "type": "text" + "type": "select", + "select": ["live", "stream"] }, "CROWDSEC_REQUEST_TIMEOUT": { "context": "global", diff --git a/discord/plugin.json b/discord/plugin.json index c172187..1864127 100644 --- a/discord/plugin.json +++ b/discord/plugin.json @@ -21,7 +21,7 @@ "id": "discord-webhook-url", "label": "Discord webhook URL", "regex": "^.*$", - "type": "text" + "type": "password" }, "DISCORD_RETRY_IF_LIMITED": { "context": "global", diff --git a/slack/plugin.json b/slack/plugin.json index e10f035..3945f12 100644 --- a/slack/plugin.json +++ b/slack/plugin.json @@ -21,7 +21,7 @@ "id": "slack-webhook-url", "label": "Slack webhook URL", "regex": "^.*$", - "type": "text" + "type": "password" }, "SLACK_RETRY_IF_LIMITED": { "context": "global",