Skip to content
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] Enable API integration tests in Serverless: Detection Engine area #164445

Closed
Tracked by #153633
banderror opened this issue Aug 22, 2023 · 4 comments
Closed
Tracked by #153633
Labels
8.12 candidate Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. test test-coverage issues & PRs for improving code test coverage

Comments

@banderror
Copy link
Contributor

Epic: #153633
Depends on: #161537

Summary

We need to create a suite of FTR API integration tests that will run against Serverless environments.

We already have our existing API integration tests. We need to reuse them in x-pack/test_serverless/api_integration/test_suites/security where we can and makes sense. The ability to do so depends on #161537.

@banderror banderror added test test-coverage issues & PRs for improving code test coverage Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Engine Security Solution Detection Engine Area 8.11 candidate labels Aug 22, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@WafaaNasr
Copy link
Contributor

The tests associated with the detection engine were relocated to the new folder x-pack/test/security_solution_api_integration within three specific subfolders: detections_response, entity_analytics, and value_lists_and_exception_lists.

Within the detections_response folder, there exist two primary directories: default_license for running tests pertaining to the ESS trial license and Serverless complete license and basic_essentials_license to execute tests related to the ESS basic license and Serverless Essentials.

In contrast, the other two folders, entity_analytics and value_lists_and_exception_lists, only contain the default_license directory as tests for other licenses are unavailable in these folders.

Related PRs:

#168700
#169234
#170147
#170350
#170530
#170765
#171159
#171397
#171531
Moving out the list_apis tests #171992, and renaming the folder to value_lists as well as moving the rest of the basic/essentials license-related tests PR #172132

@yctercero
Copy link
Contributor

@WafaaNasr Amazing - thank you Wafaa so much for all your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.12 candidate Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. test test-coverage issues & PRs for improving code test coverage
Projects
None yet
Development

No branches or pull requests

4 participants