@syntropysoft/praetorian
Version:
Praetorian CLI – A universal multi-environment configuration validator for DevSecOps teams. Validate, compare, and secure YAML/ENV files with ease.
20 lines • 752 B
TypeScript
import { ValidationRule, ValidationResult, ConfigFile, ValidationContext } from '../../shared/types';
export declare class EqualityRule implements ValidationRule {
id: string;
name: string;
description: string;
category: 'security' | 'compliance' | 'performance' | 'best-practice';
severity: 'error' | 'warning' | 'info';
enabled: boolean;
config: {};
execute(files: ConfigFile[], context?: ValidationContext): Promise<ValidationResult>;
private collectAllKeys;
private compareDifferences;
private extractAllKeys;
private isKeyIgnored;
private validateRequiredKeys;
private detectEmptyKeys;
private findEmptyKeysInObject;
private isEmptyValue;
}
//# sourceMappingURL=EqualityRule.d.ts.map