Change default cert age limit value. (#65918)

* Change default cert age limit value.

* Refresh test snapshot.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Justin Kambic 2020-05-11 17:15:51 -04:00 committed by GitHub
parent 0c259102ed
commit 4506ca1dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -8,6 +8,6 @@ import { DynamicSettings } from '../runtime_types';
export const DYNAMIC_SETTINGS_DEFAULTS: DynamicSettings = {
heartbeatIndices: 'heartbeat-8*',
certAgeThreshold: 365,
certAgeThreshold: 730,
certExpirationThreshold: 30,
};

View file

@ -87,7 +87,7 @@ describe('status check alert', () => {
Object {
"callES": [MockFunction],
"dynamicSettings": Object {
"certAgeThreshold": 365,
"certAgeThreshold": 730,
"certExpirationThreshold": 30,
"heartbeatIndices": "heartbeat-8*",
},
@ -132,7 +132,7 @@ describe('status check alert', () => {
Object {
"callES": [MockFunction],
"dynamicSettings": Object {
"certAgeThreshold": 365,
"certAgeThreshold": 730,
"certExpirationThreshold": 30,
"heartbeatIndices": "heartbeat-8*",
},