-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution] Application not found error comes up while adding an agent through newly created security integration #120736
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
@manishgupta-qasource please review! |
Reviewed & assigned to @kevinlog |
@jen-huang @joshdover - I took a look at this. It seems like the way that we determine the return routes in this flow changed from I took a look at this area in the code: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx#L299 We use an The difference is this: Did anything change in this area of the app? FYI @paul-tavares - did anything change on our end? |
@kevinlog there was a change recently that added an app id for the security solution ui that's different from the one we had been using previously, https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/common/constants.ts#L20 . if you use this const instead of however state is passed to https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx#L299 , it should work. the reason you see securitySolution is because that's how navigateToApp fails with an arbitrary string that's not an actual app id. Another issue with the same root cause that fails in the same way: #120711 |
thanks @kqualters-elastic ! @paul-tavares I now have a PR for this: #120897 |
Closing as #120897 was merged. |
Hi @jen-huang
Build details: Screen Recording: Administration.-.Kibana.-.Google.Chrome.2022-02-25.12-58-26.mp4Hence marking this as QA:Validated. |
Description:
'Application not found' error comes up while adding an agent through newly created security integration
Build Details:
Browser Details:
All
Preconditions:
Steps to Reproduce:
Impacted Test case:
N/A
Actual Result:
'Application not found' error comes up while adding an agent through newly created security integration
Expected Result:
Users should be able to add a new host via the same button
What's working:
N/A
What's not working:
N/A
Screen Recording:
Add.Agent.mp4
Logs:
N/A
The text was updated successfully, but these errors were encountered: