Skip to content

Commit 6c9efa0

Browse files
authored
Version bump to 3.4.7.4. Syncing recent changes. (#1091)
1 parent 645c98f commit 6c9efa0

32 files changed

+1603
-1951
lines changed

CHANGELOG.md

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
### Added
9+
10+
### Removed
11+
12+
* Removed the `ListFlowApplicableParsers` API method.
13+
* Removed the `ListParsedFlowResults` API method.
14+
15+
## [3.4.7.4] - 2024-05-28
16+
817
### Removed
918

1019
* Removed support for Chipsec based flows.
@@ -13,13 +22,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1322
by individual and combination of system name, release and version).
1423
* Removed support for foreman rules using `uname` of an endpoint (this can be
1524
simulated by using 3 rules for system name, release and version).
16-
* GRR server Debian package is removed when github actions are updated. The
17-
docker image and Docker Compose stack (see section "Added") are the
18-
recommended wait of running GRR in the future.
1925
* Removed the `provides` field from the `Artifact` message. This change has been
2026
done in anticipation of the removal of the same field from the official GitHub
2127
repository (ForensicArtifacts/artifacts#275).
22-
28+
* **GRR server Debian package**. We stopped providing the GRR server Debian
29+
package as the main way of distributing GRR server and client binaries.
30+
Instead we make GRR Docker image a preferred way for running GRR in a
31+
demo or production environment. See the documentation [here](https://grr-doc.readthedocs.io/en/latest/installing-and-running-grr/via-docker-compose.html).
32+
* **Artifact parsers**. ArtifactCollector flow supported parsing collected files
33+
and output of executed commands. Its parsers were not properly maintained,
34+
were often outdated and fragile. We're converted selected parsers
35+
into standalone flows (`CollectDistroInfo`, `CollectInstalledSoftware`, `CollectHardwareInfo`) and removed the artifact parsing subsystem.
36+
The ArtifactCollector now works as if "apply_parsers" arguments
37+
attribute is set to False. At some point the "apply_parsers" attribute will be
38+
deprecated completely.
2339

2440
### Added
2541
* GRR docker image which contains all grr server components and client
@@ -31,6 +47,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3147
to decode a crowdstrike quarantine encoded file, given as a
3248
`BinaryChunkIterator`.
3349

50+
### Fixed
51+
52+
* YARA memory scanning improvements (matching context options, consuming less bandwidth).
3453

3554
### API removed
3655

@@ -58,19 +77,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5877

5978
### Planned for removal
6079

61-
Note: GRR release 3.4.7.1 is the **last release** containing the following
62-
features:
63-
64-
* **Artifact parsers**. ArtifactCollector flow supports parsing collected files
65-
and output of executed commands. Its parsers are not properly maintained,
66-
are often outdated and fragile. We're going to convert selected parsers
67-
into standalone flows and remove the artifact parsing subsystem:
68-
the ArtifactCollector will always work as if "apply_parsers" arguments
69-
attribute is set to False. Afterwards the "apply_parsers" attribute will be
70-
deprecated completely. We will provide documentation on integrating
71-
GRR and ArtifactCollector with well-maintained parsing frameworks like
72-
[Plaso](https://plaso.readthedocs.io/en/latest/index.html).
73-
7480
* **Built-in cron jobs**. Built-in cron jobs are primarily used for periodic
7581
hunts. We will provide documentation on how to easily replicate the
7682
current functionality using external scheduling systems (like Linux cron,
@@ -80,15 +86,6 @@ features:
8086
when migrating it to external schedulers, please reach out to us via email
8187
or GitHub.
8288

83-
* **GRR server Debian package**. We will stop providing the GRR server Debian
84-
package as the main way of distributing GRR server and client binaries.
85-
Instead we will make GRR Docker image a preferred way for running GRR in a
86-
demo or production environment.
87-
88-
If your workflow depends on any of the above, please feel free reach out to
89-
us via [grr-users](https://groups.google.com/forum/#!forum/grr-users) Google
90-
Group or [GitHub](https://github.com/google/grr/issues).
91-
9289
## [3.4.7.1] - 2023-10-23
9390

9491
### Added

api_client/python/grr_api_client/flow.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86,27 +86,6 @@ def ListResults(self) -> utils.ItemsIterator[FlowResult]:
8686
items = self._context.SendIteratorRequest("ListFlowResults", args)
8787
return utils.MapItemsIterator(lambda data: FlowResult(data=data), items)
8888

89-
def ListParsedResults(self) -> utils.ItemsIterator[FlowResult]:
90-
args = flow_pb2.ApiListParsedFlowResultsArgs(
91-
client_id=self.client_id, flow_id=self.flow_id
92-
)
93-
items = self._context.SendIteratorRequest("ListParsedFlowResults", args)
94-
return utils.MapItemsIterator(lambda data: FlowResult(data=data), items)
95-
96-
def ListApplicableParsers(
97-
self,
98-
) -> flow_pb2.ApiListFlowApplicableParsersResult:
99-
"""Lists parsers that are applicable to results of the flow."""
100-
args = flow_pb2.ApiListFlowApplicableParsersArgs(
101-
client_id=self.client_id, flow_id=self.flow_id
102-
)
103-
104-
result = self._context.SendRequest("ListFlowApplicableParsers", args)
105-
if not isinstance(result, flow_pb2.ApiListFlowApplicableParsersResult):
106-
raise TypeError(f"Unexpected type: '{type(result)}'")
107-
108-
return result
109-
11089
def GetExportedResultsArchive(self, plugin_name) -> utils.BinaryChunkIterator:
11190
args = flow_pb2.ApiGetExportedFlowResultsArgs(
11291
client_id=self.client_id, flow_id=self.flow_id, plugin_name=plugin_name
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
#!/usr/bin/env python
22
"""A module for registering all known parsers."""
33

4-
from grr_response_core.lib import parsers
5-
from grr_response_core.lib.parsers import linux_release_parser
6-
74

85
def Register():
96
"""Adds all known parsers to the registry."""
107
# pyformat: disable
11-
12-
# File multi-parsers.
13-
parsers.MULTI_FILE_PARSER_FACTORY.Register(
14-
"LinuxReleaseInfo", linux_release_parser.LinuxReleaseParser)
15-
168
# pyformat: enable

0 commit comments

Comments
 (0)