aube audit
- Usage:
aube audit [FLAGS] - Effect: read-only
Check installed packages against the registry advisory DB
Flags
--audit-level <AUDIT_LEVEL>— Only print advisories at or above this severity.One of:
info,low,moderate,high,critical. Defaults toaudit.level(or legacyauditLevel), thenlow.Choices:
info,low,moderate,high,critical-D --dev— Only auditdevDependencies.--fix [FIX]— Fix advisories.Bare
--fixwrites package.json overrides for backwards compatibility.--fix=updaterefreshes the lockfile without writing overrides.Choices:
update,override--ignore <ID>— Drop advisories whose ID matches one of these values.Matches against the numeric npm advisory
id,github_advisory_id(GHSA-…), and any entry incves[](case-insensitive). Repeatable; comma-separated values are also accepted.--ignore-registry-errors— Use exit code 0 if the registry responds with an error.Useful when audit checks run in CI and the registry has a hiccup.
--ignore-unfixable— Drop advisories that have no non-vulnerable upgrade.Filters out advisories for which no non-vulnerable version is available in the package's packument. Same "best non-vulnerable" logic as
--fix: an advisory is kept only when an upgrade path exists.-i --interactive— Pick which advisories to fix interactively.--json— Emit the report as JSON (pnpm-compatible shape) instead of a table.--no-optional— SkipoptionalDependencies.-P --prod— Only auditdependenciesandoptionalDependencies.Aliases:
--production-h --help— Print help
Network
--fetch-retries <N>— Number of retry attempts for failed registry fetches.Overrides
fetchRetries/fetch-retriesfrom.npmrc/aube-workspace.yamlwhen set. Pair with--fetch-timeoutto fail fast in scripted test runs.--fetch-retry-factor <N>— Exponential backoff factor between retry attempts.Overrides
fetchRetryFactor/fetch-retry-factorfrom.npmrc/aube-workspace.yamlwhen set. Integer-only; fractional values like1.5are rejected.--fetch-retry-maxtimeout <MS>— Upper bound (ms) on the computed retry backoff.Overrides
fetchRetryMaxtimeout/fetch-retry-maxtimeoutfrom.npmrc/aube-workspace.yamlwhen set.--fetch-retry-mintimeout <MS>— Lower bound (ms) on the computed retry backoff.Overrides
fetchRetryMintimeout/fetch-retry-mintimeoutfrom.npmrc/aube-workspace.yamlwhen set.--fetch-timeout <MS>— Per-request HTTP timeout in milliseconds.Overrides
fetchTimeout/fetch-timeoutfrom.npmrc/aube-workspace.yamlwhen set. Covers the whole request (headers and body together).--registry <URL>— Override the default registry URL for this invocation.Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.