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

Analyzer timesketch output error due to db_table key does not exist #116

Closed
ancailliau opened this issue Oct 24, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@ancailliau
Copy link

$ sysdiag -c 1 analyse timesketch
Case ID: 1
  Analyser 'timesketch' for case ID '1'
[ERROR] [timesketch] ERROR while extracting timestamp from accessibility_tcc.
Traceback (most recent call last):
  File "[REDACTED]/sysdiagnose/sysdiagnose/src/sysdiagnose/analysers/timesketch.py", line 125, in __extract_ts_accessibility_tcc
    if item['db_table'] != 'access':
       ~~~~^^^^^^^^^^^^
KeyError: 'db_table'
@cvandeplas cvandeplas added the bug Something isn't working label Oct 25, 2024
@cvandeplas
Copy link
Contributor

thanks for reporting this !
It seems that too many try catch resulted in unit testing not seeing much anymore. (see #121 )
Considering the timesketch analyser requires a large amount of work (see #122) I disabled the module for now.

It'll be addressed in a smarter revamp of multiple modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants