Path resolution policy #46
Miauwkeru
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Starting from Dissect version 3.11, the policy is for plugins to only provide the original parsed
path
value in returned records.We recommend external contributors to follow the same policy, this keeps the path information in the records as close to the truth as possible.
Resolved paths can be accessed by using the
--resolve
or--hash
flags intarget-query
.These flags add additional fields to the record using the name of the field as a prefix making it easier to identify its origin.
For example, lets say we have a record with the following field:
When using
--resolve
, the resolved path will be added to the record in a new field with the suffix_resolved
:The
--hash
flag extends the--resolve
information and includes a_digest
suffixed field as well, which contains the file digest triple (if the file exists):Beta Was this translation helpful? Give feedback.
All reactions