/**
 * 安全配置
 */
export interface SecurityConfig {
  id: string;
  name: string;
  type: 'AUTH' | 'ENCRYPTION' | 'ACCESS' | 'AUDIT';
  description?: string;
  settings?: Record<string, any>;
  enabled?: boolean;
}

/**
 * 安全状态
 */
export interface SecurityStatus {
  status: 'ACTIVE' | 'INACTIVE' | 'ERROR' | 'UNKNOWN';
  lastUpdated: Date;
  complianceLevel: 'COMPLIANT' | 'NON_COMPLIANT' | 'PARTIALLY_COMPLIANT' | 'UNKNOWN';
}

/**
 * 合规检查
 */
export interface ComplianceCheck {
  id: string;
  name: string;
  type: 'SECURITY' | 'PRIVACY' | 'REGULATORY' | 'PERFORMANCE';
  severity: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
  description?: string;
  frequency?: string;
}

/**
 * 合规检查结果
 */
export interface ComplianceResult {
  checkId: string;
  target: string;
  status: 'COMPLIANT' | 'NON_COMPLIANT' | 'ERROR';
  message: string;
  timestamp: Date;
  details: Record<string, any>;
}
