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

Consider adding a FindSpec artifact definition #283

Open
joachimmetz opened this issue Aug 22, 2018 · 2 comments
Open

Consider adding a FindSpec artifact definition #283

joachimmetz opened this issue Aug 22, 2018 · 2 comments
Assignees

Comments

@joachimmetz
Copy link
Member

Though most artifacts (so far) are path/file based it would be useful to be able to specify paths in a more flexible way similar to find specs (as provided in GRR and dfVFS).

@joachimmetz
Copy link
Member Author

joachimmetz commented Aug 23, 2018

Maybe not an artifact type but a replacement / alternative for paths e.g. now

name: MacOSAppleSystemLogFiles
doc: Apple system log (ASL) files
sources:
- type: FILE
  attributes: {paths: ['/var/log/asl/*']}
labels: [System, Logs]
supported_os: [Darwin]
urls:
- 'http://forensicswiki.org/wiki/Mac_OS_X'
- 'http://forensicswiki.org/wiki/Mac_OS_X_10.9_-_Artifacts_Location#System_Logs'

with find spec

name: MacOSAppleSystemLogFiles
doc: Apple system log (ASL) files
sources:
- type: FILE
  attributes:
    find_specs:
      - paths: ['/var/log/asl']
        filenames: ['*']
labels: [System, Logs]
supported_os: [Darwin]
urls:
- 'http://forensicswiki.org/wiki/Mac_OS_X'
- 'http://forensicswiki.org/wiki/Mac_OS_X_10.9_-_Artifacts_Location#System_Logs'

@joachimmetz
Copy link
Member Author

joachimmetz commented Aug 27, 2018

Maybe instead of find_specs name this path_filters?

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

No branches or pull requests

1 participant