- Add Legal Office of the Master seal (SVG design with Maltese Cross, scales of justice, legal scroll) - Create legal-office-manifest-template.json for Legal Office credentials - Update SEAL_MAPPING.md and DESIGN_GUIDE.md with Legal Office seal documentation - Complete Azure CDN infrastructure deployment: - Resource group, storage account, and container created - 17 PNG seal files uploaded to Azure Blob Storage - All manifest templates updated with Azure URLs - Configuration files generated (azure-cdn-config.env) - Add comprehensive Azure CDN setup scripts and documentation - Fix manifest URL generation to prevent double slashes - Verify all seals accessible via HTTPS
41 lines
1.3 KiB
TypeScript
41 lines
1.3 KiB
TypeScript
/**
|
|
* Enhanced audit logging with search capabilities
|
|
*/
|
|
import type { CredentialAuditLog } from './credential-lifecycle';
|
|
export interface AuditSearchFilters {
|
|
credentialId?: string;
|
|
issuerDid?: string;
|
|
subjectDid?: string;
|
|
credentialType?: string | string[];
|
|
action?: 'issued' | 'revoked' | 'verified' | 'renewed';
|
|
performedBy?: string;
|
|
startDate?: Date;
|
|
endDate?: Date;
|
|
ipAddress?: string;
|
|
}
|
|
export interface AuditSearchResult {
|
|
logs: CredentialAuditLog[];
|
|
total: number;
|
|
page: number;
|
|
pageSize: number;
|
|
}
|
|
/**
|
|
* Search audit logs with filters
|
|
*/
|
|
export declare function searchAuditLogs(filters: AuditSearchFilters, page?: number, pageSize?: number): Promise<AuditSearchResult>;
|
|
/**
|
|
* Get audit log statistics
|
|
*/
|
|
export declare function getAuditStatistics(startDate?: Date, endDate?: Date): Promise<{
|
|
totalIssuances: number;
|
|
totalRevocations: number;
|
|
totalVerifications: number;
|
|
totalRenewals: number;
|
|
byCredentialType: Record<string, number>;
|
|
byAction: Record<string, number>;
|
|
}>;
|
|
/**
|
|
* Export audit logs (for compliance/regulatory reporting)
|
|
*/
|
|
export declare function exportAuditLogs(filters: AuditSearchFilters, format?: 'json' | 'csv'): Promise<string>;
|
|
//# sourceMappingURL=audit-search.d.ts.map
|