Skip to content

Commit f86a7cf

Browse files
build(deps): bump github.com/elastic/go-elasticsearch/v8 from 8.14.0 to 8.15.0 (#3851)
* build(deps): bump github.com/elastic/go-elasticsearch/v8 Bumps [github.com/elastic/go-elasticsearch/v8](https://github.com/elastic/go-elasticsearch) from 8.14.0 to 8.15.0. - [Release notes](https://github.com/elastic/go-elasticsearch/releases) - [Changelog](https://github.com/elastic/go-elasticsearch/blob/main/CHANGELOG.md) - [Commits](elastic/go-elasticsearch@v8.14.0...v8.15.0) --- updated-dependencies: - dependency-name: github.com/elastic/go-elasticsearch/v8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Post dependabot file modifications * Fix script definition --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: michel-laterman <michel.laterman@elastic.co>
1 parent e256ba7 commit f86a7cf

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,11 +1083,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-s
10831083

10841084
--------------------------------------------------------------------------------
10851085
Dependency : github.com/elastic/go-elasticsearch/v8
1086-
Version: v8.14.0
1086+
Version: v8.15.0
10871087
Licence type (autodetected): Apache-2.0
10881088
--------------------------------------------------------------------------------
10891089

1090-
Contents of probable licence file $GOMODCACHE/github.com/elastic/go-elasticsearch/v8@v8.14.0/LICENSE:
1090+
Contents of probable licence file $GOMODCACHE/github.com/elastic/go-elasticsearch/v8@v8.15.0/LICENSE:
10911091

10921092
Apache License
10931093
Version 2.0, January 2004

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/elastic/elastic-agent-client/v7 v7.15.0
1010
github.com/elastic/elastic-agent-libs v0.10.0
1111
github.com/elastic/elastic-agent-system-metrics v0.11.2
12-
github.com/elastic/go-elasticsearch/v8 v8.14.0
12+
github.com/elastic/go-elasticsearch/v8 v8.15.0
1313
github.com/elastic/go-ucfg v0.8.8
1414
github.com/fxamacker/cbor/v2 v2.6.0
1515
github.com/go-chi/chi/v5 v5.0.12

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ github.com/elastic/elastic-agent-system-metrics v0.11.2 h1:UjSBcY6U3H3venB5zAPEF
4141
github.com/elastic/elastic-agent-system-metrics v0.11.2/go.mod h1:saqLKe9fuyuAo6IADAnnuy1kaBI7VNlxfwMo8KzSRyQ=
4242
github.com/elastic/elastic-transport-go/v8 v8.6.0 h1:Y2S/FBjx1LlCv5m6pWAF2kDJAHoSjSRSJCApolgfthA=
4343
github.com/elastic/elastic-transport-go/v8 v8.6.0/go.mod h1:YLHer5cj0csTzNFXoNQ8qhtGY1GTvSqPnKWKaqQE3Hk=
44-
github.com/elastic/go-elasticsearch/v8 v8.14.0 h1:1ywU8WFReLLcxE1WJqii3hTtbPUE2hc38ZK/j4mMFow=
45-
github.com/elastic/go-elasticsearch/v8 v8.14.0/go.mod h1:WRvnlGkSuZyp83M2U8El/LGXpCjYLrvlkSgkAH4O5I4=
44+
github.com/elastic/go-elasticsearch/v8 v8.15.0 h1:IZyJhe7t7WI3NEFdcHnf6IJXqpRf+8S8QWLtZYYyBYk=
45+
github.com/elastic/go-elasticsearch/v8 v8.15.0/go.mod h1:HCON3zj4btpqs2N1jjsAy4a/fiAul+YBP00mBH4xik8=
4646
github.com/elastic/go-structform v0.0.12 h1:HXpzlAKyej8T7LobqKDThUw7BMhwV6Db24VwxNtgxCs=
4747
github.com/elastic/go-structform v0.0.12/go.mod h1:CZWf9aIRYY5SuKSmOhtXScE5uQiLZNqAFnwKR4OrIM4=
4848
github.com/elastic/go-sysinfo v1.14.1 h1:BpY/Utfz75oKSpsQnbAJmmlnT3gBV9WFsopBEYgjhZY=

internal/pkg/checkin/bulk.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,11 @@ func (bc *Bulk) flush(ctx context.Context) error {
214214
return err
215215
}
216216
action := &estypes.UpdateAction{
217-
Script: &estypes.InlineScript{
218-
Lang: &scriptlanguage.Painless,
219-
Source: deleteAuditAttributesScript,
220-
Params: params,
217+
Script: &estypes.Script{
218+
Lang: &scriptlanguage.Painless,
219+
Source: &deleteAuditAttributesScript,
220+
Options: map[string]string{},
221+
Params: params,
221222
},
222223
}
223224
body, err = json.Marshal(&action)

0 commit comments

Comments
 (0)