Skip to content

Commit d8316c6

Browse files
committed
[API] Updates security.get_user_profile, text_structure.find_structure
security.get_user_profile - uid parameter changes from String to List [List] :uid A comma-separated list of unique identifier for user profiles text_structure.find_structure - adds ecs_compatibility parameter [String] :ecs_compatibility Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either 'v1' or 'disabled'
1 parent 58d2aef commit d8316c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/security/get_user_profile.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ module Elasticsearch
2222
module API
2323
module Security
2424
module Actions
25-
# Retrieves user profile for the given unique ID.
25+
# Retrieves user profiles for the given unique ID(s).
2626
# This functionality is Experimental and may be changed or removed
2727
# completely in a future release. Elastic will take a best effort approach
2828
# to fix any issues, but experimental features are not subject to the
2929
# support SLA of official GA features.
3030
#
31-
# @option arguments [String] :uid An unique identifier of the user profile
31+
# @option arguments [List] :uid A comma-separated list of unique identifier for user profiles
3232
# @option arguments [List] :data A comma-separated list of keys for which the corresponding application data are retrieved.
3333
# @option arguments [Hash] :headers Custom HTTP headers
3434
#

elasticsearch-api/lib/elasticsearch/api/actions/text_structure/find_structure.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ module Actions
3535
# @option arguments [String] :quote Optional parameter to specify the quote character for a delimited file - must be a single character
3636
# @option arguments [Boolean] :should_trim_fields Optional parameter to specify whether the values between delimiters in a delimited file should have whitespace trimmed from them
3737
# @option arguments [String] :grok_pattern Optional parameter to specify the Grok pattern that should be used to extract fields from messages in a semi-structured text file
38+
# @option arguments [String] :ecs_compatibility Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either 'v1' or 'disabled'
3839
# @option arguments [String] :timestamp_field Optional parameter to specify the timestamp field in the file
3940
# @option arguments [String] :timestamp_format Optional parameter to specify the timestamp format in the file - may be either a Joda or Java time format
4041
# @option arguments [Boolean] :explain Whether to include a commentary on how the structure was derived

0 commit comments

Comments
 (0)