EnterpriseDependencyGovernanceEngine class

Central Enterprise Dependency Governance Engine.

Features:

  1. Evaluates direct and dev dependencies from pubspec.yaml without duplicate discovery.
  2. Enforces allowed, restricted, and blocked package registries.
  3. Checks for license compliance (e.g. GPL vs. MIT/Apache).
  4. Disallows path/git dependency leaks into production releases.
  5. Flags known high-risk or vulnerable dependencies.

Constructors

EnterpriseDependencyGovernanceEngine({required String projectRoot})

Properties

hashCode → int
The hash code for this object.
no setterinherited
projectRoot → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

auditDependencies({String? relativePackagePath, EnterpriseDependencyPolicy policy = const EnterpriseDependencyPolicy(), Map<String, String>? packageLicenses, List<String>? knownVulnerablePackages, DateTime? executionTimestamp}) → Future<DependencyGovernanceResult>
Evaluates package dependencies against an enterprise dependency policy.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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