GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add `workspace` flag to CLI args by lelia · Pull Request #164 · SocketDev/socket-python-cli

Conversation

@lelia

@lelia lelia commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

🚨 IMPORTANT: This change will not work without the associated Python SDK PR: SocketDev/socket-sdk-python#68. Please ensure the SDK PR is merged in before this PR is prepared for release.

Changes

  • Added --workspace <string> flag to support creating full scans with the Python CLI.
  • Updated README.md to document the new flag, as well as explain the difference between workspace and workspace-name to avoid confusion

Testing

  • Added 3 unit tests to test_cli_config.py: flag parses correctly, defaults to None when omitted, and is independent of --workspace-name
  • Tested the CLI locally using my locally-modified copy of the SDK via make first-time-local-setup
  • Also used mitmproxy to confirm that &workspace is now included in the HTTP requests the Socket API

Public Changelog

Add support for --workspace flag when creating scans

refs: SocketDev/socket-sdk-python#68

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
lelia added 4 commits February 24, 2026 17:55
@lelia
Add support for --workspace flag
2b96caf
Signed-off-by: lelia <[email protected]>
@lelia
Add tests to cover new workspace CLI args
03a34b7
Signed-off-by: lelia <[email protected]>
@lelia
Update README to document new CLI flag, and differentiate it from exi…
b6a6dfc
…sting workspace-name flag

Signed-off-by: lelia <[email protected]>
@lelia
Update refs to use generic project names
3ef68c2
Signed-off-by: lelia <[email protected]>
@lelia
lelia requested a review from a team as a code owner February 24, 2026 23:13
@lelia lelia mentioned this pull request Feb 24, 2026
Add workspace param support SocketDev/socket-sdk-python#68
Merged
@lelia
lelia requested review from Douglas (dacoburn) and removed request for a team February 24, 2026 23:14
@github-actions

github-actions Bot commented Feb 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🚀 Preview package published!

Install with:

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

Docker image: socketdev/cli:pr-164

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lelia
Bump CLI version
570cd7d
Signed-off-by: lelia <[email protected]>
dacoburn
Douglas (dacoburn) approved these changes Feb 25, 2026
View reviewed changes
Comment thread socketsecurity/config.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

lelia and others added 7 commits February 26, 2026 11:20
@lelia
Merge branch 'main' into lelia/add-workspace-support
59dcb9d
@lelia
Pin python and virtualenv versions to unblock builds
2ac3287
Signed-off-by: lelia <[email protected]>
@lelia
Bump published SDK version refs
ba576ae
Signed-off-by: lelia <[email protected]>
@lelia
Tweak helper text for CLI flag
7de3ba8
Signed-off-by: lelia <[email protected]>
@lelia
Update CODEOWNERS to reflect proper team structure
eb6cba4
Signed-off-by: lelia <[email protected]>
@lelia
Merge branch 'main' into lelia/add-workspace-support
33f1144
@lelia
Increment version again for release
5c63aae
Signed-off-by: lelia <[email protected]>
@lelia
lelia merged commit ceb3572 into main Feb 26, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Feb 26, 2026
Add workspace support for full scans SocketDev/socket-cli#1095
Closed
Add workspace support for full scans (v1.x) SocketDev/socket-cli#1096
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dacoburn Douglas (dacoburn) dacoburn approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lelia @dacoburn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.