socketsecurity 2.5.7__tar.gz → 2.5.9__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.5.7 → socketsecurity-2.5.9}/.github/workflows/dependency-review.yml +8 -8
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/workflows/docker-stable.yml +2 -2
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/workflows/e2e-test.yml +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/workflows/pr-preview.yml +3 -3
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/workflows/python-tests.yml +2 -2
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/workflows/release.yml +3 -3
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/workflows/version-check.yml +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/CHANGELOG.md +16 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/PKG-INFO +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/docs/cli-reference.md +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/pyproject.toml +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/__init__.py +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/tools/reachability.py +3 -3
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/fixtures/simple-npm/package.json +1 -1
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/uv.lock +137 -117
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/CODEOWNERS +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/PULL_REQUEST_TEMPLATE/bug-fix.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/PULL_REQUEST_TEMPLATE/improvement.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/actions/setup-docker/action.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/actions/setup-hatch/action.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/actions/setup-sfw/action.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/dependabot.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.github/zizmor.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.gitignore +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.hooks/sync_version.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.pre-commit-config.yaml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/.python-version +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/Dockerfile +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/LICENSE +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/Makefile +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/README.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/docs/ci-cd.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/docs/development.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/docs/troubleshooting.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/examples/config/sarif-dashboard-parity.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/examples/config/sarif-dashboard-parity.toml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/examples/config/sarif-diff-ci-cd.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/examples/config/sarif-diff-ci-cd.toml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/examples/config/sarif-instance-detail.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/examples/config/sarif-instance-detail.toml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/instructions/gitlab-commit-status/uat.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/pytest.ini +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/scripts/build_container.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/scripts/build_container_flexible.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/scripts/deploy-test-docker.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/scripts/deploy-test-pypi.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/scripts/docker-entrypoint.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/scripts/run.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/session.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socket.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/config.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/alert_selection.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/classes.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/cli_client.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/cli_run.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/exceptions.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/git_interface.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/helper/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/helper/socket_facts_loader.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/lazy_file_loader.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/log_uploader.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/logging.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/messages.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/resource_utils.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/scm/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/scm/base.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/scm/client.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/scm/github.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/scm/gitlab.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/scm_comments.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/socket_config.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/streaming.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/core/utils.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/fossa_compat.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/output.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/base.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/formatters/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/formatters/slack.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/jira.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/manager.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/slack.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/teams.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/plugins/webhook.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/socketsecurity/socketcli.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/conftest.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/create_diff_input.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_diff_alerts.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_diff_generation.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_facts_compression.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_has_manifest_files.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_package_and_alerts.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_sdk_methods.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/core/test_supporting_methods.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/create_response.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/diff/stream_diff.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/diff/stream_diff_full.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/head_scan/metadata.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/head_scan/stream_scan.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/head_scan/stream_scan_full.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/new_scan/metadata.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/fullscans/new_scan/stream_scan.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/repos/repo_info_error.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/repos/repo_info_no_head.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/repos/repo_info_success.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/data/settings/security-policy.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/fixtures/simple-npm/index.js +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/fixtures/simple-pypi/requirements.txt +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/validate-gitlab.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/validate-json.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/validate-reachability.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/validate-sarif.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/e2e/validate-scan.sh +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/fixtures/fossa/README.md +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/fixtures/fossa/fossa-analyze-empty.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/fixtures/fossa/fossa-analyze-populated.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/fixtures/fossa/fossa-sbom-empty-deep.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/fixtures/fossa/fossa-sbom-populated.json +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/__init__.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_alert_selection.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_cli_config.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_cli_run.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_client.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_config.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_dependency_overview.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_disable_ignore.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_exclude_paths.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_fossa_compat.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_fossa_parity.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_full_scan_retry.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_gitlab_auth.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_gitlab_auth_fallback.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_gitlab_commit_status.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_gitlab_format.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_ignore_telemetry_filtering.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_include_dirs.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_log_uploader.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_output.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_reachability.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_slack_plugin.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_socketcli.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_streaming.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/tests/unit/test_tier1_finalize.py +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/workflows/bitbucket-pipelines.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/workflows/buildkite.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/workflows/github-actions.yml +0 -0
- {socketsecurity-2.5.7 → socketsecurity-2.5.9}/workflows/gitlab-ci.yml +0 -0
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
workflow_or_action_changed: ${{ steps.diff.outputs.workflow_or_action_changed }}
|
|
49
49
|
sfw_mode: ${{ steps.mode.outputs.sfw_mode }}
|
|
50
50
|
steps:
|
|
51
|
-
- uses: actions/checkout@
|
|
51
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
52
52
|
with:
|
|
53
53
|
fetch-depth: 0
|
|
54
54
|
persist-credentials: false
|
|
@@ -135,7 +135,7 @@ jobs:
|
|
|
135
135
|
runs-on: ubuntu-latest
|
|
136
136
|
timeout-minutes: 15
|
|
137
137
|
steps:
|
|
138
|
-
- uses: actions/checkout@
|
|
138
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
139
139
|
with:
|
|
140
140
|
fetch-depth: 1
|
|
141
141
|
persist-credentials: false
|
|
@@ -226,7 +226,7 @@ jobs:
|
|
|
226
226
|
timeout-minutes: 15
|
|
227
227
|
environment: socket-firewall
|
|
228
228
|
steps:
|
|
229
|
-
- uses: actions/checkout@
|
|
229
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
230
230
|
with:
|
|
231
231
|
fetch-depth: 1
|
|
232
232
|
persist-credentials: false
|
|
@@ -317,7 +317,7 @@ jobs:
|
|
|
317
317
|
runs-on: ubuntu-latest
|
|
318
318
|
timeout-minutes: 15
|
|
319
319
|
steps:
|
|
320
|
-
- uses: actions/checkout@
|
|
320
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
321
321
|
with:
|
|
322
322
|
fetch-depth: 1
|
|
323
323
|
persist-credentials: false
|
|
@@ -378,7 +378,7 @@ jobs:
|
|
|
378
378
|
timeout-minutes: 15
|
|
379
379
|
environment: socket-firewall
|
|
380
380
|
steps:
|
|
381
|
-
- uses: actions/checkout@
|
|
381
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
382
382
|
with:
|
|
383
383
|
fetch-depth: 1
|
|
384
384
|
persist-credentials: false
|
|
@@ -439,7 +439,7 @@ jobs:
|
|
|
439
439
|
runs-on: ubuntu-latest
|
|
440
440
|
timeout-minutes: 15
|
|
441
441
|
steps:
|
|
442
|
-
- uses: actions/checkout@
|
|
442
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
443
443
|
with:
|
|
444
444
|
fetch-depth: 1
|
|
445
445
|
persist-credentials: false
|
|
@@ -503,7 +503,7 @@ jobs:
|
|
|
503
503
|
timeout-minutes: 15
|
|
504
504
|
environment: socket-firewall
|
|
505
505
|
steps:
|
|
506
|
-
- uses: actions/checkout@
|
|
506
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
507
507
|
with:
|
|
508
508
|
fetch-depth: 1
|
|
509
509
|
persist-credentials: false
|
|
@@ -565,7 +565,7 @@ jobs:
|
|
|
565
565
|
runs-on: ubuntu-latest
|
|
566
566
|
timeout-minutes: 20
|
|
567
567
|
steps:
|
|
568
|
-
- uses: actions/checkout@
|
|
568
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
569
569
|
with:
|
|
570
570
|
fetch-depth: 1
|
|
571
571
|
persist-credentials: false
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
stable:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
17
17
|
with:
|
|
18
18
|
persist-credentials: false
|
|
19
19
|
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
36
36
|
|
|
37
37
|
- name: Build & Push Stable Docker
|
|
38
|
-
uses: docker/build-push-action@
|
|
38
|
+
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
|
39
39
|
with:
|
|
40
40
|
push: true
|
|
41
41
|
platforms: linux/amd64,linux/arm64
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
|
|
71
71
|
name: e2e-${{ matrix.name }}
|
|
72
72
|
steps:
|
|
73
|
-
- uses: actions/checkout@
|
|
73
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
74
74
|
with:
|
|
75
75
|
fetch-depth: 0
|
|
76
76
|
persist-credentials: false
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
contents: read
|
|
25
25
|
pull-requests: write
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
28
28
|
with:
|
|
29
29
|
fetch-depth: 0
|
|
30
30
|
persist-credentials: false
|
|
@@ -65,7 +65,7 @@ jobs:
|
|
|
65
65
|
|
|
66
66
|
- name: Publish to Test PyPI
|
|
67
67
|
if: steps.version_check.outputs.exists != 'true'
|
|
68
|
-
uses: pypa/gh-action-pypi-publish@
|
|
68
|
+
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
|
|
69
69
|
with:
|
|
70
70
|
repository-url: https://test.pypi.org/legacy/
|
|
71
71
|
verbose: true
|
|
@@ -150,7 +150,7 @@ jobs:
|
|
|
150
150
|
|
|
151
151
|
- name: Build & Push Docker Preview
|
|
152
152
|
if: steps.verify_package.outputs.success == 'true'
|
|
153
|
-
uses: docker/build-push-action@
|
|
153
|
+
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
|
154
154
|
env:
|
|
155
155
|
VERSION: ${{ env.VERSION }}
|
|
156
156
|
with:
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
runs-on: ubuntu-latest
|
|
36
36
|
timeout-minutes: 20
|
|
37
37
|
steps:
|
|
38
|
-
- uses: actions/checkout@
|
|
38
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
39
39
|
with:
|
|
40
40
|
fetch-depth: 1
|
|
41
41
|
persist-credentials: false
|
|
@@ -71,7 +71,7 @@ jobs:
|
|
|
71
71
|
runs-on: ubuntu-latest
|
|
72
72
|
timeout-minutes: 10
|
|
73
73
|
steps:
|
|
74
|
-
- uses: actions/checkout@
|
|
74
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
75
75
|
with:
|
|
76
76
|
fetch-depth: 1
|
|
77
77
|
persist-credentials: false
|
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
id-token: write
|
|
11
11
|
contents: read
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
14
14
|
with:
|
|
15
15
|
fetch-depth: 0
|
|
16
16
|
persist-credentials: false
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
66
66
|
|
|
67
67
|
- name: Publish to PyPI
|
|
68
68
|
if: steps.version_check.outputs.pypi_exists != 'true'
|
|
69
|
-
uses: pypa/gh-action-pypi-publish@
|
|
69
|
+
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
|
|
70
70
|
|
|
71
71
|
- name: Set up Docker publishing
|
|
72
72
|
uses: ./.github/actions/setup-docker
|
|
@@ -96,7 +96,7 @@ jobs:
|
|
|
96
96
|
if: |
|
|
97
97
|
steps.verify_package.outputs.success == 'true' &&
|
|
98
98
|
steps.docker_check.outputs.docker_exists != 'true'
|
|
99
|
-
uses: docker/build-push-action@
|
|
99
|
+
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
|
100
100
|
env:
|
|
101
101
|
VERSION: ${{ env.VERSION }}
|
|
102
102
|
with:
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
if: github.event.pull_request.user.login != 'dependabot[bot]'
|
|
21
21
|
runs-on: ubuntu-latest
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
24
24
|
with:
|
|
25
25
|
fetch-depth: 0 # Fetch all history for all branches
|
|
26
26
|
persist-credentials: false
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.5.9
|
|
4
|
+
|
|
5
|
+
### Changed: bump pinned @coana-tech/cli to 15.10.3
|
|
6
|
+
|
|
7
|
+
- Bumped the pinned reachability engine (`@coana-tech/cli`) from `15.10.2` to
|
|
8
|
+
`15.10.3`. See the [Coana changelogs](https://docs.coana.tech/changelogs) for
|
|
9
|
+
engine changes.
|
|
10
|
+
|
|
11
|
+
## 2.5.8
|
|
12
|
+
|
|
13
|
+
### Changed: bump pinned @coana-tech/cli to 15.10.2
|
|
14
|
+
|
|
15
|
+
- Bumped the pinned reachability engine (`@coana-tech/cli`) from `15.10.0` to
|
|
16
|
+
`15.10.2`. See the [Coana changelogs](https://docs.coana.tech/changelogs) for
|
|
17
|
+
engine changes.
|
|
18
|
+
|
|
3
19
|
## 2.5.7
|
|
4
20
|
|
|
5
21
|
### Changed: bump pinned @coana-tech/cli to 15.10.0
|
|
@@ -275,7 +275,7 @@ If you don't want to provide the Socket API Token every time then you can use th
|
|
|
275
275
|
| Parameter | Required | Default | Description |
|
|
276
276
|
|:---------------------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------------------------------|
|
|
277
277
|
| `--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`). |
|
|
278
|
-
| `--reach-version` | False | 15.10.
|
|
278
|
+
| `--reach-version` | False | 15.10.3 | Version of @coana-tech/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. |
|
|
279
279
|
| `--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` |
|
|
280
280
|
| `--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` |
|
|
281
281
|
| `--reach-concurrency` | False | 1 | Control parallel analysis execution (must be >= 1). Omitted by default, so coana applies its own default. |
|
|
@@ -18,7 +18,7 @@ log = logging.getLogger(__name__)
|
|
|
18
18
|
# Pinned @coana-tech/cli version. Bumped deliberately per Python CLI release so the
|
|
19
19
|
# reachability engine version only changes through a standard pip upgrade (advance notice).
|
|
20
20
|
# Pass --reach-version latest to opt into the newest published version instead.
|
|
21
|
-
DEFAULT_COANA_CLI_VERSION: Final = "15.10.
|
|
21
|
+
DEFAULT_COANA_CLI_VERSION: Final = "15.10.3"
|
|
22
22
|
|
|
23
23
|
# Resolved @coana-tech/cli script paths from the npm-install fallback, keyed by version.
|
|
24
24
|
# Lives for the process lifetime so repeated fallback invocations install only once
|
|
@@ -55,7 +55,7 @@ class ReachabilityAnalyzer:
|
|
|
55
55
|
|
|
56
56
|
def _resolve_coana_package_spec(self, version: Optional[str] = None) -> str:
|
|
57
57
|
"""
|
|
58
|
-
Resolve the @coana-tech/cli package spec to run (e.g. '@coana-tech/cli@15.10.
|
|
58
|
+
Resolve the @coana-tech/cli package spec to run (e.g. '@coana-tech/cli@15.10.3').
|
|
59
59
|
|
|
60
60
|
Args:
|
|
61
61
|
version: Coana CLI version to use.
|
|
@@ -64,7 +64,7 @@ class ReachabilityAnalyzer:
|
|
|
64
64
|
- '<semver>': that exact version.
|
|
65
65
|
|
|
66
66
|
Returns:
|
|
67
|
-
str: The package specifier to use with npx (e.g. '@coana-tech/cli@15.10.
|
|
67
|
+
str: The package specifier to use with npx (e.g. '@coana-tech/cli@15.10.3').
|
|
68
68
|
"""
|
|
69
69
|
return f"@coana-tech/cli@{self._resolve_coana_version(version)}"
|
|
70
70
|
|