-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Exploratory testing of prebuilt rule customization workflows #180398
Comments
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
prebuiltRulesCustomizationEnabled
feature flag turned onprebuiltRulesCustomizationEnabled
feature flag turned on (DRAFT)
prebuiltRulesCustomizationEnabled
feature flag turned on (DRAFT)
@MadameSheema please reassign to someone from QA Source when you know who could help us with this. |
Prebuilt Rule Customization Test Plan
2.2 Out-of-Scope
|
@pborgonovi Great work, and thank you for this initiative. The plan for exploratory testing looks good so far 👍 A few suggestions:
|
Thank you so much for the feedback @banderror I'll be working on it. |
Exploratory testing findings206132 | Impact Medium | Rule Updates Table | Incorrect filtering behavior when combining ‘Modifications’ and ‘Tags’ filters in Rule Updates table |
Hey @pborgonovi, would you mind to please add a "Status" column to the table in the plan? I'd like to understand the status of each testing area: todo / in progress / done, what has been done so far, what's left to do, etc. If that makes sense. Please also consider re-assessing and updating the risk level for each area. We have been progressing towards the release and have fixed a lot of bugs, so probably some of these areas are less risky now than they were a couple months ago, because:
We've been continuously reassessing risk levels for each Milestone 3 area in the current checklist. |
Hey @banderror I've made the updates accordingly. Exploratory testing progress as of now Jan 27th, 2024:
|
1st BC is scheduled for tomorrow Jan, 31st and I’ll begin testing the License functionality. Here is a high-level view of the test coverage based on the defined requirements.
|
@xcrzx @approksiu Does the above make sense to you? |
@pborgonovi @banderror the plan looks good to me. Thank you! |
@pborgonovi The plan looks good, just a couple of comments to make sure we are on the same page.
For the insufficient license case, on the rule editing page, users can modify actions only. The Actions tab remains accessible, while other tabs are locked. We do not restrict the rule editing page field-by-field.
Enable, disable, delete, add rule actions, duplicate, and manual run bulk actions should be allowed. All other bulk actions are not allowed.
We don’t have a separate downgrade scenario in the code. Rule actions can still be edited after a downgrade, and all bulk actions allowed with a lower license should continue to work. The only difference is that a previously customized rule should remain marked as customized even after applying any action. The customization status should only reset upon upgrading the rule to Elastic's version. Also, not sure what "UI notification appears" means in this context. Could you clarify?
Non-customized prebuilt rules also cannot be exported or imported on basic license. Import/export functionality depends on whether a rule is prebuilt or custom, not on its customization status. |
Thank you for collaboration @xcrzx
The UI notification in this case refers to the message displayed when a user lacks the necessary privileges to modify a prebuilt rule after downgrading to a non-eligible tier/license. For example, if the user hovers over a disabled edit button, a tooltip should appear explaining that rule customization requires an Enterprise license (for ECH) or a Security Complete subscription (for Serverless). |
@xcrzx This will change very soon with https://github.com/elastic/security-team/issues/11502, right? |
I don’t think we have this scenario. The Edit button should always be enabled, even when users lack the required license. |
That's right, we’re planning to change this behavior soonish (before the release). |
Exploratory Test Plan – Final Changes ValidationFocused on validating the final changes introduced before release to ensure stability, consistency, and expected behavior across core workflows. This includes exploring critical functionalities, verifying UI adjustments, and confirming that rule-related workflows (installation, customization, updates, and export/import) remain intact.
|
@pborgonovi Maybe it was assumed, but let's add these items to the plan explicitly:
Also, these items should be updated:
Otherwise, great plan and thanks for posting it! |
@banderror Indeed, the changes related to ticket #210358 were missing. Thanks for pointing that out! |
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
Summary
Do comprehensive exploratory testing of the app with the
prebuiltRulesCustomizationEnabled
feature flag turned on.Workflows to test that were directly affected by the prebuilt rule customization functionality:
Workflows to test for regressions:
Advanced testing:
prebuiltRulesCustomizationEnabled
feature flag after using the app with the flag enabled. Test that the app works without issues and errors, even there are some customized prebuilt rules that were created when the flag was turned on.The text was updated successfully, but these errors were encountered: