reg2es 2.2.1__tar.gz → 2.2.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 (116) hide show
  1. {reg2es-2.2.1 → reg2es-2.2.2}/PKG-INFO +2 -4
  2. {reg2es-2.2.1 → reg2es-2.2.2}/README.md +1 -3
  3. reg2es-2.2.2/src/reg2es/__about__.py +1 -0
  4. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/models/Reg2es.py +0 -4
  5. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_model.py +0 -1
  6. reg2es-2.2.1/src/reg2es/__about__.py +0 -1
  7. {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/Dockerfile +0 -0
  8. {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/devcontainer.json +0 -0
  9. {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/docker-compose.yaml +0 -0
  10. {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/postCreateCommands.fish +0 -0
  11. {reg2es-2.2.1 → reg2es-2.2.2}/.github/collect_runtime_licenses.py +0 -0
  12. {reg2es-2.2.1 → reg2es-2.2.2}/.github/workflows/publish-binary-pypi.yaml +0 -0
  13. {reg2es-2.2.1 → reg2es-2.2.2}/.github/workflows/publish-release.yaml +0 -0
  14. {reg2es-2.2.1 → reg2es-2.2.2}/.github/workflows/test.yaml +0 -0
  15. {reg2es-2.2.1 → reg2es-2.2.2}/.gitignore +0 -0
  16. {reg2es-2.2.1 → reg2es-2.2.2}/CONTRIBUTING.md +0 -0
  17. {reg2es-2.2.1 → reg2es-2.2.2}/LICENSE +0 -0
  18. {reg2es-2.2.1 → reg2es-2.2.2}/LICENSES/Apache-2.0.txt +0 -0
  19. {reg2es-2.2.1 → reg2es-2.2.2}/pyproject.toml +0 -0
  20. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/__init__.py +0 -0
  21. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/models/ElasticsearchUtils.py +0 -0
  22. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/__init__.py +0 -0
  23. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/antivirus.py +0 -0
  24. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/auditpol.py +0 -0
  25. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/base.py +0 -0
  26. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/compname.py +0 -0
  27. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/env.py +0 -0
  28. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/filedialogmru.py +0 -0
  29. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/gpo.py +0 -0
  30. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/kb.py +0 -0
  31. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/keyboard.py +0 -0
  32. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/lastloggedon.py +0 -0
  33. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/lastshutdown.py +0 -0
  34. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/localgroups.py +0 -0
  35. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/localusers.py +0 -0
  36. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/mndmru.py +0 -0
  37. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/mounteddevices.py +0 -0
  38. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/mstscmru.py +0 -0
  39. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/office_macros.py +0 -0
  40. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/portproxy.py +0 -0
  41. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/printer_history.py +0 -0
  42. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/printer_ports.py +0 -0
  43. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/proxy.py +0 -0
  44. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/putty.py +0 -0
  45. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/rdphint.py +0 -0
  46. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/recentdocs.py +0 -0
  47. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/regtime.py +0 -0
  48. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/run.py +0 -0
  49. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/runmru.py +0 -0
  50. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/services.py +0 -0
  51. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/shimcache.py +0 -0
  52. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/srum.py +0 -0
  53. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/sysinternals.py +0 -0
  54. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/systeminfo.py +0 -0
  55. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/tasks.py +0 -0
  56. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/teamviewer.py +0 -0
  57. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/timezone.py +0 -0
  58. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/typedurls.py +0 -0
  59. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/uninstall.py +0 -0
  60. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/usbstor.py +0 -0
  61. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/userassist.py +0 -0
  62. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/usersids.py +0 -0
  63. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/version.py +0 -0
  64. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/wordwheelquery.py +0 -0
  65. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/presenters/Reg2esPresenter.py +0 -0
  66. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/presenters/Reg2jsonPresenter.py +0 -0
  67. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/views/BaseView.py +0 -0
  68. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/views/Reg2esView.py +0 -0
  69. {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/views/Reg2jsonView.py +0 -0
  70. {reg2es-2.2.1 → reg2es-2.2.2}/tests/__init__.py +0 -0
  71. {reg2es-2.2.1 → reg2es-2.2.2}/tests/conftest.py +0 -0
  72. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/__init__.py +0 -0
  73. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/reg_mock.py +0 -0
  74. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_antivirus.py +0 -0
  75. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_compname.py +0 -0
  76. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_env.py +0 -0
  77. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_filedialogmru.py +0 -0
  78. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_keyboard.py +0 -0
  79. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_lastloggedon.py +0 -0
  80. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_lastshutdown.py +0 -0
  81. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_localgroups.py +0 -0
  82. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_localusers.py +0 -0
  83. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_mndmru.py +0 -0
  84. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_mstscmru.py +0 -0
  85. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_portproxy.py +0 -0
  86. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_printer_history.py +0 -0
  87. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_printer_ports.py +0 -0
  88. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_proxy.py +0 -0
  89. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_putty.py +0 -0
  90. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_rdphint.py +0 -0
  91. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_recentdocs.py +0 -0
  92. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_run.py +0 -0
  93. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_runmru.py +0 -0
  94. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_services.py +0 -0
  95. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_shimcache.py +0 -0
  96. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_sysinternals.py +0 -0
  97. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_systeminfo.py +0 -0
  98. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_tasks.py +0 -0
  99. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_timezone.py +0 -0
  100. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_typedurls.py +0 -0
  101. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_uninstall.py +0 -0
  102. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_userassist.py +0 -0
  103. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_usersids.py +0 -0
  104. {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_version.py +0 -0
  105. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_case_plugins.py +0 -0
  106. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_es_contract.py +0 -0
  107. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_integration.py +0 -0
  108. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_output_contract.py +0 -0
  109. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_plugin_timestamps.py +0 -0
  110. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_plugins.py +0 -0
  111. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_runtime_licenses.py +0 -0
  112. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_shared_output.py +0 -0
  113. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_shimcache_entries.py +0 -0
  114. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_timestamp_review.py +0 -0
  115. {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_timestamp_section_c.py +0 -0
  116. {reg2es-2.2.1 → reg2es-2.2.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: reg2es
3
- Version: 2.2.1
3
+ Version: 2.2.2
4
4
  Summary: A fast library for parsing and importing Windows NT Registry(REGF) into Elasticsearch.
5
5
  Author-email: sumeshi <j15322sn@gmail.com>
6
6
  License-Expression: MIT
@@ -172,8 +172,7 @@ result: list[dict] = reg2json(
172
172
 
173
173
  ## Output Format Example
174
174
 
175
- Each plugin result becomes one document with `ecs.version` set to `8.17.0`.
176
- Standard `event`,
175
+ Each plugin result becomes one document. Standard `event`,
177
176
  `registry`, `log.file`, `tags`, and `@timestamp` fields describe the artifact.
178
177
  Lossless plugin-specific data and the original offline-hive location are kept
179
178
  under `reg2es`.
@@ -191,7 +190,6 @@ these fields; use a new index for the updated output.
191
190
 
192
191
  ```json
193
192
  {
194
- "ecs": {"version": "8.17.0"},
195
193
  "@timestamp": "2015-10-30T07:24:57.814133+00:00",
196
194
  "event": {
197
195
  "kind": "event",
@@ -156,8 +156,7 @@ result: list[dict] = reg2json(
156
156
 
157
157
  ## Output Format Example
158
158
 
159
- Each plugin result becomes one document with `ecs.version` set to `8.17.0`.
160
- Standard `event`,
159
+ Each plugin result becomes one document. Standard `event`,
161
160
  `registry`, `log.file`, `tags`, and `@timestamp` fields describe the artifact.
162
161
  Lossless plugin-specific data and the original offline-hive location are kept
163
162
  under `reg2es`.
@@ -175,7 +174,6 @@ these fields; use a new index for the updated output.
175
174
 
176
175
  ```json
177
176
  {
178
- "ecs": {"version": "8.17.0"},
179
177
  "@timestamp": "2015-10-30T07:24:57.814133+00:00",
180
178
  "event": {
181
179
  "kind": "event",
@@ -0,0 +1 @@
1
+ __version__ = "2.2.2"
@@ -470,9 +470,6 @@ _ECS_REGISTRY_TYPES = {
470
470
  "RegQWord": "REG_QWORD",
471
471
  }
472
472
 
473
- _ECS_VERSION = "8.17.0"
474
-
475
-
476
473
  def _join_registry_path(*parts: Optional[str]) -> str:
477
474
  return "\\".join(part.strip("\\") for part in parts if part)
478
475
 
@@ -572,7 +569,6 @@ def plugin_result_to_document(
572
569
  if result.value_name is not None:
573
570
  registry_path = _join_registry_path(registry_path, result.value_name)
574
571
  doc: dict = {
575
- "ecs": {"version": _ECS_VERSION},
576
572
  "event": {
577
573
  "kind": "event",
578
574
  "category": ["registry"],
@@ -386,7 +386,6 @@ def test_plugin_result_conversion_is_ecs_shaped_and_lossless() -> None:
386
386
  "bytes": "3q0=",
387
387
  }
388
388
  assert base64.b64decode(document["registry"]["data"]["bytes"]) == b"\xde\xad"
389
- assert document["ecs"]["version"] == "8.17.0"
390
389
  assert document["registry"]["path"] == "HKLM\\SYSTEM\\Control\\Test\\Payload"
391
390
  assert document["reg2es"]["value_type"] == result.value_type
392
391
  assert document["reg2es"]["value_size"] == 2
@@ -1 +0,0 @@
1
- __version__ = "2.2.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes