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

[Detection Engine][FTR] Audit DE exceptions tests #179706

Merged
merged 8 commits into from
Apr 2, 2024

Conversation

yctercero
Copy link
Contributor

@yctercero yctercero commented Mar 29, 2024

Summary

Continues work on #169185 and #151877 . There wasn't a ton of folder restructure, just switching the tests to run on basic license/essentials tier and some test renaming for clarity sake.

Related to #151877 this PR:

  • Moves FTR tests under the /exceptions folder that do not require Platinum license into the basics folder. Tests in /exceptions/trial_license_complete_tier folder should now relate to functionality that requires the higher license tier. As of now, there are none testing higher tier as none of the exceptions functionality requires it today.
  • Rearranged some of the folder structure so that it was clear what the intent of the tests is
    Makes note of any issues in tickets that we will need to follow up on

Related to #169185 this PR:

  • Ensures that tests are properly tagged for ESS & serverless
  • Ensures none of the tests that are critical contain the @skipInQA tag

Things to follow up on

Flakey test runner 🟢 - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5585

@yctercero yctercero requested review from a team as code owners March 29, 2024 18:10
@yctercero yctercero requested a review from e40pud March 29, 2024 18:10
@@ -90,7 +90,9 @@ FORMATTED_KB_URL="${KB_URL/https:\/\//}"
# This is used in order to wait for the environment to be ready.
sleep 150

TEST_CLOUD=1 TEST_ES_URL="https://elastic:$PASSWORD@$FORMATTED_ES_URL:443" TEST_KIBANA_URL="https://elastic:$PASSWORD@$FORMATTED_KB_URL:443" yarn run $1
echo "uername: $USERNAME"
Copy link
Member

Choose a reason for hiding this comment

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

Was this intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey, I'm sorry, I meant to open as draft and then I got pulled into something else. I'll clean up right now.

@yctercero yctercero added release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area v8.14.0 labels Mar 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)


// TODO: When available this tag should be @skipInServerless
// This use case is not relevant to serverless.
describe('@brokenInServerless legacy investigation_fields', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to create_rule_exceptions_ess as it's not relevant to serverless.

@@ -1,984 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Appears deleted, but just broke this file up into prebuilt_rules.ts and rule_exceptions_execution.ts and removed some tests that were redundant.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

cc @yctercero

Copy link
Contributor

@dhurley14 dhurley14 left a comment

Choose a reason for hiding this comment

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

Looks great! 👍

@yctercero yctercero merged commit 9215efb into elastic:main Apr 2, 2024
16 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants