[Fleet] Add ability to force install while creating agent policy #137450
Labels
Feature:Fleet
Fleet team's agent central management project
Team:Fleet
Team label for Observability Data Collection Fleet team
Since the addition of package verification in 8.4 (#133822), an unverified package can only be installed if the force flag is supplied.
When creating an agent policy, we install the agent integration if it isnt alread, and if sys_monitoring is enabled then we also install the system integration. Currently, there is no way to force install these integrations during agent policy creation so the agent policy will always fail.
The workaround is to force install the packages before creating the agent policy. This is interfering with our API integration tests as all regustry packages are unverified, e.g I have had to skip this test.
The text was updated successfully, but these errors were encountered: