taegis-sdk-python 1.0.6__tar.gz → 1.6.9__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 (340) hide show
  1. taegis_sdk_python-1.6.9/.gitignore +170 -0
  2. taegis_sdk_python-1.6.9/PKG-INFO +321 -0
  3. taegis_sdk_python-1.6.9/README.md +102 -0
  4. taegis_sdk_python-1.6.9/pyproject.toml +68 -0
  5. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/__init__.py +9 -8
  6. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/_consts.py +17 -0
  7. taegis_sdk_python-1.6.9/taegis_sdk_python/_version.py +3 -0
  8. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/authentication.py +48 -108
  9. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/__init__.py +0 -0
  10. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/alerts/__init__.py +1 -0
  11. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/alerts/federated_search.py +163 -0
  12. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/alerts/search.py +70 -0
  13. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/cases/__init__.py +1 -0
  14. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/cases/federated_search.py +179 -0
  15. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/cases/search.py +98 -0
  16. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/events/__init__.py +1 -0
  17. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/events/search.py +55 -0
  18. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/investigations/__init__.py +1 -0
  19. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/investigations/federated_search.py +179 -0
  20. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/investigations/search.py +98 -0
  21. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/sharelinks/__init__.py +1 -0
  22. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/sharelinks/create.py +67 -0
  23. taegis_sdk_python-1.6.9/taegis_sdk_python/commons/sharelinks/unfurl.py +46 -0
  24. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/config.py +13 -2
  25. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/errors.py +3 -1
  26. taegis_sdk_python-1.6.9/taegis_sdk_python/middlewares/__init__.py +6 -0
  27. taegis_sdk_python-1.6.9/taegis_sdk_python/middlewares/logging/__init__.py +5 -0
  28. taegis_sdk_python-1.6.9/taegis_sdk_python/middlewares/logging/_default.py +31 -0
  29. taegis_sdk_python-1.6.9/taegis_sdk_python/middlewares/retry/__init__.py +5 -0
  30. taegis_sdk_python-1.6.9/taegis_sdk_python/middlewares/retry/_default.py +80 -0
  31. taegis_sdk_python-1.6.9/taegis_sdk_python/middlewares/utils.py +39 -0
  32. taegis_sdk_python-1.6.9/taegis_sdk_python/service_core.py +669 -0
  33. taegis_sdk_python-1.6.9/taegis_sdk_python/services/__init__.py +894 -0
  34. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/access_points/__init__.py +1 -0
  35. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/access_points/mutations.py +17 -4
  36. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/access_points/queries.py +29 -3
  37. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/access_points/subscriptions.py +3 -1
  38. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/access_points/types.py +14 -4
  39. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/agent/__init__.py +2 -4
  40. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/agent/mutations.py +3 -1
  41. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/agent/queries.py +23 -9
  42. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/agent/subscriptions.py +3 -1
  43. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/agent/types.py +84 -30
  44. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/alerts/__init__.py +2 -3
  45. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/alerts/mutations.py +63 -5
  46. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/alerts/queries.py +51 -27
  47. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/alerts/subscriptions.py +7 -2
  48. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/alerts/types.py +1766 -717
  49. taegis_sdk_python-1.6.9/taegis_sdk_python/services/alerts_history/__init__.py +34 -0
  50. taegis_sdk_python-1.6.9/taegis_sdk_python/services/alerts_history/mutations.py +33 -0
  51. taegis_sdk_python-1.6.9/taegis_sdk_python/services/alerts_history/queries.py +53 -0
  52. taegis_sdk_python-1.6.9/taegis_sdk_python/services/alerts_history/subscriptions.py +33 -0
  53. taegis_sdk_python-1.6.9/taegis_sdk_python/services/alerts_history/types.py +2262 -0
  54. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets/__init__.py +3 -4
  55. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets/mutations.py +54 -10
  56. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets/queries.py +114 -29
  57. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets/subscriptions.py +3 -1
  58. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets/types.py +28 -12
  59. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets2/__init__.py +2 -1
  60. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets2/mutations.py +37 -55
  61. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets2/queries.py +228 -53
  62. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/assets2/subscriptions.py +3 -1
  63. taegis_sdk_python-1.6.9/taegis_sdk_python/services/assets2/types.py +1684 -0
  64. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/audits/__init__.py +3 -4
  65. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/audits/mutations.py +6 -2
  66. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/audits/queries.py +44 -6
  67. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/audits/subscriptions.py +3 -1
  68. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/audits/types.py +158 -46
  69. taegis_sdk_python-1.6.9/taegis_sdk_python/services/authz/__init__.py +28 -0
  70. taegis_sdk_python-1.6.9/taegis_sdk_python/services/authz/mutations.py +109 -0
  71. taegis_sdk_python-1.6.9/taegis_sdk_python/services/authz/queries.py +454 -0
  72. taegis_sdk_python-1.6.9/taegis_sdk_python/services/authz/subscriptions.py +33 -0
  73. taegis_sdk_python-1.6.9/taegis_sdk_python/services/authz/types.py +420 -0
  74. taegis_sdk_python-1.6.9/taegis_sdk_python/services/byoti/__init__.py +28 -0
  75. taegis_sdk_python-1.6.9/taegis_sdk_python/services/byoti/mutations.py +91 -0
  76. taegis_sdk_python-1.6.9/taegis_sdk_python/services/byoti/queries.py +93 -0
  77. taegis_sdk_python-1.6.9/taegis_sdk_python/services/byoti/subscriptions.py +33 -0
  78. taegis_sdk_python-1.6.9/taegis_sdk_python/services/byoti/types.py +354 -0
  79. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/clients/__init__.py +2 -1
  80. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/clients/mutations.py +48 -9
  81. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/clients/queries.py +33 -3
  82. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/clients/subscriptions.py +3 -1
  83. taegis_sdk_python-1.6.9/taegis_sdk_python/services/clients/types.py +333 -0
  84. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/collector/__init__.py +2 -1
  85. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/collector/mutations.py +125 -21
  86. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/collector/queries.py +223 -49
  87. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/collector/subscriptions.py +3 -1
  88. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/collector/types.py +477 -42
  89. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/comments/__init__.py +2 -1
  90. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/comments/mutations.py +23 -6
  91. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/comments/queries.py +35 -9
  92. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/comments/subscriptions.py +3 -1
  93. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/comments/types.py +4 -4
  94. taegis_sdk_python-1.6.9/taegis_sdk_python/services/contracted_endpoint/__init__.py +34 -0
  95. taegis_sdk_python-1.6.9/taegis_sdk_python/services/contracted_endpoint/mutations.py +33 -0
  96. taegis_sdk_python-1.6.9/taegis_sdk_python/services/contracted_endpoint/queries.py +87 -0
  97. taegis_sdk_python-1.6.9/taegis_sdk_python/services/contracted_endpoint/subscriptions.py +33 -0
  98. taegis_sdk_python-1.6.9/taegis_sdk_python/services/contracted_endpoint/types.py +67 -0
  99. taegis_sdk_python-1.6.9/taegis_sdk_python/services/cql_metadata/__init__.py +45 -0
  100. taegis_sdk_python-1.6.9/taegis_sdk_python/services/cql_metadata/mutations.py +33 -0
  101. taegis_sdk_python-1.6.9/taegis_sdk_python/services/cql_metadata/queries.py +51 -0
  102. taegis_sdk_python-1.6.9/taegis_sdk_python/services/cql_metadata/subscriptions.py +53 -0
  103. taegis_sdk_python-1.6.9/taegis_sdk_python/services/cql_metadata/types.py +123 -0
  104. taegis_sdk_python-1.6.9/taegis_sdk_python/services/datasources/__init__.py +32 -0
  105. taegis_sdk_python-1.6.9/taegis_sdk_python/services/datasources/mutations.py +123 -0
  106. taegis_sdk_python-1.6.9/taegis_sdk_python/services/datasources/queries.py +178 -0
  107. taegis_sdk_python-1.6.9/taegis_sdk_python/services/datasources/subscriptions.py +33 -0
  108. taegis_sdk_python-1.6.9/taegis_sdk_python/services/datasources/types.py +357 -0
  109. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/detector_registry/__init__.py +2 -1
  110. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/detector_registry/mutations.py +3 -1
  111. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/detector_registry/queries.py +15 -4
  112. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/detector_registry/subscriptions.py +3 -1
  113. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/detector_registry/types.py +25 -6
  114. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_command_manager/__init__.py +2 -1
  115. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_command_manager/mutations.py +86 -11
  116. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_command_manager/queries.py +15 -4
  117. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_command_manager/subscriptions.py +3 -1
  118. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_command_manager/types.py +96 -12
  119. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_management_service/__init__.py +2 -1
  120. taegis_sdk_python-1.6.9/taegis_sdk_python/services/endpoint_management_service/mutations.py +342 -0
  121. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_management_service/queries.py +107 -8
  122. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/endpoint_management_service/subscriptions.py +3 -1
  123. taegis_sdk_python-1.6.9/taegis_sdk_python/services/endpoint_management_service/types.py +1078 -0
  124. taegis_sdk_python-1.6.9/taegis_sdk_python/services/entity_context/__init__.py +34 -0
  125. taegis_sdk_python-1.6.9/taegis_sdk_python/services/entity_context/mutations.py +64 -0
  126. taegis_sdk_python-1.6.9/taegis_sdk_python/services/entity_context/queries.py +288 -0
  127. taegis_sdk_python-1.6.9/taegis_sdk_python/services/entity_context/subscriptions.py +33 -0
  128. taegis_sdk_python-1.6.9/taegis_sdk_python/services/entity_context/types.py +1091 -0
  129. taegis_sdk_python-1.6.9/taegis_sdk_python/services/escalation_policies/__init__.py +34 -0
  130. taegis_sdk_python-1.6.9/taegis_sdk_python/services/escalation_policies/mutations.py +96 -0
  131. taegis_sdk_python-1.6.9/taegis_sdk_python/services/escalation_policies/queries.py +115 -0
  132. taegis_sdk_python-1.6.9/taegis_sdk_python/services/escalation_policies/subscriptions.py +33 -0
  133. taegis_sdk_python-1.6.9/taegis_sdk_python/services/escalation_policies/types.py +392 -0
  134. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/event_search/__init__.py +2 -1
  135. taegis_sdk_python-1.6.9/taegis_sdk_python/services/event_search/mutations.py +33 -0
  136. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/event_search/queries.py +29 -3
  137. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/event_search/subscriptions.py +3 -1
  138. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/event_search/types.py +17 -28
  139. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/events/__init__.py +2 -1
  140. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/events/mutations.py +3 -1
  141. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/events/queries.py +10 -22
  142. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/events/subscriptions.py +11 -3
  143. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/events/types.py +29 -12
  144. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/exports/__init__.py +2 -1
  145. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/exports/mutations.py +112 -23
  146. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/exports/queries.py +58 -12
  147. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/exports/subscriptions.py +3 -1
  148. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/exports/types.py +226 -98
  149. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/fast_ioc/__init__.py +2 -1
  150. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/fast_ioc/mutations.py +3 -1
  151. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/fast_ioc/queries.py +15 -4
  152. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/fast_ioc/subscriptions.py +3 -1
  153. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/fast_ioc/types.py +106 -25
  154. taegis_sdk_python-1.6.9/taegis_sdk_python/services/file_info/__init__.py +37 -0
  155. taegis_sdk_python-1.6.9/taegis_sdk_python/services/file_info/mutations.py +181 -0
  156. taegis_sdk_python-1.6.9/taegis_sdk_python/services/file_info/queries.py +151 -0
  157. taegis_sdk_python-1.6.9/taegis_sdk_python/services/file_info/subscriptions.py +33 -0
  158. taegis_sdk_python-1.6.9/taegis_sdk_python/services/file_info/types.py +1232 -0
  159. taegis_sdk_python-1.6.9/taegis_sdk_python/services/ingest_stats/__init__.py +32 -0
  160. taegis_sdk_python-1.6.9/taegis_sdk_python/services/ingest_stats/mutations.py +33 -0
  161. taegis_sdk_python-1.6.9/taegis_sdk_python/services/ingest_stats/queries.py +135 -0
  162. taegis_sdk_python-1.6.9/taegis_sdk_python/services/ingest_stats/subscriptions.py +33 -0
  163. taegis_sdk_python-1.6.9/taegis_sdk_python/services/ingest_stats/types.py +123 -0
  164. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations/__init__.py +2 -1
  165. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations/mutations.py +215 -26
  166. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations/queries.py +242 -38
  167. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations/subscriptions.py +3 -1
  168. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations/types.py +43 -15
  169. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations2/__init__.py +2 -1
  170. taegis_sdk_python-1.6.9/taegis_sdk_python/services/investigations2/mutations.py +1029 -0
  171. taegis_sdk_python-1.6.9/taegis_sdk_python/services/investigations2/queries.py +596 -0
  172. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/investigations2/subscriptions.py +3 -1
  173. taegis_sdk_python-1.6.9/taegis_sdk_python/services/investigations2/types.py +3820 -0
  174. taegis_sdk_python-1.6.9/taegis_sdk_python/services/isensor/__init__.py +30 -0
  175. taegis_sdk_python-1.6.9/taegis_sdk_python/services/isensor/mutations.py +179 -0
  176. taegis_sdk_python-1.6.9/taegis_sdk_python/services/isensor/queries.py +261 -0
  177. taegis_sdk_python-1.6.9/taegis_sdk_python/services/isensor/subscriptions.py +33 -0
  178. taegis_sdk_python-1.6.9/taegis_sdk_python/services/isensor/types.py +762 -0
  179. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/mitre_attack_info/__init__.py +2 -1
  180. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/mitre_attack_info/mutations.py +3 -1
  181. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/mitre_attack_info/queries.py +51 -13
  182. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/mitre_attack_info/subscriptions.py +3 -1
  183. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/mitre_attack_info/types.py +4 -4
  184. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/multi_tenant_context/__init__.py +2 -1
  185. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/multi_tenant_context/mutations.py +28 -8
  186. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/multi_tenant_context/queries.py +26 -31
  187. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/multi_tenant_context/subscriptions.py +3 -1
  188. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/multi_tenant_context/types.py +4 -4
  189. taegis_sdk_python-1.6.9/taegis_sdk_python/services/multi_tenant_ioc/__init__.py +46 -0
  190. taegis_sdk_python-1.6.9/taegis_sdk_python/services/multi_tenant_ioc/mutations.py +33 -0
  191. taegis_sdk_python-1.6.9/taegis_sdk_python/services/multi_tenant_ioc/queries.py +100 -0
  192. taegis_sdk_python-1.6.9/taegis_sdk_python/services/multi_tenant_ioc/subscriptions.py +33 -0
  193. taegis_sdk_python-1.6.9/taegis_sdk_python/services/multi_tenant_ioc/types.py +195 -0
  194. taegis_sdk_python-1.6.9/taegis_sdk_python/services/nl_search/__init__.py +30 -0
  195. taegis_sdk_python-1.6.9/taegis_sdk_python/services/nl_search/mutations.py +48 -0
  196. taegis_sdk_python-1.6.9/taegis_sdk_python/services/nl_search/queries.py +51 -0
  197. taegis_sdk_python-1.6.9/taegis_sdk_python/services/nl_search/subscriptions.py +33 -0
  198. taegis_sdk_python-1.6.9/taegis_sdk_python/services/nl_search/types.py +87 -0
  199. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notebooks/__init__.py +1 -0
  200. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notebooks/mutations.py +37 -4
  201. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notebooks/queries.py +9 -2
  202. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notebooks/subscriptions.py +3 -1
  203. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notebooks/types.py +4 -4
  204. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notifications/__init__.py +2 -1
  205. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notifications/mutations.py +39 -11
  206. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notifications/queries.py +14 -4
  207. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notifications/subscriptions.py +3 -1
  208. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/notifications/types.py +6 -5
  209. taegis_sdk_python-1.6.9/taegis_sdk_python/services/notifications2/__init__.py +34 -0
  210. taegis_sdk_python-1.6.9/taegis_sdk_python/services/notifications2/mutations.py +372 -0
  211. taegis_sdk_python-1.6.9/taegis_sdk_python/services/notifications2/queries.py +206 -0
  212. taegis_sdk_python-1.6.9/taegis_sdk_python/services/notifications2/subscriptions.py +65 -0
  213. taegis_sdk_python-1.6.9/taegis_sdk_python/services/notifications2/types.py +1165 -0
  214. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/preferences/__init__.py +2 -1
  215. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/preferences/mutations.py +102 -9
  216. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/preferences/queries.py +81 -10
  217. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/preferences/subscriptions.py +3 -1
  218. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/preferences/types.py +170 -16
  219. taegis_sdk_python-1.6.9/taegis_sdk_python/services/process_trees/__init__.py +32 -0
  220. taegis_sdk_python-1.6.9/taegis_sdk_python/services/process_trees/mutations.py +33 -0
  221. taegis_sdk_python-1.6.9/taegis_sdk_python/services/process_trees/queries.py +190 -0
  222. taegis_sdk_python-1.6.9/taegis_sdk_python/services/process_trees/subscriptions.py +33 -0
  223. taegis_sdk_python-1.6.9/taegis_sdk_python/services/process_trees/types.py +165 -0
  224. taegis_sdk_python-1.6.9/taegis_sdk_python/services/queries/__init__.py +30 -0
  225. taegis_sdk_python-1.6.9/taegis_sdk_python/services/queries/mutations.py +109 -0
  226. taegis_sdk_python-1.6.9/taegis_sdk_python/services/queries/queries.py +130 -0
  227. taegis_sdk_python-1.6.9/taegis_sdk_python/services/queries/subscriptions.py +32 -0
  228. taegis_sdk_python-1.6.9/taegis_sdk_python/services/queries/types.py +354 -0
  229. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/roadrunner/__init__.py +2 -1
  230. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/roadrunner/mutations.py +33 -10
  231. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/roadrunner/queries.py +44 -9
  232. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/roadrunner/subscriptions.py +3 -1
  233. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/roadrunner/types.py +57 -11
  234. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/rules/__init__.py +3 -4
  235. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/rules/mutations.py +86 -21
  236. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/rules/queries.py +164 -31
  237. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/rules/subscriptions.py +3 -1
  238. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/rules/types.py +438 -51
  239. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/sharelinks/__init__.py +2 -1
  240. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/sharelinks/mutations.py +27 -2
  241. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/sharelinks/queries.py +7 -2
  242. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/sharelinks/subscriptions.py +3 -1
  243. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/sharelinks/types.py +4 -4
  244. taegis_sdk_python-1.6.9/taegis_sdk_python/services/subjects/__init__.py +30 -0
  245. taegis_sdk_python-1.6.9/taegis_sdk_python/services/subjects/mutations.py +48 -0
  246. taegis_sdk_python-1.6.9/taegis_sdk_python/services/subjects/queries.py +51 -0
  247. taegis_sdk_python-1.6.9/taegis_sdk_python/services/subjects/subscriptions.py +33 -0
  248. taegis_sdk_python-1.6.9/taegis_sdk_python/services/subjects/types.py +208 -0
  249. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenant_profiles/__init__.py +2 -1
  250. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenant_profiles/mutations.py +162 -26
  251. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenant_profiles/queries.py +125 -15
  252. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenant_profiles/subscriptions.py +3 -1
  253. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenant_profiles/types.py +284 -40
  254. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenants/__init__.py +2 -1
  255. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenants/mutations.py +277 -20
  256. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenants/queries.py +114 -11
  257. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenants/subscriptions.py +3 -1
  258. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/tenants/types.py +845 -209
  259. taegis_sdk_python-1.6.9/taegis_sdk_python/services/tenants4/__init__.py +38 -0
  260. taegis_sdk_python-1.6.9/taegis_sdk_python/services/tenants4/mutations.py +53 -0
  261. taegis_sdk_python-1.6.9/taegis_sdk_python/services/tenants4/queries.py +150 -0
  262. taegis_sdk_python-1.6.9/taegis_sdk_python/services/tenants4/subscriptions.py +33 -0
  263. taegis_sdk_python-1.6.9/taegis_sdk_python/services/tenants4/types.py +664 -0
  264. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/threat/__init__.py +3 -4
  265. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/threat/mutations.py +7 -49
  266. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat/queries.py +462 -0
  267. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/threat/subscriptions.py +3 -1
  268. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/threat/types.py +1270 -328
  269. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_publications/__init__.py +34 -0
  270. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_publications/mutations.py +33 -0
  271. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_publications/queries.py +133 -0
  272. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_publications/subscriptions.py +33 -0
  273. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_publications/types.py +63 -0
  274. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_score/__init__.py +32 -0
  275. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_score/mutations.py +33 -0
  276. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_score/queries.py +73 -0
  277. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_score/subscriptions.py +33 -0
  278. taegis_sdk_python-1.6.9/taegis_sdk_python/services/threat_score/types.py +133 -0
  279. taegis_sdk_python-1.6.9/taegis_sdk_python/services/trigger_action/__init__.py +34 -0
  280. taegis_sdk_python-1.6.9/taegis_sdk_python/services/trigger_action/mutations.py +137 -0
  281. taegis_sdk_python-1.6.9/taegis_sdk_python/services/trigger_action/queries.py +173 -0
  282. taegis_sdk_python-1.6.9/taegis_sdk_python/services/trigger_action/subscriptions.py +33 -0
  283. taegis_sdk_python-1.6.9/taegis_sdk_python/services/trigger_action/types.py +231 -0
  284. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/trip/__init__.py +3 -4
  285. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/trip/mutations.py +53 -12
  286. taegis_sdk_python-1.6.9/taegis_sdk_python/services/trip/queries.py +185 -0
  287. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/trip/subscriptions.py +3 -1
  288. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/trip/types.py +72 -73
  289. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/users/__init__.py +3 -4
  290. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/users/mutations.py +148 -48
  291. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/users/queries.py +47 -12
  292. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/users/subscriptions.py +3 -1
  293. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/services/users/types.py +362 -30
  294. taegis_sdk_python-1.6.9/taegis_sdk_python/services/vdr/__init__.py +28 -0
  295. taegis_sdk_python-1.6.9/taegis_sdk_python/services/vdr/mutations.py +33 -0
  296. taegis_sdk_python-1.6.9/taegis_sdk_python/services/vdr/queries.py +237 -0
  297. taegis_sdk_python-1.6.9/taegis_sdk_python/services/vdr/subscriptions.py +33 -0
  298. taegis_sdk_python-1.6.9/taegis_sdk_python/services/vdr/types.py +1233 -0
  299. taegis_sdk_python-1.6.9/taegis_sdk_python/services/xdr_central_connector/__init__.py +34 -0
  300. taegis_sdk_python-1.6.9/taegis_sdk_python/services/xdr_central_connector/mutations.py +217 -0
  301. taegis_sdk_python-1.6.9/taegis_sdk_python/services/xdr_central_connector/queries.py +128 -0
  302. taegis_sdk_python-1.6.9/taegis_sdk_python/services/xdr_central_connector/subscriptions.py +35 -0
  303. taegis_sdk_python-1.6.9/taegis_sdk_python/services/xdr_central_connector/types.py +858 -0
  304. taegis_sdk_python-1.6.9/taegis_sdk_python/templates/__init__.py +39 -0
  305. taegis_sdk_python-1.6.9/taegis_sdk_python/templates/_jinja2.py +130 -0
  306. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/taegis_sdk_python/tokens.py +1 -0
  307. taegis_sdk_python-1.6.9/taegis_sdk_python/utils.py +547 -0
  308. taegis-sdk-python-1.0.6/MANIFEST.in +0 -3
  309. taegis-sdk-python-1.0.6/PKG-INFO +0 -259
  310. taegis-sdk-python-1.0.6/README.md +0 -245
  311. taegis-sdk-python-1.0.6/requirements-dev.txt +0 -2
  312. taegis-sdk-python-1.0.6/requirements-test.txt +0 -4
  313. taegis-sdk-python-1.0.6/requirements.txt +0 -10
  314. taegis-sdk-python-1.0.6/setup.cfg +0 -4
  315. taegis-sdk-python-1.0.6/setup.py +0 -48
  316. taegis-sdk-python-1.0.6/taegis_sdk_python/_version.py +0 -1
  317. taegis-sdk-python-1.0.6/taegis_sdk_python/service_core.py +0 -338
  318. taegis-sdk-python-1.0.6/taegis_sdk_python/services/__init__.py +0 -439
  319. taegis-sdk-python-1.0.6/taegis_sdk_python/services/assets2/types.py +0 -802
  320. taegis-sdk-python-1.0.6/taegis_sdk_python/services/clients/types.py +0 -94
  321. taegis-sdk-python-1.0.6/taegis_sdk_python/services/endpoint_management_service/mutations.py +0 -110
  322. taegis-sdk-python-1.0.6/taegis_sdk_python/services/endpoint_management_service/types.py +0 -243
  323. taegis-sdk-python-1.0.6/taegis_sdk_python/services/entity_profile/__init__.py +0 -33
  324. taegis-sdk-python-1.0.6/taegis_sdk_python/services/entity_profile/mutations.py +0 -31
  325. taegis-sdk-python-1.0.6/taegis_sdk_python/services/entity_profile/queries.py +0 -55
  326. taegis-sdk-python-1.0.6/taegis_sdk_python/services/entity_profile/subscriptions.py +0 -31
  327. taegis-sdk-python-1.0.6/taegis_sdk_python/services/entity_profile/types.py +0 -37
  328. taegis-sdk-python-1.0.6/taegis_sdk_python/services/event_search/mutations.py +0 -50
  329. taegis-sdk-python-1.0.6/taegis_sdk_python/services/investigations2/mutations.py +0 -314
  330. taegis-sdk-python-1.0.6/taegis_sdk_python/services/investigations2/queries.py +0 -195
  331. taegis-sdk-python-1.0.6/taegis_sdk_python/services/investigations2/types.py +0 -1288
  332. taegis-sdk-python-1.0.6/taegis_sdk_python/services/threat/queries.py +0 -367
  333. taegis-sdk-python-1.0.6/taegis_sdk_python/services/trip/queries.py +0 -116
  334. taegis-sdk-python-1.0.6/taegis_sdk_python/utils.py +0 -300
  335. taegis-sdk-python-1.0.6/taegis_sdk_python.egg-info/PKG-INFO +0 -259
  336. taegis-sdk-python-1.0.6/taegis_sdk_python.egg-info/SOURCES.txt +0 -182
  337. taegis-sdk-python-1.0.6/taegis_sdk_python.egg-info/dependency_links.txt +0 -1
  338. taegis-sdk-python-1.0.6/taegis_sdk_python.egg-info/requires.txt +0 -10
  339. taegis-sdk-python-1.0.6/taegis_sdk_python.egg-info/top_level.txt +0 -1
  340. {taegis-sdk-python-1.0.6 → taegis_sdk_python-1.6.9}/LICENSE +0 -0
