[Fleet] [Enhancement] Confirmation message should be displayed for new policy creation while adding integration. #125644
Labels
enhancement
New value added to drive a business result
Team:Fleet
Team label for Observability Data Collection Fleet team
Describe the bug
Successful notification message should displayed for new policy creation while adding the integration.
Issue observed at:
When we trying to add an integration with a duplicate name to a newly created policy on add integration page, We get error notification message
There is already an integration policy with the same name: osquery_manager-1
. However a new policy gets created at the background about which user is unaware, So when user again attempts to save the changes with updated integration name it now throws error forpolicy already existing
. Therefore we would like to suggest to display a confirmation for policy creation for a better user experience at first attempt, clarifying how much action is covered.Build Details
Browser Details
This issue is occurring on all browsers.
Preconditions
Steps to Reproduce
Management
->Integrations
-Osquery Manager
Add Osquery Manager
button.New agent policy name
underNew hosts
tab.Save and continue
button.There is already an integration policy with the same name: osquery_manager-1
is displayed but policy created (above integration not added) with no success notification message.Actual Result
Expected Result
Success policy creation notification message should also be displayed with error notification message for better user experience.
What's Working
What's Not Working
Reference
Screen Recording
Agent.policies.-.Fleet.-.Elastic.-.created.mp4
The text was updated successfully, but these errors were encountered: