socketsecurity 2.11.10__tar.gz → 2.11.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/CHANGELOG.md +18 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/PKG-INFO +2 -2
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/docs/cli-reference.md +1 -1
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/pyproject.toml +2 -2
- socketsecurity-2.11.11/socketsecurity/__init__.py +4 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/tools/reachability.py +1 -1
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/socketcli.py +2 -1
- socketsecurity-2.11.11/tests/unit/test_user_agent.py +35 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/uv.lock +5 -5
- socketsecurity-2.11.10/socketsecurity/__init__.py +0 -3
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/CODEOWNERS +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/PULL_REQUEST_TEMPLATE/bug-fix.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/PULL_REQUEST_TEMPLATE/improvement.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/actions/setup-docker/action.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/actions/setup-hatch/action.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/actions/setup-sfw/action.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/dependabot.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/dependency-audit.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/dependency-review.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/docker-stable.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/e2e-test.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/package-check.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/pr-preview.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/python-tests.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/release.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/workflows/version-check.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/zizmor.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.gitignore +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.hooks/sync_version.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.pre-commit-config.yaml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/.python-version +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/CONTRIBUTING.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/Dockerfile +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/Dockerfile.preview +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/LICENSE +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/Makefile +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/README.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/benchmarks/manifest_discovery.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/docs/ci-cd.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/docs/development.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/docs/troubleshooting.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-dashboard-parity.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-dashboard-parity.toml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-diff-ci-cd.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-diff-ci-cd.toml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-instance-detail.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-instance-detail.toml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/instructions/gitlab-commit-status/uat.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/pytest.ini +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/scripts/build_container.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/scripts/build_container_flexible.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/scripts/deploy-test-docker.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/scripts/deploy-test-pypi.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/scripts/docker-entrypoint.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/scripts/run.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/session.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socket.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/config.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/alert_selection.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/classes.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/cli_client.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/cli_run.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/exceptions.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/git_interface.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/git_remote.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/helper/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/helper/socket_facts_loader.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/lazy_file_loader.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/log_uploader.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/logging.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/messages.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/pull_request.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/resource_utils.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/scm/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/scm/base.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/scm/client.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/scm/github.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/scm/gitlab.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/scm_comments.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/socket_config.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/streaming.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/tools/coana-cache.mjs +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/utils.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/fossa_compat.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/output.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/base.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/formatters/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/formatters/slack.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/jira.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/manager.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/slack.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/teams.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/webhook.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/conftest.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/create_diff_input.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_diff_alerts.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_diff_generation.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_diff_scan_polling.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_facts_compression.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_full_scan_outputs.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_has_manifest_files.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_invalid_facts_marker.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_package_and_alerts.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_sdk_methods.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/core/test_supporting_methods.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/create_response.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/diff/stream_diff.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/diff/stream_diff_full.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/head_scan/metadata.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/head_scan/stream_scan.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/head_scan/stream_scan_full.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/new_scan/metadata.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/new_scan/stream_scan.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/repos/repo_info_error.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/repos/repo_info_no_head.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/repos/repo_info_success.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/settings/security-policy.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/fixtures/simple-npm/index.js +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/fixtures/simple-npm/package.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/fixtures/simple-pypi/requirements.txt +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/reach-facts-probe.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/validate-gitlab.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/validate-json.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/validate-reachability.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/validate-sarif.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/validate-scan.sh +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/README.md +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-analyze-empty.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-analyze-populated.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-sbom-empty-deep.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-sbom-populated.json +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/__init__.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_alert_selection.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_cli_config.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_cli_run.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_client.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_commit_message_truncation.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_config.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_dependency_overview.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_disable_ignore.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_exclude_paths.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_fossa_compat.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_fossa_parity.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_full_scan_retry.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_git_interface.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_git_remote.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_github_buildkite_config.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_gitlab_auth.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_gitlab_auth_fallback.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_gitlab_commit_status.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_gitlab_format.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_ignore_authorization.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_ignore_telemetry_filtering.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_include_dirs.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_log_uploader.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_manifest_discovery.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_messages.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_output.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_pr_comment_rendering.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_pull_request_context.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_reachability.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_scan_scope.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_slack_plugin.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_slack_severity_normalization.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_socketcli.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_streaming.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_summary_text.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_tier1_finalize.py +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/workflows/bitbucket-pipelines.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/workflows/buildkite.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/workflows/github-actions.yml +0 -0
- {socketsecurity-2.11.10 → socketsecurity-2.11.11}/workflows/gitlab-ci.yml +0 -0
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.11.11
|
|
4
|
+
|
|
5
|
+
### Changed: use lowercase Python CLI User-Agent
|
|
6
|
+
|
|
7
|
+
- Use `socket-python-cli/` consistently for direct API and SDK requests.
|
|
8
|
+
|
|
9
|
+
### Changed: bump the Socket Python SDK to 3.6.2
|
|
10
|
+
|
|
11
|
+
- Bumped the pinned Socket Python SDK (`socketdev`) from `3.6.1` to `3.6.2`
|
|
12
|
+
to reject retired API credentials before use.
|
|
13
|
+
|
|
14
|
+
### Changed: bump pinned Coana CLI to 15.14.1
|
|
15
|
+
|
|
16
|
+
- Bumped the pinned reachability engine (the Coana CLI) from `15.14.0` to
|
|
17
|
+
`15.14.1`. See the
|
|
18
|
+
[reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog)
|
|
19
|
+
for engine changes.
|
|
20
|
+
|
|
3
21
|
## 2.11.10
|
|
4
22
|
|
|
5
23
|
Versions 2.11.7 through 2.11.9 were never published to PyPI or Docker Hub. The
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: socketsecurity
|
|
3
|
-
Version: 2.11.
|
|
3
|
+
Version: 2.11.11
|
|
4
4
|
Summary: Socket Security CLI for CI/CD
|
|
5
5
|
Project-URL: Homepage, https://socket.dev
|
|
6
6
|
Author-email: Douglas Coburn <douglas@socket.dev>
|
|
@@ -44,7 +44,7 @@ Requires-Dist: packaging==26.3
|
|
|
44
44
|
Requires-Dist: prettytable==3.18.0
|
|
45
45
|
Requires-Dist: python-dotenv==1.2.4
|
|
46
46
|
Requires-Dist: requests==2.34.2
|
|
47
|
-
Requires-Dist: socketdev==3.6.
|
|
47
|
+
Requires-Dist: socketdev==3.6.2
|
|
48
48
|
Provides-Extra: dev
|
|
49
49
|
Requires-Dist: hatch==1.18.1; extra == 'dev'
|
|
50
50
|
Requires-Dist: pre-commit==4.7.0; extra == 'dev'
|
|
@@ -338,7 +338,7 @@ If you don't want to provide the Socket API Token every time then you can use th
|
|
|
338
338
|
| Parameter | Required | Default | Description |
|
|
339
339
|
|:---------------------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------------------------------|
|
|
340
340
|
| `--reach` | False | False | Enable reachability analysis to identify which vulnerable functions are actually called by your code. Creates a full application reachability scan (`scan_type=socket_tier1`). |
|
|
341
|
-
| `--reach-version` | False | 15.14.
|
|
341
|
+
| `--reach-version` | False | 15.14.1 | Version of the Coana CLI to use. Defaults to the pinned version that ships with this CLI release, so the engine only changes when you upgrade the Socket CLI. Pass `latest` to always use the newest published version (opt-in auto-update), or an explicit version (e.g. `1.2.3`) to pin it. |
|
|
342
342
|
| `--reach-analysis-timeout` | False | 10m | Timeout for each reachability analysis run, e.g. `90s`, `10m` or `1h`. Omitted by default, so coana applies its own default (`10m`). Alias: `--reach-timeout` |
|
|
343
343
|
| `--reach-analysis-memory-limit` | False | 8GB | Memory limit for each reachability analysis run, e.g. `512MB` or `8GB`. Omitted by default, so coana applies its own default (`8GB`). Alias: `--reach-memory-limit` |
|
|
344
344
|
| `--reach-concurrency` | False | 1 | Control parallel analysis execution (must be >= 1). Omitted by default, so coana applies its own default. |
|
|
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "socketsecurity"
|
|
9
|
-
version = "2.11.
|
|
9
|
+
version = "2.11.11"
|
|
10
10
|
requires-python = ">= 3.11"
|
|
11
11
|
license = {"file" = "LICENSE"}
|
|
12
12
|
dependencies = [
|
|
@@ -16,7 +16,7 @@ dependencies = [
|
|
|
16
16
|
"gitpython==3.2.1",
|
|
17
17
|
"packaging==26.3",
|
|
18
18
|
"python-dotenv==1.2.4",
|
|
19
|
-
"socketdev==3.6.
|
|
19
|
+
"socketdev==3.6.2",
|
|
20
20
|
"beautifulsoup4==4.15.0",
|
|
21
21
|
"markdown==3.11.2",
|
|
22
22
|
"brotli==1.2.1; platform_python_implementation == 'CPython'",
|
|
@@ -22,7 +22,7 @@ log = logging.getLogger(__name__)
|
|
|
22
22
|
# Pinned Coana CLI version. Bumped deliberately per Python CLI release so the
|
|
23
23
|
# reachability engine version only changes through a standard pip upgrade (advance notice).
|
|
24
24
|
# Pass --reach-version latest to opt into the newest published version instead.
|
|
25
|
-
DEFAULT_COANA_CLI_VERSION: Final = "15.14.
|
|
25
|
+
DEFAULT_COANA_CLI_VERSION: Final = "15.14.1"
|
|
26
26
|
|
|
27
27
|
# Vendored from coana-package-manager, where it is generated; the only code that may read or
|
|
28
28
|
# write the cache Coana shares with the Socket CLIs. See "Launching Coana" in that repo's
|
|
@@ -12,6 +12,7 @@ from git import InvalidGitRepositoryError, NoSuchPathError
|
|
|
12
12
|
from socketdev import socketdev
|
|
13
13
|
from socketdev.fullscans import FullScanParams
|
|
14
14
|
|
|
15
|
+
from socketsecurity import USER_AGENT_NAME
|
|
15
16
|
from socketsecurity.config import CliConfig, truncate_commit_message
|
|
16
17
|
from socketsecurity.core import Core
|
|
17
18
|
from socketsecurity.core.classes import Diff
|
|
@@ -240,7 +241,7 @@ def apply_git_context(config: CliConfig) -> Tuple[bool, Optional[Git]]:
|
|
|
240
241
|
|
|
241
242
|
|
|
242
243
|
def build_socket_sdk(config: CliConfig) -> socketdev:
|
|
243
|
-
cli_user_agent_string = f"
|
|
244
|
+
cli_user_agent_string = f"{USER_AGENT_NAME}/{config.version}"
|
|
244
245
|
return socketdev(
|
|
245
246
|
token=config.api_token,
|
|
246
247
|
timeout=get_api_request_timeout(config),
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
import requests
|
|
3
|
+
|
|
4
|
+
from socketsecurity import __version__
|
|
5
|
+
from socketsecurity.config import CliConfig
|
|
6
|
+
from socketsecurity.core.cli_client import CliClient
|
|
7
|
+
from socketsecurity.core.socket_config import SocketConfig
|
|
8
|
+
from socketsecurity.socketcli import build_socket_sdk
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@pytest.mark.parametrize("transport", ["direct", "sdk"])
|
|
12
|
+
def test_cli_api_requests_identify_the_same_product(monkeypatch, transport):
|
|
13
|
+
captured = []
|
|
14
|
+
|
|
15
|
+
def send(session, request, **kwargs):
|
|
16
|
+
captured.append(request)
|
|
17
|
+
response = requests.Response()
|
|
18
|
+
response.status_code = 200
|
|
19
|
+
response._content = b"{}"
|
|
20
|
+
return response
|
|
21
|
+
|
|
22
|
+
monkeypatch.setattr(requests.sessions.Session, "send", send)
|
|
23
|
+
if transport == "direct":
|
|
24
|
+
CliClient(SocketConfig(api_key="synthetic-test-token")).request(
|
|
25
|
+
"organizations"
|
|
26
|
+
)
|
|
27
|
+
else:
|
|
28
|
+
sdk = build_socket_sdk(
|
|
29
|
+
CliConfig(api_token="synthetic-test-token", repo="test-repo")
|
|
30
|
+
)
|
|
31
|
+
sdk.api.do_request("organizations")
|
|
32
|
+
|
|
33
|
+
assert len(captured) == 1
|
|
34
|
+
assert captured[0].headers["User-Agent"] == f"socket-python-cli/{__version__}"
|
|
35
|
+
assert captured[0].headers["Authorization"].startswith("Basic ")
|
|
@@ -1318,21 +1318,21 @@ wheels = [
|
|
|
1318
1318
|
|
|
1319
1319
|
[[package]]
|
|
1320
1320
|
name = "socketdev"
|
|
1321
|
-
version = "3.6.
|
|
1321
|
+
version = "3.6.2"
|
|
1322
1322
|
source = { registry = "https://pypi.org/simple" }
|
|
1323
1323
|
dependencies = [
|
|
1324
1324
|
{ name = "certifi" },
|
|
1325
1325
|
{ name = "requests" },
|
|
1326
1326
|
{ name = "typing-extensions" },
|
|
1327
1327
|
]
|
|
1328
|
-
sdist = { url = "https://files.pythonhosted.org/packages/c2/
|
|
1328
|
+
sdist = { url = "https://files.pythonhosted.org/packages/3a/c2/48db5863e4e1d86f7b92334b91e8f9c59f4e96fc5949f0b594fff86dfeed/socketdev-3.6.2.tar.gz", hash = "sha256:ad51c879cad8d897ed1b949339fb7aded30d0fe25b2a3810c83079887e8610b5", size = 182918, upload-time = "2026-11-03T23:18:52.18Z" }
|
|
1329
1329
|
wheels = [
|
|
1330
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1330
|
+
{ url = "https://files.pythonhosted.org/packages/c2/3a/7ed253ade4cd47e6af02bf61668c9c2824a35e617668b6f4f12e41d617a5/socketdev-3.6.2-py3-none-any.whl", hash = "sha256:ea94b2da1bdb89f3b70209b606f3abe5c609f66549c1deb160cf18f58e0c2e48", size = 75559, upload-time = "2026-11-03T23:18:50.423Z" },
|
|
1331
1331
|
]
|
|
1332
1332
|
|
|
1333
1333
|
[[package]]
|
|
1334
1334
|
name = "socketsecurity"
|
|
1335
|
-
version = "2.11.
|
|
1335
|
+
version = "2.11.11"
|
|
1336
1336
|
source = { editable = "." }
|
|
1337
1337
|
dependencies = [
|
|
1338
1338
|
{ name = "beautifulsoup4" },
|
|
@@ -1391,7 +1391,7 @@ requires-dist = [
|
|
|
1391
1391
|
{ name = "python-dotenv", specifier = "==1.2.4" },
|
|
1392
1392
|
{ name = "requests", specifier = "==2.34.2" },
|
|
1393
1393
|
{ name = "ruff", marker = "extra == 'dev'", specifier = "==0.17.2" },
|
|
1394
|
-
{ name = "socketdev", specifier = "==3.6.
|
|
1394
|
+
{ name = "socketdev", specifier = "==3.6.2" },
|
|
1395
1395
|
{ name = "twine", marker = "extra == 'dev'", specifier = "==7.0.0" },
|
|
1396
1396
|
{ name = "uv", marker = "extra == 'dev'", specifier = "==0.13.5" },
|
|
1397
1397
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/.github/PULL_REQUEST_TEMPLATE/improvement.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-dashboard-parity.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-dashboard-parity.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-instance-detail.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/examples/config/sarif-instance-detail.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/core/helper/socket_facts_loader.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/formatters/__init__.py
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/socketsecurity/plugins/formatters/slack.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/diff/stream_diff.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/diff/stream_diff_full.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/head_scan/metadata.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/head_scan/stream_scan.json
RENAMED
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/new_scan/metadata.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/data/fullscans/new_scan/stream_scan.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/fixtures/simple-npm/package.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/e2e/fixtures/simple-pypi/requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-analyze-empty.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-analyze-populated.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-sbom-empty-deep.json
RENAMED
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/fixtures/fossa/fossa-sbom-populated.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_commit_message_truncation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_github_buildkite_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_ignore_telemetry_filtering.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{socketsecurity-2.11.10 → socketsecurity-2.11.11}/tests/unit/test_slack_severity_normalization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|