When deleting an agent policy, only delete integration policies if no other agent policies use it #182222
Labels
QA:Needs Validation
Issue needs to be validated by QA
Team:Fleet
Team label for Observability Data Collection Fleet team
Part of the reusable integration policies work.
Currently agent policy - integration policy is in 1:1 relationship, and when an agent policy is deleted, we delete all integration policies that referenced the agent policy.
With making the integration policies reusable, deleting an agent policy would have the effect of deleting the shared integration policy.
This will probably change again when #182220 is completed, so integration policies don't have to be deleted at all on deleting agent policies.
The text was updated successfully, but these errors were encountered: