Class CompliancePresetLoader
- Namespace
- JD.AI.Core.Governance
- Assembly
- JD.AI.Core.dll
Loads and resolves built-in compliance preset policies embedded in the assembly.
public static class CompliancePresetLoader
- Inheritance
-
CompliancePresetLoader
- Inherited Members
Remarks
Built-in presets:
jdai/compliance/soc2— SOC 2 Type II baselinejdai/compliance/gdpr— GDPR PII protectionjdai/compliance/hipaa— HIPAA PHI protectionjdai/compliance/pci-dss— PCI-DSS cardholder data protection
Properties
AvailablePresets
Returns all available built-in preset names.
public static IReadOnlyCollection<string> AvailablePresets { get; }
Property Value
Methods
Check(string, PolicySpec)
Checks whether a compliance preset report passes for the given resolved policy. Returns a list of control results (name → pass/fail and optional guidance).
public static IReadOnlyList<ComplianceControl> Check(string presetName, PolicySpec resolvedSpec)
Parameters
presetNamestringresolvedSpecPolicySpec
Returns
LoadPreset(string)
Loads the preset with the given name.
Returns null if the preset is not recognized.
public static PolicyDocument? LoadPreset(string name)
Parameters
namestring
Returns
ResolveExtension(PolicySpec)
If spec has a non-empty Extends field,
loads the named preset and returns it as a low-priority PolicyDocument.
Returns null if Extends is empty or the preset is not found.
public static PolicyDocument? ResolveExtension(PolicySpec spec)
Parameters
specPolicySpec