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

[Backend] Enrich model to add update attribute protection #6006

Merged
merged 6 commits into from
Feb 16, 2024

Conversation

richard-julien
Copy link
Member

Enrich model to add update attribute protection.
That will prevent to modify attribute not correctly related to the entity.

@richard-julien richard-julien added the filigran team use to identify PR from the Filigran team label Feb 16, 2024
@richard-julien richard-julien self-assigned this Feb 16, 2024
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (5bc9d38) 65.69% compared to head (294ff15) 65.69%.
Report is 3 commits behind head on master.

Files Patch % Lines
...latform/opencti-graphql/src/database/middleware.js 54.16% 11 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6006   +/-   ##
=======================================
  Coverage   65.69%   65.69%           
=======================================
  Files         539      539           
  Lines       63533    63550   +17     
  Branches     5131     5126    -5     
=======================================
+ Hits        41738    41752   +14     
- Misses      21795    21798    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@richard-julien richard-julien merged commit 8575ee1 into master Feb 16, 2024
8 checks passed
@richard-julien richard-julien deleted the oob/attribute_protection branch February 16, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants