opencti icon indicating copy to clipboard operation
opencti copied to clipboard

[backend] Improve performance by better targeting indices for query

Open richard-julien opened this issue 1 year ago • 2 comments

[backend] Improve performance by better targeting indices for query

  • Listing are now indices computed (elPaginate)
  • Refactor checkfileAccess has really unefficient

richard-julien avatar Oct 06 '24 20:10 richard-julien

Codecov Report

Attention: Patch coverage is 70.31250% with 19 lines in your changes missing coverage. Please review.

Project coverage is 66.42%. Comparing base (11067c2) to head (5f2fea2). Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...opencti-graphql/src/graphql/subscriptionWrapper.js 0.00% 2 Missing :warning:
...c/modules/entitySetting/entitySetting-resolvers.ts 0.00% 1 Missing :warning:
...gerConfiguration/managerConfiguration-resolvers.ts 0.00% 1 Missing :warning:
...raphql/src/modules/workspace/workspace-resolver.ts 0.00% 1 Missing :warning:
...opencti-graphql/src/resolvers/externalReference.js 0.00% 1 Missing :warning:
...ti-platform/opencti-graphql/src/resolvers/group.js 0.00% 1 Missing :warning:
...rm/opencti-graphql/src/resolvers/internalObject.js 0.00% 1 Missing :warning:
...rm/opencti-graphql/src/resolvers/killChainPhase.js 0.00% 1 Missing :warning:
...ti-platform/opencti-graphql/src/resolvers/label.js 0.00% 1 Missing :warning:
...opencti-graphql/src/resolvers/markingDefinition.js 0.00% 1 Missing :warning:
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8615      +/-   ##
==========================================
+ Coverage   66.29%   66.42%   +0.12%     
==========================================
  Files         597      597              
  Lines       60976    61183     +207     
  Branches     6266     6274       +8     
==========================================
+ Hits        40427    40640     +213     
+ Misses      20549    20543       -6     

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

codecov[bot] avatar Oct 06 '24 20:10 codecov[bot]

Linked to #8125

Kedae avatar Oct 21 '24 11:10 Kedae