Skip to content

[FEAT] - Add Enhanced Certimate certificate and workflow statistics #1007

Description

@StonyTark1117

Describe the what you'd like to have changed

Add Enhanced App support to the Certimate app requested in #1001. The tile should show valid and soon-to-expire certificate counts plus failed workflow-run counts. Basic availability can be checked through GET /api/health; the certificate and workflow statistics should come from Certimate's authenticated PocketBase-backed API.

Enhanced configuration should accept an API base URL and a supported PocketBase credential or token. Any secret must use Heimdall's encrypted credential handling. Certificate counts should exclude revoked or expired records, while the expiring count should use the certificate validity timestamp and the implementation's documented warning window. Workflow failures should be derived from workflow_run status data.

Describe alternatives you've considered

A foundation-only tile or health-only integration would indicate reachability but omit the certificate-expiry and automation-failure conditions that need attention. Scraping Certimate's UI would be less stable and would expose more of the authenticated session than querying the relevant collections directly.

Additional context

  • Parent app request: #1001
  • The upstream client uses PocketBase collections including certificate, workflow, and workflow_run; certificate records include validity and revocation data, while workflow runs include status and error data.
  • GET /api/health was verified successfully against the running service; collection statistics require authentication.
  • Acceptance should cover Heimdall's API test, a successful /get_stats/{id} response containing certificate and workflow counters, dashboard rendering without Laravel errors, correct handling of unauthorized responses, and encrypted storage of credentials.

Are you willing to create a PR yourself?

Yes. I intend to implement and submit this Enhanced follow-up after the foundation request is scaffolded or merged and a maintainer approves the proposed change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions