Skip to content

audit --offline: say when a config probe level is overridden, and note the custom-level label #1311

Closed as not planned

Description

@nc9

Problem

squirrel audit --offline now defaults probing to passive (#1225, PR #1246). Two small gaps were left as optional in that review:

  1. When a [security] probe level in squirrel.toml is overridden by --offline, the run banner shows passive without saying why, so someone who set probe = "active" in config sees it silently ignored.
  2. Every offline surface or full audit is now reported as a custom level (custom (surface + probe passive), with meta.auditLevel.changes: ["probe"]). That's intended, but tools reading meta.auditLevel from JSON output may be surprised, and the CHANGELOG doesn't mention it.

Acceptance Criteria

  • An offline run whose config sets [security] probe = "active" (with no probing flag) prints a one-line notice that --offline kept probing passive, naming the flag that opts in.
  • No notice when the config sets no probe level, or when an explicit probing flag is passed.
  • A test covers the notice and the no-notice cases.
  • The CHANGELOG notes that offline surface and full runs now report a custom audit level with changes: ["probe"].
  • docs/cli/audit.mdx mentions the notice.

Activity

  1. added
    enhancement
    size: XS
    on Oct 30, 2026
  2. added theissue type on Oct 30, 2026
  3. nc9 commented on Oct 30, 2026

    @nc9
    ContributorAuthor

    Holding: checking for overlap with in-flight CLI banner and level work before anyone picks this up.

  4. nc9 commented on Oct 30, 2026

    @nc9
    ContributorAuthor

    Update: no conflict with #1246. This will be built after #1246 and the in-flight audit-level changes land, as part of that same work, so the banner and level-label pieces stay in one place.

  5. nc9 commented on Oct 30, 2026

    @nc9
    ContributorAuthor

    Closing: it depended on --offline implying passive probing, which the maintainer decided against (see #1225 and #1246).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clienhancementsize: XS

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions