Show the profile that's using a ruletype when trying to delete #5307
Open
Description
When running minder ruletype delete --all
, it's possible the ruletypes cannot be deleted because they are referenced by existing profiles.
In that case, we see:
The following rule type(s) are referenced by existing profiles and were not deleted:
repo_workflow_access_level
trivy_action_enabled
We should also show which profiles are referencing those ruletypes, for example:
The following rule type(s) are referenced by existing profiles and were not deleted:
repo_workflow_access_level
trivy_action_enabled
They are referenced by profiles:
custom-profile
dependency-security
Metadata
Assignees
Labels
No labels