Create a new ComplianceServiceAdapter instance
Data provider for CIA options and compliance data
Framework requirements mapping Maps compliance frameworks to their minimum security requirements
ReadonlynameService name for identification
Get compliance gap analysis between current and required security levels
Performs a comprehensive gap analysis, identifying where the current security posture falls short of compliance framework requirements and providing actionable remediation steps.
Current availability security level
Current integrity security level
Current confidentiality security level
Optionalframework: stringOptional specific framework to analyze (analyzes all if not provided)
Detailed gap analysis including gaps, recommendations, and compliance score
Get compliance status based on security levels
Evaluates compliance with all supported frameworks based on the provided security levels for availability, integrity, and confidentiality.
Availability security level
Integrity security level
Confidentiality security level
Compliance status details including compliant, partially compliant, and non-compliant frameworks
Get compliance status text based on security levels
Returns a human-readable text description of the overall compliance status.
Availability security level
Integrity security level (defaults to availabilityLevel if not provided)
Confidentiality security level (defaults to availabilityLevel if not provided)
Compliance status text description
Get compliant frameworks for given security levels
Returns a list of all compliance frameworks that are fully satisfied by the provided security levels.
Availability security level
Integrity security level (defaults to availabilityLevel if not provided)
Confidentiality security level (defaults to availabilityLevel if not provided)
Array of compliant framework names
Get component details for a specific component and security level
Get description of a compliance framework
Returns a detailed description of the specified compliance framework, explaining its purpose and scope.
Framework name (e.g., 'NIST 800-53', 'ISO 27001', 'GDPR')
Framework description or "No description available" if framework is unknown
Get required security level for a specific framework and component
Framework name
CIA component
Required security level
Get framework compliance status
Evaluates whether a specific framework's requirements are met by the given security levels.
Framework name to evaluate
Availability security level
Integrity security level
Confidentiality security level
Object containing status string (Compliant, Partially Compliant, or Non-Compliant)
Handle errors consistently across services
Error to handle
ServiceError
Check if a framework is applicable to an industry/region
Framework name
Optionalindustry: stringIndustry (optional)
Optionalregion: stringRegion (optional)
True if the framework is applicable
Validate input parameters (to be overridden by subclasses)
Input to validate
True if valid, false otherwise
Adapter for compliance service functionality
Business Perspective
Provides a simplified interface to compliance checking and framework mapping, adapting the ComplianceService for easier consumption by components and services. Enables organizations to understand their compliance posture and identify gaps. 📋
Implements