Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into ecs-dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed Nov 9, 2021
2 parents 4f8a8fd + 43a0e54 commit a650270
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/packages/good/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ policy_templates:
multi: false
vars:
- name: hosts
type: text
type: url
url_allowed_schemes: ['http', 'https']
title: Hosts
multi: true
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ streams:
show_user: true
default: 9540
- name: tz_offset
type: text
type: time_zone
title: Timezone offset (+HH:mm format)
required: false
show_user: true
Expand Down
3 changes: 3 additions & 0 deletions versions/1/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
- description: Add support for dimension fields.
type: enhancement
link: https://github.com/elastic/package-spec/pull/236
- description: Add email, time_zone and url config types.
type: enhancement
link: https://github.com/elastic/package-spec/pull/241
- description: Add support for dimension fields from external sources.
type: enhancement
link: https://github.com/elastic/package-spec/pull/248
Expand Down
17 changes: 16 additions & 1 deletion versions/1/data_stream/manifest.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ spec:
description: Data type of variable.
type: string
enum:
- integer
- bool
- email
- integer
- password
- text
- time_zone
- url
- yaml
examples:
- text
Expand Down Expand Up @@ -83,6 +86,18 @@ spec:
default: true
examples:
- false
url_allowed_schemes:
description: >
List of allowed URL schemes for the url type. If empty, any scheme is allowed.
An empty string can be used to indicate that the scheme is not mandatory.
type: array
items:
type: string
default: []
examples:
- ['http', 'https']
- ['redis', 'rediss']
- ['', 'mysql']
default:
description: Default value(s) for variable
$ref: "#/definitions/input_variable_value"
Expand Down

0 comments on commit a650270

Please sign in to comment.