-
Notifications
You must be signed in to change notification settings - Fork 946
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/frontend] Implementation of sensitive configuration protection (#8284) #8509
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
filigran team
use to identify PR from the Filigran team
label
Sep 25, 2024
aHenryJard
commented
Sep 25, 2024
aHenryJard
changed the title
Implementation of sensitive configuration protection (#8284)
[backend/frontend] Implementation of sensitive configuration protection (#8284)
Sep 27, 2024
marieflorescontact
force-pushed
the
issue/8284-chunk1
branch
from
September 30, 2024 06:59
a210cff
to
2b74a59
Compare
opencti-platform/opencti-graphql/src/database/data-initialization.js
Outdated
Show resolved
Hide resolved
aHenryJard
commented
Sep 30, 2024
aHenryJard
commented
Sep 30, 2024
opencti-platform/opencti-front/src/private/components/settings/roles/Role.tsx
Outdated
Show resolved
Hide resolved
aHenryJard
commented
Sep 30, 2024
...cti-platform/opencti-front/src/private/components/settings/roles/RoleEditionCapabilities.tsx
Outdated
Show resolved
Hide resolved
aHenryJard
commented
Sep 30, 2024
opencti-platform/opencti-graphql/tests/01-unit/domain/user-test.ts
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8509 +/- ##
==========================================
- Coverage 66.22% 66.19% -0.03%
==========================================
Files 597 597
Lines 60436 60500 +64
Branches 6202 6207 +5
==========================================
+ Hits 40025 40050 +25
- Misses 20411 20450 +39 ☔ View full report in Codecov by Sentry. |
aHenryJard
commented
Oct 1, 2024
SouadHadjiat
reviewed
Oct 1, 2024
opencti-platform/opencti-front/src/utils/hooks/useSensitiveModifications.ts
Outdated
Show resolved
Hide resolved
SouadHadjiat
reviewed
Oct 1, 2024
opencti-platform/opencti-graphql/tests/02-integration/01-database/elasticSearch-test.js
Show resolved
Hide resolved
aHenryJard
commented
Oct 2, 2024
opencti-platform/opencti-front/src/utils/hooks/useSensitiveModifications.ts
Outdated
Show resolved
Hide resolved
marieflorescontact
force-pushed
the
issue/8284-chunk1
branch
2 times, most recently
from
October 2, 2024 06:53
76dfb26
to
7fb7cfd
Compare
Kedae
force-pushed
the
issue/8284-chunk1
branch
from
October 4, 2024 07:56
db69960
to
7b2713b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
Add a configuration in Role to know if user is allow or not to change sensitive configuration on the platform
Add this configuration in the capability list in the UI
Protect initial groups/roles Administrator(s) and Connector(s) from modification when user are not allow to modifiy sensitve configuration
Under feature flag PROTECT_SENSITIVE_CHANGES
Related issues
Checklist
Further comments