-
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] The endpoint goes to unhealthy state with warnings in the policy if we disable auto updates for the 'Protection updates' and select the current date #170847
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
Reviewed and assigned to @kevinlog |
…#170932) #170847 With this PR latest selectable date is set to yesterday. Changes: 1. Datepicker start date is set to `today - 1 day` 2. Api adjusted to accept dates starting at `today - 1 day` 3. Tests aligned. https://github.com/elastic/kibana/assets/29123534/ae2e8ac8-9d35-4cee-a47b-af39fa13485a
…elastic#170932) elastic#170847 With this PR latest selectable date is set to yesterday. Changes: 1. Datepicker start date is set to `today - 1 day` 2. Api adjusted to accept dates starting at `today - 1 day` 3. Tests aligned. https://github.com/elastic/kibana/assets/29123534/ae2e8ac8-9d35-4cee-a47b-af39fa13485a (cherry picked from commit 682600f)
…sterday (#170932) (#171051) # Backport This will backport the following commits from `main` to `8.11`: - [[EDR Workflows] Protection updates latest date is capped at yesterday (#170932)](#170932) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Konrad Szwarc","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-11-10T18:56:42Z","message":"[EDR Workflows] Protection updates latest date is capped at yesterday (#170932)\n\nhttps://github.com//issues/170847\r\n\r\nWith this PR latest selectable date is set to yesterday.\r\n\r\nChanges:\r\n1. Datepicker start date is set to `today - 1 day`\r\n2. Api adjusted to accept dates starting at `today - 1 day`\r\n3. Tests aligned.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/29123534/ae2e8ac8-9d35-4cee-a47b-af39fa13485a","sha":"682600f01c5d7f7f7be5846e6f3906583544bfeb","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend Workflows","v8.11.0","v8.12.0"],"number":170932,"url":"https://github.com/elastic/kibana/pull/170932","mergeCommit":{"message":"[EDR Workflows] Protection updates latest date is capped at yesterday (#170932)\n\nhttps://github.com//issues/170847\r\n\r\nWith this PR latest selectable date is set to yesterday.\r\n\r\nChanges:\r\n1. Datepicker start date is set to `today - 1 day`\r\n2. Api adjusted to accept dates starting at `today - 1 day`\r\n3. Tests aligned.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/29123534/ae2e8ac8-9d35-4cee-a47b-af39fa13485a","sha":"682600f01c5d7f7f7be5846e6f3906583544bfeb"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170932","number":170932,"mergeCommit":{"message":"[EDR Workflows] Protection updates latest date is capped at yesterday (#170932)\n\nhttps://github.com//issues/170847\r\n\r\nWith this PR latest selectable date is set to yesterday.\r\n\r\nChanges:\r\n1. Datepicker start date is set to `today - 1 day`\r\n2. Api adjusted to accept dates starting at `today - 1 day`\r\n3. Tests aligned.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/29123534/ae2e8ac8-9d35-4cee-a47b-af39fa13485a","sha":"682600f01c5d7f7f7be5846e6f3906583544bfeb"}}]}] BACKPORT--> Co-authored-by: Konrad Szwarc <[email protected]>
Merged to |
@szwarckonrad unfortunately for this, it wasn't picked up by the We will have to mark this one for |
Added 8.11.2 label, CC @manishgupta-qasource |
Hi @szwarckonrad , @kevinlog We have validated this ticket on the latest 8.11.2 BC1 build and found the issue is NOT FIXED. ❌ Please find below the testing details Build Details: VERSION: 8.11.2 Screen Cast: Endpoints.-.Kibana.Mozilla.Firefox.2023-12-06.15-18-12.mp4Please let us know if anything else is required from our end. Thanks! |
hi, @sukhwindersingh-qasource do you have agent diagnostics maybe? |
After discussion with the team, we realized that the reason this is happening is that we haven't published the artifacts for the To verify this bug, can you test it again, but use either an After cc @jeska |
Hi @kevinlog , We have validated this ticket on the latest 8.11.2 BC1 build using Please find below the testing details Build Details: VERSION: 8.11.2 Screen Cast: Endpoints.-.Kibana.Mozilla.Firefox.2023-12-07.16-45-09.mp4Selecting October date : Policies.-.Kibana.Mozilla.Firefox.2023-12-07.16-46-24.mp4Please do let us know if anything else is required. Thanks!! |
@sukhwindersingh-qasource thanks for the update. This would be expected since when a user upgrades an Endpoint, there would be newer artifacts that they would need to download. As part of an upgrade process, users would also need to update the artifacts to a later date. Users who use this feature would not upgrade their Agents or their artifacts during a critical period, so it's OK that if they upgrade their Agents, they would also need to pick a later date |
Hi @kevinlog thanks for confirming this behavior as the expected so we will be adding note of same in our test-content. |
Bug Conversion
Thanks! |
Description:
The endpoint goes to unhealthy state with warnings in the policy if we disable auto updates for the 'Protection updates'
Build Details:
Browser Details:
All
OS
Preconditions:
Steps to Reproduce:
Actual Result:
The endpoint goes to unhealthy state with warnings in the policy if we disable auto updates for the 'Protection updates'
Expected Result:
The endpoint should be healthy all the time if we disable auto updates for the 'Protection updates'
Screenshots:
Logs
elastic-agent-diagnostics-2023-11-08T05-05-08Z-00.zip
ip-172-31-75-64-agent-details.json
NOTE:
It only occurs when the date is the current date i.e. today's date.
The text was updated successfully, but these errors were encountered: