API Reference
Class
CertificateInventoryDriftAnalyzer
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:
CertificateInventoryDriftSummaryBuilds endpoint-level drift summary across certificate inventory snapshots.
Parameters
- snapshots System.Collections.Generic.IEnumerable{DomainDetective.CertificateInventorySnapshot}
- Snapshots to evaluate for endpoint drift.
- changedOnly System.Boolean = false
- When true, only endpoints with at least one detected change are included.
- maxEndpoints System.Int32 = 200
- Maximum number of drift rows to return. Values below 0 are clamped to 0.
- minimumSeverity System.String = null
- Optional minimum severity threshold. Accepted values: none, low, medium, high.
- requiredChangeKinds System.Collections.Generic.IEnumerable{System.String} = null
- Optional change-kind filters.
- changeKindMatchMode System.String = null
- 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:
BooleanAttempts to normalize change-kind text to one of the canonical values: certificate, issuer, expiry, service, auth-profile, chain-source.
Parameters
- value System.String
- Input change-kind text.
- normalized System.String@
- 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:
BooleanAttempts to normalize change-kind match mode to one of the canonical values: Any or All.
Parameters
- value System.String
- Input match mode text; null/whitespace defaults to Any.
- normalized System.String@
- 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:
BooleanAttempts to normalize severity text to one of the canonical values: None, Low, Medium, High.
Parameters
- value System.String
- Input severity text; null/whitespace is treated as no explicit filter.
- normalized System.String@
- Canonical severity value, or null when no explicit severity was provided.
Returns
true when input is empty or a recognized severity value; otherwise false.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object