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.
- {reg2es-2.2.1 → reg2es-2.2.2}/PKG-INFO +2 -4
- {reg2es-2.2.1 → reg2es-2.2.2}/README.md +1 -3
- reg2es-2.2.2/src/reg2es/__about__.py +1 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/models/Reg2es.py +0 -4
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_model.py +0 -1
- reg2es-2.2.1/src/reg2es/__about__.py +0 -1
- {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/Dockerfile +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/devcontainer.json +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/docker-compose.yaml +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.devcontainer/postCreateCommands.fish +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.github/collect_runtime_licenses.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.github/workflows/publish-binary-pypi.yaml +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.github/workflows/publish-release.yaml +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.github/workflows/test.yaml +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/.gitignore +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/CONTRIBUTING.md +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/LICENSE +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/LICENSES/Apache-2.0.txt +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/pyproject.toml +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/__init__.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/models/ElasticsearchUtils.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/__init__.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/antivirus.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/auditpol.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/base.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/compname.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/env.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/filedialogmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/gpo.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/kb.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/keyboard.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/lastloggedon.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/lastshutdown.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/localgroups.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/localusers.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/mndmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/mounteddevices.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/mstscmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/office_macros.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/portproxy.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/printer_history.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/printer_ports.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/proxy.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/putty.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/rdphint.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/recentdocs.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/regtime.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/run.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/runmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/services.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/shimcache.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/srum.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/sysinternals.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/systeminfo.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/tasks.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/teamviewer.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/timezone.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/typedurls.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/uninstall.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/usbstor.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/userassist.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/usersids.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/version.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/plugins/wordwheelquery.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/presenters/Reg2esPresenter.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/presenters/Reg2jsonPresenter.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/views/BaseView.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/views/Reg2esView.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/src/reg2es/views/Reg2jsonView.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/__init__.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/conftest.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/__init__.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/reg_mock.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_antivirus.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_compname.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_env.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_filedialogmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_keyboard.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_lastloggedon.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_lastshutdown.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_localgroups.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_localusers.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_mndmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_mstscmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_portproxy.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_printer_history.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_printer_ports.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_proxy.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_putty.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_rdphint.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_recentdocs.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_run.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_runmru.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_services.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_shimcache.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_sysinternals.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_systeminfo.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_tasks.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_timezone.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_typedurls.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_uninstall.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_userassist.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_usersids.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/regrippy/test_version.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_case_plugins.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_es_contract.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_integration.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_output_contract.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_plugin_timestamps.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_plugins.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_runtime_licenses.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_shared_output.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_shimcache_entries.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_timestamp_review.py +0 -0
- {reg2es-2.2.1 → reg2es-2.2.2}/tests/test_timestamp_section_c.py +0 -0
- {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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|