Skip to content

Conversation

@dacoburn
Copy link
Collaborator

.socket.facts.json was not being generated in the right location for reachability analysis when running the CLI from another path.

Root Cause

The target path was being passed to the reachability engine but the generated path for the reachability results was using CWD.

Fix

CWD is set before running the reachability engine so that the path can be relative to where the scan is running.

Public Changelog

  • Fix for the CLI so that if running with a target path that is not the CWD for reachability the reachability results will be included.

@dacoburn dacoburn requested a review from a team as a code owner November 26, 2025 21:36
@dacoburn dacoburn requested review from barslev and ljharb and removed request for a team November 26, 2025 21:36
@dacoburn dacoburn added the Product Changelog New features for the public changelog label Nov 26, 2025
@github-actions
Copy link

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketsecurity==2.2.38.dev1

Docker image: socketdev/cli:pr-134

@obarrera obarrera self-requested a review November 26, 2025 21:42
Copy link
Contributor

@obarrera obarrera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM approved

@dacoburn dacoburn merged commit 5fb953d into main Nov 26, 2025
6 checks passed
@dacoburn dacoburn deleted the doug/fix-reachability-engine-cwd branch November 26, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product Changelog New features for the public changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants