feat(pki): add certificate details page#5270
Conversation
…ject attributes, fingerprints, and renewal chain
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 22340054 | Triggered | Generic Password | 8ba3472 | frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Greptile OverviewGreptile SummaryThis PR adds a comprehensive certificate details page for the PKI certificate manager, allowing users to view full certificate information by clicking on a certificate in the table. Key Changes:
Security & Best Practices:
Confidence Score: 5/5
Important Files Changed
|
|
@greptile review this PR |
…prints to database schema and service logic
…ails components and services
Context
Previously, certificates were only viewable in a table with basic info like common name, serial number, and expiry. You could perform actions via dropdown menus but there was no dedicated page to see all the details of a certificate.
This adds a certificate details page that you get to by clicking on a certificate row in the table. The page shows comprehensive certificate information including subject attributes (organization, country, etc.), SHA-256/SHA-1 fingerprints, basic constraints, key/signature algorithms, and the renewal chain if the cert was renewed from or has been renewed by another certificate. Certificate validity dates (Not Before/Not After) are displayed in UTC with local time shown on hover for convenience.
Screenshots
Steps to verify the change
Generate a certificate and then click on a certificate (row) in the certificates table to view the page.
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).