You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules/installation_and_upgrade.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -837,9 +837,9 @@ Then the merged output should be the current verison of <field>
837
837
And there should be no conflict
838
838
839
839
Examples:
840
-
| field |
841
-
| name |
842
-
| risk_score|
840
+
| field | base_version | current_version | target_version |
841
+
| name | "A" | "A" | "A" |
842
+
| risk_score | 1 | 1 | 1 |
843
843
```
844
844
845
845
#### **Scenario: Rule field doesn't have an update but has a custom value**
@@ -856,9 +856,9 @@ Then the merged output should be the current verison of <field>
856
856
And there should be no conflict
857
857
858
858
Examples:
859
-
| field |
860
-
| name |
861
-
| risk_score|
859
+
| field | base_version | current_version | target_version |
860
+
| name | "A" | "B" | "A" |
861
+
| risk_score | 1 | 2 | 1 |
862
862
```
863
863
864
864
#### **Scenario: Rule field has an update and doesn't have a custom value**
@@ -875,9 +875,9 @@ Then the merged output should be the target verison of <field>
875
875
And there should be no conflict
876
876
877
877
Examples:
878
-
| field |
879
-
| name |
880
-
| risk_score|
878
+
| field | base_version | current_version | target_version |
879
+
| name | "A" | "A" | "B" |
880
+
| risk_score | 1 | 1 | 2 |
881
881
```
882
882
883
883
#### **Scenario: Rule field has an update and a custom value that are the same**
@@ -897,9 +897,9 @@ And there should be no conflict
897
897
CASE: should work the same if rule does not have an existing base version
898
898
899
899
Examples:
900
-
| field |
901
-
| name |
902
-
| risk_score|
900
+
| field | base_version | current_version | target_version |
901
+
| name | "A" | "B" | "B" |
902
+
| risk_score | 1 | 2 | 2 |
903
903
```
904
904
905
905
#### **Scenario: Rule field has an update and a custom value that are NOT the same**
@@ -919,9 +919,9 @@ And there should be a conflict
919
919
CASE: should return target version if rule does not have an existing base version
920
920
921
921
Examples:
922
-
| field |
923
-
| name |
924
-
| risk_score|
922
+
| field | base_version | current_version | target_version |
0 commit comments