Expiry checks
The expiry module has 6 checks. Expiry and risk inventory — anything with a date that can take production down. Alerts at 30 / 14 / 7 days (warning / warning / critical).
This page is generated from the product's check catalog when the documentation is built, so the rules, intervals and default severities always match the version you are reading. Thresholds are defaults; entities and resources can override them.
| Check | Every | Default severity | Rule |
|---|---|---|---|
expiry.keyvault_secretsKey Vault secrets, keys and certificates expiring | 3600s | warning | warning < 30 days / critical < 7 days |
expiry.app_registration_secretsEntra app registration secrets and certificates | 3600s | warning | warning < 30 days / critical < 7 days |
expiry.service_account_passwordsService account password age | 86400s | warning | warning > 180 days / critical > 365 days |
expiry.storage_sasStorage SAS tokens and access policies | 86400s | warning | warning < 30 days / critical < 7 days |
expiry.licensing_stateSQL Server / SSRS edition and evaluation state | 86400s | critical | is_evaluation = 0 |
expiry.domain_and_dnsPublic domain registration expiry | 86400s | warning | warning < 60 days / critical < 14 days |
Checks
expiry.keyvault_secrets
Key Vault secrets, keys and certificates expiring
- Measures
days_to_expiry(days) · every3600s·azure_keyvault- Rule
warning < 30 days / critical < 7 days· Default severity: warning- Action
- —
- Baseline
- 30 / 14 / 7 ladder; 14 re-notifies at warning.
expiry.app_registration_secrets
Entra app registration secrets and certificates
- Measures
days_to_expiry(days) · every3600s·entra- Rule
warning < 30 days / critical < 7 days· Default severity: warning- Action
- —
- Baseline
- Includes the service principals used by Data Factory and the New Relic Azure integration.
expiry.service_account_passwords
Service account password age
- Measures
age_days(days) · every86400s·winrm- Rule
warning > 180 days / critical > 365 days· Default severity: warning- Action
- —
- Baseline
- Rotate service account passwords yearly at minimum; store in Key Vault.
expiry.storage_sas
Storage SAS tokens and access policies
- Measures
days_to_expiry(days) · every86400s·azure_graph- Rule
warning < 30 days / critical < 7 days· Default severity: warning- Action
- —
- Baseline
- SAS tokens are not enumerable from Azure; register them in Key Vault with an expiry tag or in the resource attributes.
expiry.licensing_state
SQL Server / SSRS edition and evaluation state
- Measures
is_evaluation· every86400s·tsql- Rule
is_evaluation = 0· Default severity: critical- Action
- —
- Baseline
- Evaluation editions expire after 180 days — this is the SSRS incident class. SSRS edition is read from the registry over WinRM.
expiry.domain_and_dns
Public domain registration expiry
- Measures
days_to_expiry(days) · every86400s·http- Rule
warning < 60 days / critical < 14 days· Default severity: warning- Action
- —
- Baseline
- RDAP where the registry supports it; otherwise manual date in resource attributes.
Related content
- Expiry: prerequisites and how to add resources
- Thresholds and baselines: how a default threshold is overridden