elastic-agent-client 0.0.1.dev1__tar.gz → 0.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/.gitignore +2 -1
  2. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/NOTICE.txt +446 -8
  3. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/PKG-INFO +18 -12
  4. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/README.md +0 -6
  5. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/client.py +2 -0
  6. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_deprecated_pb2.py +3 -3
  7. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_deprecated_pb2_grpc.py +1 -1
  8. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_future_pb2.py +3 -3
  9. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_future_pb2_grpc.py +1 -1
  10. elastic_agent_client-0.0.2/elastic_agent_client/generated/elastic_agent_client_pb2.py +106 -0
  11. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_pb2.pyi +4 -2
  12. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_pb2_grpc.py +1 -1
  13. elastic_agent_client-0.0.2/elastic_agent_client/version.py +7 -0
  14. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/pyproject.toml +23 -6
  15. elastic_agent_client-0.0.1.dev1/elastic_agent_client/generated/elastic_agent_client_pb2.py +0 -106
  16. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/LICENSE +0 -0
  17. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/__init__.py +0 -0
  18. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/__init__.py +0 -0
  19. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_deprecated_pb2.pyi +0 -0
  20. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/generated/elastic_agent_client_future_pb2.pyi +0 -0
  21. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/handler/__init__.py +0 -0
  22. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/handler/action.py +0 -0
  23. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/handler/checkin.py +0 -0
  24. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/reader.py +0 -0
  25. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/service/__init__.py +0 -0
  26. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/service/actions.py +0 -0
  27. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/service/checkin.py +0 -0
  28. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/util/__init__.py +0 -0
  29. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/util/async_tools.py +0 -0
  30. {elastic_agent_client-0.0.1.dev1 → elastic_agent_client-0.0.2}/elastic_agent_client/util/logger.py +0 -0
@@ -1,5 +1,6 @@
1
1
  bin
2
2
  lib
3
+ lib64
3
4
  include
4
5
  .coverage
5
6
  *.un~
@@ -20,4 +21,4 @@ dist
20
21
  .proto
21
22
 
22
23
  # pyoxidize
23
- build
24
+ build
@@ -2,12 +2,213 @@ python-elastic-agent-client
2
2
  Copyright 2024 Elasticsearch B.V.
3
3
 
4
4
  ecs-logging
5
- 2.2.0
5
+ 2.3.0
6
6
  Apache Software License
