Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery exporter does not export ProgramArguments in Plist results #949

Open
anttitikkanen opened this issue Nov 24, 2021 · 1 comment
Open

Comments

@anttitikkanen
Copy link

When using the BigQuery exporter to export hunt results that contain MacOs plist entries, the "ProgramArguments" field will be missing (

repeated string ProgramArguments = 7;
).

I suppose this is due to not having a special converter for Plists, so the default converted ignores repeated fields? (

NOTE: DataAgnosticExportConverter discards complex types: repeated
)

@mbushkov
Copy link
Collaborator

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 field metadata of type ExportedMetadata and shouldn't contain repeated fields (it can contain nested fields, though).
  • Implement the exporter that would convert LaunchdPlist values into ExportedLaunchdPlist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants