Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/cel/agent/input/input.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ regexp:
{{regexp}}
{{/if}}

{{#if xsd}}
xsd:
{{xsd}}
{{/if}}

{{#if username}}
auth.basic.user: {{username}}
{{/if}}
Expand Down
5 changes: 5 additions & 0 deletions packages/cel/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "1.13.0"
changes:
- description: Add xsd configuration option inside input.
type: enhancement
link: https://github.com/elastic/integrations/pull/11602
- version: "1.12.0"
changes:
- description: ECS version updated to 8.11.0. Update the kibana constraint to ^8.13.0. Modified the field definitions to remove ECS fields made redundant by the ecs@mappings component template.
Expand Down
23 changes: 22 additions & 1 deletion packages/cel/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cel
title: Custom API using Common Expression Language
description: Collect custom events from an API with Elastic agent
type: input
version: "1.12.0"
version: "1.13.0"
categories:
- custom
conditions:
Expand Down Expand Up @@ -90,6 +90,27 @@ policy_templates:
default: |
#products: '(?i)(Elasticsearch|Beats|Logstash|Kibana)'
#solutions: '(?i)(Search|Observability|Security)'
- name: xsd
type: textarea
title: XML Schema Definitions (XSD) for XML documents.
description: |
The XSD needed for correct parsing and ingestion of XML documents using decode_xml CEL extension.
More information can be found in the [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-cel.html#xsd-cel).
show_user: false
multi: false
required: false
default: |
# order: |
# <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
# <xs:element name="order">
# <xs:complexType>
# <xs:sequence>
# <xs:element name="sender" type="xs:string"/>
# <xs:element name="address">
# <xs:complexType>
# <xs:sequence>
# <xs:element name="name" type="xs:string"/>
# <xs:element name="company" type="xs:string"/>
- name: username
type: text
title: Basic Auth Username
Expand Down