diff --git a/changes/issue-29827-update-ui-for-certs b/changes/issue-29827-update-ui-for-certs new file mode 100644 index 0000000000..69322dfe8d --- /dev/null +++ b/changes/issue-29827-update-ui-for-certs @@ -0,0 +1,2 @@ +- update Certificates card on the host details and my device page to show a new +keychain column diff --git a/frontend/__mocks__/certificatesMock.ts b/frontend/__mocks__/certificatesMock.ts index 9e6fa0f722..d472d2fdc8 100644 --- a/frontend/__mocks__/certificatesMock.ts +++ b/frontend/__mocks__/certificatesMock.ts @@ -24,6 +24,8 @@ const DEFAULT_HOST_CERTIFICATE_MOCK: IHostCertificate = { organizational_unit: "Test Inc.", common_name: "Test Biz", }, + source: "system", + username: "", }; export const createMockHostCertificate = ( diff --git a/frontend/interfaces/certificates.ts b/frontend/interfaces/certificates.ts index 1c7db728ab..bb34f0f0e1 100644 --- a/frontend/interfaces/certificates.ts +++ b/frontend/interfaces/certificates.ts @@ -23,6 +23,8 @@ export interface IHostCertificate { organizational_unit: string; common_name: string; }; + source: string; + username: string; } export const CERTIFICATES_DEFAULT_SORT: IListSort = { diff --git a/frontend/pages/hosts/details/cards/Certificates/CertificatesTable/CertificatesTable.tsx b/frontend/pages/hosts/details/cards/Certificates/CertificatesTable/CertificatesTable.tsx index aa01aedf29..80f8c604e6 100644 --- a/frontend/pages/hosts/details/cards/Certificates/CertificatesTable/CertificatesTable.tsx +++ b/frontend/pages/hosts/details/cards/Certificates/CertificatesTable/CertificatesTable.tsx @@ -66,8 +66,8 @@ const CertificatesTable = ({ const helpText = showHelpText ? (
- Showing certificates in the system keychain. To get all certificates, you
- can query the certificates table.{" "}
+ Showing certificates in the system and login (user) keychain. To get all
+ certificates, you can query the certificates table.{" "}