-
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] Removes 'none' compression as it not used anymore #102767
[Security solution][Endpoint] Removes 'none' compression as it not used anymore #102767
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
@dasansol92 thanks for the fix! I have a question. Will this affect existing Policies/Endpoints? Do we need to migrate any existing Policies to ensure that the artifacts can be downloaded appropriately? |
I don't think so, I just removed some code I added here. These changes were during the artifact creation, but the result still the same |
…ct is created befor the compression
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / general / Firefox UI Functional Tests.test/functional/apps/discover/_field_data_with_fields_api·ts.discover app discover tab with new fields API field data the search term should be highlighted in the field dataStandard Out
Stack Trace
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
@@ -380,7 +380,6 @@ export class ManifestManager { | |||
for (const result of results) { | |||
await iterateArtifactsBuildResult(result, async (artifact, policyId) => { | |||
const artifactToAdd = baselineManifest.getArtifact(getArtifactId(artifact)) || artifact; | |||
artifactToAdd.compressionAlgorithm = 'none'; |
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! 🙏
…ed anymore (elastic#102767) * Removes 'none' compression as it not used anymore * Revert type because none type is needed for the first time the artifact is created befor the compression
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Summary
A wrong
compressionAlgorithm=none
was set to the artifact during its generation. It cases errors on agents when trying to download it and uncompress it as artifacts had zip compression.For maintainers