[8.11] [EDR Workflows] Degrade agent version (#169217) (#169226)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[EDR Workflows] Degrade agent version
(#169217)](https://github.com/elastic/kibana/pull/169217)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"tomasz.ciecierski@elastic.co"},"sourceCommit":{"committedDate":"2023-10-18T11:52:24Z","message":"[EDR
Workflows] Degrade agent version
(#169217)","sha":"85d39d0a34d882b49e02777446b553d4d744e0b5","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":169217,"url":"https://github.com/elastic/kibana/pull/169217","mergeCommit":{"message":"[EDR
Workflows] Degrade agent version
(#169217)","sha":"85d39d0a34d882b49e02777446b553d4d744e0b5"}},"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/169217","number":169217,"mergeCommit":{"message":"[EDR
Workflows] Degrade agent version
(#169217)","sha":"85d39d0a34d882b49e02777446b553d4d744e0b5"}}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>
This commit is contained in:
Kibana Machine 2023-10-18 09:03:42 -04:00 committed by GitHub
parent 51b9ab361a
commit d7ff7c9407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,5 +6,6 @@
*/
export async function getLatestVersion(): Promise<string> {
return '8.11.0-SNAPSHOT';
// temporary solution until newer agents work fine with Docker
return '8.10.4';
}