API Reference
Class
CertificateInventoryRiskAnalyzer
Computes endpoint-level risk posture from persisted inventory snapshots.
Inheritance
- Object
- CertificateInventoryRiskAnalyzer
Methods
public static CertificateInventoryRiskSummary BuildRisk(IEnumerable<CertificateInventorySnapshot> snapshots, Boolean includeNoRisk = false, Int32 expiringWithinDays = 30, Int32 criticalExpiringWithinDays = 7, Int32 maxEndpoints = 300, String minimumSeverity = null, Nullable<Int32> scoreMin = null, Nullable<Int32> scoreMax = null, Nullable<Int32> reasonCountMin = null, Nullable<Int32> reasonCountMax = null, String riskProfile = null, String reasonContains = null, String issuerContains = null, String authorityFamilyEquals = null, String rootAuthorityFamilyEquals = null, String ctSourceContains = null, String ctTemplateErrorContains = null, String chainSourceContains = null, String thumbprintEquals = null, String rootThumbprintEquals = null, String serialNumberEquals = null, String hostContains = null, String serviceEquals = null, Nullable<Int32> portEquals = null, Nullable<Int32> chainLengthMin = null, Nullable<Int32> chainLengthMax = null, Nullable<Int32> intermediateCountMin = null, Nullable<Int32> intermediateCountMax = null, Nullable<Boolean> ctObservedOnly = null, Nullable<Boolean> chainCompleteOnly = null, Nullable<Boolean> reachableOnly = null, Nullable<Boolean> hostnameMatchOnly = null, Nullable<Boolean> selfSignedOnly = null, Nullable<Boolean> weakKeyOnly = null, Nullable<Boolean> sha1SignatureOnly = null, Nullable<Boolean> expiredOnly = null, Nullable<Boolean> notYetValidOnly = null, Nullable<Boolean> currentlyValidOnly = null, Nullable<Int32> daysToExpireMin = null, Nullable<Int32> daysToExpireMax = null, Nullable<Int32> daysUntilValidMin = null, Nullable<Int32> daysUntilValidMax = null, Nullable<Boolean> knownAuthorityOnly = null, Nullable<Boolean> knownRootAuthorityOnly = null, String authenticationProfileEquals = null, Boolean serverAuthOnly = false, Boolean clientAuthOnly = false, Boolean secureEmailOnly = false, String[] reasonAnyOf = null, String[] reasonAllOf = null, String[] issuerContainsAnyOf = null, String[] issuerContainsAllOf = null, String rootIssuerContains = null, String[] rootIssuerContainsAnyOf = null, String[] rootIssuerContainsAllOf = null, Nullable<Int32> certificateReuseEndpointCountMin = null, Nullable<Int32> certificateReuseEndpointCountMax = null, Nullable<Boolean> certificateReuseCrossServiceOnly = null, Nullable<Int32> certificateReuseDistinctServiceCountMin = null, Nullable<Int32> certificateReuseDistinctServiceCountMax = null, Nullable<Int32> certificateReuseDistinctPortCountMin = null, Nullable<Int32> certificateReuseDistinctPortCountMax = null, Nullable<Boolean> certificateReuseCrossPortOnly = null) #Returns:
CertificateInventoryRiskSummaryBuilds risk.
Parameters
- snapshots System.Collections.Generic.IEnumerable{DomainDetective.CertificateInventorySnapshot}
- includeNoRisk System.Boolean = false
- expiringWithinDays System.Int32 = 30
- criticalExpiringWithinDays System.Int32 = 7
- maxEndpoints System.Int32 = 300
- minimumSeverity System.String = null
- scoreMin System.Nullable{System.Int32} = null
- scoreMax System.Nullable{System.Int32} = null
- reasonCountMin System.Nullable{System.Int32} = null
- reasonCountMax System.Nullable{System.Int32} = null
- riskProfile System.String = null
- reasonContains System.String = null
- issuerContains System.String = null
- authorityFamilyEquals System.String = null
- rootAuthorityFamilyEquals System.String = null
- ctSourceContains System.String = null
- ctTemplateErrorContains System.String = null
- chainSourceContains System.String = null
- thumbprintEquals System.String = null
- rootThumbprintEquals System.String = null
- serialNumberEquals System.String = null
- hostContains System.String = null
- serviceEquals System.String = null
- portEquals System.Nullable{System.Int32} = null
- chainLengthMin System.Nullable{System.Int32} = null
- chainLengthMax System.Nullable{System.Int32} = null
- intermediateCountMin System.Nullable{System.Int32} = null
- intermediateCountMax System.Nullable{System.Int32} = null
- ctObservedOnly System.Nullable{System.Boolean} = null
- chainCompleteOnly System.Nullable{System.Boolean} = null
- reachableOnly System.Nullable{System.Boolean} = null
- hostnameMatchOnly System.Nullable{System.Boolean} = null
- selfSignedOnly System.Nullable{System.Boolean} = null
- weakKeyOnly System.Nullable{System.Boolean} = null
- sha1SignatureOnly System.Nullable{System.Boolean} = null
- expiredOnly System.Nullable{System.Boolean} = null
- notYetValidOnly System.Nullable{System.Boolean} = null
- currentlyValidOnly System.Nullable{System.Boolean} = null
- daysToExpireMin System.Nullable{System.Int32} = null
- daysToExpireMax System.Nullable{System.Int32} = null
- daysUntilValidMin System.Nullable{System.Int32} = null
- daysUntilValidMax System.Nullable{System.Int32} = null
- knownAuthorityOnly System.Nullable{System.Boolean} = null
- knownRootAuthorityOnly System.Nullable{System.Boolean} = null
- authenticationProfileEquals System.String = null
- serverAuthOnly System.Boolean = false
- clientAuthOnly System.Boolean = false
- secureEmailOnly System.Boolean = false
- reasonAnyOf System.String[] = null
- reasonAllOf System.String[] = null
- issuerContainsAnyOf System.String[] = null
- issuerContainsAllOf System.String[] = null
- rootIssuerContains System.String = null
- rootIssuerContainsAnyOf System.String[] = null
- rootIssuerContainsAllOf System.String[] = null
- certificateReuseEndpointCountMin System.Nullable{System.Int32} = null
- certificateReuseEndpointCountMax System.Nullable{System.Int32} = null
- certificateReuseCrossServiceOnly System.Nullable{System.Boolean} = null
- certificateReuseDistinctServiceCountMin System.Nullable{System.Int32} = null
- certificateReuseDistinctServiceCountMax System.Nullable{System.Int32} = null
- certificateReuseDistinctPortCountMin System.Nullable{System.Int32} = null
- certificateReuseDistinctPortCountMax System.Nullable{System.Int32} = null
- certificateReuseCrossPortOnly System.Nullable{System.Boolean} = null
public static Boolean TryResolveMinimumSeverity(String severity, out Int32 minimumScore, out String normalizedSeverity) #Returns:
BooleanAttempts to resolve a severity label to its minimum score threshold. Returns false for null/empty input and unrecognized labels.
Parameters
- severity System.String
- minimumScore System.Int32@
- normalizedSeverity System.String@
public static Boolean TryResolveRiskProfile(String riskProfile, out String normalizedRiskProfile) #Returns:
BooleanAttempts to resolve a risk profile label to a known profile. Returns false for null/empty input and unrecognized labels.
Parameters
- riskProfile System.String
- normalizedRiskProfile System.String@
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object