@@ -27,7 +27,8 @@ module WipeCluster
27
27
'watch-history-ilm-policy-16' , 'ml-size-based-ilm-policy' , 'logs' , 'metrics' , 'synthetics' ,
28
28
'7-days-default' , '30-days-default' , '90-days-default' , '180-days-default' ,
29
29
'365-days-default' , '.fleet-actions-results-ilm-policy' , '.fleet-file-data-ilm-policy' ,
30
- '.fleet-files-ilm-policy' , '.deprecation-indexing-ilm-policy' , '.monitoring-8-ilm-policy'
30
+ '.fleet-files-ilm-policy' , '.deprecation-indexing-ilm-policy' , '.monitoring-8-ilm-policy' ,
31
+ 'behavioral_analytics-events-default_policy'
31
32
] . freeze
32
33
33
34
PLATINUM_TEMPLATES = [
@@ -250,7 +251,11 @@ def wipe_all_templates(client)
250
251
end
251
252
252
253
def platinum_template? ( template )
253
- platinum_prefixes = [ '.monitoring' , '.watch' , '.triggered-watches' , '.data-frame' , '.ml-' , '.transform' , '.deprecation' , 'data-streams-mappings' , '.fleet' ] . freeze
254
+ platinum_prefixes = [
255
+ '.monitoring' , '.watch' , '.triggered-watches' , '.data-frame' , '.ml-' ,
256
+ '.transform' , '.deprecation' , 'data-streams-mappings' , '.fleet' ,
257
+ 'behavioral_analytics-'
258
+ ] . freeze
254
259
return true if template . start_with? ( *platinum_prefixes )
255
260
256
261
PLATINUM_TEMPLATES . include? template
0 commit comments