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

Only disallow bulk action w/community rules on Delete #535

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

coreyogburn
Copy link
Contributor

@coreyogburn coreyogburn commented Jun 4, 2024

When adding BulkDelete, a check for the involvement of community rules was added since you can't delete community rules. However the check will fail Bulk Enables/Disables too. This is causing Cypress tests to fail.

In the sigma sync process, we had an extra bit of logic to copy over all the overrides of existing community rules. This was removed as line 1044 accomplishes the task as well.

Added a coverage folder to the gitignore. Jest coverage reports shouldn't be checked in.

When adding BulkDelete, a check for the involvement of community rules was added since you can't delete community rules. However the check will fail Bulk Enables/Disables too. This is causing Cypress tests to fail.

In the sigma sync process, we had an extra bit of logic to copy over all the detections of existing community rules. This was removed as line 1044 accomplishes the task as well.

Added a coverage folder to the gitignore. Jest coverage reports shouldn't be checked in.
When not performing a delete, don't check for community status.
@coreyogburn coreyogburn merged commit 95dc1c4 into 2.4/dev Jun 4, 2024
3 checks passed
@coreyogburn coreyogburn deleted the cogburn/fix-build branch June 4, 2024 21:09
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants