UNPKG

endpoint-sentinel

Version:

User-friendly security scanner with interactive setup that scales from beginner to expert

37 lines 988 B
/** * Consent Manager for Ethical Security Scanning * Handles consent requirements and legal boundaries */ export declare class ConsentManager { /** * Gets the complete consent text for ethical scanning */ getConsentText(): string; /** * Validates that proper consent has been obtained */ validateConsent(consentGiven: boolean): { isValid: boolean; message?: string; }; /** * Logs consent event for audit purposes */ logConsentEvent(target: string, timestamp?: Date): void; /** * Generates a unique session ID for tracking */ private generateSessionId; /** * Gets consent banner for display */ getConsentBanner(): string; /** * Checks if target requires special consent (e.g., government, critical infrastructure) */ requiresSpecialConsent(target: string): { required: boolean; reason?: string; }; } //# sourceMappingURL=consent.d.ts.map