From 57cb7d1de9f4515fead8a4e8a8450bfc6a35a168 Mon Sep 17 00:00:00 2001 From: Joseph Sirianni Date: Fri, 15 Oct 2021 11:35:40 -0400 Subject: [PATCH] use enum for tls min version. fix friendly name (#373) --- plugins/http.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/http.yaml b/plugins/http.yaml index af778710..9f460f05 100644 --- a/plugins/http.yaml +++ b/plugins/http.yaml @@ -1,5 +1,5 @@ # Plugin Info -version: 0.0.1 +version: 0.0.2 title: HTTP description: HTTP Input min_stanza_version: 1.2.10 @@ -75,9 +75,13 @@ parameters: equals: true advanced_config: true - name: min_version - label: TLS private key path + label: TLS Minimum Version description: Minimum TLS version to accept connections - type: string + type: enum + valid_values: + - "1.1" + - "1.2" + - "1.3" default: "1.2" relevant_if: enable_tls: