Skip to content

Commit 9861fd2

Browse files
authored
Security quality gate unmapped FTR tests - Periodic Pipeline (#260791)
There are a bunch of FTR API test files that currently aren't mapped to the periodic pipelines and therefore aren't being executed. This PR addresses that gap.
1 parent 6e9bdb4 commit 9861fd2

9 files changed

Lines changed: 489 additions & 93 deletions

File tree

.buildkite/pipelines/security_solution_quality_gate/mki_periodic/mki_periodic_defend_workflows.yml

Lines changed: 138 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -38,65 +38,90 @@ steps:
3838
- group: "API MKI - Defend Workflows"
3939
key: api_test_defend_workflows
4040
steps:
41-
# - label: "API MKI - edr_workflows:artifacts:qa:serverless"
42-
# command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:artifacts:qa:serverless
43-
# key: edr_workflows:artifacts:qa:serverless
44-
# agents:
45-
# image: family/kibana-ubuntu-2404
46-
# imageProject: elastic-images-prod
47-
# provider: gcp
48-
# enableNestedVirtualization: true
49-
# machineType: n2-standard-4
50-
# timeout_in_minutes: 120
51-
# retry:
52-
# automatic:
53-
# - exit_status: "1"
54-
# limit: 1
55-
#
56-
# - label: "API MKI - edr_workflows:authentication:qa:serverless"
57-
# command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:authentication:qa:serverless
58-
# key: edr_workflows:authentication:qa:serverless
59-
# agents:
60-
# image: family/kibana-ubuntu-2404
61-
# imageProject: elastic-images-prod
62-
# provider: gcp
63-
# enableNestedVirtualization: true
64-
# machineType: n2-standard-4
65-
# timeout_in_minutes: 120
66-
# retry:
67-
# automatic:
68-
# - exit_status: "1"
69-
# limit: 1
70-
#
71-
# - label: "API MKI - edr_workflows:metadata:qa:serverless"
72-
# command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:metadata:qa:serverless
73-
# key: edr_workflows:metadata:qa:serverless
74-
# agents:
75-
# image: family/kibana-ubuntu-2404
76-
# imageProject: elastic-images-prod
77-
# provider: gcp
78-
# enableNestedVirtualization: true
79-
# machineType: n2-standard-4
80-
# timeout_in_minutes: 120
81-
# retry:
82-
# automatic:
83-
# - exit_status: "1"
84-
# limit: 1
85-
#
86-
# - label: "API MKI - edr_workflows:package:qa:serverless"
87-
# command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:package:qa:serverless
88-
# key: edr_workflows:package:qa:serverless
89-
# agents:
90-
# image: family/kibana-ubuntu-2404
91-
# imageProject: elastic-images-prod
92-
# provider: gcp
93-
# enableNestedVirtualization: true
94-
# machineType: n2-standard-4
95-
# timeout_in_minutes: 120
96-
# retry:
97-
# automatic:
98-
# - exit_status: "1"
99-
# limit: 1
41+
- label: "API MKI - edr_workflows:artifacts:qa:serverless"
42+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:artifacts:qa:serverless
43+
key: edr_workflows:artifacts:qa:serverless
44+
agents:
45+
image: family/kibana-ubuntu-2404
46+
imageProject: elastic-images-prod
47+
provider: gcp
48+
enableNestedVirtualization: true
49+
machineType: n2-standard-4
50+
timeout_in_minutes: 120
51+
retry:
52+
automatic:
53+
- exit_status: "1"
54+
limit: 2
55+
soft_fail:
56+
- exit_status: 101
57+
58+
- label: "API MKI - edr_workflows:authentication:qa:serverless"
59+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:authentication:qa:serverless
60+
key: edr_workflows:authentication:qa:serverless
61+
agents:
62+
image: family/kibana-ubuntu-2404
63+
imageProject: elastic-images-prod
64+
provider: gcp
65+
enableNestedVirtualization: true
66+
machineType: n2-standard-4
67+
timeout_in_minutes: 120
68+
retry:
69+
automatic:
70+
- exit_status: "1"
71+
limit: 2
72+
soft_fail:
73+
- exit_status: 101
74+
75+
- label: "API MKI - edr_workflows:metadata:qa:serverless"
76+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:metadata:qa:serverless
77+
key: edr_workflows:metadata:qa:serverless
78+
agents:
79+
image: family/kibana-ubuntu-2404
80+
imageProject: elastic-images-prod
81+
provider: gcp
82+
enableNestedVirtualization: true
83+
machineType: n2-standard-4
84+
timeout_in_minutes: 120
85+
retry:
86+
automatic:
87+
- exit_status: "1"
88+
limit: 2
89+
soft_fail:
90+
- exit_status: 101
91+
92+
- label: "API MKI - edr_workflows:package:qa:serverless"
93+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:package:qa:serverless
94+
key: edr_workflows:package:qa:serverless
95+
agents:
96+
image: family/kibana-ubuntu-2404
97+
imageProject: elastic-images-prod
98+
provider: gcp
99+
enableNestedVirtualization: true
100+
machineType: n2-standard-4
101+
timeout_in_minutes: 120
102+
retry:
103+
automatic:
104+
- exit_status: "1"
105+
limit: 2
106+
soft_fail:
107+
- exit_status: 101
108+
109+
- label: "API MKI - edr_workflows:policy:qa:serverless"
110+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:policy:qa:serverless
111+
key: edr_workflows:policy:qa:serverless
112+
agents:
113+
image: family/kibana-ubuntu-2404
114+
imageProject: elastic-images-prod
115+
provider: gcp
116+
enableNestedVirtualization: true
117+
machineType: n2-standard-4
118+
timeout_in_minutes: 120
119+
retry:
120+
automatic:
121+
- exit_status: "1"
122+
limit: 2
123+
soft_fail:
124+
- exit_status: 101
100125

101126
- label: "API MKI - edr_workflows:policy_response:qa:serverless"
102127
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:policy_response:qa:serverless
@@ -111,7 +136,7 @@ steps:
111136
retry:
112137
automatic:
113138
- exit_status: "1"
114-
limit: 1
139+
limit: 2
115140
soft_fail:
116141
- exit_status: 101
117142

@@ -128,7 +153,7 @@ steps:
128153
retry:
129154
automatic:
130155
- exit_status: "1"
131-
limit: 1
156+
limit: 2
132157
soft_fail:
133158
- exit_status: 101
134159

@@ -145,6 +170,57 @@ steps:
145170
retry:
146171
automatic:
147172
- exit_status: "1"
148-
limit: 1
173+
limit: 2
174+
soft_fail:
175+
- exit_status: 101
176+
177+
- label: "API MKI - edr_workflows:role_migrations:qa:serverless"
178+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:role_migrations:qa:serverless
179+
key: edr_workflows:role_migrations:qa:serverless
180+
agents:
181+
image: family/kibana-ubuntu-2404
182+
imageProject: elastic-images-prod
183+
provider: gcp
184+
enableNestedVirtualization: true
185+
machineType: n2-standard-4
186+
timeout_in_minutes: 120
187+
retry:
188+
automatic:
189+
- exit_status: "1"
190+
limit: 2
191+
soft_fail:
192+
- exit_status: 101
193+
194+
- label: "API MKI - edr_workflows:scripts_library:qa:serverless"
195+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:scripts_library:qa:serverless
196+
key: edr_workflows:scripts_library:qa:serverless
197+
agents:
198+
image: family/kibana-ubuntu-2404
199+
imageProject: elastic-images-prod
200+
provider: gcp
201+
enableNestedVirtualization: true
202+
machineType: n2-standard-4
203+
timeout_in_minutes: 120
204+
retry:
205+
automatic:
206+
- exit_status: "1"
207+
limit: 2
208+
soft_fail:
209+
- exit_status: 101
210+
211+
- label: "API MKI - edr_workflows:spaces:qa:serverless"
212+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh edr_workflows:spaces:qa:serverless
213+
key: edr_workflows:spaces:qa:serverless
214+
agents:
215+
image: family/kibana-ubuntu-2404
216+
imageProject: elastic-images-prod
217+
provider: gcp
218+
enableNestedVirtualization: true
219+
machineType: n2-standard-4
220+
timeout_in_minutes: 120
221+
retry:
222+
automatic:
223+
- exit_status: "1"
224+
limit: 2
149225
soft_fail:
150226
- exit_status: 101

.buildkite/pipelines/security_solution_quality_gate/mki_periodic/mki_periodic_detection_engine.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,3 +596,53 @@ steps:
596596
limit: 2
597597
soft_fail:
598598
- exit_status: 101
599+
600+
- label: 'API MKI - rule_gaps:qa:serverless'
601+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh rule_gaps:qa:serverless
602+
key: rule_gaps:qa:serverless
603+
agents:
604+
image: family/kibana-ubuntu-2404
605+
imageProject: elastic-images-prod
606+
provider: gcp
607+
machineType: n2-standard-4
608+
timeout_in_minutes: 120
609+
retry:
610+
automatic:
611+
- exit_status: '1'
612+
limit: 2
613+
soft_fail:
614+
- exit_status: 101
615+
616+
617+
- label: 'API MKI - rule_preview:qa:serverless'
618+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh rule_preview:qa:serverless
619+
key: rule_preview:qa:serverless
620+
agents:
621+
image: family/kibana-ubuntu-2404
622+
imageProject: elastic-images-prod
623+
provider: gcp
624+
machineType: n2-standard-4
625+
timeout_in_minutes: 120
626+
retry:
627+
automatic:
628+
- exit_status: '1'
629+
limit: 2
630+
soft_fail:
631+
- exit_status: 101
632+
633+
634+
- label: 'API MKI - unified_alerts:essentials:qa:serverless'
635+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh unified_alerts:essentials:qa:serverless
636+
key: unified_alerts:essentials:qa:serverless
637+
agents:
638+
image: family/kibana-ubuntu-2404
639+
imageProject: elastic-images-prod
640+
provider: gcp
641+
machineType: n2-standard-4
642+
timeout_in_minutes: 120
643+
retry:
644+
automatic:
645+
- exit_status: '1'
646+
limit: 2
647+
soft_fail:
648+
- exit_status: 101

.buildkite/pipelines/security_solution_quality_gate/mki_periodic/mki_periodic_entity_analytics.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,70 @@ steps:
213213
soft_fail:
214214
- exit_status: 101
215215

216+
- label: 'API MKI - entity_analytics:entity_details:qa:serverless'
217+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh entity_analytics:entity_details:qa:serverless
218+
key: entity_analytics:entity_details:qa:serverless
219+
agents:
220+
image: family/kibana-ubuntu-2404
221+
imageProject: elastic-images-prod
222+
provider: gcp
223+
machineType: n2-standard-4
224+
timeout_in_minutes: 120
225+
retry:
226+
automatic:
227+
- exit_status: "1"
228+
limit: 2
229+
soft_fail:
230+
- exit_status: 101
231+
232+
- label: 'API MKI - entity_analytics:entity_store:qa:serverless'
233+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh entity_analytics:entity_store:qa:serverless
234+
key: entity_analytics:entity_store:qa:serverless
235+
agents:
236+
image: family/kibana-ubuntu-2404
237+
imageProject: elastic-images-prod
238+
provider: gcp
239+
machineType: n2-standard-4
240+
timeout_in_minutes: 120
241+
retry:
242+
automatic:
243+
- exit_status: "1"
244+
limit: 2
245+
soft_fail:
246+
- exit_status: 101
247+
248+
- label: 'API MKI - entity_analytics:monitoring:qa:serverless'
249+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh entity_analytics:monitoring:qa:serverless
250+
key: entity_analytics:monitoring:qa:serverless
251+
agents:
252+
image: family/kibana-ubuntu-2404
253+
imageProject: elastic-images-prod
254+
provider: gcp
255+
machineType: n2-standard-4
256+
timeout_in_minutes: 120
257+
retry:
258+
automatic:
259+
- exit_status: "1"
260+
limit: 2
261+
soft_fail:
262+
- exit_status: 101
263+
264+
- label: 'API MKI - entity_analytics:risk_score:qa:serverless'
265+
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh entity_analytics:risk_score:qa:serverless
266+
key: entity_analytics:risk_score:qa:serverless
267+
agents:
268+
image: family/kibana-ubuntu-2404
269+
imageProject: elastic-images-prod
270+
provider: gcp
271+
machineType: n2-standard-4
272+
timeout_in_minutes: 120
273+
retry:
274+
automatic:
275+
- exit_status: "1"
276+
limit: 2
277+
soft_fail:
278+
- exit_status: 101
279+
216280
- label: 'API MKI - explore:hosts:runner:qa:serverless'
217281
command: .buildkite/scripts/pipelines/security_solution_quality_gate/api_integration/api-integration-tests.sh explore:hosts:runner:qa:serverless
218282
key: explore:hosts:runner:qa:serverless

0 commit comments

Comments
 (0)