Skip to content

Commit

Permalink
update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpn committed May 4, 2023
1 parent 57b002b commit a4c9472
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ function addSecuritySolutionActionsFrequency(
function unmuteSecuritySolutionCustomRules(
doc: SavedObjectUnsanitizedDoc<RawRule>
): SavedObjectUnsanitizedDoc<RawRule> {
// only security custom rules were muted if there is no actions prior 8.8
// there is no reason to unmute prebuilt rules
// "doc.attributes.params.immutable" is set to "true" for prebuilt rules
if (!isDetectionEngineAADRuleType(doc) || doc.attributes.params.immutable) {
return doc;
Expand Down

0 comments on commit a4c9472

Please sign in to comment.