-
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
[Cloud Security] add agentless ux creation flow #189932
[Cloud Security] add agentless ux creation flow #189932
Conversation
Pinging @elastic/fleet (Team:Fleet) |
…eye/kibana into agentless-creation-flow-ux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fleet changes LGTM 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I like the separation of the agentless and agent-based components. One curiosity question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first, I was concerned with us having a form for agent-based and another for agentless, but I can see there are enough changes that having 1 component would make it significantly more complex.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this makes the separation of concerns more simple.
@@ -378,31 +378,18 @@ export function useOnSubmit({ | |||
|
|||
const hasGoogleCloudShell = data?.item ? getCloudShellUrlFromPackagePolicy(data.item) : false; | |||
|
|||
if (hasFleetAddAgentsPrivileges) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! This is great. I'm really curious why we don't need this anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! That's a good callout. @opauloh I saw in the git history you add the conditions for showing the template prompts. I removed the pop-up condition logic because I believe we are repeating the same logic below. SUBMITTED
is used to set status which indicates package policy has been successfully saved or the agent count exists. wdyt? Am I missing anything? cc: @seanrathier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your updated logic below to check for hasFleetAddAgentsPrivileges
has covered this piece of logic @Omolola-Akinleye, nice catch
@@ -378,31 +378,18 @@ export function useOnSubmit({ | |||
|
|||
const hasGoogleCloudShell = data?.item ? getCloudShellUrlFromPackagePolicy(data.item) : false; | |||
|
|||
if (hasFleetAddAgentsPrivileges) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your updated logic below to check for hasFleetAddAgentsPrivileges
has covered this piece of logic @Omolola-Akinleye, nice catch
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
## Summary This PR add UX updates to agentless creation flow which include the following: * Disabling Agent-based popups when newly created policy is Agentless * Adding Cloud Credentials Instructions * Minor UX adjustments such as adding Readme doc link on AWS credentials form and spacing between Azure Credentials form. <img width="985" alt="image" src="https://github.com/user-attachments/assets/47b8dcaa-b63d-478d-b12e-ab6ba1d075eb"> https://github.com/user-attachments/assets/48d3a49e-043d-48f6-ac0c-8e131d47e976 --------- Co-authored-by: Elastic Machine <[email protected]>
Summary
This PR add UX updates to agentless creation flow which include the following:
Screen.Recording.2024-08-05.at.7.08.16.PM.mov