Skip to content

[7.x] [SIEM] Server NP Followup (#64010)#64100

Merged
rylnd merged 1 commit intoelastic:7.xfrom
rylnd:backport/7.x/pr-64010
Apr 21, 2020
Merged

[7.x] [SIEM] Server NP Followup (#64010)#64100
rylnd merged 1 commit intoelastic:7.xfrom
rylnd:backport/7.x/pr-64010

Conversation

@rylnd
Copy link
Contributor

@rylnd rylnd commented Apr 21, 2020

Backports the following commits to 7.x:

* Remove unused file

This was moved to a constant in common/constants.

* Remove unused types

Omit is now part of Typescript, and Pick3 is unused.

* Define and export SIEM's plugin contracts

They're empty for now.

* Import config type from config file

Instead of our plugin index, which could only cause circular
dependencies.

* SiemClient API uses getter function instead of direct property access

* Add public mock for SiemClient

* Fix typo in extract-mitre-attacks script

We were backgrounding the process (&) instead of ANDing it with the
linting. Whoops!

* Remove missed instance of old siemClient API

I missed this one when grepping, but typescript and CI saved me.

* Use our client mock in our test suite

This was causing some test failures as I forgot to update the client mock

* Update script following updates to the output's usage

This was changed in elastic#55883 but the
script was not updated accordingly.
@rylnd rylnd added backport This PR is a backport of another PR and removed backport This PR is a backport of another PR labels Apr 21, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky

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

@rylnd rylnd merged commit 7997f2c into elastic:7.x Apr 21, 2020
@rylnd rylnd deleted the backport/7.x/pr-64010 branch April 21, 2020 21:26
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.

2 participants