-
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
[Entity Analytics] Sort asset criticality by @timestamp
by default + unskip serverless tests
#200712
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
@@ -103,7 +103,7 @@ export default ({ getService }: FtrProviderContext): void => { | |||
); | |||
}); | |||
|
|||
it('@skipInServerlessMKI @skipInServerless starts the latest transform', async () => { | |||
it.only('@skipInServerlessMKI starts the latest transform', async () => { |
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.
This test doesn't fail in serverless for me, lets see what CI does, I think it was skipped in error.
...rity_solution/server/lib/entity_analytics/asset_criticality/asset_criticality_data_client.ts
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]
History
cc @hop-dev |
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.
🚢
Starting backport for target branches: 8.16, 8.18, 8.x |
…+ unskip serverless tests (elastic#200712) ## Summary Closes elastic#189067 These asset criticality tests were failing in serverless because it seems queries without a specified sort order behave differently in serverless vs ESS. I have made it so that asset criticality sorts by timestamp by default, this makes serverless the same as ESS. I have backported to 8.16 as I think the more tests that run, the better. (cherry picked from commit 4c29589)
…+ unskip serverless tests (elastic#200712) ## Summary Closes elastic#189067 These asset criticality tests were failing in serverless because it seems queries without a specified sort order behave differently in serverless vs ESS. I have made it so that asset criticality sorts by timestamp by default, this makes serverless the same as ESS. I have backported to 8.16 as I think the more tests that run, the better. (cherry picked from commit 4c29589)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
…x60; by default + unskip serverless tests (#200712) (#200992) # Backport This will backport the following commits from `main` to `8.x`: - [[Entity Analytics] Sort asset criticality by `@timestamp` by default + unskip serverless tests (#200712)](#200712) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Mark Hopkin","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-20T16:27:42Z","message":"[Entity Analytics] Sort asset criticality by `@timestamp` by default + unskip serverless tests (#200712)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/189067\n\nThese asset criticality tests were failing in serverless because it\nseems queries without a specified sort order behave differently in\nserverless vs ESS.\n\nI have made it so that asset criticality sorts by timestamp by default,\nthis makes serverless the same as ESS.\n\nI have backported to 8.16 as I think the more tests that run, the\nbetter.","sha":"4c295893ba8ead829c1f0ad01c9d46741420d66f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","Team:Entity Analytics","backport:version","v8.17.0","v8.16.1","v8.18.0"],"title":"[Entity Analytics] Sort asset criticality by `@timestamp` by default + unskip serverless tests","number":200712,"url":"https://github.com/elastic/kibana/pull/200712","mergeCommit":{"message":"[Entity Analytics] Sort asset criticality by `@timestamp` by default + unskip serverless tests (#200712)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/189067\n\nThese asset criticality tests were failing in serverless because it\nseems queries without a specified sort order behave differently in\nserverless vs ESS.\n\nI have made it so that asset criticality sorts by timestamp by default,\nthis makes serverless the same as ESS.\n\nI have backported to 8.16 as I think the more tests that run, the\nbetter.","sha":"4c295893ba8ead829c1f0ad01c9d46741420d66f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200712","number":200712,"mergeCommit":{"message":"[Entity Analytics] Sort asset criticality by `@timestamp` by default + unskip serverless tests (#200712)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/189067\n\nThese asset criticality tests were failing in serverless because it\nseems queries without a specified sort order behave differently in\nserverless vs ESS.\n\nI have made it so that asset criticality sorts by timestamp by default,\nthis makes serverless the same as ESS.\n\nI have backported to 8.16 as I think the more tests that run, the\nbetter.","sha":"4c295893ba8ead829c1f0ad01c9d46741420d66f"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Mark Hopkin <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…+ unskip serverless tests (elastic#200712) ## Summary Closes elastic#189067 These asset criticality tests were failing in serverless because it seems queries without a specified sort order behave differently in serverless vs ESS. I have made it so that asset criticality sorts by timestamp by default, this makes serverless the same as ESS. I have backported to 8.16 as I think the more tests that run, the better.
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…+ unskip serverless tests (elastic#200712) ## Summary Closes elastic#189067 These asset criticality tests were failing in serverless because it seems queries without a specified sort order behave differently in serverless vs ESS. I have made it so that asset criticality sorts by timestamp by default, this makes serverless the same as ESS. I have backported to 8.16 as I think the more tests that run, the better.
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…+ unskip serverless tests (elastic#200712) ## Summary Closes elastic#189067 These asset criticality tests were failing in serverless because it seems queries without a specified sort order behave differently in serverless vs ESS. I have made it so that asset criticality sorts by timestamp by default, this makes serverless the same as ESS. I have backported to 8.16 as I think the more tests that run, the better.
Summary
Closes #189067
These asset criticality tests were failing in serverless because it seems queries without a specified sort order behave differently in serverless vs ESS.
I have made it so that asset criticality sorts by timestamp by default, this makes serverless the same as ESS.
I have backported to 8.16 as I think the more tests that run, the better.