Skip to content

feat: implemented alerting for expiring certificates for application gateway#276

Merged
nc-shahidazim merged 1 commit intomainfrom
feat/DTOSS-12035-alert-cert-expiry-app-gateway
Feb 18, 2026
Merged

feat: implemented alerting for expiring certificates for application gateway#276
nc-shahidazim merged 1 commit intomainfrom
feat/DTOSS-12035-alert-cert-expiry-app-gateway

Conversation

@nc-shahidazim
Copy link
Contributor

@nc-shahidazim nc-shahidazim commented Feb 10, 2026

Description

This update introduces alerting for expiring SSL certificates on Application Gateway by leveraging the existing Application Insights availability test framework. The enhancement extends the current test capability to validate certificate expiry and provides flexible options for custom headers.

Context

Application Gateway does not provide native certificate‑expiry alerting through standard monitoring signals. To address this limitation, the existing availability test mechanism is extended to validate SSL certificate expiry on each probe execution. This ensures consistent monitoring without introducing new resources or pipelines, while improving detection of upcoming certificate failures.

What’s included

  • Implemented SSL certificate expiry checks using Application Insights availability tests.
  • Added support for custom headers, enabling scenarios where routing, authentication tokens, or custom metadata are required.
  • Updated internal logic to evaluate certificate expiry and generate alerts based on predefined thresholds.
  • Aligned alerting behaviour with existing monitoring patterns for consistency.

Evidence:

The following alert was created successfully through pipeline, and running:

Test implementation:

image

Test execution:

image

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@nc-shahidazim nc-shahidazim force-pushed the feat/DTOSS-12035-alert-cert-expiry-app-gateway branch 11 times, most recently from e5de71b to f60e8d5 Compare February 16, 2026 15:59
@nc-shahidazim nc-shahidazim force-pushed the feat/DTOSS-12035-alert-cert-expiry-app-gateway branch 3 times, most recently from 01819ac to a981ddd Compare February 17, 2026 16:26
@nc-shahidazim nc-shahidazim force-pushed the feat/DTOSS-12035-alert-cert-expiry-app-gateway branch from 15c63ee to acc8392 Compare February 18, 2026 12:37
Copy link
Contributor

@MacMur85 MacMur85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@nc-shahidazim nc-shahidazim added this pull request to the merge queue Feb 18, 2026
Merged via the queue into main with commit 0c8879e Feb 18, 2026
13 checks passed
@nc-shahidazim nc-shahidazim deleted the feat/DTOSS-12035-alert-cert-expiry-app-gateway branch February 18, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants