diff --git a/NOTICE.txt b/NOTICE.txt index d472a2314d..a5c1d779a6 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -6792,217 +6792,6 @@ binaries that contain `-oss` in the artifact name are licensed under the Apache License Version 2.0. --------------------------------------------------------------------------------- -Dependency : github.com/elastic/elastic-agent-autodiscover -Version: v0.9.2 -Licence type (autodetected): Apache-2.0 --------------------------------------------------------------------------------- - -Contents of probable licence file $GOMODCACHE/github.com/elastic/elastic-agent-autodiscover@v0.9.2/LICENSE: - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -------------------------------------------------------------------------------- Dependency : github.com/elastic/elastic-agent-client/v7 Version: v7.17.2 diff --git a/go.mod b/go.mod index 2ff868e9ee..133968352c 100644 --- a/go.mod +++ b/go.mod @@ -49,11 +49,10 @@ require ( github.com/aws/smithy-go v1.28.1 github.com/dgraph-io/ristretto/v2 v2.4.2 github.com/djherbis/times v1.6.0 - github.com/elastic/beats/v7 v7.0.0-alpha2.0.20260604204725-a6d4c42eeb5a + github.com/elastic/beats/v7 v7.0.0-alpha2.0.20260722133641-cf032f423c84 github.com/elastic/e2e-testing v1.2.3 - github.com/elastic/elastic-agent-autodiscover v0.10.3-0.20260423154939-e990715f9426 github.com/elastic/elastic-agent-client/v7 v7.18.1 - github.com/elastic/elastic-agent-libs v0.43.1 + github.com/elastic/elastic-agent-libs v0.46.1 github.com/elastic/go-licenser v0.4.2 github.com/elastic/go-ucfg v0.9.1 github.com/go-logr/zapr v1.3.0 @@ -380,7 +379,7 @@ require ( github.com/eapache/queue v1.1.0 // indirect github.com/elastic/elastic-agent-system-metrics v0.14.4 // indirect github.com/elastic/go-concert v0.3.1 // indirect - github.com/elastic/go-lumber v0.1.2-0.20240913080619-93ccc4a69e6a // indirect + github.com/elastic/go-lumber v0.2.0 // indirect github.com/elastic/go-seccomp-bpf v1.6.0 // indirect github.com/elastic/go-structform v0.0.12 // indirect github.com/elastic/go-sysinfo v1.15.4 // indirect diff --git a/go.sum b/go.sum index 85e3469e98..236c3be5e8 100644 --- a/go.sum +++ b/go.sum @@ -432,16 +432,14 @@ github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/ebitengine/purego v0.11.0 h1:jhp/D+Nyv7UUW8HAcmcjt2N2rYrYi9m3SL21k0Ua/NI= github.com/ebitengine/purego v0.11.0/go.mod h1:DCHPP08djqhNSoTfImcnHYQRZmd0qhakvrozqaEYhGQ= -github.com/elastic/beats/v7 v7.0.0-alpha2.0.20260604204725-a6d4c42eeb5a h1:30eIvk0M6zk0wbbQ9Bjx+WpodYrOLbb8DBhuttJWv/M= -github.com/elastic/beats/v7 v7.0.0-alpha2.0.20260604204725-a6d4c42eeb5a/go.mod h1:9Z39x2PXbT0CTQQUsg70i2nAjOXIcUxmtXUBkTH0lRk= +github.com/elastic/beats/v7 v7.0.0-alpha2.0.20260722133641-cf032f423c84 h1:MN3USi74REzq/4EmXw/DQdsl5ZPATRyruO2I/jZcifU= +github.com/elastic/beats/v7 v7.0.0-alpha2.0.20260722133641-cf032f423c84/go.mod h1:eHoxPcnnwCXDyBqOKgSdiWJ8bMNUm5AbDnmONkCW9dk= github.com/elastic/e2e-testing v1.2.3 h1:XKF91O+Y6RcrTuNc7kMM4/HE9pvkvjASIYhEWS5XkT0= github.com/elastic/e2e-testing v1.2.3/go.mod h1:TqP9TlnqFqKqd61etWkYgb8T+RulH7vmhg7lxQw/Yag= -github.com/elastic/elastic-agent-autodiscover v0.10.3-0.20260423154939-e990715f9426 h1:zqt0GOf6/e287nhLlAODfW6Pncydjr4ArEpM589MIXI= -github.com/elastic/elastic-agent-autodiscover v0.10.3-0.20260423154939-e990715f9426/go.mod h1:HyjdiEVP/A7iMN0jeac2EoUohpHKAZIFRDQsvPDg2Dw= github.com/elastic/elastic-agent-client/v7 v7.18.1 h1:WnM53JjaukeysrAuiTyrhDPmFxJG07ZAByc2TrkcKcs= github.com/elastic/elastic-agent-client/v7 v7.18.1/go.mod h1:uDpSGZ+YCKgqgtkwCA0qjwX0gU/wmixDsVbPjY3GkPs= -github.com/elastic/elastic-agent-libs v0.43.1 h1:vUUM1wYmcYXlEAygXWlmnrlOsf4iWA8hTWTFs9t/fHY= -github.com/elastic/elastic-agent-libs v0.43.1/go.mod h1:axkpqDCCzAky6G4D/cklgtZQa3jTNGAMVHVkU0u6YbU= +github.com/elastic/elastic-agent-libs v0.46.1 h1:1dVRKOaGWBxqDQPb/NCtoJHI8Nx3QbJOmr4v6y+UdKQ= +github.com/elastic/elastic-agent-libs v0.46.1/go.mod h1:axkpqDCCzAky6G4D/cklgtZQa3jTNGAMVHVkU0u6YbU= github.com/elastic/elastic-agent-system-metrics v0.14.4 h1:XGGepNVOxhtfJmanQsgqCAZESIJtyDIFOKErOaVzFEw= github.com/elastic/elastic-agent-system-metrics v0.14.4/go.mod h1:NyNMrdqMfznb/Zy8EmIAHlJpX6HuRlNW+bBL9UN7WQY= github.com/elastic/elastic-transport-go/v8 v8.8.0 h1:7k1Ua+qluFr6p1jfJjGDl97ssJS/P7cHNInzfxgBQAo= @@ -456,8 +454,8 @@ github.com/elastic/go-freelru v0.16.0 h1:gG2HJ1WXN2tNl5/p40JS/l59HjvjRhjyAa+oFTR github.com/elastic/go-freelru v0.16.0/go.mod h1:bSdWT4M0lW79K8QbX6XY2heQYSCqD7THoYf82pT/H3I= github.com/elastic/go-licenser v0.4.2 h1:bPbGm8bUd8rxzSswFOqvQh1dAkKGkgAmrPxbUi+Y9+A= github.com/elastic/go-licenser v0.4.2/go.mod h1:W8eH6FaZDR8fQGm+7FnVa7MxI1b/6dAqxz+zPB8nm5c= -github.com/elastic/go-lumber v0.1.2-0.20240913080619-93ccc4a69e6a h1:nPY8qj7UESDKrPFHzQqPseZgJvKrzV6lFNuDOGl7hXQ= -github.com/elastic/go-lumber v0.1.2-0.20240913080619-93ccc4a69e6a/go.mod h1:HHaWnZamYKWsR9/eZNHqRHob8iQDKnchHmmskT/SKko= +github.com/elastic/go-lumber v0.2.0 h1:BVGh+jq6tmp5ajAQ4QaPLcwC8vYqQ0yzt0tmWfuz79I= +github.com/elastic/go-lumber v0.2.0/go.mod h1:HHaWnZamYKWsR9/eZNHqRHob8iQDKnchHmmskT/SKko= github.com/elastic/go-seccomp-bpf v1.6.0 h1:NYduiYxRJ0ZkIyQVwlSskcqPPSg6ynu5pK0/d7SQATs= github.com/elastic/go-seccomp-bpf v1.6.0/go.mod h1:5tFsTvH4NtWGfpjsOQD53H8HdVQ+zSZFRUDSGevC0Kc= github.com/elastic/go-structform v0.0.12 h1:HXpzlAKyej8T7LobqKDThUw7BMhwV6Db24VwxNtgxCs= @@ -836,8 +834,8 @@ github.com/lestrrat-go/jwx/v3 v3.3.0 h1:OXcYvQOQ7cxWzeZ/Q9sYk8ABe/kCSI371WmuACiC github.com/lestrrat-go/jwx/v3 v3.3.0/go.mod h1:eIJhDcKHBwcgxqv8RiIylV67TVl1wJp/265IAHY1Db8= github.com/lestrrat-go/option/v2 v2.0.0 h1:XxrcaJESE1fokHy3FpaQ/cXW8ZsIdWcdFzzLOcID3Ss= github.com/lestrrat-go/option/v2 v2.0.0/go.mod h1:oSySsmzMoR0iRzCDCaUfsCzxQHUEuhOViQObyy7S6Vg= -github.com/lestrrat-go/strftime v1.1.1 h1:zgf8QCsgj27GlKBy3SU9/8MMgegZ8UCzlCyHYrUF0QU= -github.com/lestrrat-go/strftime v1.1.1/go.mod h1:YDrzHJAODYQ+xxvrn5SG01uFIQAeDTzpxNVppCz7Nmw= +github.com/lestrrat-go/strftime v1.2.0 h1:8fAUYOeaJKCuLzNvUWBAo8t6I6hkFfodDTndEzJIun0= +github.com/lestrrat-go/strftime v1.2.0/go.mod h1:GtsIA/7ddIGJjEdfadUafEb1sbutvlvpMdPCMglykYo= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ= github.com/lib/pq v1.12.3/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= @@ -966,12 +964,12 @@ github.com/onsi/gomega v1.42.1 h1:iN1rCUX+44NZ1Dc97MPoeFYbFR0vh8zxoxMFwKdyZ6I= github.com/onsi/gomega v1.42.1/go.mod h1:REff/hsDsodHoKlWsP2mAPhu1+5/6hVYNf9rIEBpeSg= github.com/open-policy-agent/opa v1.19.1 h1:aB1nOncChnTbQurjRQVJnjTJxditt8VqszlbaM3GGKU= github.com/open-policy-agent/opa v1.19.1/go.mod h1:pb6Y6klyf7X7X8uXNDflruA9dQC2gMqWROXI5w/kvv0= -github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter v0.153.0 h1:aQVon0shaZqfD0ZthpszHiz3BQMGTDf2NPp0rq9klP8= -github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter v0.153.0/go.mod h1:LoY3x5UezigDP8aY+Wd1OE63nCFXBCh8FgCc1DZCD5U= -github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.153.0 h1:LpeHliW4jSVFe8LHbJaGGoj+zoWSUVZLukvund+NLk8= -github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.153.0/go.mod h1:AxCm8Eu/1dp7tAbUUghGL9Hor5zaf2LUJrVdtZfOaVM= -github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.153.0 h1:6GppaMEy2WsHRXDkptU3P6w9jy6hboPm+6KQPDvIeDk= -github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.153.0/go.mod h1:LaREyq9MLuwwS22V0yhCJrz9adzGYS6vVdvvUScrXyA= +github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter v0.156.0 h1:1mpxABiBB3cHGbhpaQGeyVSkgIKAtE2endqfqXUZ8sY= +github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter v0.156.0/go.mod h1:0qy0VrXGmkTGUuERJEgiBdgK+ZT+KIcMfpZi4fntMSo= +github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.156.0 h1:NbW0V2xBmQ7WWzlVsJw61/nLxQM5kSKhkwQClLPo3TA= +github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.156.0/go.mod h1:552gyph19MYV0RWg+j5zXTOVrXfmSJa3hinSvVJMj24= +github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.156.0 h1:wca5xIy5I/8CAylZYgOYzj5P5JAAicBA8uNtiRNh2Zo= +github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.156.0/go.mod h1:CaT/YS8vvoNgsLewbtwDpS0mAgsHXNXceSPzlP+TeJI= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040= @@ -1217,36 +1215,36 @@ go.opentelemetry.io/collector/client v1.67.0 h1:aPLXXTa0CxWAYLrY4NrMjEEgEN7SFCtF go.opentelemetry.io/collector/client v1.67.0/go.mod h1:CjwTxf7peH1CP326g7PUXmqJ3zj8Dk/fO3bUj6320v0= go.opentelemetry.io/collector/component v1.67.0 h1:7uDSaiCeLbHmHLGYfhtZOYn7srjpBmN8i32f1U5CvOE= go.opentelemetry.io/collector/component v1.67.0/go.mod h1:OGSci/+Zb2RI56ZKK0yYUO6E7jVM9+KLdZFzTUkpwY4= -go.opentelemetry.io/collector/component/componentstatus v0.153.0 h1:bZu1Qs1eHw5ZY2UEKq0f5IcctDgc6zjUYwCE1T22Tmw= -go.opentelemetry.io/collector/component/componentstatus v0.153.0/go.mod h1:SfYWwh6pA9jJUcjuX+zIJ9kyn+2Z9SSLMM3xYOBsVW4= +go.opentelemetry.io/collector/component/componentstatus v0.156.0 h1:XAqx489rm25nOv6Ka7iAKaqDY+CiyT3lX8fu/D4I7iA= +go.opentelemetry.io/collector/component/componentstatus v0.156.0/go.mod h1:FosqjSx4VhpsroJxLuISVZKqqEVITqY6AWfmt3Wpp3Y= go.opentelemetry.io/collector/component/componenttest v0.161.0 h1:+1u2r7Cu3Pzj1FGW3PwYKC6OcRhdgNxY6H5O4sdp/6s= go.opentelemetry.io/collector/component/componenttest v0.161.0/go.mod h1:1LhuprXIS9DIq3HVXqKWUZZT5xtkAzgImpfd8wZN3z4= -go.opentelemetry.io/collector/config/configauth v1.59.0 h1:JxmyiCv9xxyVEmBJQFcVTB0ymtSzOV90g+bChC1sSek= -go.opentelemetry.io/collector/config/configauth v1.59.0/go.mod h1:FMcL9Mr7KoPyGC4rbMm1qLn/8MiEy/sTQHigFQpge84= -go.opentelemetry.io/collector/config/configcompression v1.59.0 h1:uXDvWhm8zKZIFI6bS0wtMb8HwuNLywnO1MLpPPQBcGI= -go.opentelemetry.io/collector/config/configcompression v1.59.0/go.mod h1:SEcE2uFLHHPc/Vi8WCkW5MhOMUwaT321HBdZ3P8x8D0= -go.opentelemetry.io/collector/config/confighttp v0.153.0 h1:hsQIbRghdzTFKU1VoasU4sjL8rxCZiKbxGOcsDCgkmI= -go.opentelemetry.io/collector/config/confighttp v0.153.0/go.mod h1:Cr9qcfOOjUgxDd+U3SfW6kc1ifPeIFo4Bq4SPeaT+pM= -go.opentelemetry.io/collector/config/configmiddleware v1.59.0 h1:v1RKvzh8KZfSCwU1e5ESARg/Yj3TXDAN/viLxE4UVg4= -go.opentelemetry.io/collector/config/configmiddleware v1.59.0/go.mod h1:5Ic7T0GPx03YoCGy/Dn6uYK8QGQL9pJXW+OXrjVXDg8= -go.opentelemetry.io/collector/config/confignet v1.59.0 h1:vcV5YJj6L+vnF7GiGjBynt5xcxteV6RyIeycLEHkNi8= -go.opentelemetry.io/collector/config/confignet v1.59.0/go.mod h1:Op+r1B/DtzXgIuKEL7/JkTqtJdL9veu2uEXvSxH3lks= -go.opentelemetry.io/collector/config/configopaque v1.59.0 h1:32PvJXf3V4P1iUcAmN5E/mIa3+EqLx8/4mOzFU/9CjQ= -go.opentelemetry.io/collector/config/configopaque v1.59.0/go.mod h1:75nru6ahPcZsCOnVqsSomiBKk8n+iCZgUZXlwSdT8Ik= +go.opentelemetry.io/collector/config/configauth v1.62.0 h1:fWKSqjVBI9FawaDT/U3ExexSvae8J1umeX48yoqPXa8= +go.opentelemetry.io/collector/config/configauth v1.62.0/go.mod h1:+iVvJAENMpZ3A3/YambobaGb58UvtiVWOjQkVoPSzHE= +go.opentelemetry.io/collector/config/configcompression v1.62.0 h1:Mebc3WPbIdDiEPsLgd2zOQ7m5rBlOHfNeGchv9zw2hU= +go.opentelemetry.io/collector/config/configcompression v1.62.0/go.mod h1:SEcE2uFLHHPc/Vi8WCkW5MhOMUwaT321HBdZ3P8x8D0= +go.opentelemetry.io/collector/config/confighttp v0.156.0 h1:fIXLu8IwsF+oleh93jR8j7V3H4dpFXO8+DtMqtOv738= +go.opentelemetry.io/collector/config/confighttp v0.156.0/go.mod h1:cTbAATe9Yq3tAkF61A4os3LLaCqezQ3ZFhyB7i2/WSs= +go.opentelemetry.io/collector/config/configmiddleware v1.62.0 h1:R1gIInUuC3JPnD2EyKlLvQraLZT3qIioOcrFgRKpDDA= +go.opentelemetry.io/collector/config/configmiddleware v1.62.0/go.mod h1:G8EcGOVHFYNIo2fjukZsVykCldDHuOIyvzr2Ga1gvFw= +go.opentelemetry.io/collector/config/confignet v1.62.0 h1:tFK4VJMaYUAhLQOzBmOteq2b0ccEq5q1ToDw2QqZT7A= +go.opentelemetry.io/collector/config/confignet v1.62.0/go.mod h1:Op+r1B/DtzXgIuKEL7/JkTqtJdL9veu2uEXvSxH3lks= +go.opentelemetry.io/collector/config/configopaque v1.62.0 h1:E64BPiumLcJO501g6XETf/vX6r+AK1ytqBc5UEcmkmI= +go.opentelemetry.io/collector/config/configopaque v1.62.0/go.mod h1:z4FPFfKiO83yJz/DqzjlGofUYF9u1A5U/s9NLaa6L1w= go.opentelemetry.io/collector/config/configoptional v1.67.0 h1:Mj+rHDgoyjKs8tioBSN62jBs/BIoZoKRyK2WbDymzr8= go.opentelemetry.io/collector/config/configoptional v1.67.0/go.mod h1:+gCUfsgFBrWMWOk2cgk5etMpuoLGXrNNO/yg/LZXcNg= go.opentelemetry.io/collector/config/configretry v1.67.0 h1:4Zx3/EAS0GClegNRNRKk68fZVXV3JgQ74u7Sj/NxjCA= go.opentelemetry.io/collector/config/configretry v1.67.0/go.mod h1:Y2Kdgd0HFBXYbGqUUUWGDLYviRHgl9aJVSyDfFYY7U8= -go.opentelemetry.io/collector/config/configtls v1.59.0 h1:ob9OpwDkXgQIKqZ0ITk17D+oLusBK5wXRsOR+/ghmyw= -go.opentelemetry.io/collector/config/configtls v1.59.0/go.mod h1:oAZwCfp651SpN/5aZkHnTcj+ratuvUOHUS4DjmRSxBE= +go.opentelemetry.io/collector/config/configtls v1.62.0 h1:C4WywYuIhIHMkAcWmK19gHxub9KjHdxUREv281bKrvU= +go.opentelemetry.io/collector/config/configtls v1.62.0/go.mod h1:2r+Hlr7RXBs9u03HSd4eYJCLi6hukRQv7o36WrgzNkY= go.opentelemetry.io/collector/confmap v1.67.0 h1:f2qgoU113hzNjk34jSPDhUA2dFR9l9laljFfQEhy6KQ= go.opentelemetry.io/collector/confmap v1.67.0/go.mod h1:X5ZkaG+Eht/4nuQJXmf0MybW4IVApLjGUIP9+/hyDQ0= go.opentelemetry.io/collector/consumer v1.67.0 h1:5r9MIxNZFh2rhrX4q0X+z9zzGlgZN92f9VSeJQNdKC8= go.opentelemetry.io/collector/consumer v1.67.0/go.mod h1:bRw9/qppXuhjNyiuWpkLdEIGnrHHjn4Onlum7UB4QU8= go.opentelemetry.io/collector/consumer/consumererror v0.161.0 h1:f3g6QbNcrHGT/+BwGB4E8NQKE9QeeQDcVUOy4onXsyI= go.opentelemetry.io/collector/consumer/consumererror v0.161.0/go.mod h1:hjR/XGODby8IjHAYenaDtoMjg9FkF4zX4L21i0WhimI= -go.opentelemetry.io/collector/consumer/consumererror/xconsumererror v0.153.0 h1:9guwnHRTvk/t2xNrS5wlh777iG0gG0sBvID+fE/vTu0= -go.opentelemetry.io/collector/consumer/consumererror/xconsumererror v0.153.0/go.mod h1:geJCjZQLet+YYvUTCTEhTiin9soFnYGuBoCzmkwqjnw= +go.opentelemetry.io/collector/consumer/consumererror/xconsumererror v0.156.0 h1:cEEaOEz0YnugQmsTHAgDL0k/umtuaXtDW/v9g4RcXf8= +go.opentelemetry.io/collector/consumer/consumererror/xconsumererror v0.156.0/go.mod h1:ePhcOLsTOmbJ8Vb3Z3fk9fxhI+idp+SyVhaEpiU+fWI= go.opentelemetry.io/collector/consumer/consumertest v0.161.0 h1:gS/WpsmuRzBX8mx7O93R+Q9dqBpCbEruTaoBkDEheS8= go.opentelemetry.io/collector/consumer/consumertest v0.161.0/go.mod h1:dgXhjwr/mWj2ZAwy9wPEVspRfBHT0ysHlGNVxsfjibI= go.opentelemetry.io/collector/consumer/xconsumer v0.161.0 h1:3MTyvy467jzIhfEvdo38uyGmK7toYF2opOpD9gFM2GA= @@ -1255,18 +1253,18 @@ go.opentelemetry.io/collector/exporter v1.67.0 h1:0v01bICvse+UIREZL/K3kuRd6L8h2U go.opentelemetry.io/collector/exporter v1.67.0/go.mod h1:0KRyP00V0C9Zbk1pksXARBZs8NHwLyx6/HeRNOD/W+Q= go.opentelemetry.io/collector/exporter/exporterhelper v0.161.0 h1:4wY3musUTSy4SocPUAhncmz8ykC8bUJBtSXB88S0bwk= go.opentelemetry.io/collector/exporter/exporterhelper v0.161.0/go.mod h1:zNrE1BsAfbWi7R/3UD2Nwrdx4xvOldJmhNJ8vIynOPM= -go.opentelemetry.io/collector/exporter/exporterhelper/xexporterhelper v0.153.0 h1:/ZCeVxNOZLEt+MGej35gePADgwpuEJmuFaN3qhbknbg= -go.opentelemetry.io/collector/exporter/exporterhelper/xexporterhelper v0.153.0/go.mod h1:+R7sKq9GA5baLSUx1+JaWcI/FMGHMBMT1coDEvy7baM= +go.opentelemetry.io/collector/exporter/exporterhelper/xexporterhelper v0.156.0 h1:VM7mg+k+NK3i99c5dhjoJu8Jz2pQuBL4fQaxTnPmh/I= +go.opentelemetry.io/collector/exporter/exporterhelper/xexporterhelper v0.156.0/go.mod h1:OU2JlvzpxRZ9MysZt478ZEtbKMG9kERtmKESVu4+To8= go.opentelemetry.io/collector/exporter/exportertest v0.161.0 h1:w0G6hKRtgRv6AhALSbcDJ4ifeo4xHHlt3Hzw+Jk4lmc= go.opentelemetry.io/collector/exporter/exportertest v0.161.0/go.mod h1:xTkMw+EXMavdIlm6YPo8Gvlu6wtm4/h7VsCO9jKALo8= go.opentelemetry.io/collector/exporter/xexporter v0.161.0 h1:TXMkCJiQrfrgMuYSmwKWCCCFFltvTFdvApKyoltwxw0= go.opentelemetry.io/collector/exporter/xexporter v0.161.0/go.mod h1:UNaO/WP0en4huxIzIBQmIxsBd+d+S1yYfNYxPiGG86Y= go.opentelemetry.io/collector/extension v1.67.0 h1:dXBCFDfGdCjdKEuQxKSlA3cFYErYPknE7A6N9HjDi5U= go.opentelemetry.io/collector/extension v1.67.0/go.mod h1:O/8h2GtJruD8oMz5nquOliHnZnnmEHNhCz7fS8O7pcc= -go.opentelemetry.io/collector/extension/extensionauth v1.59.0 h1:Z4VQSf8p3zNJBZtdr3KUzJrFl6ArMQCgbHEc2qiHZXQ= -go.opentelemetry.io/collector/extension/extensionauth v1.59.0/go.mod h1:pn6TIMsbQDDI73ysgqQor6pZLPW3GgKlueJFWIloENI= -go.opentelemetry.io/collector/extension/extensionmiddleware v0.153.0 h1:dfRy58RhuypZHy/KPhYOKqIRysdAreJLDDlkfr0TC5I= -go.opentelemetry.io/collector/extension/extensionmiddleware v0.153.0/go.mod h1:1m1+iz6cYOvXty9iHZwo8whRxUYw8F+1JsRQoqCf9r4= +go.opentelemetry.io/collector/extension/extensionauth v1.62.0 h1:2yhRG9OFxUSCrc+0GqgON+WKVciV65s+rrnOoWLR4V4= +go.opentelemetry.io/collector/extension/extensionauth v1.62.0/go.mod h1:bJV7oxY/JWRDXrZDbjuv9DjU0NNNs6r+YQcYkWVzf7o= +go.opentelemetry.io/collector/extension/extensionmiddleware v0.156.0 h1:cS4SVO/OJA+YeFblSNnjDl3ZzZyo0B2qQP3NQ56UsSY= +go.opentelemetry.io/collector/extension/extensionmiddleware v0.156.0/go.mod h1:wucOUbf33iZEtOSLtUi7UsULqmlIeMsCp0kIRtlevdw= go.opentelemetry.io/collector/extension/extensiontest v0.161.0 h1:FMwVH97I6AnOn/xS4/2w/1VEzXBMGgrRdiJ7+zRTixI= go.opentelemetry.io/collector/extension/extensiontest v0.161.0/go.mod h1:QmeNQO9VRVWc/Mz47EY+4SqLFxUnDWtD7Vlq2o8d++o= go.opentelemetry.io/collector/extension/xextension v0.161.0 h1:5I3kj3nk09zSPiuU+PyI+w9V5KEgygRLWvqhLbtl9BU= @@ -1307,14 +1305,14 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.7 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.71.0/go.mod h1:dylvB+ZiiwMvsDij9O84Uy7SijLgHMX4mbkncds+4Sw= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0 h1:3g7B90UzBltIDKq1/5mrTGxTnOFDV0ICOhLoxiZ8jlg= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0/go.mod h1:Ef8SuTh59BT7+ofpDxN9z+yOlc4t2GjLmKDgYNJL/NU= -go.opentelemetry.io/ebpf-profiler v0.0.202618 h1:4r2HSY8cLb3HoI0TcHtIFws3a2pLOWVvjB4pvGfU+Yc= -go.opentelemetry.io/ebpf-profiler v0.0.202618/go.mod h1:kAIjd+XsfWpzoQdpiiJtQuQHV4cPNgeNpbbiAgNCQ8A= +go.opentelemetry.io/ebpf-profiler v0.0.202623 h1:L85ki6PQiJyczuzM6+tU5g5Y4RLI23KVny4VWU0jS4w= +go.opentelemetry.io/ebpf-profiler v0.0.202623/go.mod h1:DqHEtu1S8fTmyvvrSSum1lssLKwYM7aExPNZ/+vWZ6U= go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= go.opentelemetry.io/otel v1.46.0/go.mod h1:Gj3SEScelsNC45tp4nSxRYlS+f5iez7W8XPMCt905kE= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.19.0 h1:Dn8rkudDzY6KV9dr/D/bTUuWgqDf9xe0rr4G2elrn0Y= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.19.0/go.mod h1:gMk9F0xDgyN9M/3Ed5Y1wKcx/9mlU91NXY2SNq7RQuU= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.19.0 h1:HIBTQ3VO5aupLKjC90JgMqpezVXwFuq6Ryjn0/izoag= -go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.19.0/go.mod h1:ji9vId85hMxqfvICA0Jt8JqEdrXaAkcpkI9HPXya0ro= +go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.20.0 h1:rydZ9sxbcFdm/oWrVyfLTjHIygMgv0bEeMd+3B/BvoM= +go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.20.0/go.mod h1:earQ25dooT0Hhspq59DZ8YCC50jWfOlFEeWoxy/P444= +go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.20.0 h1:owlhcJ3QO3X0YTDTCcDZ4V+6aVDkWbNmBoQ5NUp7Oww= +go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.20.0/go.mod h1:MP4eemTiI9zC8fgg+DYynhYDYf3ba72S376TvP+Ye0Q= go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 h1:ZtfnDL+tUrs1F0Pzfwbg2d59Gru9NCH3bgSHBM6LDwU= go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.46.0 h1:qkDYCAFiZXLcs1L4aY+tP2wguQ4kURANqHOQMA2et2s= go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.46.0/go.mod h1:tkipS4DRzmpAmvg+Gw4++O1IdDq6TVDnvnYU6cmbQVs= @@ -1328,22 +1326,22 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.45.0 h1:QBajQ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.45.0/go.mod h1:08ZQLjrPLQ6R4kAXvuOvODEer5Yh4CoFvll5qB2BCI8= go.opentelemetry.io/otel/exporters/prometheus v0.67.0 h1:7IefDa35e6V3NoiqIeLDMDxMFyZDk5qcoC0Ax4cC16E= go.opentelemetry.io/otel/exporters/prometheus v0.67.0/go.mod h1:nsPI1awTg5Vmg1YrommL2mVarVGlqc4yXOoKAkPRD0c= -go.opentelemetry.io/otel/exporters/stdout/stdoutlog v0.19.0 h1:GJkybS+crDMdExT/BUNCEgfrmfboztcS6PhvSo88HKM= -go.opentelemetry.io/otel/exporters/stdout/stdoutlog v0.19.0/go.mod h1:NuAyxRYIG2lKX3YQkB+83StTxM7s52PUUkRRiC0wnYI= +go.opentelemetry.io/otel/exporters/stdout/stdoutlog v0.20.0 h1:aZfdmtI6QU/DAPD4b7YZ5zuJgewxO1EW9miOZklqleU= +go.opentelemetry.io/otel/exporters/stdout/stdoutlog v0.20.0/go.mod h1:isNl10/Om5CBWu9jj8WOb2+tJLbCVXDgqwzCaJMnJ6w= go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.44.0 h1:hqxVTu/GtBF+vJ8d1fzW7fRxZFvgoDjWcxwwCaFDYpU= go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.44.0/go.mod h1:z5fVEF4X5v0ESvlJqBrrFlBVoj5EQuefZpzsu7R+x5Q= go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.45.0 h1:lsA/S1bxgdbyFGkTj+3meEdJ6ADVU7QoFstV6MXgE68= go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.45.0/go.mod h1:L7u+MirGoB1bjeLH66+xDykF4RC8C3RN7lIFpBiewUo= -go.opentelemetry.io/otel/log v0.19.0 h1:KUZs/GOsw79TBBMfDWsXS+KZ4g2Ckzksd1ymzsIEbo4= -go.opentelemetry.io/otel/log v0.19.0/go.mod h1:5DQYeGmxVIr4n0/BcJvF4upsraHjg6vudJJpnkL6Ipk= +go.opentelemetry.io/otel/log v0.20.0 h1:/5i0vuHxCLWUfChWG41K9wkM0jafruPw9NU1/RCJirs= +go.opentelemetry.io/otel/log v0.20.0/go.mod h1:wOcMcjsZpG8x7Bak7IhSi/lg8wscV2C1VdrKCLPlt0E= go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= go.opentelemetry.io/otel/metric v1.46.0/go.mod h1:iPmdWqifKUdzziPkvvzIJXITl56fQx2mGM/DHLB3/2o= go.opentelemetry.io/otel/metric/x v0.68.0 h1:TA/cBT23D3MnxYPwHL7YFOdYGdx0A0v+s7Mzotpd1dU= go.opentelemetry.io/otel/metric/x v0.68.0/go.mod h1:agudOmvWhwUTjgibWDzxD2PoWYnpw5Ht5jISYOD2Hd4= go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI= go.opentelemetry.io/otel/sdk v1.46.0/go.mod h1:GAERFXFt5SYCEB+YiKUbMBeza6UaDH7GmGOZEfh2gSM= -go.opentelemetry.io/otel/sdk/log v0.19.0 h1:scYVLqT22D2gqXItnWiocLUKGH9yvkkeql5dBDiXyko= -go.opentelemetry.io/otel/sdk/log v0.19.0/go.mod h1:vFBowwXGLlW9AvpuF7bMgnNI95LiW10szrOdvzBHlAg= +go.opentelemetry.io/otel/sdk/log v0.20.0 h1:vM3xI7TQgKPiSghe6urZtAkyFY7SodrSpC83CffDFuY= +go.opentelemetry.io/otel/sdk/log v0.20.0/go.mod h1:Knej2nmsTUzN79T2eeXdRsjjPcoxoq2pUyUHz9TFyyU= go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE= go.opentelemetry.io/otel/sdk/metric v1.46.0/go.mod h1:I1PbKrdVc8Qu8HYVDNtqVIwLwjNrhsV/uFuxfwg8mO4= go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= diff --git a/internal/dataprovider/providers/k8s/client_provider.go b/internal/dataprovider/providers/k8s/client_provider.go index d1eaf456e4..70ff99bb68 100644 --- a/internal/dataprovider/providers/k8s/client_provider.go +++ b/internal/dataprovider/providers/k8s/client_provider.go @@ -20,7 +20,7 @@ package k8s import ( "os" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "github.com/go-logr/zapr" "go.uber.org/zap" k8s "k8s.io/client-go/kubernetes" diff --git a/internal/dataprovider/providers/k8s/client_provider_mock.go b/internal/dataprovider/providers/k8s/client_provider_mock.go index 521056ac80..5d080650ca 100644 --- a/internal/dataprovider/providers/k8s/client_provider_mock.go +++ b/internal/dataprovider/providers/k8s/client_provider_mock.go @@ -23,8 +23,8 @@ package k8s import ( + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "github.com/elastic/cloudbeat/internal/infra/clog" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" mock "github.com/stretchr/testify/mock" kubernetes0 "k8s.io/client-go/kubernetes" ) diff --git a/internal/dataprovider/providers/k8s/cluster_name_provider.go b/internal/dataprovider/providers/k8s/cluster_name_provider.go index 0c5e7b2451..9bfdfe9068 100644 --- a/internal/dataprovider/providers/k8s/cluster_name_provider.go +++ b/internal/dataprovider/providers/k8s/cluster_name_provider.go @@ -22,7 +22,7 @@ import ( "fmt" "github.com/aws/aws-sdk-go-v2/aws" - "github.com/elastic/elastic-agent-autodiscover/kubernetes/metadata" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes/metadata" agent_config "github.com/elastic/elastic-agent-libs/config" "k8s.io/client-go/kubernetes" diff --git a/internal/flavors/benchmark/eks.go b/internal/flavors/benchmark/eks.go index fd75e29fe2..6604812008 100644 --- a/internal/flavors/benchmark/eks.go +++ b/internal/flavors/benchmark/eks.go @@ -23,8 +23,8 @@ import ( "fmt" awssdk "github.com/aws/aws-sdk-go-v2/aws" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "github.com/elastic/beats/v7/x-pack/libbeat/common/aws" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" "github.com/elastic/cloudbeat/internal/config" "github.com/elastic/cloudbeat/internal/dataprovider" diff --git a/internal/flavors/benchmark/k8s.go b/internal/flavors/benchmark/k8s.go index 4617bfc202..7cfd8e75a5 100644 --- a/internal/flavors/benchmark/k8s.go +++ b/internal/flavors/benchmark/k8s.go @@ -22,7 +22,7 @@ import ( "errors" "fmt" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "github.com/elastic/cloudbeat/internal/config" "github.com/elastic/cloudbeat/internal/dataprovider" diff --git a/internal/flavors/benchmark/k8s_helper.go b/internal/flavors/benchmark/k8s_helper.go index 13cbd88fcd..8b49692989 100644 --- a/internal/flavors/benchmark/k8s_helper.go +++ b/internal/flavors/benchmark/k8s_helper.go @@ -21,7 +21,7 @@ import ( "context" "fmt" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" // revive:disable-line client_gokubernetes "k8s.io/client-go/kubernetes" diff --git a/internal/processor/add_cluster_id/add_cluster_id.go b/internal/processor/add_cluster_id/add_cluster_id.go index f04b078a32..47998d4155 100644 --- a/internal/processor/add_cluster_id/add_cluster_id.go +++ b/internal/processor/add_cluster_id/add_cluster_id.go @@ -23,7 +23,7 @@ import ( "github.com/elastic/beats/v7/libbeat/beat" "github.com/elastic/beats/v7/libbeat/processors" jsprocessor "github.com/elastic/beats/v7/libbeat/processors/script/javascript/module/processor/registry" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" agentconfig "github.com/elastic/elastic-agent-libs/config" "github.com/elastic/elastic-agent-libs/logp" "github.com/go-logr/zapr" diff --git a/internal/resources/fetching/fetchers/aws/ecr_fetcher_test.go b/internal/resources/fetching/fetchers/aws/ecr_fetcher_test.go index e2d1ace7bd..e990fe825f 100644 --- a/internal/resources/fetching/fetchers/aws/ecr_fetcher_test.go +++ b/internal/resources/fetching/fetchers/aws/ecr_fetcher_test.go @@ -27,7 +27,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/ecr/types" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "k8s.io/api/core/v1" diff --git a/internal/resources/fetching/fetchers/k8s/kube_fetcher.go b/internal/resources/fetching/fetchers/k8s/kube_fetcher.go index 3d04a64f69..4c2ee935ee 100644 --- a/internal/resources/fetching/fetchers/k8s/kube_fetcher.go +++ b/internal/resources/fetching/fetchers/k8s/kube_fetcher.go @@ -23,7 +23,7 @@ import ( "sync" "time" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "k8s.io/apimachinery/pkg/runtime" k8s "k8s.io/client-go/kubernetes" "k8s.io/client-go/kubernetes/scheme" diff --git a/internal/resources/fetching/fetchers/k8s/kube_provider.go b/internal/resources/fetching/fetchers/k8s/kube_provider.go index c2ca3ad5da..8bf86a89a5 100644 --- a/internal/resources/fetching/fetchers/k8s/kube_provider.go +++ b/internal/resources/fetching/fetchers/k8s/kube_provider.go @@ -20,7 +20,7 @@ package fetchers import ( "reflect" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/elastic/cloudbeat/internal/infra/clog" diff --git a/internal/uniqueness/leaderelection.go b/internal/uniqueness/leaderelection.go index da0acf3b85..589d86c92a 100644 --- a/internal/uniqueness/leaderelection.go +++ b/internal/uniqueness/leaderelection.go @@ -28,7 +28,7 @@ import ( "sync" "time" - "github.com/elastic/elastic-agent-autodiscover/kubernetes" + "github.com/elastic/beats/v7/pkg/autodiscover/kubernetes" "github.com/gofrs/uuid" v1 "k8s.io/api/core/v1" // revive:disable-line metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"