7
- UNKNOWN
7
+ Apache License
8
+ Version 2.0, January 2004
9
+ http://www.apache.org/licenses/
10
+
11
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12
+
13
+ 1. Definitions.
14
+
15
+ "License" shall mean the terms and conditions for use, reproduction,
16
+ and distribution as defined by Sections 1 through 9 of this document.
17
+
18
+ "Licensor" shall mean the copyright owner or entity authorized by
19
+ the copyright owner that is granting the License.
20
+
21
+ "Legal Entity" shall mean the union of the acting entity and all
22
+ other entities that control, are controlled by, or are under common
23
+ control with that entity. For the purposes of this definition,
24
+ "control" means (i) the power, direct or indirect, to cause the
25
+ direction or management of such entity, whether by contract or
26
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
27
+ outstanding shares, or (iii) beneficial ownership of such entity.
28
+
29
+ "You" (or "Your") shall mean an individual or Legal Entity
30
+ exercising permissions granted by this License.
31
+
32
+ "Source" form shall mean the preferred form for making modifications,
33
+ including but not limited to software source code, documentation
34
+ source, and configuration files.
35
+
36
+ "Object" form shall mean any form resulting from mechanical
37
+ transformation or translation of a Source form, including but
38
+ not limited to compiled object code, generated documentation,
39
+ and conversions to other media types.
40
+
41
+ "Work" shall mean the work of authorship, whether in Source or
42
+ Object form, made available under the License, as indicated by a
43
+ copyright notice that is included in or attached to the work
44
+ (an example is provided in the Appendix below).
45
+
46
+ "Derivative Works" shall mean any work, whether in Source or Object
47
+ form, that is based on (or derived from) the Work and for which the
48
+ editorial revisions, annotations, elaborations, or other modifications
49
+ represent, as a whole, an original work of authorship. For the purposes
50
+ of this License, Derivative Works shall not include works that remain
51
+ separable from, or merely link (or bind by name) to the interfaces of,
52
+ the Work and Derivative Works thereof.
53
+
54
+ "Contribution" shall mean any work of authorship, including
55
+ the original version of the Work and any modifications or additions
56
+ to that Work or Derivative Works thereof, that is intentionally
57
+ submitted to Licensor for inclusion in the Work by the copyright owner
58
+ or by an individual or Legal Entity authorized to submit on behalf of
59
+ the copyright owner. For the purposes of this definition, "submitted"
60
+ means any form of electronic, verbal, or written communication sent
61
+ to the Licensor or its representatives, including but not limited to
62
+ communication on electronic mailing lists, source code control systems,
63
+ and issue tracking systems that are managed by, or on behalf of, the
64
+ Licensor for the purpose of discussing and improving the Work, but
65
+ excluding communication that is conspicuously marked or otherwise
66
+ designated in writing by the copyright owner as "Not a Contribution."
67
+
68
+ "Contributor" shall mean Licensor and any individual or Legal Entity
69
+ on behalf of whom a Contribution has been received by Licensor and
70
+ subsequently incorporated within the Work.
71
+
72
+ 2. Grant of Copyright License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ copyright license to reproduce, prepare Derivative Works of,
76
+ publicly display, publicly perform, sublicense, and distribute the
77
+ Work and such Derivative Works in Source or Object form.
78
+
79
+ 3. Grant of Patent License. Subject to the terms and conditions of
80
+ this License, each Contributor hereby grants to You a perpetual,
81
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
+ (except as stated in this section) patent license to make, have made,
83
+ use, offer to sell, sell, import, and otherwise transfer the Work,
84
+ where such license applies only to those patent claims licensable
85
+ by such Contributor that are necessarily infringed by their
86
+ Contribution(s) alone or by combination of their Contribution(s)
87
+ with the Work to which such Contribution(s) was submitted. If You
88
+ institute patent litigation against any entity (including a
89
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
90
+ or a Contribution incorporated within the Work constitutes direct
91
+ or contributory patent infringement, then any patent licenses
92
+ granted to You under this License for that Work shall terminate
93
+ as of the date such litigation is filed.
94
+
95
+ 4. Redistribution. You may reproduce and distribute copies of the
96
+ Work or Derivative Works thereof in any medium, with or without
97
+ modifications, and in Source or Object form, provided that You
98
+ meet the following conditions:
99
+
100
+ (a) You must give any other recipients of the Work or
101
+ Derivative Works a copy of this License; and
102
+
103
+ (b) You must cause any modified files to carry prominent notices
104
+ stating that You changed the files; and
105
+
106
+ (c) You must retain, in the Source form of any Derivative Works
107
+ that You distribute, all copyright, patent, trademark, and
108
+ attribution notices from the Source form of the Work,
109
+ excluding those notices that do not pertain to any part of
110
+ the Derivative Works; and
111
+
112
+ (d) If the Work includes a "NOTICE" text file as part of its
113
+ distribution, then any Derivative Works that You distribute must
114
+ include a readable copy of the attribution notices contained
115
+ within such NOTICE file, excluding those notices that do not
116
+ pertain to any part of the Derivative Works, in at least one
117
+ of the following places: within a NOTICE text file distributed
118
+ as part of the Derivative Works; within the Source form or
119
+ documentation, if provided along with the Derivative Works; or,
120
+ within a display generated by the Derivative Works, if and
121
+ wherever such third-party notices normally appear. The contents
122
+ of the NOTICE file are for informational purposes only and
123
+ do not modify the License. You may add Your own attribution
124
+ notices within Derivative Works that You distribute, alongside
125
+ or as an addendum to the NOTICE text from the Work, provided
126
+ that such additional attribution notices cannot be construed
127
+ as modifying the License.
128
+
129
+ You may add Your own copyright statement to Your modifications and
130
+ may provide additional or different license terms and conditions
131
+ for use, reproduction, or distribution of Your modifications, or
132
+ for any such Derivative Works as a whole, provided Your use,
133
+ reproduction, and distribution of the Work otherwise complies with
134
+ the conditions stated in this License.
135
+
136
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
137
+ any Contribution intentionally submitted for inclusion in the Work
138
+ by You to the Licensor shall be under the terms and conditions of
139
+ this License, without any additional terms or conditions.
140
+ Notwithstanding the above, nothing herein shall supersede or modify
141
+ the terms of any separate license agreement you may have executed
142
+ with Licensor regarding such Contributions.
143
+
144
+ 6. Trademarks. This License does not grant permission to use the trade
145
+ names, trademarks, service marks, or product names of the Licensor,
146
+ except as required for reasonable and customary use in describing the
147
+ origin of the Work and reproducing the content of the NOTICE file.
148
+
149
+ 7. Disclaimer of Warranty. Unless required by applicable law or
150
+ agreed to in writing, Licensor provides the Work (and each
151
+ Contributor provides its Contributions) on an "AS IS" BASIS,
152
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
153
+ implied, including, without limitation, any warranties or conditions
154
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
155
+ PARTICULAR PURPOSE. You are solely responsible for determining the
156
+ appropriateness of using or redistributing the Work and assume any
157
+ risks associated with Your exercise of permissions under this License.
158
+
159
+ 8. Limitation of Liability. In no event and under no legal theory,
160
+ whether in tort (including negligence), contract, or otherwise,
161
+ unless required by applicable law (such as deliberate and grossly
162
+ negligent acts) or agreed to in writing, shall any Contributor be
163
+ liable to You for damages, including any direct, indirect, special,
164
+ incidental, or consequential damages of any character arising as a
165
+ result of this License or out of the use or inability to use the
166
+ Work (including but not limited to damages for loss of goodwill,
167
+ work stoppage, computer failure or malfunction, or any and all
168
+ other commercial damages or losses), even if such Contributor
169
+ has been advised of the possibility of such damages.
170
+
171
+ 9. Accepting Warranty or Additional Liability. While redistributing
172
+ the Work or Derivative Works thereof, You may choose to offer,
173
+ and charge a fee for, acceptance of support, warranty, indemnity,
174
+ or other liability obligations and/or rights consistent with this
175
+ License. However, in accepting such obligations, You may act only
176
+ on Your own behalf and on Your sole responsibility, not on behalf
177
+ of any other Contributor, and only if You agree to indemnify,
178
+ defend, and hold each Contributor harmless for any liability
179
+ incurred by, or claims asserted against, such Contributor by reason
180
+ of your accepting any such warranty or additional liability.
181
+
182
+ END OF TERMS AND CONDITIONS
183
+
184
+ APPENDIX: How to apply the Apache License to your work.
185
+
186
+ To apply the Apache License to your work, attach the following
187
+ boilerplate notice, with the fields enclosed by brackets "[]"
188
+ replaced with your own identifying information. (Don't include
189
+ the brackets!) The text should be enclosed in the appropriate
190
+ comment syntax for the file format. We also recommend that a
191
+ file or class name and description of purpose be included on the
192
+ same "printed page" as the copyright notice for easier
193
+ identification within third-party archives.
194
+
195
+ Copyright [yyyy] [name of copyright owner]
196
+
197
+ Licensed under the Apache License, Version 2.0 (the "License");
198
+ you may not use this file except in compliance with the License.
199
+ You may obtain a copy of the License at
200
+
201
+ http://www.apache.org/licenses/LICENSE-2.0
202
+
203
+ Unless required by applicable law or agreed to in writing, software
204
+ distributed under the License is distributed on an "AS IS" BASIS,
205
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
+ See the License for the specific language governing permissions and
207
+ limitations under the License.
208
+
8
209
 
9
210
  grpcio
10
- 1.67.0
211
+ 1.74.0
11
212
  Apache Software License
12
213
 
13
214
  Apache License
@@ -622,12 +823,12 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
622
823
 
623
824
 
624
825
  grpcio-tools
625
- 1.67.0
826
+ 1.71.2
626
827
  Apache Software License
627
828
  UNKNOWN
628
829
 
629
830
  protobuf
630
- 5.27.4
831
+ 5.29.6
631
832
  3-Clause BSD License
632
833
  Copyright 2008 Google Inc. All rights reserved.
633
834
 
@@ -664,12 +865,249 @@ support library is itself covered by the above license.
664
865
 
665
866
 
666
867
  types-protobuf
667
- 5.27.0.20240907
668
- Apache Software License
868
+ 5.29.1.20250403
669
869
  UNKNOWN
870
+ The "typeshed" project is licensed under the terms of the Apache license, as
871
+ reproduced below.
872
+
873
+ = = = = =
874
+
875
+ Apache License
876
+ Version 2.0, January 2004
877
+ http://www.apache.org/licenses/
878
+
879
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
880
+
881
+ 1. Definitions.
882
+
883
+ "License" shall mean the terms and conditions for use, reproduction,
884
+ and distribution as defined by Sections 1 through 9 of this document.
885
+
886
+ "Licensor" shall mean the copyright owner or entity authorized by
887
+ the copyright owner that is granting the License.
888
+
889
+ "Legal Entity" shall mean the union of the acting entity and all
890
+ other entities that control, are controlled by, or are under common
891
+ control with that entity. For the purposes of this definition,
892
+ "control" means (i) the power, direct or indirect, to cause the
893
+ direction or management of such entity, whether by contract or
894
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
895
+ outstanding shares, or (iii) beneficial ownership of such entity.
896
+
897
+ "You" (or "Your") shall mean an individual or Legal Entity
898
+ exercising permissions granted by this License.
899
+
900
+ "Source" form shall mean the preferred form for making modifications,
901
+ including but not limited to software source code, documentation
902
+ source, and configuration files.
903
+
904
+ "Object" form shall mean any form resulting from mechanical
905
+ transformation or translation of a Source form, including but
906
+ not limited to compiled object code, generated documentation,
907
+ and conversions to other media types.
908
+
909
+ "Work" shall mean the work of authorship, whether in Source or
910
+ Object form, made available under the License, as indicated by a
911
+ copyright notice that is included in or attached to the work
912
+ (an example is provided in the Appendix below).
913
+
914
+ "Derivative Works" shall mean any work, whether in Source or Object
915
+ form, that is based on (or derived from) the Work and for which the
916
+ editorial revisions, annotations, elaborations, or other modifications
917
+ represent, as a whole, an original work of authorship. For the purposes
918
+ of this License, Derivative Works shall not include works that remain
919
+ separable from, or merely link (or bind by name) to the interfaces of,
920
+ the Work and Derivative Works thereof.
921
+
922
+ "Contribution" shall mean any work of authorship, including
923
+ the original version of the Work and any modifications or additions
924
+ to that Work or Derivative Works thereof, that is intentionally
925
+ submitted to Licensor for inclusion in the Work by the copyright owner
926
+ or by an individual or Legal Entity authorized to submit on behalf of
927
+ the copyright owner. For the purposes of this definition, "submitted"
928
+ means any form of electronic, verbal, or written communication sent
929
+ to the Licensor or its representatives, including but not limited to
930
+ communication on electronic mailing lists, source code control systems,
931
+ and issue tracking systems that are managed by, or on behalf of, the
932
+ Licensor for the purpose of discussing and improving the Work, but
933
+ excluding communication that is conspicuously marked or otherwise
934
+ designated in writing by the copyright owner as "Not a Contribution."
935
+
936
+ "Contributor" shall mean Licensor and any individual or Legal Entity
937
+ on behalf of whom a Contribution has been received by Licensor and
938
+ subsequently incorporated within the Work.
939
+
940
+ 2. Grant of Copyright License. Subject to the terms and conditions of
941
+ this License, each Contributor hereby grants to You a perpetual,
942
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
943
+ copyright license to reproduce, prepare Derivative Works of,
944
+ publicly display, publicly perform, sublicense, and distribute the
945
+ Work and such Derivative Works in Source or Object form.
946
+
947
+ 3. Grant of Patent License. Subject to the terms and conditions of
948
+ this License, each Contributor hereby grants to You a perpetual,
949
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
950
+ (except as stated in this section) patent license to make, have made,
951
+ use, offer to sell, sell, import, and otherwise transfer the Work,
952
+ where such license applies only to those patent claims licensable
953
+ by such Contributor that are necessarily infringed by their
954
+ Contribution(s) alone or by combination of their Contribution(s)
955
+ with the Work to which such Contribution(s) was submitted. If You
956
+ institute patent litigation against any entity (including a
957
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
958
+ or a Contribution incorporated within the Work constitutes direct
959
+ or contributory patent infringement, then any patent licenses
960
+ granted to You under this License for that Work shall terminate
961
+ as of the date such litigation is filed.
962
+
963
+ 4. Redistribution. You may reproduce and distribute copies of the
964
+ Work or Derivative Works thereof in any medium, with or without
965
+ modifications, and in Source or Object form, provided that You
966
+ meet the following conditions:
967
+
968
+ (a) You must give any other recipients of the Work or
969
+ Derivative Works a copy of this License; and
970
+
971
+ (b) You must cause any modified files to carry prominent notices
972
+ stating that You changed the files; and
973
+
974
+ (c) You must retain, in the Source form of any Derivative Works
975
+ that You distribute, all copyright, patent, trademark, and
976
+ attribution notices from the Source form of the Work,
977
+ excluding those notices that do not pertain to any part of
978
+ the Derivative Works; and
979
+
980
+ (d) If the Work includes a "NOTICE" text file as part of its
981
+ distribution, then any Derivative Works that You distribute must
982
+ include a readable copy of the attribution notices contained
983
+ within such NOTICE file, excluding those notices that do not
984
+ pertain to any part of the Derivative Works, in at least one
985
+ of the following places: within a NOTICE text file distributed
986
+ as part of the Derivative Works; within the Source form or
987
+ documentation, if provided along with the Derivative Works; or,
988
+ within a display generated by the Derivative Works, if and
989
+ wherever such third-party notices normally appear. The contents
990
+ of the NOTICE file are for informational purposes only and
991
+ do not modify the License. You may add Your own attribution
992
+ notices within Derivative Works that You distribute, alongside
993
+ or as an addendum to the NOTICE text from the Work, provided
994
+ that such additional attribution notices cannot be construed
995
+ as modifying the License.
996
+
997
+ You may add Your own copyright statement to Your modifications and
998
+ may provide additional or different license terms and conditions
999
+ for use, reproduction, or distribution of Your modifications, or
1000
+ for any such Derivative Works as a whole, provided Your use,
1001
+ reproduction, and distribution of the Work otherwise complies with
1002
+ the conditions stated in this License.
1003
+
1004
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1005
+ any Contribution intentionally submitted for inclusion in the Work
1006
+ by You to the Licensor shall be under the terms and conditions of
1007
+ this License, without any additional terms or conditions.
1008
+ Notwithstanding the above, nothing herein shall supersede or modify
1009
+ the terms of any separate license agreement you may have executed
1010
+ with Licensor regarding such Contributions.
1011
+
1012
+ 6. Trademarks. This License does not grant permission to use the trade
1013
+ names, trademarks, service marks, or product names of the Licensor,
1014
+ except as required for reasonable and customary use in describing the
1015
+ origin of the Work and reproducing the content of the NOTICE file.
1016
+
1017
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1018
+ agreed to in writing, Licensor provides the Work (and each
1019
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1020
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1021
+ implied, including, without limitation, any warranties or conditions
1022
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1023
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1024
+ appropriateness of using or redistributing the Work and assume any
1025
+ risks associated with Your exercise of permissions under this License.
1026
+
1027
+ 8. Limitation of Liability. In no event and under no legal theory,
1028
+ whether in tort (including negligence), contract, or otherwise,
1029
+ unless required by applicable law (such as deliberate and grossly
1030
+ negligent acts) or agreed to in writing, shall any Contributor be
1031
+ liable to You for damages, including any direct, indirect, special,
1032
+ incidental, or consequential damages of any character arising as a
1033
+ result of this License or out of the use or inability to use the
1034
+ Work (including but not limited to damages for loss of goodwill,
1035
+ work stoppage, computer failure or malfunction, or any and all
1036
+ other commercial damages or losses), even if such Contributor
1037
+ has been advised of the possibility of such damages.
1038
+
1039
+ 9. Accepting Warranty or Additional Liability. While redistributing
1040
+ the Work or Derivative Works thereof, You may choose to offer,
1041
+ and charge a fee for, acceptance of support, warranty, indemnity,
1042
+ or other liability obligations and/or rights consistent with this
1043
+ License. However, in accepting such obligations, You may act only
1044
+ on Your own behalf and on Your sole responsibility, not on behalf
1045
+ of any other Contributor, and only if You agree to indemnify,
1046
+ defend, and hold each Contributor harmless for any liability
1047
+ incurred by, or claims asserted against, such Contributor by reason
1048
+ of your accepting any such warranty or additional liability.
1049
+
1050
+ END OF TERMS AND CONDITIONS
1051
+
1052
+ APPENDIX: How to apply the Apache License to your work.
1053
+
1054
+ To apply the Apache License to your work, attach the following
1055
+ boilerplate notice, with the fields enclosed by brackets "{}"
1056
+ replaced with your own identifying information. (Don't include
1057
+ the brackets!) The text should be enclosed in the appropriate
1058
+ comment syntax for the file format. We also recommend that a
1059
+ file or class name and description of purpose be included on the
1060
+ same "printed page" as the copyright notice for easier
1061
+ identification within third-party archives.
1062
+
1063
+ Copyright {yyyy} {name of copyright owner}
1064
+
1065
+ Licensed under the Apache License, Version 2.0 (the "License");
1066
+ you may not use this file except in compliance with the License.
1067
+ You may obtain a copy of the License at
1068
+
1069
+ http://www.apache.org/licenses/LICENSE-2.0
1070
+
1071
+ Unless required by applicable law or agreed to in writing, software
1072
+ distributed under the License is distributed on an "AS IS" BASIS,
1073
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1074
+ See the License for the specific language governing permissions and
1075
+ limitations under the License.
1076
+
1077
+ = = = = =
1078
+
1079
+ Parts of typeshed are licensed under different licenses (like the MIT
1080
+ license), reproduced below.
1081
+
1082
+ = = = = =
1083
+
1084
+ The MIT License
1085
+
1086
+ Copyright (c) 2015 Jukka Lehtosalo and contributors
1087
+
1088
+ Permission is hereby granted, free of charge, to any person obtaining a
1089
+ copy of this software and associated documentation files (the "Software"),
1090
+ to deal in the Software without restriction, including without limitation
1091
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
1092
+ and/or sell copies of the Software, and to permit persons to whom the
1093
+ Software is furnished to do so, subject to the following conditions:
1094
+
1095
+ The above copyright notice and this permission notice shall be included in
1096
+ all copies or substantial portions of the Software.
1097
+
1098
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1099
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1100
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1101
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1102
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1103
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1104
+ DEALINGS IN THE SOFTWARE.
1105
+
1106
+ = = = = =
1107
+
670
1108
 
671
1109
  uvloop
672
- 0.21.0
1110
+ 0.22.1
673
1111
  Apache Software License; MIT License
674
1112
  Copyright (C) 2016-present the uvloop authors and contributors.
675
1113
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: elastic_agent_client
3
- Version: 0.0.1.dev1
3
+ Version: 0.0.2
4
4
  Summary: A python implementation of an Elastic Agent Client
5
5
  Author-email: Search Extract and Transform Team <enterprise-search-ingestion-team@elastic.co>
6
6
  License: Elastic V2
@@ -14,11 +14,23 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Requires-Python: >=3.10
16
16
  Requires-Dist: ecs-logging>=2
17
- Requires-Dist: grpcio-tools<2,>=1.65
18
- Requires-Dist: grpcio<2,>=1.65
19
- Requires-Dist: protobuf<5.28,>=5.27
20
- Requires-Dist: types-protobuf<5.28,>=5.27
17
+ Requires-Dist: grpcio-tools<1.72,>=1.71
18
+ Requires-Dist: grpcio<1.75,>=1.74
19
+ Requires-Dist: protobuf<5.30,>=5.29
20
+ Requires-Dist: types-protobuf<5.30,>=5.29
21
21
  Requires-Dist: uvloop<1,>=0.20
22
+ Provides-Extra: dev
23
+ Requires-Dist: hatch==1.17.1; extra == 'dev'
24
+ Requires-Dist: mypy==1.18.2; extra == 'dev'
25
+ Requires-Dist: pip-licenses==5.0.0; extra == 'dev'
26
+ Requires-Dist: pytest-asyncio==1.3.0; extra == 'dev'
27
+ Requires-Dist: pytest-cov==6.3.0; extra == 'dev'
28
+ Requires-Dist: pytest-fail-slow==0.6.0; extra == 'dev'
29
+ Requires-Dist: pytest-mock==3.15.1; extra == 'dev'
30
+ Requires-Dist: pytest-randomly==4.0.1; extra == 'dev'
31
+ Requires-Dist: pytest==8.4.2; extra == 'dev'
32
+ Requires-Dist: ruff==0.14.4; extra == 'dev'
33
+ Requires-Dist: twine==6.2.0; extra == 'dev'
22
34
  Description-Content-Type: text/markdown
23
35
 
24
36
  # Python Elastic Agent client
@@ -109,12 +121,6 @@ Instead, when `make generate` runs, it will:
109
121
 
110
122
  ### TODO List
111
123
  - [ ] remove all inline TODOs
112
- - [ ] write tests
113
- - [ ] use ECS logging
114
- - [ ] add NOTICE file
115
- - [ ] push to pypi
116
- - [ ] open source
117
- - [ ] record a demo
118
124
  - [ ] write a blog
119
125
  - [ ] one day...
120
126
  - [ ] support "custom actions" to trigger a sync, test connection, etc
@@ -86,12 +86,6 @@ Instead, when `make generate` runs, it will:
86
86
 
87
87
  ### TODO List
88
88
  - [ ] remove all inline TODOs
89
- - [ ] write tests
90
- - [ ] use ECS logging
91
- - [ ] add NOTICE file
92
- - [ ] push to pypi
93
- - [ ] open source
94
- - [ ] record a demo
95
89
  - [ ] write a blog
96
90
  - [ ] one day...
97
91
  - [ ] support "custom actions" to trigger a sync, test connection, etc
@@ -3,6 +3,7 @@
3
3
  # or more contributor license agreements. Licensed under the Elastic License 2.0;
4
4
  # you may not use this file except in compliance with the Elastic License 2.0.
5
5
  #
6
+ from dataclasses import dataclass
6
7
  from typing import Optional
7
8
 
8
9
  import elastic_agent_client.generated.elastic_agent_client_pb2 as proto
@@ -16,6 +17,7 @@ from elastic_agent_client.generated.elastic_agent_client_pb2_grpc import (
16
17
  )
17
18
 
18
19
 
20
+ @dataclass
19
21
  class VersionInfo:
20
22
  def __init__(
21
23
  self, name: str, meta: Optional[dict] = None, build_hash: Optional[str] = None
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: elastic-agent-client-deprecated.proto
5
- # Protobuf Python Version: 5.27.2
5
+ # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 27,
16
- 2,
15
+ 29,
16
+ 0,
17
17
  '',
18
18
  'elastic-agent-client-deprecated.proto'
19
19
  )
@@ -4,7 +4,7 @@ import grpc
4
4
  import warnings
5
5
 
6
6
 
7
- GRPC_GENERATED_VERSION = '1.66.1'
7
+ GRPC_GENERATED_VERSION = '1.71.2'
8
8
  GRPC_VERSION = grpc.__version__
9
9
  _version_not_supported = False
10
10
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: elastic-agent-client-future.proto
5
- # Protobuf Python Version: 5.27.2
5
+ # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 27,
16
- 2,
15
+ 29,
16
+ 0,
17
17
  '',
18
18
  'elastic-agent-client-future.proto'
19
19
  )
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from . import elastic_agent_client_future_pb2 as elastic__agent__client__future__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.66.1'
8
+ GRPC_GENERATED_VERSION = '1.71.2'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -0,0 +1,106 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: elastic-agent-client.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'elastic-agent-client.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+ from . import elastic_agent_client_deprecated_pb2 as elastic__agent__client__deprecated__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x65lastic-agent-client.proto\x12\x05proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%elastic-agent-client-deprecated.proto\"Q\n\x07Package\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\"P\n\x04Meta\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1f\n\x07package\x18\x02 \x01(\x0b\x32\x0e.proto.Package\"g\n\nDataStream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"e\n\x06Stream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12&\n\x0b\x64\x61ta_stream\x18\x03 \x01(\x0b\x32\x11.proto.DataStream\"\xda\x01\n\x12UnitExpectedConfig\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x10\n\x08revision\x18\x05 \x01(\x04\x12\x19\n\x04meta\x18\x06 \x01(\x0b\x32\x0b.proto.Meta\x12&\n\x0b\x64\x61ta_stream\x18\x07 \x01(\x0b\x32\x11.proto.DataStream\x12\x1e\n\x07streams\x18\x08 \x03(\x0b\x32\r.proto.Stream\"\xc3\x01\n\x0cUnitExpected\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x1b\n\x05state\x18\x03 \x01(\x0e\x32\x0c.proto.State\x12\x18\n\x10\x63onfig_state_idx\x18\x04 \x01(\x04\x12)\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x19.proto.UnitExpectedConfig\x12&\n\tlog_level\x18\x06 \x01(\x0e\x32\x13.proto.UnitLogLevel\"w\n\tAgentInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08snapshot\x18\x03 \x01(\x08\x12%\n\x04mode\x18\x04 \x01(\x0e\x32\x17.proto.AgentManagedMode\x12\x14\n\x0cUnprivileged\x18\x05 \x01(\x08\"U\n\x08\x46\x65\x61tures\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12 \n\x04\x66qdn\x18\x02 \x01(\x0b\x32\x12.proto.FQDNFeature\"\x1e\n\x0b\x46QDNFeature\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"L\n\rElasticAPMTLS\x12\x13\n\x0bskip_verify\x18\x01 \x01(\x08\x12\x13\n\x0bserver_cert\x18\x02 \x01(\t\x12\x11\n\tserver_ca\x18\x03 \x01(\t\"\xbf\x01\n\nElasticAPM\x12!\n\x03tls\x18\x01 \x01(\x0b\x32\x14.proto.ElasticAPMTLS\x12\x13\n\x0b\x65nvironment\x18\x02 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x03 \x01(\t\x12\x14\n\x0csecret_token\x18\x04 \x01(\t\x12\r\n\x05hosts\x18\x05 \x03(\t\x12\x15\n\rglobal_labels\x18\x06 \x01(\t\x12\x1a\n\rsampling_rate\x18\x07 \x01(\x02H\x00\x88\x01\x01\x42\x10\n\x0e_sampling_rate\"/\n\tAPMConfig\x12\"\n\x07\x65lastic\x18\x01 \x01(\x0b\x32\x11.proto.ElasticAPM\"m\n\tComponent\x12&\n\x06limits\x18\x01 \x01(\x0b\x32\x16.proto.ComponentLimits\x12)\n\napm_config\x18\x02 \x01(\x0b\x32\x10.proto.APMConfigH\x00\x88\x01\x01\x42\r\n\x0b_apm_config\"P\n\x0f\x43omponentLimits\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x14\n\x0cgo_max_procs\x18\x02 \x01(\x04\"\x85\x02\n\x0f\x43heckinExpected\x12\"\n\x05units\x18\x01 \x03(\x0b\x32\x13.proto.UnitExpected\x12$\n\nagent_info\x18\x02 \x01(\x0b\x32\x10.proto.AgentInfo\x12!\n\x08\x66\x65\x61tures\x18\x03 \x01(\x0b\x32\x0f.proto.Features\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x04 \x01(\x04\x12#\n\tcomponent\x18\x05 \x01(\x0b\x32\x10.proto.Component\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xab\x01\n\x0cUnitObserved\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x18\n\x10\x63onfig_state_idx\x18\x03 \x01(\x04\x12\x1b\n\x05state\x18\x04 \x01(\x0e\x32\x0c.proto.State\x12\x0f\n\x07message\x18\x05 \x01(\t\x12(\n\x07payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa6\x01\n\x1a\x43heckinObservedVersionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x04meta\x18\x03 \x03(\x0b\x32+.proto.CheckinObservedVersionInfo.MetaEntry\x12\x12\n\nbuild_hash\x18\x04 \x01(\t\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbf\x02\n\x0f\x43heckinObserved\x12\r\n\x05token\x18\x01 \x01(\t\x12\"\n\x05units\x18\x02 \x03(\x0b\x32\x13.proto.UnitObserved\x12<\n\x0cversion_info\x18\x03 \x01(\x0b\x32!.proto.CheckinObservedVersionInfoH\x00\x88\x01\x01\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x05 \x01(\x04\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x0b\n\x03pid\x18\t \x01(\x04\x42\x0f\n\r_version_infoJ\x04\x08\x04\x10\x05R\x08\x66\x65\x61tures\"\x92\x02\n\rActionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06params\x18\x03 \x01(\x0c\x12\x0f\n\x07unit_id\x18\x04 \x01(\t\x12\"\n\tunit_type\x18\x05 \x01(\x0e\x32\x0f.proto.UnitType\x12\'\n\x04type\x18\x06 \x01(\x0e\x32\x19.proto.ActionRequest.Type\x12)\n\x05level\x18\x07 \x01(\x0e\x32\x1a.proto.ActionRequest.Level\"#\n\x04Type\x12\n\n\x06\x43USTOM\x10\x00\x12\x0f\n\x0b\x44IAGNOSTICS\x10\x01\")\n\x05Level\x12\x07\n\x03\x41LL\x10\x00\x12\r\n\tCOMPONENT\x10\x01\x12\x08\n\x04UNIT\x10\x02\"\xa7\x01\n\x1a\x41\x63tionDiagnosticUnitResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\x04 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c\x12-\n\tgenerated\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc3\x01\n\x0e\x41\x63tionResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12,\n\x06status\x18\x03 \x01(\x0e\x32\x1c.proto.ActionResponse.Status\x12\x0e\n\x06result\x18\x04 \x01(\x0c\x12\x35\n\ndiagnostic\x18\x05 \x03(\x0b\x32!.proto.ActionDiagnosticUnitResult\"!\n\x06Status\x12\x0b\n\x07SUCCESS\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\"\x8d\x02\n\x0bStartUpInfo\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x13\n\x0bserver_name\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x63\x61_cert\x18\x04 \x01(\x0c\x12\x11\n\tpeer_cert\x18\x05 \x01(\x0c\x12\x10\n\x08peer_key\x18\x06 \x01(\x0c\x12)\n\x08services\x18\x07 \x03(\x0e\x32\x17.proto.ConnInfoServices\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x18\n\x10max_message_size\x18\t \x01(\r\x12$\n\nagent_info\x18\n \x01(\x0b\x32\x10.proto.AgentInfo*)\n\x12\x43onnectionSupports\x12\x13\n\x0f\x43heckinChunking\x10\x00*h\n\x05State\x12\x0c\n\x08STARTING\x10\x00\x12\x0f\n\x0b\x43ONFIGURING\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06*!\n\x08UnitType\x12\t\n\x05INPUT\x10\x00\x12\n\n\x06OUTPUT\x10\x01*C\n\x0cUnitLogLevel\x12\t\n\x05\x45RROR\x10\x00\x12\x08\n\x04WARN\x10\x01\x12\x08\n\x04INFO\x10\x02\x12\t\n\x05\x44\x45\x42UG\x10\x03\x12\t\n\x05TRACE\x10\x04*/\n\x10\x41gentManagedMode\x12\x0b\n\x07MANAGED\x10\x00\x12\x0e\n\nSTANDALONE\x10\x01*P\n\x10\x43onnInfoServices\x12\x0b\n\x07\x43heckin\x10\x00\x12\r\n\tCheckinV2\x10\x01\x12\t\n\x05Store\x10\x02\x12\x0c\n\x08\x41rtifact\x10\x03\x12\x07\n\x03Log\x10\x04\x32\xc6\x01\n\x0c\x45lasticAgent\x12?\n\tCheckinV2\x12\x16.proto.CheckinObserved\x1a\x16.proto.CheckinExpected(\x01\x30\x01\x12:\n\x07\x41\x63tions\x12\x15.proto.ActionResponse\x1a\x14.proto.ActionRequest(\x01\x30\x01\x12\x39\n\x07\x43heckin\x12\x14.proto.StateObserved\x1a\x14.proto.StateExpected(\x01\x30\x01\x42\x14Z\x0fpkg/proto;proto\xf8\x01\x01\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'elastic_agent_client_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'Z\017pkg/proto;proto\370\001\001'
38
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._loaded_options = None
39
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_options = b'8\001'
40
+ _globals['_CONNECTIONSUPPORTS']._serialized_start=3531
41
+ _globals['_CONNECTIONSUPPORTS']._serialized_end=3572
42
+ _globals['_STATE']._serialized_start=3574
43
+ _globals['_STATE']._serialized_end=3678
44
+ _globals['_UNITTYPE']._serialized_start=3680
45
+ _globals['_UNITTYPE']._serialized_end=3713
46
+ _globals['_UNITLOGLEVEL']._serialized_start=3715
47
+ _globals['_UNITLOGLEVEL']._serialized_end=3782
48
+ _globals['_AGENTMANAGEDMODE']._serialized_start=3784
49
+ _globals['_AGENTMANAGEDMODE']._serialized_end=3831
50
+ _globals['_CONNINFOSERVICES']._serialized_start=3833
51
+ _globals['_CONNINFOSERVICES']._serialized_end=3913
52
+ _globals['_PACKAGE']._serialized_start=139
53
+ _globals['_PACKAGE']._serialized_end=220
54
+ _globals['_META']._serialized_start=222
55
+ _globals['_META']._serialized_end=302
56
+ _globals['_DATASTREAM']._serialized_start=304
57
+ _globals['_DATASTREAM']._serialized_end=407
58
+ _globals['_STREAM']._serialized_start=409
59
+ _globals['_STREAM']._serialized_end=510
60
+ _globals['_UNITEXPECTEDCONFIG']._serialized_start=513
61
+ _globals['_UNITEXPECTEDCONFIG']._serialized_end=731
62
+ _globals['_UNITEXPECTED']._serialized_start=734
63
+ _globals['_UNITEXPECTED']._serialized_end=929
64
+ _globals['_AGENTINFO']._serialized_start=931
65
+ _globals['_AGENTINFO']._serialized_end=1050
66
+ _globals['_FEATURES']._serialized_start=1052
67
+ _globals['_FEATURES']._serialized_end=1137
68
+ _globals['_FQDNFEATURE']._serialized_start=1139
69
+ _globals['_FQDNFEATURE']._serialized_end=1169
70
+ _globals['_ELASTICAPMTLS']._serialized_start=1171
71
+ _globals['_ELASTICAPMTLS']._serialized_end=1247
72
+ _globals['_ELASTICAPM']._serialized_start=1250
73
+ _globals['_ELASTICAPM']._serialized_end=1441
74
+ _globals['_APMCONFIG']._serialized_start=1443
75
+ _globals['_APMCONFIG']._serialized_end=1490
76
+ _globals['_COMPONENT']._serialized_start=1492
77
+ _globals['_COMPONENT']._serialized_end=1601
78
+ _globals['_COMPONENTLIMITS']._serialized_start=1603
79
+ _globals['_COMPONENTLIMITS']._serialized_end=1683
80
+ _globals['_CHECKINEXPECTED']._serialized_start=1686
81
+ _globals['_CHECKINEXPECTED']._serialized_end=1947
82
+ _globals['_UNITOBSERVED']._serialized_start=1950
83
+ _globals['_UNITOBSERVED']._serialized_end=2121
84
+ _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_start=2124
85
+ _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_end=2290
86
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_start=2247
87
+ _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_end=2290
88
+ _globals['_CHECKINOBSERVED']._serialized_start=2293
89
+ _globals['_CHECKINOBSERVED']._serialized_end=2612
90
+ _globals['_ACTIONREQUEST']._serialized_start=2615
91
+ _globals['_ACTIONREQUEST']._serialized_end=2889
92
+ _globals['_ACTIONREQUEST_TYPE']._serialized_start=2811
93
+ _globals['_ACTIONREQUEST_TYPE']._serialized_end=2846
94
+ _globals['_ACTIONREQUEST_LEVEL']._serialized_start=2848
95
+ _globals['_ACTIONREQUEST_LEVEL']._serialized_end=2889
96
+ _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_start=2892
97
+ _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_end=3059
98
+ _globals['_ACTIONRESPONSE']._serialized_start=3062
99
+ _globals['_ACTIONRESPONSE']._serialized_end=3257
100
+ _globals['_ACTIONRESPONSE_STATUS']._serialized_start=3224
101
+ _globals['_ACTIONRESPONSE_STATUS']._serialized_end=3257
102
+ _globals['_STARTUPINFO']._serialized_start=3260
103
+ _globals['_STARTUPINFO']._serialized_end=3529
104
+ _globals['_ELASTICAGENT']._serialized_start=3916
105
+ _globals['_ELASTICAGENT']._serialized_end=4114
106
+ # @@protoc_insertion_point(module_scope)
@@ -186,20 +186,22 @@ class ElasticAPMTLS(_message.Message):
186
186
  def __init__(self, skip_verify: bool = ..., server_cert: _Optional[str] = ..., server_ca: _Optional[str] = ...) -> None: ...
187
187
 
188
188
  class ElasticAPM(_message.Message):
189
- __slots__ = ("tls", "environment", "api_key", "secret_token", "hosts", "global_labels")
189
+ __slots__ = ("tls", "environment", "api_key", "secret_token", "hosts", "global_labels", "sampling_rate")
190
190
  TLS_FIELD_NUMBER: _ClassVar[int]
191
191
  ENVIRONMENT_FIELD_NUMBER: _ClassVar[int]
192
192
  API_KEY_FIELD_NUMBER: _ClassVar[int]
193
193
  SECRET_TOKEN_FIELD_NUMBER: _ClassVar[int]
194
194
  HOSTS_FIELD_NUMBER: _ClassVar[int]
195
195
  GLOBAL_LABELS_FIELD_NUMBER: _ClassVar[int]
196
+ SAMPLING_RATE_FIELD_NUMBER: _ClassVar[int]
196
197
  tls: ElasticAPMTLS
197
198
  environment: str
198
199
  api_key: str
199
200
  secret_token: str
200
201
  hosts: _containers.RepeatedScalarFieldContainer[str]
201
202
  global_labels: str
202
- def __init__(self, tls: _Optional[_Union[ElasticAPMTLS, _Mapping]] = ..., environment: _Optional[str] = ..., api_key: _Optional[str] = ..., secret_token: _Optional[str] = ..., hosts: _Optional[_Iterable[str]] = ..., global_labels: _Optional[str] = ...) -> None: ...
203
+ sampling_rate: float
204
+ def __init__(self, tls: _Optional[_Union[ElasticAPMTLS, _Mapping]] = ..., environment: _Optional[str] = ..., api_key: _Optional[str] = ..., secret_token: _Optional[str] = ..., hosts: _Optional[_Iterable[str]] = ..., global_labels: _Optional[str] = ..., sampling_rate: _Optional[float] = ...) -> None: ...
203
205
 
204
206
  class APMConfig(_message.Message):
205
207
  __slots__ = ("elastic",)
@@ -6,7 +6,7 @@ import warnings
6
6
  from . import elastic_agent_client_deprecated_pb2 as elastic__agent__client__deprecated__pb2
7
7
  from . import elastic_agent_client_pb2 as elastic__agent__client__pb2
8
8
 
9
- GRPC_GENERATED_VERSION = '1.66.1'
9
+ GRPC_GENERATED_VERSION = '1.71.2'
10
10
  GRPC_VERSION = grpc.__version__
11
11
  _version_not_supported = False
12
12
 
@@ -0,0 +1,7 @@
1
+ #
2
+ # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ # or more contributor license agreements. Licensed under the Elastic License 2.0;
4
+ # you may not use this file except in compliance with the Elastic License 2.0.
5
+ #
6
+
7
+ __version__ = "0.0.2"
@@ -1,6 +1,5 @@
1
1
  [project]
2
2
  name = "elastic_agent_client"
3
- version = "0.0.1.dev1"
4
3
  description = "A python implementation of an Elastic Agent Client"
5
4
  url = "https://github.com/elastic/python-elastic-agent-client"
6
5
  readme = "README.md"
@@ -18,6 +17,7 @@ classifiers = [
18
17
  "Programming Language :: Python :: 3.12",
19
18
  "License :: Other/Proprietary License"
20
19
  ]
20
+ dynamic = ["version"]
21
21
 
22
22
  requires-python = ">=3.10"
23
23
 
@@ -27,14 +27,29 @@ requires-python = ">=3.10"
27
27
  # If you add a dependancy here you will need to add it below
28
28
  # to the [tools.pip-licenses].packages definition.
29
29
  dependencies = [
30
- "grpcio>=1.65, <2",
31
- "grpcio-tools>=1.65, <2",
32
- "protobuf>=5.27, <5.28",
33
- "types-protobuf>=5.27, <5.28",
30
+ "grpcio>=1.74, <1.75",
31
+ "grpcio-tools>=1.71, <1.72",
32
+ "protobuf>=5.29, <5.30",
33
+ "types-protobuf>=5.29, <5.30",
34
34
  "uvloop>=0.20, <1",
35
35
  "ecs-logging>=2"
36
36
  ]
37
37
 
38
+ [project.optional-dependencies]
39
+ dev = [
40
+ "ruff==0.14.4",
41
+ "pytest==8.4.2",
42
+ "pytest-cov==6.3.0",
43
+ "pytest-asyncio==1.3.0",
44
+ "pytest-mock==3.15.1",
45
+ "pytest-randomly==4.0.1",
46
+ "pytest-fail-slow==0.6.0",
47
+ "mypy==1.18.2",
48
+ "pip-licenses==5.0.0",
49
+ "hatch==1.17.1",
50
+ "twine==6.2.0",
51
+ ]
52
+
38
53
 
39
54
  [build-system]
40
55
  requires = [
@@ -45,7 +60,6 @@ build-backend = "hatchling.build"
45
60
 
46
61
  [tool.pip-licenses]
47
62
  partial-match = true
48
- allow-only = "MIT;BSD;Apache"
49
63
  format = "plain-vertical"
50
64
  with-license-file = true
51
65
  no-license-path = true
@@ -78,6 +92,9 @@ show_missing=true
78
92
  dev-mode-dirs = ["."]
79
93
  directory="dist"
80
94
 
95
+ [tool.hatch.version]
96
+ path = "elastic_agent_client/version.py"
97
+
81
98
  [tool.hatch.build.targets.sdist]
82
99
  include = [
83
100
  "elastic_agent_client"
@@ -1,106 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: elastic-agent-client.proto
5
- # Protobuf Python Version: 5.27.2
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 27,
16
- 2,
17
- '',
18
- 'elastic-agent-client.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
- from . import elastic_agent_client_deprecated_pb2 as elastic__agent__client__deprecated__pb2
28
-
29
-
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x65lastic-agent-client.proto\x12\x05proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%elastic-agent-client-deprecated.proto\"Q\n\x07Package\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\"P\n\x04Meta\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1f\n\x07package\x18\x02 \x01(\x0b\x32\x0e.proto.Package\"g\n\nDataStream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"e\n\x06Stream\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12&\n\x0b\x64\x61ta_stream\x18\x03 \x01(\x0b\x32\x11.proto.DataStream\"\xda\x01\n\x12UnitExpectedConfig\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x10\n\x08revision\x18\x05 \x01(\x04\x12\x19\n\x04meta\x18\x06 \x01(\x0b\x32\x0b.proto.Meta\x12&\n\x0b\x64\x61ta_stream\x18\x07 \x01(\x0b\x32\x11.proto.DataStream\x12\x1e\n\x07streams\x18\x08 \x03(\x0b\x32\r.proto.Stream\"\xc3\x01\n\x0cUnitExpected\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x1b\n\x05state\x18\x03 \x01(\x0e\x32\x0c.proto.State\x12\x18\n\x10\x63onfig_state_idx\x18\x04 \x01(\x04\x12)\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x19.proto.UnitExpectedConfig\x12&\n\tlog_level\x18\x06 \x01(\x0e\x32\x13.proto.UnitLogLevel\"w\n\tAgentInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08snapshot\x18\x03 \x01(\x08\x12%\n\x04mode\x18\x04 \x01(\x0e\x32\x17.proto.AgentManagedMode\x12\x14\n\x0cUnprivileged\x18\x05 \x01(\x08\"U\n\x08\x46\x65\x61tures\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12 \n\x04\x66qdn\x18\x02 \x01(\x0b\x32\x12.proto.FQDNFeature\"\x1e\n\x0b\x46QDNFeature\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"L\n\rElasticAPMTLS\x12\x13\n\x0bskip_verify\x18\x01 \x01(\x08\x12\x13\n\x0bserver_cert\x18\x02 \x01(\t\x12\x11\n\tserver_ca\x18\x03 \x01(\t\"\x91\x01\n\nElasticAPM\x12!\n\x03tls\x18\x01 \x01(\x0b\x32\x14.proto.ElasticAPMTLS\x12\x13\n\x0b\x65nvironment\x18\x02 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x03 \x01(\t\x12\x14\n\x0csecret_token\x18\x04 \x01(\t\x12\r\n\x05hosts\x18\x05 \x03(\t\x12\x15\n\rglobal_labels\x18\x06 \x01(\t\"/\n\tAPMConfig\x12\"\n\x07\x65lastic\x18\x01 \x01(\x0b\x32\x11.proto.ElasticAPM\"m\n\tComponent\x12&\n\x06limits\x18\x01 \x01(\x0b\x32\x16.proto.ComponentLimits\x12)\n\napm_config\x18\x02 \x01(\x0b\x32\x10.proto.APMConfigH\x00\x88\x01\x01\x42\r\n\x0b_apm_config\"P\n\x0f\x43omponentLimits\x12\'\n\x06source\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x14\n\x0cgo_max_procs\x18\x02 \x01(\x04\"\x85\x02\n\x0f\x43heckinExpected\x12\"\n\x05units\x18\x01 \x03(\x0b\x32\x13.proto.UnitExpected\x12$\n\nagent_info\x18\x02 \x01(\x0b\x32\x10.proto.AgentInfo\x12!\n\x08\x66\x65\x61tures\x18\x03 \x01(\x0b\x32\x0f.proto.Features\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x04 \x01(\x04\x12#\n\tcomponent\x18\x05 \x01(\x0b\x32\x10.proto.Component\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xab\x01\n\x0cUnitObserved\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x04type\x18\x02 \x01(\x0e\x32\x0f.proto.UnitType\x12\x18\n\x10\x63onfig_state_idx\x18\x03 \x01(\x04\x12\x1b\n\x05state\x18\x04 \x01(\x0e\x32\x0c.proto.State\x12\x0f\n\x07message\x18\x05 \x01(\t\x12(\n\x07payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa6\x01\n\x1a\x43heckinObservedVersionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x39\n\x04meta\x18\x03 \x03(\x0b\x32+.proto.CheckinObservedVersionInfo.MetaEntry\x12\x12\n\nbuild_hash\x18\x04 \x01(\t\x1a+\n\tMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbf\x02\n\x0f\x43heckinObserved\x12\r\n\x05token\x18\x01 \x01(\t\x12\"\n\x05units\x18\x02 \x03(\x0b\x32\x13.proto.UnitObserved\x12<\n\x0cversion_info\x18\x03 \x01(\x0b\x32!.proto.CheckinObservedVersionInfoH\x00\x88\x01\x01\x12\x14\n\x0c\x66\x65\x61tures_idx\x18\x05 \x01(\x04\x12\x15\n\rcomponent_idx\x18\x06 \x01(\x04\x12\x33\n\x0funits_timestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x0b\n\x03pid\x18\t \x01(\x04\x42\x0f\n\r_version_infoJ\x04\x08\x04\x10\x05R\x08\x66\x65\x61tures\"\x92\x02\n\rActionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06params\x18\x03 \x01(\x0c\x12\x0f\n\x07unit_id\x18\x04 \x01(\t\x12\"\n\tunit_type\x18\x05 \x01(\x0e\x32\x0f.proto.UnitType\x12\'\n\x04type\x18\x06 \x01(\x0e\x32\x19.proto.ActionRequest.Type\x12)\n\x05level\x18\x07 \x01(\x0e\x32\x1a.proto.ActionRequest.Level\"#\n\x04Type\x12\n\n\x06\x43USTOM\x10\x00\x12\x0f\n\x0b\x44IAGNOSTICS\x10\x01\")\n\x05Level\x12\x07\n\x03\x41LL\x10\x00\x12\r\n\tCOMPONENT\x10\x01\x12\x08\n\x04UNIT\x10\x02\"\xa7\x01\n\x1a\x41\x63tionDiagnosticUnitResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\x04 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c\x12-\n\tgenerated\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc3\x01\n\x0e\x41\x63tionResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12,\n\x06status\x18\x03 \x01(\x0e\x32\x1c.proto.ActionResponse.Status\x12\x0e\n\x06result\x18\x04 \x01(\x0c\x12\x35\n\ndiagnostic\x18\x05 \x03(\x0b\x32!.proto.ActionDiagnosticUnitResult\"!\n\x06Status\x12\x0b\n\x07SUCCESS\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\"\x8d\x02\n\x0bStartUpInfo\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x13\n\x0bserver_name\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x63\x61_cert\x18\x04 \x01(\x0c\x12\x11\n\tpeer_cert\x18\x05 \x01(\x0c\x12\x10\n\x08peer_key\x18\x06 \x01(\x0c\x12)\n\x08services\x18\x07 \x03(\x0e\x32\x17.proto.ConnInfoServices\x12+\n\x08supports\x18\x08 \x03(\x0e\x32\x19.proto.ConnectionSupports\x12\x18\n\x10max_message_size\x18\t \x01(\r\x12$\n\nagent_info\x18\n \x01(\x0b\x32\x10.proto.AgentInfo*)\n\x12\x43onnectionSupports\x12\x13\n\x0f\x43heckinChunking\x10\x00*h\n\x05State\x12\x0c\n\x08STARTING\x10\x00\x12\x0f\n\x0b\x43ONFIGURING\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06*!\n\x08UnitType\x12\t\n\x05INPUT\x10\x00\x12\n\n\x06OUTPUT\x10\x01*C\n\x0cUnitLogLevel\x12\t\n\x05\x45RROR\x10\x00\x12\x08\n\x04WARN\x10\x01\x12\x08\n\x04INFO\x10\x02\x12\t\n\x05\x44\x45\x42UG\x10\x03\x12\t\n\x05TRACE\x10\x04*/\n\x10\x41gentManagedMode\x12\x0b\n\x07MANAGED\x10\x00\x12\x0e\n\nSTANDALONE\x10\x01*P\n\x10\x43onnInfoServices\x12\x0b\n\x07\x43heckin\x10\x00\x12\r\n\tCheckinV2\x10\x01\x12\t\n\x05Store\x10\x02\x12\x0c\n\x08\x41rtifact\x10\x03\x12\x07\n\x03Log\x10\x04\x32\xc6\x01\n\x0c\x45lasticAgent\x12?\n\tCheckinV2\x12\x16.proto.CheckinObserved\x1a\x16.proto.CheckinExpected(\x01\x30\x01\x12:\n\x07\x41\x63tions\x12\x15.proto.ActionResponse\x1a\x14.proto.ActionRequest(\x01\x30\x01\x12\x39\n\x07\x43heckin\x12\x14.proto.StateObserved\x1a\x14.proto.StateExpected(\x01\x30\x01\x42\x14Z\x0fpkg/proto;proto\xf8\x01\x01\x62\x06proto3')
31
-
32
- _globals = globals()
33
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'elastic_agent_client_pb2', _globals)
35
- if not _descriptor._USE_C_DESCRIPTORS:
36
- _globals['DESCRIPTOR']._loaded_options = None
37
- _globals['DESCRIPTOR']._serialized_options = b'Z\017pkg/proto;proto\370\001\001'
38
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._loaded_options = None
39
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_options = b'8\001'
40
- _globals['_CONNECTIONSUPPORTS']._serialized_start=3485
41
- _globals['_CONNECTIONSUPPORTS']._serialized_end=3526
42
- _globals['_STATE']._serialized_start=3528
43
- _globals['_STATE']._serialized_end=3632
44
- _globals['_UNITTYPE']._serialized_start=3634
45
- _globals['_UNITTYPE']._serialized_end=3667
46
- _globals['_UNITLOGLEVEL']._serialized_start=3669
47
- _globals['_UNITLOGLEVEL']._serialized_end=3736
48
- _globals['_AGENTMANAGEDMODE']._serialized_start=3738
49
- _globals['_AGENTMANAGEDMODE']._serialized_end=3785
50
- _globals['_CONNINFOSERVICES']._serialized_start=3787
51
- _globals['_CONNINFOSERVICES']._serialized_end=3867
52
- _globals['_PACKAGE']._serialized_start=139
53
- _globals['_PACKAGE']._serialized_end=220
54
- _globals['_META']._serialized_start=222
55
- _globals['_META']._serialized_end=302
56
- _globals['_DATASTREAM']._serialized_start=304
57
- _globals['_DATASTREAM']._serialized_end=407
58
- _globals['_STREAM']._serialized_start=409
59
- _globals['_STREAM']._serialized_end=510
60
- _globals['_UNITEXPECTEDCONFIG']._serialized_start=513
61
- _globals['_UNITEXPECTEDCONFIG']._serialized_end=731
62
- _globals['_UNITEXPECTED']._serialized_start=734
63
- _globals['_UNITEXPECTED']._serialized_end=929
64
- _globals['_AGENTINFO']._serialized_start=931
65
- _globals['_AGENTINFO']._serialized_end=1050
66
- _globals['_FEATURES']._serialized_start=1052
67
- _globals['_FEATURES']._serialized_end=1137
68
- _globals['_FQDNFEATURE']._serialized_start=1139
69
- _globals['_FQDNFEATURE']._serialized_end=1169
70
- _globals['_ELASTICAPMTLS']._serialized_start=1171
71
- _globals['_ELASTICAPMTLS']._serialized_end=1247
72
- _globals['_ELASTICAPM']._serialized_start=1250
73
- _globals['_ELASTICAPM']._serialized_end=1395
74
- _globals['_APMCONFIG']._serialized_start=1397
75
- _globals['_APMCONFIG']._serialized_end=1444
76
- _globals['_COMPONENT']._serialized_start=1446
77
- _globals['_COMPONENT']._serialized_end=1555
78
- _globals['_COMPONENTLIMITS']._serialized_start=1557
79
- _globals['_COMPONENTLIMITS']._serialized_end=1637
80
- _globals['_CHECKINEXPECTED']._serialized_start=1640
81
- _globals['_CHECKINEXPECTED']._serialized_end=1901
82
- _globals['_UNITOBSERVED']._serialized_start=1904
83
- _globals['_UNITOBSERVED']._serialized_end=2075
84
- _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_start=2078
85
- _globals['_CHECKINOBSERVEDVERSIONINFO']._serialized_end=2244
86
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_start=2201
87
- _globals['_CHECKINOBSERVEDVERSIONINFO_METAENTRY']._serialized_end=2244
88
- _globals['_CHECKINOBSERVED']._serialized_start=2247
89
- _globals['_CHECKINOBSERVED']._serialized_end=2566
90
- _globals['_ACTIONREQUEST']._serialized_start=2569
91
- _globals['_ACTIONREQUEST']._serialized_end=2843
92
- _globals['_ACTIONREQUEST_TYPE']._serialized_start=2765
93
- _globals['_ACTIONREQUEST_TYPE']._serialized_end=2800
94
- _globals['_ACTIONREQUEST_LEVEL']._serialized_start=2802
95
- _globals['_ACTIONREQUEST_LEVEL']._serialized_end=2843
96
- _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_start=2846
97
- _globals['_ACTIONDIAGNOSTICUNITRESULT']._serialized_end=3013
98
- _globals['_ACTIONRESPONSE']._serialized_start=3016
99
- _globals['_ACTIONRESPONSE']._serialized_end=3211
100
- _globals['_ACTIONRESPONSE_STATUS']._serialized_start=3178
101
- _globals['_ACTIONRESPONSE_STATUS']._serialized_end=3211
102
- _globals['_STARTUPINFO']._serialized_start=3214
103
- _globals['_STARTUPINFO']._serialized_end=3483
104
- _globals['_ELASTICAGENT']._serialized_start=3870
105
- _globals['_ELASTICAGENT']._serialized_end=4068
106
- # @@protoc_insertion_point(module_scope)