Class CategoryStatus
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Status for a Trust Services category.
public record CategoryStatus : IEquatable<CategoryStatus>
- Inheritance
-
CategoryStatus
- Implements
- Inherited Members
Properties
Category
Category being evaluated.
public required TrustServicesCategory Category { get; init; }
Property Value
CompliancePercentage
Percentage of ASSESSED criteria that were met (0-100).
public required int CompliancePercentage { get; init; }
Property Value
Remarks
Criteria no registered validator assessed are excluded from this figure entirely -- from the numerator and the denominator both. That is the only honest treatment (counting them as failures understates the consumer's posture on evidence nobody gathered; dropping them from the numerator alone overstates it), but it means this percentage cannot be read without CriteriaAssessed and CriteriaEnabled beside it: 100% over one criterion of nine is not 100% compliance, and a reader given only the percentage has no way to tell the two apart. The coverage travels in the same type for that reason.
CriteriaAssessed
How many of this category's criteria a registered validator actually assessed -- the denominator of CompliancePercentage.
public required int CriteriaAssessed { get; init; }
Property Value
Remarks
Named for criteria because it counts criteria. It was ActiveControls, which named a
different unit than it held and invited a reader to compare it against a control count.
CriteriaEnabled
How many criteria this category contains, assessed or not.
public required int CriteriaEnabled { get; init; }
Property Value
Remarks
The coverage denominator. Where this exceeds CriteriaAssessed the difference is criteria this framework did not assess, and the percentage says nothing about them.
CriteriaWithIssues
How many ASSESSED criteria were not met.
public required int CriteriaWithIssues { get; init; }
Property Value
Level
Compliance level for this category.
public required ComplianceLevel Level { get; init; }