-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Removes items_per_search
and concurrent_searches
from upgrade/_review
API endpoint logic
#190440
[Security Solution] Removes items_per_search
and concurrent_searches
from upgrade/_review
API endpoint logic
#190440
Conversation
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
…at-match-field-removal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dplumlee! I've taken a look. Left one comment.
@@ -207,8 +207,6 @@ const extractDiffableThreatMatchFieldsFromRuleObject = ( | |||
threat_index: rule.threat_index, | |||
threat_mapping: rule.threat_mapping, | |||
threat_indicator_path: rule.threat_indicator_path, | |||
concurrent_searches: rule.concurrent_searches, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it would be a good idea to add a comment explaining why these two fields are not included in the DiffableRule
object?
Otherwise maybe one day someone will notice that they are missing and add them back.
@dplumlee What about the changes in the |
@banderror: @jpdjere was going to do that in his upcoming |
…at-match-field-removal
I don't think it makes sense to introduce logic in the current shape of the The reason I don't think we need to include those changes in this PR is because this is an internal endpoint which we currently use only using a global pick_version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…at-match-field-removal
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @dplumlee |
Summary
Addresses #188061
Removes the threat match fields
items_per_search
andconcurrent_searches
from theDiffableRule
type we utilize in theupgrade/_review
endpoint logic. This omits these fields from the upgrade review workflow as we will never have incoming updates for the fields.For maintainers