Skip to content

Threat match tests for term query#152071

Merged
nkhristinin merged 3 commits intoelastic:mainfrom
nkhristinin:im-term-query-tests
Mar 1, 2023
Merged

Threat match tests for term query#152071
nkhristinin merged 3 commits intoelastic:mainfrom
nkhristinin:im-term-query-tests

Conversation

@nkhristinin
Copy link
Copy Markdown
Contributor

Added several tests for terms query rules, which tests that match and term query rules are the same.

@nkhristinin nkhristinin added release_note:skip Skip the PR/issue when compiling release notes Team:Security Solution Platform labels Feb 24, 2023
@nkhristinin nkhristinin requested a review from a team as a code owner February 24, 2023 09:53
@nkhristinin
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

*/
describe('Threat match type rules', () => {
before(async () => {
// await deleteSignalsIndex(supertest, log);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can we delete these?

Copy link
Copy Markdown
Contributor

@yctercero yctercero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I may have missed it, but is there a test that includes an exceptions list?

@nkhristinin nkhristinin merged commit b956d91 into elastic:main Mar 1, 2023
@kibanamachine kibanamachine added v8.8.0 backport:skip This PR does not require backporting labels Mar 1, 2023
@nkhristinin
Copy link
Copy Markdown
Contributor Author

LGTM!

I may have missed it, but is there a test that includes an exceptions list?

Yes, you right, I created issue for that

bmorelli25 pushed a commit to bmorelli25/kibana that referenced this pull request Mar 10, 2023
Added several tests for terms query rules, which tests that match and
term query rules are the same.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@rylnd
Copy link
Copy Markdown
Contributor

rylnd commented May 17, 2023

For posterity: these tests cover the changes introduced in #144511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants