Repository navigation
fix(cli): default offline probing to passive - #1246
WilliamK112 wants to merge 6 commits into
Conversation
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Reviewed head: 67da7df Thanks @WilliamK112. Verdict: pending maintainer review. The change matches the approach you proposed on #1225, and I found nothing blocking. Checked
Low
|
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Thanks for the review. I added the suggested |
|
Reviewed head: f2b42c3 Thanks @WilliamK112. Verdict: pending maintainer review. No change to the earlier assessment, and nothing blocking. Earlier review (67da7df), checked against this head:
New commits since the last review: Conventions: DCO is present, no new runtime dependency, docs and completions were already updated. CI on this head: all checks green. |
|
Reviewed head: f2b42c3 Reviewed at f03764f. f2b42c3 adds only a merge of Thanks @WilliamK112. The behaviour change is correct, narrow and tested.
All four acceptance criteria in #1225 are met. One fix before merge:
Optional, all low:
Verdict: merge after the docs fix. |
…ve-probe-1225 Signed-off-by: Ching-Wei Kang <[email protected]> # Conflicts: # CHANGELOG.md
…' into codex/offline-passive-probe-1225 Signed-off-by: Ching-Wei Kang <[email protected]>
ba68c20 to
d0b10ba
Compare
|
Resolved the conflict with current main and moved this PR's changelog entry back under Unreleased so the released-section guard stays satisfied. Re-ran the focused offline probing and level/wiring suites on Bun 1.4.4: 56 passed, 0 failed. |
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Reviewed head: d15a51a The docs fix is in: the offline-probing paragraph now follows the bullet list it was splitting, and "no active security-probe requests" is the precise wording (optional item 4 too). The code is unchanged since the reviewed f03764f; the other new commits are merges of |
|
Moved the passive-probing paragraph below the list introduced by the preceding sentence and tightened the wording to active security-probe requests. This addresses the required docs-placement item. |
|
Thank you @WilliamK112, and sorry for the turnaround on this one. The change itself was solid: well tested, and nothing explicit was ever downgraded. But on reflection we want to keep two settings independent:
Tying one to the other would make |
|
Quick follow-up @WilliamK112: we already had the #1225 docs and help-text change in progress (#1313), so that part is covered and there's no need to pick it up. Sorry for the mixed message, and thanks again for all the work this week. Your fixes in v0.0.140 and v0.0.141, and #1277, have made a real difference. |
Summary
squirrel audit --offlineresolve probing topassiveat every audit level unless a probing flag explicitly opts in--probe,--passive,--aggressive, and--pentestchoices while keeping config-only probe settings read-only offline--probe activedoesCloses #1225.
Verification
bun test ./apps/cli/tests/commands/audit-level-wiring.test.ts ./apps/cli/tests/commands/audit-probe-wiring.test.ts ./apps/cli/tests/cli/audit-offline-probe.test.ts ./apps/cli/tests/squirrel-home-guard.test.ts(56 pass)audit-offline-probe.test.tsfails after observing two GraphQL probe requests; restored the fix and reran successfullybun run format:checkbun run lintbun run typecheckbun run docs:checkbun run scripts/test-suites.ts --checkbun run scripts/test-suites.ts --run cli(3,196 pass, 1 skip; the unrelatedrequest-deadline.test.tsstalled-body reachability case timed out locally and reproduced when run alone)git diff --checkChecklist
Signed-off-byline (git commit -s).Docs:
docs/cli/audit.mdxupdated. Skill: none.