Skip to content

Commit

Permalink
Change default cert age limit value. (elastic#65918)
Browse files Browse the repository at this point in the history
* Change default cert age limit value.

* Refresh test snapshot.

Co-authored-by: Elastic Machine <[email protected]>
# Conflicts:
#	x-pack/plugins/uptime/common/constants/settings_defaults.ts
  • Loading branch information
justinkambic committed May 11, 2020
1 parent 19e83b9 commit 706f5d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import { DynamicSettings } from '../runtime_types';

export const DYNAMIC_SETTINGS_DEFAULTS: DynamicSettings = {
heartbeatIndices: 'heartbeat-7*',
certAgeThreshold: 365,
certAgeThreshold: 730,
certExpirationThreshold: 30,
};
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('status check alert', () => {
Object {
"callES": [MockFunction],
"dynamicSettings": Object {
"certAgeThreshold": 365,
"certAgeThreshold": 730,
"certExpirationThreshold": 30,
"heartbeatIndices": "heartbeat-7*",
},
Expand Down Expand Up @@ -132,7 +132,7 @@ describe('status check alert', () => {
Object {
"callES": [MockFunction],
"dynamicSettings": Object {
"certAgeThreshold": 365,
"certAgeThreshold": 730,
"certExpirationThreshold": 30,
"heartbeatIndices": "heartbeat-7*",
},
Expand Down

0 comments on commit 706f5d2

Please sign in to comment.