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

Analysis logs available in frontend #195

Merged
merged 21 commits into from
Sep 28, 2020
Merged

Analysis logs available in frontend #195

merged 21 commits into from
Sep 28, 2020

Conversation

chivay
Copy link
Collaborator

@chivay chivay commented Aug 4, 2020

closes #174 #185
blocked by #223

OK, so this PR is quite large I'm still missing #223 for it to work, however I'd like some feedback on what to change / what things should look like. The way each log entry is displayed isn't trivial and I'm still looking for ideas that would look nice and be feasible to code. Apart from that, the code is somewhat finished and works without any issues.

Consider only commit 18adddf as the other one is extracted into other PR

TODO:

  • decide on the way each entry looks
  • implement removal of old chunks to free memory

This is a preview:

image

@chivay chivay linked an issue Aug 19, 2020 that may be closed by this pull request
@chivay chivay force-pushed the analysis-logs branch 2 times, most recently from e3c26ce to 2e82899 Compare August 24, 2020 14:17
@chivay chivay force-pushed the analysis-logs branch 3 times, most recently from 4837925 to 61a07e8 Compare August 31, 2020 17:38
@chivay chivay mentioned this pull request Aug 31, 2020
@chivay chivay force-pushed the analysis-logs branch 2 times, most recently from 91990db to 18adddf Compare September 1, 2020 14:51
@chivay chivay marked this pull request as ready for review September 1, 2020 15:38
Copy link
Collaborator

@BonusPlay BonusPlay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe AnalysisLogs.js requires a rewrite before we merge this. Current version may work, but code will be unmaintainable after 2 weeks.

drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/Tabs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
drakcore/drakcore/frontend/src/AnalysisLogs.js Outdated Show resolved Hide resolved
@BonusPlay
Copy link
Collaborator

@chivay ping me when you're done with fixes :)

@icedevml
Copy link
Contributor

needs rebase as #223 is now merged

Copy link
Contributor

@icedevml icedevml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested LGTM; I think this is good to go and things like styling of individual log entry or search box could go in further PRs

@chivay chivay merged commit d9b8457 into master Sep 28, 2020
@chivay chivay deleted the analysis-logs branch September 28, 2020 10:20
fengjixuchui added a commit to fengjixuchui/drakvuf-sandbox that referenced this pull request Sep 28, 2020
Analysis logs available in frontend (CERT-Polska#195)
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

Successfully merging this pull request may close these issues.

Create generic log browser Add service logs to frontend
3 participants