AuditConfig class final

Complete package configuration used for loading, validation, and scanning.

Constructors

AuditConfig({required FirebaseConfig firebase, required ScanConfig scan, required DetectionConfig detection, required OutputConfig output, required PolicyConfig policy})
Creates a configuration object.
const
AuditConfig.defaults()
Returns package defaults used when no configuration file is present.
factory

Properties

detection DetectionConfig
Method and key-detection settings.
final
firebase FirebaseConfig
Firebase-specific settings.
final
hashCode int
The hash code for this object.
no setterinherited
output OutputConfig
Output formatting settings.
final
policy PolicyConfig
Pipeline enforcement policy settings.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scan ScanConfig
File scanning settings.
final

Methods

copyWith({FirebaseConfig? firebase, ScanConfig? scan, DetectionConfig? detection, OutputConfig? output, PolicyConfig? policy}) AuditConfig
Creates a copy with updated sections.
mergeCliOverrides({String? projectId, String? serviceAccountPath, PolicyAction? policyCodeOnly, PolicyAction? policyConsoleOnly, PolicyAction? policyUnresolved}) AuditConfig
Applies CLI override values over the current config.
mergeMap(Map<Object?, Object?> values, {required String source}) AuditConfig
Merges values from a parsed YAML map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the config into a serializable map.
toString() String
A string representation of this object.
override
validate({required String projectRoot, bool requireFirebase = false}) ConfigValidationResult
Validates config values for the given projectRoot.

Operators

operator ==(Object other) bool
The equality operator.
inherited