Domain Detective

API Reference

Class

CertificateInventoryDriftAnalyzer

Namespace DomainDetective
Assembly DomainDetective
Modifiers static

Computes per-endpoint certificate drift from persisted snapshots.

Inheritance

  • Object
  • CertificateInventoryDriftAnalyzer

Methods

public static CertificateInventoryDriftSummary BuildDrift(IEnumerable<CertificateInventorySnapshot> snapshots, Boolean changedOnly = false, Int32 maxEndpoints = 200, String minimumSeverity = null, IEnumerable<String> requiredChangeKinds = null, String changeKindMatchMode = null) #
Returns: CertificateInventoryDriftSummary

Builds endpoint-level drift summary across certificate inventory snapshots.

Parameters

snapshots System.Collections.Generic.IEnumerable{DomainDetective.CertificateInventorySnapshot} requiredposition: 0
Snapshots to evaluate for endpoint drift.
changedOnly System.Boolean = false optionalposition: 1
When true, only endpoints with at least one detected change are included.
maxEndpoints System.Int32 = 200 optionalposition: 2
Maximum number of drift rows to return. Values below 0 are clamped to 0.
minimumSeverity System.String = null optionalposition: 3
Optional minimum severity threshold. Accepted values: none, low, medium, high.
requiredChangeKinds System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 4
Optional change-kind filters.
changeKindMatchMode System.String = null optionalposition: 5
Optional change-kind match mode: any or all.

Returns

Calculated drift summary and endpoint rows.

public static Boolean TryNormalizeChangeKind(String value, out String normalized) #
Returns: Boolean

Attempts to normalize change-kind text to one of the canonical values: certificate, issuer, expiry, service, auth-profile, chain-source.

Parameters

value System.String requiredposition: 0
Input change-kind text.
normalized System.String@ requiredposition: 1
Canonical change-kind value when recognized; otherwise null.

Returns

true when input is a recognized change kind; otherwise false.

public static Boolean TryNormalizeChangeKindMatchMode(String value, out String normalized) #
Returns: Boolean

Attempts to normalize change-kind match mode to one of the canonical values: Any or All.

Parameters

value System.String requiredposition: 0
Input match mode text; null/whitespace defaults to Any.
normalized System.String@ requiredposition: 1
Canonical match mode value when recognized.

Returns

true when input is empty or a recognized mode; otherwise false.

public static Boolean TryNormalizeSeverity(String value, out String normalized) #
Returns: Boolean

Attempts to normalize severity text to one of the canonical values: None, Low, Medium, High.

Parameters

value System.String requiredposition: 0
Input severity text; null/whitespace is treated as no explicit filter.
normalized System.String@ requiredposition: 1
Canonical severity value, or null when no explicit severity was provided.

Returns

true when input is empty or a recognized severity value; otherwise false.

{{ include "footer" }}