Unexpected "False Positive" Checkbox Selection When Editing Tagging Rules
Acknowledgements
- [x] I have searched (https://github.com/utmstack/UTMStack/issues) for past instances of this issue
- [x] I have verified that my UTMStack version is up-to-date
Describe the bug
When attempting to edit an existing tagging rule within the UTMStack interface by clicking on the pencil icon associated with the rule, an unexpected behavior occurs. The checkbox for the "False Positive" option is selected by default, even if the rule did not originally have this setting enabled.
Regression Issue
- [ ] Select this option if this issue appears to be a regression.
Expected Behavior
The "False Positive" checkbox should reflect the state of the rule before editing. If the rule was not configured as a "False Positive," the checkbox should not be selected when the edit window opens.
Current Behavior
The "False Positive" checkbox is selected, regardless of its state before initiating the edit.
Reproduction Steps
- Access the tagging rules management interface in UTMStack.
- Locate an existing tagging rule.
- Click on the pencil icon associated with this rule to enter edit mode.
- Observe the state of the "False Positive" checkbox.
Possible Solution
No response
Additional Information/Context
This behavior could lead to unintentional modifications of tagging rules. Specifically, if a user edits a rule that is not a false positive and does not notice that the "False Positive" checkbox has been automatically selected, confirming the changes will inadvertently alter the rule's behavior. This could significantly impact the accuracy of the data collected and analyzed by UTMStack, potentially leading to incorrect classifications and analyses.
UTMStack Version
10.7.3
Operating System and version
Ubuntu Server LTS 24.04.2
Hypervisor and Version | Server Vendor and Model
Microsoft Hypev-V
Browser and version
google-chrome-stable-135.0.7049.95-1.x86_64