BigQuery exporter does not export ProgramArguments in Plist results
anttitikkanen opened this issue · 1 comments
anttitikkanen commented
When using the BigQuery exporter to export hunt results that contain MacOs plist entries, the "ProgramArguments" field will be missing (
).I suppose this is due to not having a special converter for Plists, so the default converted ignores repeated fields? (
grr/grr/server/grr_response_server/export.py
Line 320 in 3adbc6b
mbushkov commented
Correct, an exporter for LaunchdPlist type has to be implemented. To do that, one would need to do the following:
- Define an
ExportedLaunchdPlist
protobuf and a corresponding Python class. The proto must contain the fieldmetadata
of typeExportedMetadata
and shouldn't contain repeated fields (it can contain nested fields, though). - Implement the exporter that would convert
LaunchdPlist
values intoExportedLaunchdPlist
.