@cryptotaxi247 / netdata-1 / commits / 410884d73

go.d.plugin: update file path pattern in jsonschema (#17164)

Ilya Mashchenko committed Mar 14, 2024 at 19:21 UTC 410884d7360b3b58a6fdd541b458fd08d444d3b9
50 files changed +146 -146
src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
+3 -3
@@ -110,19 +110,19 @@
110 "title": "TLS CA",
111 "description": "The path to the CA certificate file for TLS verification.",
112 "type": "string",
113 - "pattern": "^/"
113 + "pattern": "^$|^/"
114 },
115 "tls_cert": {
116 "title": "TLS certificate",
117 "description": "The path to the client certificate file for TLS authentication.",
118 "type": "string",
119 - "pattern": "^/"
119 + "pattern": "^$|^/"
120 },
121 "tls_key": {
122 "title": "TLS key",
123 "description": "The path to the client key file for TLS authentication.",
124 "type": "string",
125 - "pattern": "^/"
125 + "pattern": "^$|^/"
126 }
127 },
128 "required": [
src/go/collectors/go.d.plugin/modules/apache/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/bind/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/consul/config_schema.json
+3 -3
@@ -82,19 +82,19 @@
82 "title": "TLS CA",
83 "description": "The path to the CA certificate file for TLS verification.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_cert": {
88 "title": "TLS certificate",
89 "description": "The path to the client certificate file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 },
93 "tls_key": {
94 "title": "TLS key",
95 "description": "The path to the client key file for TLS authentication.",
96 "type": "string",
97 - "pattern": "^/"
97 + "pattern": "^$|^/"
98 }
99 },
100 "required": [
src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
+3 -3
@@ -130,19 +130,19 @@
130 "title": "TLS CA",
131 "description": "The path to the CA certificate file for TLS verification.",
132 "type": "string",
133 - "pattern": "^/"
133 + "pattern": "^$|^/"
134 },
135 "tls_cert": {
136 "title": "TLS certificate",
137 "description": "The path to the client certificate file for TLS authentication.",
138 "type": "string",
139 - "pattern": "^/"
139 + "pattern": "^$|^/"
140 },
141 "tls_key": {
142 "title": "TLS key",
143 "description": "The path to the client key file for TLS authentication.",
144 "type": "string",
145 - "pattern": "^/"
145 + "pattern": "^$|^/"
146 }
147 },
148 "required": [
src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
+3 -3
@@ -87,19 +87,19 @@
87 "title": "TLS CA",
88 "description": "The path to the CA certificate file for TLS verification.",
89 "type": "string",
90 - "pattern": "^/"
90 + "pattern": "^$|^/"
91 },
92 "tls_cert": {
93 "title": "TLS certificate",
94 "description": "The path to the client certificate file for TLS authentication.",
95 "type": "string",
96 - "pattern": "^/"
96 + "pattern": "^$|^/"
97 },
98 "tls_key": {
99 "title": "TLS key",
100 "description": "The path to the client key file for TLS authentication.",
101 "type": "string",
102 - "pattern": "^/"
102 + "pattern": "^$|^/"
103 }
104 },
105 "required": [
src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp/config_schema.json
+3 -3
@@ -16,21 +16,21 @@
16 "description": "File path to the Dnsmasq DHCP server's lease database.",
17 "type": "string",
18 "default": "/var/lib/misc/dnsmasq.leases",
19 - "pattern": "^/"
19 + "pattern": "^$|^/"
20 },
21 "conf_path": {
22 "title": "Config file",
23 "description": "File path for the Dnsmasq configuration. Used to find all configured DHCP ranges.",
24 "type": "string",
25 "default": "/etc/dnsmasq.conf",
26 - "pattern": "^/"
26 + "pattern": "^$|^/"
27 },
28 "conf_dir": {
29 "title": "Config directory",
30 "description": "Directory path for Dnsmasq configurations. The syntax follows the same format as the [--conf-dir](https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) option.",
31 "type": "string",
32 "default": "/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new",
33 - "pattern": "^/"
33 + "pattern": "^$|^/"
34 }
35 },
36 "required": [
src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
+3 -3
@@ -88,19 +88,19 @@
88 "title": "TLS CA",
89 "description": "The path to the CA certificate file for TLS verification.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 },
93 "tls_cert": {
94 "title": "TLS certificate",
95 "description": "The path to the client certificate file for TLS authentication.",
96 "type": "string",
97 - "pattern": "^/"
97 + "pattern": "^$|^/"
98 },
99 "tls_key": {
100 "title": "TLS key",
101 "description": "The path to the client key file for TLS authentication.",
102 "type": "string",
103 - "pattern": "^/"
103 + "pattern": "^$|^/"
104 }
105 },
106 "required": [
src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
+3 -3
@@ -106,19 +106,19 @@
106 "title": "TLS CA",
107 "description": "The path to the CA certificate file for TLS verification.",
108 "type": "string",
109 - "pattern": "^/"
109 + "pattern": "^$|^/"
110 },
111 "tls_cert": {
112 "title": "TLS certificate",
113 "description": "The path to the client certificate file for TLS authentication.",
114 "type": "string",
115 - "pattern": "^/"
115 + "pattern": "^$|^/"
116 },
117 "tls_key": {
118 "title": "TLS key",
119 "description": "The path to the client key file for TLS authentication.",
120 "type": "string",
121 - "pattern": "^/"
121 + "pattern": "^$|^/"
122 }
123 },
124 "required": [
src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/filecheck/config_schema.json
+4 -4
@@ -23,7 +23,7 @@
23 "items": {
24 "title": "Filepath",
25 "type": "string",
26 - "pattern": "^/"
26 + "pattern": "^$|^/"
27 },
28 "uniqueItems": true
29 },
@@ -34,7 +34,7 @@
34 "items": {
35 "title": "Filepath",
36 "type": "string",
37 - "pattern": "^/"
37 + "pattern": "^$|^/"
38 },
39 "uniqueItems": true
40 }
@@ -61,7 +61,7 @@
61 "items": {
62 "title": "Directory",
63 "type": "string",
64 - "pattern": "^/"
64 + "pattern": "^$|^/"
65 },
66 "uniqueItems": true
67 },
@@ -72,7 +72,7 @@
72 "items": {
73 "title": "Directory",
74 "type": "string",
75 - "pattern": "^/"
75 + "pattern": "^$|^/"
76 },
77 "uniqueItems": true
78 }
src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/geth/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json
+3 -3
@@ -125,19 +125,19 @@
125 "title": "TLS CA",
126 "description": "The path to the CA certificate file for TLS verification.",
127 "type": "string",
128 - "pattern": "^/"
128 + "pattern": "^$|^/"
129 },
130 "tls_cert": {
131 "title": "TLS certificate",
132 "description": "The path to the client certificate file for TLS authentication.",
133 "type": "string",
134 - "pattern": "^/"
134 + "pattern": "^$|^/"
135 },
136 "tls_key": {
137 "title": "TLS key",
138 "description": "The path to the client key file for TLS authentication.",
139 "type": "string",
140 - "pattern": "^/"
140 + "pattern": "^$|^/"
141 }
142 },
143 "required": [
src/go/collectors/go.d.plugin/modules/isc_dhcpd/config_schema.json
+1 -1
@@ -16,7 +16,7 @@
16 "description": "File path to the ISC DHCP server's lease database.",
17 "type": "string",
18 "default": "/var/lib/dhcp/dhcpd.leases",
19 - "pattern": "^/"
19 + "pattern": "^$|^/"
20 },
21 "pools": {
22 "title": "IP pools",
src/go/collectors/go.d.plugin/modules/k8s_kubelet/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/k8s_kubeproxy/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/lighttpd/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/logstash/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/nginx/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/nginxplus/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/nginxvts/config_schema.json
+3 -3
@@ -75,19 +75,19 @@
75 "title": "TLS CA",
76 "description": "The path to the CA certificate file for TLS verification.",
77 "type": "string",
78 - "pattern": "^/"
78 + "pattern": "^$|^/"
79 },
80 "tls_cert": {
81 "title": "TLS certificate",
82 "description": "The path to the client certificate file for TLS authentication.",
83 "type": "string",
84 - "pattern": "^/"
84 + "pattern": "^$|^/"
85 },
86 "tls_key": {
87 "title": "TLS key",
88 "description": "The path to the client key file for TLS authentication.",
89 "type": "string",
90 - "pattern": "^/"
90 + "pattern": "^$|^/"
91 }
92 },
93 "required": [
src/go/collectors/go.d.plugin/modules/openvpn_status_log/config_schema.json
+1 -1
@@ -16,7 +16,7 @@
16 "description": "Path to the status log file.",
17 "type": "string",
18 "default": "/var/log/openvpn/status.log",
19 - "pattern": "^/"
19 + "pattern": "^$|^/"
20 },
21 "per_user_stats": {
22 "title": "User selector",
src/go/collectors/go.d.plugin/modules/phpdaemon/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/pihole/config_schema.json
+3 -3
@@ -82,19 +82,19 @@
82 "title": "TLS CA",
83 "description": "The path to the CA certificate file for TLS verification.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_cert": {
88 "title": "TLS certificate",
89 "description": "The path to the client certificate file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 },
93 "tls_key": {
94 "title": "TLS key",
95 "description": "The path to the client key file for TLS authentication.",
96 "type": "string",
97 - "pattern": "^/"
97 + "pattern": "^$|^/"
98 }
99 },
100 "required": [
src/go/collectors/go.d.plugin/modules/pika/config_schema.json
+3 -3
@@ -33,19 +33,19 @@
33 "title": "TLS CA",
34 "description": "The path to the CA certificate file for TLS verification.",
35 "type": "string",
36 - "pattern": "^/"
36 + "pattern": "^$|^/"
37 },
38 "tls_cert": {
39 "title": "TLS certificate",
40 "description": "The path to the client certificate file for TLS authentication.",
41 "type": "string",
42 - "pattern": "^/"
42 + "pattern": "^$|^/"
43 },
44 "tls_key": {
45 "title": "TLS key",
46 "description": "The path to the client key file for TLS authentication.",
47 "type": "string",
48 - "pattern": "^/"
48 + "pattern": "^$|^/"
49 }
50 },
51 "required": [
src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/prometheus/config_schema.json
+4 -4
@@ -158,19 +158,19 @@
158 "title": "TLS CA",
159 "description": "The path to the CA certificate file for TLS verification.",
160 "type": "string",
161 - "pattern": "^/"
161 + "pattern": "^$|^/"
162 },
163 "tls_cert": {
164 "title": "TLS certificate",
165 "description": "The path to the client certificate file for TLS authentication.",
166 "type": "string",
167 - "pattern": "^/"
167 + "pattern": "^$|^/"
168 },
169 "tls_key": {
170 "title": "TLS key",
171 "description": "The path to the client key file for TLS authentication.",
172 "type": "string",
173 - "pattern": "^/"
173 + "pattern": "^$|^/"
174 }
175 },
176 "required": [
@@ -248,7 +248,7 @@
248 ]
249 },
250 "url": {
251 - "ui:placeholder": "https://203.0.113.0"
251 + "ui:placeholder": "http://203.0.113.0"
252 },
253 "timeout": {
254 "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
src/go/collectors/go.d.plugin/modules/pulsar/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/rabbitmq/config_schema.json
+3 -3
@@ -84,19 +84,19 @@
84 "title": "TLS CA",
85 "description": "The path to the CA certificate file for TLS verification.",
86 "type": "string",
87 - "pattern": "^/"
87 + "pattern": "^$|^/"
88 },
89 "tls_cert": {
90 "title": "TLS certificate",
91 "description": "The path to the client certificate file for TLS authentication.",
92 "type": "string",
93 - "pattern": "^/"
93 + "pattern": "^$|^/"
94 },
95 "tls_key": {
96 "title": "TLS key",
97 "description": "The path to the client key file for TLS authentication.",
98 "type": "string",
99 - "pattern": "^/"
99 + "pattern": "^$|^/"
100 }
101 },
102 "required": [
src/go/collectors/go.d.plugin/modules/scaleio/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/squidlog/config_schema.json
+1 -1
@@ -15,7 +15,7 @@
15 "description": "The file path to the Squid server log file.",
16 "type": "string",
17 "default": "/var/log/squid/access.log",
18 - "pattern": "^/"
18 + "pattern": "^$|^/"
19 },
20 "exclude_path": {
21 "title": "Exclude path",
src/go/collectors/go.d.plugin/modules/tengine/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/traefik/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/unbound/config_schema.json
+3 -3
@@ -52,21 +52,21 @@
52 "title": "TLS CA",
53 "description": "The path to the CA certificate file for TLS verification.",
54 "type": "string",
55 - "pattern": "^/"
55 + "pattern": "^$|^/"
56 },
57 "tls_cert": {
58 "title": "TLS certificate",
59 "description": "The path to the client certificate file for TLS authentication.",
60 "type": "string",
61 "default": "/etc/unbound/unbound_control.pem",
62 - "pattern": "^/"
62 + "pattern": "^$|^/"
63 },
64 "tls_key": {
65 "title": "TLS key",
66 "description": "The path to the client key file for TLS authentication.",
67 "type": "string",
68 "default": "/etc/unbound/unbound_control.key",
69 - "pattern": "^/"
69 + "pattern": "^$|^/"
70 }
71 },
72 "required": [
src/go/collectors/go.d.plugin/modules/vcsa/config_schema.json
+3 -3
@@ -75,19 +75,19 @@
75 "title": "TLS CA",
76 "description": "The path to the CA certificate file for TLS verification.",
77 "type": "string",
78 - "pattern": "^/"
78 + "pattern": "^$|^/"
79 },
80 "tls_cert": {
81 "title": "TLS certificate",
82 "description": "The path to the client certificate file for TLS authentication.",
83 "type": "string",
84 - "pattern": "^/"
84 + "pattern": "^$|^/"
85 },
86 "tls_key": {
87 "title": "TLS key",
88 "description": "The path to the client key file for TLS authentication.",
89 "type": "string",
90 - "pattern": "^/"
90 + "pattern": "^$|^/"
91 }
92 },
93 "required": [
src/go/collectors/go.d.plugin/modules/vernemq/config_schema.json
+3 -3
@@ -76,19 +76,19 @@
76 "title": "TLS CA",
77 "description": "The path to the CA certificate file for TLS verification.",
78 "type": "string",
79 - "pattern": "^/"
79 + "pattern": "^$|^/"
80 },
81 "tls_cert": {
82 "title": "TLS certificate",
83 "description": "The path to the client certificate file for TLS authentication.",
84 "type": "string",
85 - "pattern": "^/"
85 + "pattern": "^$|^/"
86 },
87 "tls_key": {
88 "title": "TLS key",
89 "description": "The path to the client key file for TLS authentication.",
90 "type": "string",
91 - "pattern": "^/"
91 + "pattern": "^$|^/"
92 }
93 },
94 "required": [
src/go/collectors/go.d.plugin/modules/vsphere/config_schema.json
+5 -5
@@ -46,7 +46,7 @@
46 "description": "",
47 "type": "string",
48 "default": "/*/*/*",
49 - "pattern": "^/"
49 + "pattern": "^$|^/"
50 },
51 "default": [
52 "/*"
@@ -62,7 +62,7 @@
62 "description": "",
63 "type": "string",
64 "default": "/*/*/*/*",
65 - "pattern": "^/"
65 + "pattern": "^$|^/"
66 },
67 "default": [
68 "/*"
@@ -114,19 +114,19 @@
114 "title": "TLS CA",
115 "description": "The path to the CA certificate file for TLS verification.",
116 "type": "string",
117 - "pattern": "^/"
117 + "pattern": "^$|^/"
118 },
119 "tls_cert": {
120 "title": "TLS certificate",
121 "description": "The path to the client certificate file for TLS authentication.",
122 "type": "string",
123 - "pattern": "^/"
123 + "pattern": "^$|^/"
124 },
125 "tls_key": {
126 "title": "TLS key",
127 "description": "The path to the client key file for TLS authentication.",
128 "type": "string",
129 - "pattern": "^/"
129 + "pattern": "^$|^/"
130 }
131 },
132 "required": [
src/go/collectors/go.d.plugin/modules/weblog/config_schema.json
+1 -1
@@ -15,7 +15,7 @@
15 "description": "The file path to the Webserver log file.",
16 "type": "string",
17 "default": "/var/log/nginx/access.log",
18 - "pattern": "^/"
18 + "pattern": "^$|^/"
19 },
20 "exclude_path": {
21 "title": "Exclude path",
src/go/collectors/go.d.plugin/modules/windows/config_schema.json
+3 -3
@@ -74,19 +74,19 @@
74 "title": "TLS CA",
75 "description": "The path to the CA certificate file for TLS verification.",
76 "type": "string",
77 - "pattern": "^/"
77 + "pattern": "^$|^/"
78 },
79 "tls_cert": {
80 "title": "TLS certificate",
81 "description": "The path to the client certificate file for TLS authentication.",
82 "type": "string",
83 - "pattern": "^/"
83 + "pattern": "^$|^/"
84 },
85 "tls_key": {
86 "title": "TLS key",
87 "description": "The path to the client key file for TLS authentication.",
88 "type": "string",
89 - "pattern": "^/"
89 + "pattern": "^$|^/"
90 }
91 },
92 "required": [
src/go/collectors/go.d.plugin/modules/x509check/config_schema.json
+3 -3
@@ -51,19 +51,19 @@
51 "title": "TLS CA",
52 "description": "The path to the CA certificate file for TLS verification.",
53 "type": "string",
54 - "pattern": "^/"
54 + "pattern": "^$|^/"
55 },
56 "tls_cert": {
57 "title": "TLS certificate",
58 "description": "The path to the client certificate file for TLS authentication.",
59 "type": "string",
60 - "pattern": "^/"
60 + "pattern": "^$|^/"
61 },
62 "tls_key": {
63 "title": "TLS key",
64 "description": "The path to the client key file for TLS authentication.",
65 "type": "string",
66 - "pattern": "^/"
66 + "pattern": "^$|^/"
67 }
68 },
69 "required": [
src/go/collectors/go.d.plugin/modules/zookeeper/config_schema.json
+3 -3
@@ -38,19 +38,19 @@
38 "title": "TLS CA",
39 "description": "The path to the CA certificate file for TLS verification.",
40 "type": "string",
41 - "pattern": "^/"
41 + "pattern": "^$|^/"
42 },
43 "tls_cert": {
44 "title": "TLS certificate",
45 "description": "The path to the client certificate file for TLS authentication.",
46 "type": "string",
47 - "pattern": "^/"
47 + "pattern": "^$|^/"
48 },
49 "tls_key": {
50 "title": "TLS key",
51 "description": "The path to the client key file for TLS authentication.",
52 "type": "string",
53 - "pattern": "^/"
53 + "pattern": "^$|^/"
54 }
55 },
56 "required": [