opencti icon indicating copy to clipboard operation
opencti copied to clipboard

[frontend/backend] Updating Widgets to handle Unique Users for dashboard (#11229)

Open daimyo007 opened this issue 6 months ago • 2 comments

Proposed changes

  • Added and Refined Monthly Active Users Count to not include logins/logouts on Custom Dashboard under Number widget
  • Refined Monthly Active Users Chart to not include logins/logouts on Custom Dashboard under Line widget
  • Refined Weekly Active Users Count to not include logins/logouts on Custom Dashboard under Number widget
  • Refined Weekly Active Users Chart to not include logins/logouts on Custom Dashboard under Line widget
  • Added a new resolver called auditsMultiDistribution

Related issues

  • Adding the Monthly and Weekly Active Users to the Metrics Dashboard
  • Refining Monthly and Weekly Active Users on the Metrics Dashboard
  • closes #11229

Checklist

  • [x] I consider the submitted work as finished
  • [x] I tested the code for its functionality
  • [ ] I wrote test cases for the relevant uses case (coverage and e2e)
  • [ ] I added/update the relevant documentation (either on github or on notion)
  • [x] Where necessary I refactored code to improve the overall quality

Further comments

daimyo007 avatar Jun 26 '25 04:06 daimyo007

Codecov Report

:x: Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review. :warning: Please upload report for BASE (release/current@e57afec). Learn more about missing BASE report.

Files with missing lines Patch % Lines
opencti-platform/opencti-graphql/src/domain/log.ts 16.66% 5 Missing :warning:
Additional details and impacted files
@@                Coverage Diff                 @@
##             release/current   #11511   +/-   ##
==================================================
  Coverage                   ?   65.46%           
==================================================
  Files                      ?      747           
  Lines                      ?    74344           
  Branches                   ?     8317           
==================================================
  Hits                       ?    48666           
  Misses                     ?    25678           
  Partials                   ?        0           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jun 26 '25 06:06 codecov[bot]

@lndrtrbn Hey I just wanted to check in and see if there is further work that needs to be done with this. Updated based on comments

daimyo007 avatar Sep 03 '25 17:09 daimyo007