-
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][ENDPOINT] Handle Host list/details policy links to non-existing policies #73208
[SECURITY_SOLUTION][ENDPOINT] Handle Host list/details policy links to non-existing policies #73208
Conversation
Pinging @elastic/endpoint-management (Team:Endpoint Management) |
Pinging @elastic/endpoint-app-team (Feature:Endpoint) |
hostResponse.hosts, | ||
nonExistingPolicies(state) | ||
) | ||
.then((missingPolicies) => { |
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.
FYI: I don't like that these then().catch()
blocks are repeated below. Will look to improve in the future (maybe by passing along the dispatch
method to the getNonexistingPoliciesForHostList()
as an argument.
@elasticmachine merge upstream |
Do you plan to backport this change? |
@nnamdifrankie yes - tagged 7.9 ++ 7.10 😬 |
💚 Build SucceededBuild metricsasync chunks size
History
To update your PR or re-run it, just comment with: |
…o non-existing policies (elastic#73208) * Make API call to check policies and save it to store * change policy list and details to not show policy as a link if it does not exist
…o non-existing policies (elastic#73208) * Make API call to check policies and save it to store * change policy list and details to not show policy as a link if it does not exist
Summary
Why:
When the Endpoint Policy is deleted, that action is immediate (Ingest Package Configuration is deleted), however the un-installing of the Endpoint (as a result of this delete action) may take a bit of time, during which it will continue to show up on the Endpoint Hosts list, and thus with invalid URLs to the Policy Details.
Checklist