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

Knowledge retention rules also delete organizations #8606

Open
Archidoit opened this issue Oct 4, 2024 · 2 comments
Open

Knowledge retention rules also delete organizations #8606

Archidoit opened this issue Oct 4, 2024 · 2 comments
Labels
feature use for describing a new feature to develop

Comments

@Archidoit
Copy link
Member

Description

Knowledge retention rules also delete organizations, which can lead to issues.

Reproducible Steps

  • Create a retention rule on scope Knowledge with no filters (or filters different from entity_type = XX)
  • The retention rule will also delete organizations (logical because they are stix domain objects)
    It may raise issues, for instance if the platform organization or a user organization is deleted.

Comment

It seems that this has always been the case.

Proposed solutions

Different solutions are possible:

  • Add a warning message if a retention rule may delete organizations
  • Exclude organizations from knowledge retention rules deletion scope
@Archidoit Archidoit added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Oct 4, 2024
@Archidoit Archidoit changed the title Knowledge retention rules with no filters also delete organizations Knowledge retention rules also delete organizations Oct 4, 2024
@labo-flg
Copy link
Member

labo-flg commented Oct 4, 2024

unsure it's a bug, more like a new feature. Being able to delete knowledge means deleting organizations too.
For users not using organization sharing for instance, this can be OK I guess

We can think of various improvements:

  • warn callout when the platform organization is set, to warn about deleting organizations.
  • have a checkbox "prevent deleting organizations"
  • have a fixed filter that user cannot remove "entity type NOT Organization.
    ....

@romain-filigran
Copy link
Member

@Jipegien @nino-filigran : Another argument for dissociating "knowledge" organizations from "sharing" organizations.

@richard-julien richard-julien added feature use for describing a new feature to develop and removed bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature use for describing a new feature to develop
Projects
None yet
Development

No branches or pull requests

4 participants