Skip to content

Commit 03549b4

Browse files
authored
Merge pull request #154 from SocketDev/set-scan-type-when-reach
Set the scan type to socket_tier1 when using the reachability flag
2 parents ef21b60 + 92ebc97 commit 03549b4

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.2.70
4+
5+
- Set the scan to `'socket_tier1'` when using the `--reach` flag. This ensures Tier 1 scans are properly integrated into the organization-wide alerts.
6+
37
## 2.2.69
48

59
- Added `--reach-enable-analysis-splitting` flag to enable analysis splitting (disabled by default).

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.2.69"
9+
version = "2.2.70"
1010
requires-python = ">= 3.10"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [
@@ -16,7 +16,7 @@ dependencies = [
1616
'GitPython',
1717
'packaging',
1818
'python-dotenv',
19-
"socketdev>=3.0.28,<4.0.0",
19+
"socketdev>=3.0.29,<4.0.0",
2020
"bs4>=0.0.2",
2121
"markdown>=3.10",
2222
]

socketsecurity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.2.69'
2+
__version__ = '2.2.70'
33
USER_AGENT = f'SocketPythonCLI/{__version__}'

socketsecurity/socketcli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,8 @@ def main_code():
463463
committers=config.committers,
464464
make_default_branch=is_default_branch,
465465
set_as_pending_head=is_default_branch,
466-
tmp=False
466+
tmp=False,
467+
scan_type='socket_tier1' if config.reach else 'socket'
467468
)
468469

469470
params.include_license_details = not config.exclude_license_details

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)