Skip to content

[7.x] [Security Solution][Endpoint] User Manifest Cleanup + Artifact Compression (#70759)#71246

Merged
madirey merged 1 commit intoelastic:7.xfrom
madirey:backport/7.x/pr-70759
Jul 9, 2020
Merged

[7.x] [Security Solution][Endpoint] User Manifest Cleanup + Artifact Compression (#70759)#71246
madirey merged 1 commit intoelastic:7.xfrom
madirey:backport/7.x/pr-70759

Conversation

@madirey
Copy link
Copy Markdown
Contributor

@madirey madirey commented Jul 9, 2020

Backports the following commits to 7.x:

…ssion (elastic#70759)

* Stateless exception list translation with improved runtime checks

* use flatMap and reduce to simplify logic

* Update to new manifest format

* Fix test fixture SO data type

* Fix another test fixture data type

* Fix sha256 reference in artifact_client

* Refactor to remove usages of 'then' and tidy up a bit

* Zlib compression

* prefer byteLength to length

* Make ingestManager optional for security-solution startup

* Fix download functionality

* Use eql for deep equality check

* Fix base64 download bug

* Add test for artifact download

* Add more tests to ensure cached versions of artifacts are correct

* Convert to new format

* Deflate

* missed some refs

* partial fix to wrapper format

* update fixtures and integration test

* Fixing unit tests

* small bug fixes

* artifact and manifest versioning changes

* Remove access tag from download endpoint

* Adding decompression to integration test

* Removing tag from route

* add try/catch in ingest callback handler

* Fixing

* Removing last expect from unit test for tag

* type fixes

* Add compression type to manifest

* Reverting ingestManager back to being required for now

Co-authored-by: Alex Kahan <alexander.kahan@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@madirey madirey added the backport This PR is a backport of another PR label Jul 9, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@madirey madirey merged commit 1a69965 into elastic:7.x Jul 9, 2020
@madirey madirey deleted the backport/7.x/pr-70759 branch July 9, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants