Skip to content

Commit

Permalink
[Ingest Manager] Better validation of registry urls (#80685)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Oct 15, 2020
1 parent 8b18a1e commit 15119fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/ingest_manager/server/index.ts
Original file line number Diff line number Diff line change
@@ -30,8 +30,8 @@ export const config: PluginConfigDescriptor = {
],
schema: schema.object({
enabled: schema.boolean({ defaultValue: true }),
registryUrl: schema.maybe(schema.uri()),
registryProxyUrl: schema.maybe(schema.uri()),
registryUrl: schema.maybe(schema.uri({ scheme: ['http', 'https'] })),
registryProxyUrl: schema.maybe(schema.uri({ scheme: ['http', 'https'] })),
agents: schema.object({
enabled: schema.boolean({ defaultValue: true }),
tlsCheckDisabled: schema.boolean({ defaultValue: false }),

0 comments on commit 15119fe

Please sign in to comment.