From f6c0fbef26f6ce8d443b7e176d59254d23eadb5f Mon Sep 17 00:00:00 2001 From: Alex Resnick Date: Thu, 18 Mar 2021 15:21:35 +0000 Subject: [PATCH] Change okta.target to nested field --- CHANGELOG.next.asciidoc | 1 + filebeat/docs/fields.asciidoc | 2 +- x-pack/filebeat/module/okta/fields.go | 2 +- x-pack/filebeat/module/okta/system/_meta/fields.yml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 5366487860f..602dfd9815f 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -256,6 +256,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - in httpjson input using encode_as "application/x-www-form-urlencoded" now sets Content-Type correctly {issue}24331[24331] {pull}24336[24336] - Fix default `scope` in `add_nomad_metadata`. {issue}24559[24559] - Fix Cisco ASA parser for message 722051. {pull}24410[24410] +- Change `okta.target` to `nested` field type. {issue}24354[24354] {pull}24636[24636] *Heartbeat* diff --git a/filebeat/docs/fields.asciidoc b/filebeat/docs/fields.asciidoc index b3af6bb2eab..d74dd010da9 100644 --- a/filebeat/docs/fields.asciidoc +++ b/filebeat/docs/fields.asciidoc @@ -105448,7 +105448,7 @@ type: keyword The list of targets. -type: array +type: nested -- diff --git a/x-pack/filebeat/module/okta/fields.go b/x-pack/filebeat/module/okta/fields.go index 24c40aebc4f..249f94e1c56 100644 --- a/x-pack/filebeat/module/okta/fields.go +++ b/x-pack/filebeat/module/okta/fields.go @@ -19,5 +19,5 @@ func init() { // AssetOkta returns asset data. // This is the base64 encoded gzipped contents of module/okta. func AssetOkta() string { - return "eJzsWk1zo7oS3c+v6Jo1N4v3cRdZvCrGkAw3tnEBjisrSoG2rTcY+UoiGd9f/0p82BhkIDZ5dRfDzkg653Sr1WoJ/wY/8HAP7IckXwAklQneg1v8ilFEnO4lZek9/OcLAMCMxVmCsGYctiSNE5puQByEx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PW/GJ1fht94R0KbaUX7sbp32Z4+Vvekuvb/tuC2GsdZVJitUvj5XwY8/94jSLCMRyPWXH6OV4+3HgEbZBtO9lsakURTMQygfKwh6InrVun2ks5QqR1yzv+U1u+rhnSV3RTGBY/UJkUSedPGktebCqSXas+EzB0f30xYQIGC6qWNWJZKfrs3C5heug2yhEW6AmPAjvx4GtwVXscAQxbuGU3ll/8FAAD//0sSozY=" } diff --git a/x-pack/filebeat/module/okta/system/_meta/fields.yml b/x-pack/filebeat/module/okta/system/_meta/fields.yml index 5bf5ee9c8d5..d3fbe2f75d1 100644 --- a/x-pack/filebeat/module/okta/system/_meta/fields.yml +++ b/x-pack/filebeat/module/okta/system/_meta/fields.yml @@ -133,7 +133,7 @@ short: The list of targets. description: > The list of targets. - type: array + type: nested fields: - name: id