OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.45k stars 947 forks source link

[backend] Prevent retention rules to delete user individuals (#7787) #9068

Open SouadHadjiat opened 3 days ago

SouadHadjiat commented 3 days ago

Proposed changes

Related issues

Checklist

codecov[bot] commented 2 days ago

Codecov Report

Attention: Patch coverage is 68.08511% with 30 lines in your changes missing coverage. Please review.

Project coverage is 64.87%. Comparing base (d3a85de) to head (77feab8). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...m/opencti-graphql/src/database/data-consistency.ts 77.94% 15 Missing :warning:
...rm/opencti-graphql/src/manager/retentionManager.ts 7.14% 13 Missing :warning:
...latform/opencti-graphql/src/database/middleware.js 75.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #9068 +/- ## ========================================== + Coverage 64.68% 64.87% +0.18% ========================================== Files 620 621 +1 Lines 59208 59303 +95 Branches 6520 6888 +368 ========================================== + Hits 38301 38472 +171 + Misses 20907 20831 -76 ```

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


🚨 Try these New Features: