Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uptime] Certificates page #64059

Merged
merged 58 commits into from
May 1, 2020
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
3cdf756
WIP
shahzad31 Apr 7, 2020
abdfd3d
Merge branch 'master' into certificate-page
shahzad31 Apr 7, 2020
7103860
Updated Code
shahzad31 Apr 8, 2020
c8c785b
WIP
shahzad31 Apr 9, 2020
aadfe22
Merge branch 'master' into certificate-page
shahzad31 Apr 13, 2020
f2983b3
update
shahzad31 Apr 13, 2020
9a85cf2
Merge branch 'master' into certificate-page
shahzad31 Apr 15, 2020
9d29367
update settings
shahzad31 Apr 15, 2020
853baa7
added cert form
shahzad31 Apr 15, 2020
6b438ae
update settings
shahzad31 Apr 15, 2020
9c9ada4
Merge branch 'master' into certificate-page
shahzad31 Apr 16, 2020
ab518f1
Merge branch 'master' into certificate-page
shahzad31 Apr 17, 2020
ec0ed82
cert column
shahzad31 Apr 17, 2020
6078c1c
Merge branch 'master' into certificate-page
shahzad31 Apr 20, 2020
95498df
add pagination
shahzad31 Apr 21, 2020
82c5f63
added in monitor list tls info
shahzad31 Apr 21, 2020
4660ac7
added in monitor list tls info
shahzad31 Apr 21, 2020
6c300ea
fixed types
shahzad31 Apr 22, 2020
cdecb48
fixed types
shahzad31 Apr 22, 2020
8c329b8
updated
shahzad31 Apr 22, 2020
3645e02
update
shahzad31 Apr 23, 2020
b5c789b
update types
shahzad31 Apr 23, 2020
b890f34
update types
shahzad31 Apr 23, 2020
9773832
fixed test
shahzad31 Apr 23, 2020
68c722c
update snap
shahzad31 Apr 23, 2020
a5b49e5
update test
shahzad31 Apr 23, 2020
1e0c4ae
update feedback
shahzad31 Apr 23, 2020
2bf99d1
update snap
shahzad31 Apr 23, 2020
40676d0
update snap
shahzad31 Apr 23, 2020
e5167e9
Merge branch 'master' into certificate-page
shahzad31 Apr 23, 2020
2ede60a
update snap
shahzad31 Apr 23, 2020
4bd50b0
Merge branch 'master' into certificate-page
shahzad31 Apr 24, 2020
bc6b2c6
fix types
shahzad31 Apr 24, 2020
c0e524f
revert
shahzad31 Apr 24, 2020
5c7f0d9
fix type
shahzad31 Apr 24, 2020
524bce3
update snaps
shahzad31 Apr 24, 2020
67d5971
update tets
shahzad31 Apr 24, 2020
9f73c2f
Merge branch 'master' into certificate-page
shahzad31 Apr 27, 2020
4f3eaa6
update PR
shahzad31 Apr 27, 2020
74fd71e
update PR
shahzad31 Apr 27, 2020
3acb211
Merge branch 'master' into certificate-page
shahzad31 Apr 27, 2020
6b4549d
update query
shahzad31 Apr 27, 2020
5b9df04
Merge branch 'master' into certificate-page
shahzad31 Apr 29, 2020
134df07
added sorting on issuer and common name
shahzad31 Apr 29, 2020
68fd60e
added sorting
shahzad31 Apr 29, 2020
a7245ae
Merge branch 'master' into certificate-page
shahzad31 Apr 29, 2020
7ac98c7
updated tests
shahzad31 Apr 29, 2020
9aab27b
fix type
shahzad31 Apr 29, 2020
8f43c47
update exist field
shahzad31 Apr 29, 2020
e40d236
update margins
shahzad31 Apr 29, 2020
eff36cf
Merge branch 'master' into certificate-page
shahzad31 Apr 29, 2020
04ec35b
update cols
shahzad31 Apr 29, 2020
18e7f1c
added age info
shahzad31 Apr 30, 2020
bba5e5e
Merge branch 'master' into certificate-page
shahzad31 Apr 30, 2020
9abd565
update mapping
shahzad31 Apr 30, 2020
b8ea75c
PR feedback
shahzad31 Apr 30, 2020
98d1289
inline vars
shahzad31 May 1, 2020
b2adcda
var renmae
shahzad31 May 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions x-pack/plugins/uptime/common/constants/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export const OVERVIEW_ROUTE = '/';

export const SETTINGS_ROUTE = '/settings';

export const CERTIFICATES_ROUTE = '/certificates';

export enum STATUS {
UP = 'up',
DOWN = 'down',
Expand Down
26 changes: 18 additions & 8 deletions x-pack/plugins/uptime/common/runtime_types/certs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,29 @@ import * as t from 'io-ts';

export const GetCertsParamsType = t.intersection([
t.type({
from: t.string,
to: t.string,
index: t.number,
size: t.number,
sortBy: t.string,
direction: t.string,
}),
t.partial({
search: t.string,
from: t.string,
to: t.string,
}),
]);

export type GetCertsParams = t.TypeOf<typeof GetCertsParamsType>;

export const CertMonitorType = t.partial({
name: t.string,
id: t.string,
url: t.string,
});

export const CertType = t.intersection([
t.type({
monitors: t.array(
t.partial({
name: t.string,
id: t.string,
})
),
monitors: t.array(CertMonitorType),
sha256: t.string,
}),
t.partial({
Expand All @@ -39,4 +42,11 @@ export const CertType = t.intersection([
}),
]);

export const CertResultType = t.type({
certs: t.array(CertType),
total: t.number,
});

export type Cert = t.TypeOf<typeof CertType>;
export type CertMonitor = t.TypeOf<typeof CertMonitorType>;
export type CertResult = t.TypeOf<typeof CertResultType>;

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading