Skip to content

v0.20.0: Certificate Distribution and Smarter Inventory Imports

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 23:53
· 209 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.20.0
6ec5b11

TokenTimer Core 0.20.0 adds reviewed Linux certificate rollouts, inventory filters, and adaptive renewal.

What's Changed

Added

  • Certificate distribution. Roll out exact versions to Linux through Vault KV v2, OpenBao KV v2, or Azure Key Vault Secrets, with canaries, verification, and recovery. Retention is report-only. Shared Windows/IIS distribution, independent Linux staging, and exact-version cleanup remain gated.
  • Import filters. Use exact or regex includes and excludes for name, description, and location in AWS, Azure Key Vault, Entra ID, and GCP. Manage alerts separately.
  • Entra managed identities. Scan all identities by default, exclude managed identities, or scan only managed identities. Saved location rules still match the old path. After changing filters or identity mode, run with cleanup off and check inventory and alert associations before enabling it.
  • GitLab PAT owner metrics. The optional owner_username label for new PAT imports requires migration 111. It defaults to off. Enable it only if metrics readers may see usernames.
  • Verified recipients. In enforce mode, contacts matching a current member's exact verified email qualify without a second confirmation. Opt-outs still apply. Self-hosted verification defaults to off. Use shadow to evaluate eligibility before enforcing it.

Changed

  • Short-lived renewal. The default window adapts to certificate lifetime, including for AD CS profiles that inherit it. Profile and deployment overrides take precedence. Accept fractional renewBeforeDays in API clients.
  • Microsoft Teams. Alerts, weekly digests, and webhook tests use Adaptive Cards. Use a Teams Workflows webhook and confirm delivery.
  • Certificate dashboard. Identify same-name certificates by fingerprint and Windows use, review management history, and run signed no-op simulations. AD CS issuer choices refresh after confirmation.
  • Recipient confirmation. Review confirmations in a dedicated dialog. With enforcement enabled, MCP contact creation reports status per email or WhatsApp destination. Send invitations separately.

Fixed

  • AD CS. Valid profiles show correctly in upcoming renewals, including CA-capacity waits. An IIS binding cannot start overlapping enrollments on the same agent. Automatic renewal skips a certificate already replaced on that binding.
  • Windows IIS. Wildcard updates check for competing IP bindings. If blocked, verify what each IP serves before retrying.
  • Certificate management. Deriving a renewal profile preserves tracking-only mode. Deleting a former manager clears their attribution and preserves closed periods.
  • GitLab PAT imports. Incomplete scans and unresolved PAT owners block cleanup.
  • Webhook proxies. With NODE_USE_ENV_PROXY=1, HTTP and HTTPS webhooks use the configured proxy once.
  • API logs. Failed probes retain their X-Request-Id. Successful health and metrics probes omit completion logs. Background work uses its own log context.

Security

Before upgrading

  • Apply migrations through 114. Upgrade the API, workers, and distribution agents together. Obtain fresh independent review of distribution authorizations after migration 97.
  • TRUST_PROXY_HOPS now defaults to 0 instead of 2. If you relied on the old default, set the actual trusted HTTP proxy hop count, restrict direct API access, and sanitize forwarding headers.

Full changelog