Skip to content

Commit 34a621e

Browse files
committed
now using sdk 2.0.8
1 parent 394167d commit 34a621e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
'GitPython',
1414
'packaging',
1515
'python-dotenv',
16-
'socket-sdk-python>=2.0.7'
16+
'socket-sdk-python>=2.0.8'
1717
]
1818
readme = "README.md"
1919
description = "Socket Security CLI for CI/CD"
@@ -41,6 +41,7 @@ test = [
4141
]
4242
dev = [
4343
"ruff>=0.3.0",
44+
"twine", # for building
4445
"pip-tools>=7.4.0", # for pip-compile
4546
]
4647

socketsecurity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.0.7'
2+
__version__ = '2.0.8'

socketsecurity/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def get_added_and_removed_packages(self, head_full_scan_id: str, new_full_scan:
388388
log.info(f"Comparing scans - Head scan ID: {head_full_scan_id}, New scan ID: {new_full_scan.id}")
389389
diff_start = time.time()
390390
try:
391-
diff_report = self.sdk.fullscans.stream_diff(self.config.org_slug, head_full_scan_id, new_full_scan.id).data
391+
diff_report = self.sdk.fullscans.stream_diff(self.config.org_slug, head_full_scan_id, new_full_scan.id, use_types=True).data
392392
except APIFailure as e:
393393
log.error(f"API Error: {e}")
394394
sys.exit(1)

0 commit comments

Comments
 (0)