@@ -0,0 +1,170 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+
162
+ # MacOS directories
163
+ .Trash
164
+ .DS_Store
165
+
166
+ # VS Code project files
167
+ .vs/
168
+ .vscode/
169
+
170
+ local_notebooks/
@@ -0,0 +1,321 @@
1
+ Metadata-Version: 2.4
2
+ Name: taegis-sdk-python
3
+ Version: 1.6.9
4
+ Summary: Taegis Python SDK
5
+ Project-URL: Homepage, https://github.com/secureworks/taegis-sdk-python
6
+ Project-URL: Bug Reports, https://github.com/secureworks/taegis-sdk-python/issues
7
+ Project-URL: Source, https://github.com/secureworks/taegis-sdk-python
8
+ Project-URL: Package, https://pypi.org/project/taegis-sdk-python/
9
+ Author-email: Micah Pegman <sdks@secureworks.com>
10
+ License: Apache License
11
+ Version 2.0, January 2004
12
+ http://www.apache.org/licenses/
13
+
14
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
15
+
16
+ 1. Definitions.
17
+
18
+ "License" shall mean the terms and conditions for use, reproduction,
19
+ and distribution as defined by Sections 1 through 9 of this document.
20
+
21
+ "Licensor" shall mean the copyright owner or entity authorized by
22
+ the copyright owner that is granting the License.
23
+
24
+ "Legal Entity" shall mean the union of the acting entity and all
25
+ other entities that control, are controlled by, or are under common
26
+ control with that entity. For the purposes of this definition,
27
+ "control" means (i) the power, direct or indirect, to cause the
28
+ direction or management of such entity, whether by contract or
29
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
30
+ outstanding shares, or (iii) beneficial ownership of such entity.
31
+
32
+ "You" (or "Your") shall mean an individual or Legal Entity
33
+ exercising permissions granted by this License.
34
+
35
+ "Source" form shall mean the preferred form for making modifications,
36
+ including but not limited to software source code, documentation
37
+ source, and configuration files.
38
+
39
+ "Object" form shall mean any form resulting from mechanical
40
+ transformation or translation of a Source form, including but
41
+ not limited to compiled object code, generated documentation,
42
+ and conversions to other media types.
43
+
44
+ "Work" shall mean the work of authorship, whether in Source or
45
+ Object form, made available under the License, as indicated by a
46
+ copyright notice that is included in or attached to the work
47
+ (an example is provided in the Appendix below).
48
+
49
+ "Derivative Works" shall mean any work, whether in Source or Object
50
+ form, that is based on (or derived from) the Work and for which the
51
+ editorial revisions, annotations, elaborations, or other modifications
52
+ represent, as a whole, an original work of authorship. For the purposes
53
+ of this License, Derivative Works shall not include works that remain
54
+ separable from, or merely link (or bind by name) to the interfaces of,
55
+ the Work and Derivative Works thereof.
56
+
57
+ "Contribution" shall mean any work of authorship, including
58
+ the original version of the Work and any modifications or additions
59
+ to that Work or Derivative Works thereof, that is intentionally
60
+ submitted to Licensor for inclusion in the Work by the copyright owner
61
+ or by an individual or Legal Entity authorized to submit on behalf of
62
+ the copyright owner. For the purposes of this definition, "submitted"
63
+ means any form of electronic, verbal, or written communication sent
64
+ to the Licensor or its representatives, including but not limited to
65
+ communication on electronic mailing lists, source code control systems,
66
+ and issue tracking systems that are managed by, or on behalf of, the
67
+ Licensor for the purpose of discussing and improving the Work, but
68
+ excluding communication that is conspicuously marked or otherwise
69
+ designated in writing by the copyright owner as "Not a Contribution."
70
+
71
+ "Contributor" shall mean Licensor and any individual or Legal Entity
72
+ on behalf of whom a Contribution has been received by Licensor and
73
+ subsequently incorporated within the Work.
74
+
75
+ 2. Grant of Copyright License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ copyright license to reproduce, prepare Derivative Works of,
79
+ publicly display, publicly perform, sublicense, and distribute the
80
+ Work and such Derivative Works in Source or Object form.
81
+
82
+ 3. Grant of Patent License. Subject to the terms and conditions of
83
+ this License, each Contributor hereby grants to You a perpetual,
84
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
+ (except as stated in this section) patent license to make, have made,
86
+ use, offer to sell, sell, import, and otherwise transfer the Work,
87
+ where such license applies only to those patent claims licensable
88
+ by such Contributor that are necessarily infringed by their
89
+ Contribution(s) alone or by combination of their Contribution(s)
90
+ with the Work to which such Contribution(s) was submitted. If You
91
+ institute patent litigation against any entity (including a
92
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
93
+ or a Contribution incorporated within the Work constitutes direct
94
+ or contributory patent infringement, then any patent licenses
95
+ granted to You under this License for that Work shall terminate
96
+ as of the date such litigation is filed.
97
+
98
+ 4. Redistribution. You may reproduce and distribute copies of the
99
+ Work or Derivative Works thereof in any medium, with or without
100
+ modifications, and in Source or Object form, provided that You
101
+ meet the following conditions:
102
+
103
+ (a) You must give any other recipients of the Work or
104
+ Derivative Works a copy of this License; and
105
+
106
+ (b) You must cause any modified files to carry prominent notices
107
+ stating that You changed the files; and
108
+
109
+ (c) You must retain, in the Source form of any Derivative Works
110
+ that You distribute, all copyright, patent, trademark, and
111
+ attribution notices from the Source form of the Work,
112
+ excluding those notices that do not pertain to any part of
113
+ the Derivative Works; and
114
+
115
+ (d) If the Work includes a "NOTICE" text file as part of its
116
+ distribution, then any Derivative Works that You distribute must
117
+ include a readable copy of the attribution notices contained
118
+ within such NOTICE file, excluding those notices that do not
119
+ pertain to any part of the Derivative Works, in at least one
120
+ of the following places: within a NOTICE text file distributed
121
+ as part of the Derivative Works; within the Source form or
122
+ documentation, if provided along with the Derivative Works; or,
123
+ within a display generated by the Derivative Works, if and
124
+ wherever such third-party notices normally appear. The contents
125
+ of the NOTICE file are for informational purposes only and
126
+ do not modify the License. You may add Your own attribution
127
+ notices within Derivative Works that You distribute, alongside
128
+ or as an addendum to the NOTICE text from the Work, provided
129
+ that such additional attribution notices cannot be construed
130
+ as modifying the License.
131
+
132
+ You may add Your own copyright statement to Your modifications and
133
+ may provide additional or different license terms and conditions
134
+ for use, reproduction, or distribution of Your modifications, or
135
+ for any such Derivative Works as a whole, provided Your use,
136
+ reproduction, and distribution of the Work otherwise complies with
137
+ the conditions stated in this License.
138
+
139
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
140
+ any Contribution intentionally submitted for inclusion in the Work
141
+ by You to the Licensor shall be under the terms and conditions of
142
+ this License, without any additional terms or conditions.
143
+ Notwithstanding the above, nothing herein shall supersede or modify
144
+ the terms of any separate license agreement you may have executed
145
+ with Licensor regarding such Contributions.
146
+
147
+ 6. Trademarks. This License does not grant permission to use the trade
148
+ names, trademarks, service marks, or product names of the Licensor,
149
+ except as required for reasonable and customary use in describing the
150
+ origin of the Work and reproducing the content of the NOTICE file.
151
+
152
+ 7. Disclaimer of Warranty. Unless required by applicable law or
153
+ agreed to in writing, Licensor provides the Work (and each
154
+ Contributor provides its Contributions) on an "AS IS" BASIS,
155
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
156
+ implied, including, without limitation, any warranties or conditions
157
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
158
+ PARTICULAR PURPOSE. You are solely responsible for determining the
159
+ appropriateness of using or redistributing the Work and assume any
160
+ risks associated with Your exercise of permissions under this License.
161
+
162
+ 8. Limitation of Liability. In no event and under no legal theory,
163
+ whether in tort (including negligence), contract, or otherwise,
164
+ unless required by applicable law (such as deliberate and grossly
165
+ negligent acts) or agreed to in writing, shall any Contributor be
166
+ liable to You for damages, including any direct, indirect, special,
167
+ incidental, or consequential damages of any character arising as a
168
+ result of this License or out of the use or inability to use the
169
+ Work (including but not limited to damages for loss of goodwill,
170
+ work stoppage, computer failure or malfunction, or any and all
171
+ other commercial damages or losses), even if such Contributor
172
+ has been advised of the possibility of such damages.
173
+
174
+ 9. Accepting Warranty or Additional Liability. While redistributing
175
+ the Work or Derivative Works thereof, You may choose to offer,
176
+ and charge a fee for, acceptance of support, warranty, indemnity,
177
+ or other liability obligations and/or rights consistent with this
178
+ License. However, in accepting such obligations, You may act only
179
+ on Your own behalf and on Your sole responsibility, not on behalf
180
+ of any other Contributor, and only if You agree to indemnify,
181
+ defend, and hold each Contributor harmless for any liability
182
+ incurred by, or claims asserted against, such Contributor by reason
183
+ of your accepting any such warranty or additional liability.
184
+
185
+ END OF TERMS AND CONDITIONS
186
+ License-File: LICENSE
187
+ Classifier: License :: OSI Approved :: Apache Software License
188
+ Classifier: Operating System :: OS Independent
189
+ Classifier: Programming Language :: Python :: 3
190
+ Classifier: Programming Language :: Python :: 3.9
191
+ Classifier: Programming Language :: Python :: 3.10
192
+ Classifier: Programming Language :: Python :: 3.11
193
+ Classifier: Programming Language :: Python :: 3.12
194
+ Classifier: Programming Language :: Python :: 3.13
195
+ Requires-Python: >=3.9
196
+ Requires-Dist: aiohttp
197
+ Requires-Dist: backoff
198
+ Requires-Dist: dataclasses-json
199
+ Requires-Dist: filelock>=3.12.4
200
+ Requires-Dist: gql>=4
201
+ Requires-Dist: graphql-core
202
+ Requires-Dist: jinja2
203
+ Requires-Dist: oauthlib
204
+ Requires-Dist: pyjwt>=2.8.0
205
+ Requires-Dist: python-dateutil
206
+ Requires-Dist: requests
207
+ Requires-Dist: requests-oauthlib
208
+ Requires-Dist: requests-toolbelt
209
+ Requires-Dist: websockets
210
+ Provides-Extra: dev
211
+ Requires-Dist: black; extra == 'dev'
212
+ Requires-Dist: pylint==3.2.3; extra == 'dev'
213
+ Provides-Extra: test
214
+ Requires-Dist: coverage; extra == 'test'
215
+ Requires-Dist: pytest; extra == 'test'
216
+ Requires-Dist: pytest-cov; extra == 'test'
217
+ Requires-Dist: pytest-mock; extra == 'test'
218
+ Description-Content-Type: text/markdown
219
+
220
+ # Taegis SDK for Python
221
+
222
+ The Taegis SDK is a Python library for interfacing with the GraphQL APIs in Taegis.
223
+
224
+ ## Prerequisites
225
+
226
+ - Python 3.8 or higher.
227
+
228
+ ## Authentication
229
+
230
+ - Set `CLIENT_ID` and `CLIENT_SECRET` environment variables as described in the [Taegis XDR Documenation](https://docs.ctpx.secureworks.com/apis/api_authenticate/).
231
+
232
+ OR
233
+
234
+ - Login using username/password with mfa upon service creation
235
+
236
+ OR
237
+
238
+ - Device Code SSO
239
+
240
+
241
+ ## Installation
242
+
243
+ ```bash
244
+ python -m pip install taegis-sdk-python
245
+ ```
246
+
247
+
248
+ ## Using the SDK
249
+
250
+ To use the SDK, you must first import the `GraphQLService`
251
+
252
+
253
+ ```python
254
+ from taegis_sdk_python import GraphQLService
255
+ from pprint import pprint as pp
256
+ service = GraphQLService()
257
+ ```
258
+
259
+ Now that you have the `GraphQLService`, you can make requests and process responses for `Taegis XDR Services`. The following example uses the `Investigations Service` to send a query to get all available investigations
260
+
261
+ ```python
262
+ result = service.investigations.query.investigations_search(
263
+ page=1,
264
+ per_page=3,
265
+ query="WHERE deleted_at IS NOT NULL EARLIEST=-90d"
266
+ )
267
+ pp(result)
268
+ ```
269
+
270
+ ```python
271
+ result = service.tenants.query.tenants(tenants_query=TenantsQuery(
272
+ max_results=10,
273
+ page_num=1,
274
+ ))
275
+ pp(result)
276
+ ```
277
+
278
+ ```python
279
+ results = service.events.subscription.event_query(
280
+ query="FROM process EARLIEST=-1d",
281
+ options=EventQueryOptions(
282
+ max_rows=20,
283
+ page_size=10,
284
+ skip_cache=True,
285
+ ),
286
+ )
287
+ pp(results)
288
+ print()
289
+ try:
290
+ next_page = next(
291
+ iter(
292
+ {
293
+ result.next
294
+ for result in results
295
+ if result.next
296
+ }
297
+ )
298
+ )
299
+ except StopIteration:
300
+ next_page = None
301
+
302
+ if next_page:
303
+ results = service.events.subscription.event_page(page_id=next_page)
304
+ pp(results)
305
+ ```
306
+
307
+ ### Getting Started Exploring the Schema
308
+
309
+ ```python
310
+ from taegis_sdk_python import GraphQLService
311
+
312
+ service = GraphQLService()
313
+ schema = service.core.get_sync_schema()
314
+ ```
315
+
316
+ For more in depth analysis see: [Exploring the Schema](docs/exploring_the_schema.md)
317
+
318
+
319
+ ###
320
+
321
+ For more information see the [Getting Started](docs/getting_started.md)
@@ -0,0 +1,102 @@
1
+ # Taegis SDK for Python
2
+
3
+ The Taegis SDK is a Python library for interfacing with the GraphQL APIs in Taegis.
4
+
5
+ ## Prerequisites
6
+
7
+ - Python 3.8 or higher.
8
+
9
+ ## Authentication
10
+
11
+ - Set `CLIENT_ID` and `CLIENT_SECRET` environment variables as described in the [Taegis XDR Documenation](https://docs.ctpx.secureworks.com/apis/api_authenticate/).
12
+
13
+ OR
14
+
15
+ - Login using username/password with mfa upon service creation
16
+
17
+ OR
18
+
19
+ - Device Code SSO
20
+
21
+
22
+ ## Installation
23
+
24
+ ```bash
25
+ python -m pip install taegis-sdk-python
26
+ ```
27
+
28
+
29
+ ## Using the SDK
30
+
31
+ To use the SDK, you must first import the `GraphQLService`
32
+
33
+
34
+ ```python
35
+ from taegis_sdk_python import GraphQLService
36
+ from pprint import pprint as pp
37
+ service = GraphQLService()
38
+ ```
39
+
40
+ Now that you have the `GraphQLService`, you can make requests and process responses for `Taegis XDR Services`. The following example uses the `Investigations Service` to send a query to get all available investigations
41
+
42
+ ```python
43
+ result = service.investigations.query.investigations_search(
44
+ page=1,
45
+ per_page=3,
46
+ query="WHERE deleted_at IS NOT NULL EARLIEST=-90d"
47
+ )
48
+ pp(result)
49
+ ```
50
+
51
+ ```python
52
+ result = service.tenants.query.tenants(tenants_query=TenantsQuery(
53
+ max_results=10,
54
+ page_num=1,
55
+ ))
56
+ pp(result)
57
+ ```
58
+
59
+ ```python
60
+ results = service.events.subscription.event_query(
61
+ query="FROM process EARLIEST=-1d",
62
+ options=EventQueryOptions(
63
+ max_rows=20,
64
+ page_size=10,
65
+ skip_cache=True,
66
+ ),
67
+ )
68
+ pp(results)
69
+ print()
70
+ try:
71
+ next_page = next(
72
+ iter(
73
+ {
74
+ result.next
75
+ for result in results
76
+ if result.next
77
+ }
78
+ )
79
+ )
80
+ except StopIteration:
81
+ next_page = None
82
+
83
+ if next_page:
84
+ results = service.events.subscription.event_page(page_id=next_page)
85
+ pp(results)
86
+ ```
87
+
88
+ ### Getting Started Exploring the Schema
89
+
90
+ ```python
91
+ from taegis_sdk_python import GraphQLService
92
+
93
+ service = GraphQLService()
94
+ schema = service.core.get_sync_schema()
95
+ ```
96
+
97
+ For more in depth analysis see: [Exploring the Schema](docs/exploring_the_schema.md)
98
+
99
+
100
+ ###
101
+
102
+ For more information see the [Getting Started](docs/getting_started.md)
@@ -0,0 +1,68 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "taegis-sdk-python"
7
+ dynamic = ["version"]
8
+ description = "Taegis Python SDK"
9
+ readme = "README.md"
10
+ license = { file = "LICENSE" }
11
+ requires-python = ">=3.9"
12
+ authors = [{ name = "Micah Pegman", email = "sdks@secureworks.com" }]
13
+ classifiers = [
14
+ "License :: OSI Approved :: Apache Software License",
15
+ "Operating System :: OS Independent",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.9",
18
+ "Programming Language :: Python :: 3.10",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ ]
23
+ dependencies = [
24
+ "aiohttp",
25
+ "dataclasses-json",
26
+ "filelock>=3.12.4",
27
+ "gql>=4",
28
+ "graphql-core",
29
+ "oauthlib",
30
+ "pyjwt>=2.8.0",
31
+ "python-dateutil",
32
+ "requests",
33
+ "requests-oauthlib",
34
+ "requests-toolbelt",
35
+ "websockets",
36
+ "jinja2",
37
+ "backoff",
38
+ ]
39
+
40
+ [project.optional-dependencies]
41
+ test = [
42
+ "pytest",
43
+ "pytest-cov",
44
+ "pytest-mock",
45
+ "coverage",
46
+ ]
47
+ dev = [
48
+ "pylint==3.2.3",
49
+ "black",
50
+ ]
51
+
52
+ [project.urls]
53
+ "Homepage" = "https://github.com/secureworks/taegis-sdk-python"
54
+ "Bug Reports" = "https://github.com/secureworks/taegis-sdk-python/issues"
55
+ "Source" = "https://github.com/secureworks/taegis-sdk-python"
56
+ "Package" = "https://pypi.org/project/taegis-sdk-python/"
57
+
58
+ [tool.hatch.version]
59
+ path = "taegis_sdk_python/_version.py"
60
+
61
+ [tool.hatch.build.targets.sdist]
62
+ include = [
63
+ "/taegis_sdk_python",
64
+ ]
65
+
66
+ [tool.hatch.envs.venv]
67
+ type = "virtual"
68
+ installer = "uv"
@@ -1,27 +1,28 @@
1
1
  """
2
2
  Commonly-used functions and data types from this package.
3
3
  """
4
+
4
5
  from taegis_sdk_python.errors import (
5
- ServiceCoreException,
6
- InvalidAuthenticationMethod,
7
6
  AccessTokenException,
8
- MissingAccessTokenError,
9
- InvalidAccessTokenError,
10
7
  GraphQLNoRowsInResultSetError,
11
8
  InvalidAccessTokenClaims,
9
+ InvalidAccessTokenError,
10
+ InvalidAuthenticationMethod,
12
11
  InvalidGraphQLEndpoint,
12
+ MissingAccessTokenError,
13
+ ServiceCoreException,
13
14
  )
14
-
15
15
  from taegis_sdk_python.services import GraphQLService
16
16
  from taegis_sdk_python.utils import (
17
17
  build_output_string,
18
+ build_output_string_from_introspection,
19
+ parse_union_result,
18
20
  prepare_input,
19
21
  prepare_variables,
20
- parse_union_result,
21
- build_output_string_from_introspection,
22
22
  )
23
23
 
24
- __all__ = [ # pylint: disable=duplicate-code
24
+ # pylint: disable=duplicate-code
25
+ __all__ = [
25
26
  "GraphQLService",
26
27
  "ServiceCoreException",
27
28
  "InvalidAuthenticationMethod",