socketdev 3.0.4__py3-none-any.whl → 3.0.6__py3-none-any.whl
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.
- socketdev/apitokens/__init__.py +40 -3
- socketdev/auditlog/__init__.py +4 -1
- socketdev/core/dedupe.py +28 -33
- socketdev/dependencies/__init__.py +16 -11
- socketdev/diffscans/__init__.py +5 -3
- socketdev/fullscans/__init__.py +14 -4
- socketdev/purl/__init__.py +1 -1
- socketdev/report/__init__.py +19 -4
- socketdev/utils/__init__.py +55 -8
- socketdev/version.py +1 -1
- {socketdev-3.0.4.dist-info → socketdev-3.0.6.dist-info}/METADATA +1 -1
- {socketdev-3.0.4.dist-info → socketdev-3.0.6.dist-info}/RECORD +14 -14
- {socketdev-3.0.4.dist-info → socketdev-3.0.6.dist-info}/WHEEL +0 -0
- {socketdev-3.0.4.dist-info → socketdev-3.0.6.dist-info}/licenses/LICENSE +0 -0
socketdev/apitokens/__init__.py
CHANGED
|
@@ -28,20 +28,57 @@ class ApiTokens:
|
|
|
28
28
|
log.error(response.text)
|
|
29
29
|
return {}
|
|
30
30
|
|
|
31
|
-
def
|
|
31
|
+
def list(self, org_slug: str, **kwargs) -> dict:
|
|
32
|
+
"""
|
|
33
|
+
List API tokens for an organization.
|
|
34
|
+
|
|
35
|
+
Args:
|
|
36
|
+
org_slug: Organization slug
|
|
37
|
+
**kwargs: Query parameters
|
|
38
|
+
|
|
39
|
+
Returns:
|
|
40
|
+
dict: API response containing list of tokens
|
|
41
|
+
"""
|
|
42
|
+
path = f"orgs/{org_slug}/api-tokens"
|
|
43
|
+
query_params = {}
|
|
44
|
+
if kwargs:
|
|
45
|
+
query_params.update(kwargs)
|
|
46
|
+
|
|
47
|
+
if query_params:
|
|
48
|
+
from urllib.parse import urlencode
|
|
49
|
+
path += "?" + urlencode(query_params)
|
|
50
|
+
response = self.api.do_request(path=path, method="GET")
|
|
51
|
+
if response.status_code == 200:
|
|
52
|
+
return response.json()
|
|
53
|
+
log.error(f"Error listing API tokens: {response.status_code}")
|
|
54
|
+
log.error(response.text)
|
|
55
|
+
return {}
|
|
56
|
+
|
|
57
|
+
def update(self, org_slug: str, token_id: str = None, **kwargs) -> dict:
|
|
32
58
|
"""
|
|
33
59
|
Update an API token.
|
|
34
60
|
|
|
35
61
|
Args:
|
|
36
62
|
org_slug: Organization slug
|
|
63
|
+
token_id: Token ID to update (optional, can be in kwargs)
|
|
37
64
|
**kwargs: Token update parameters
|
|
38
65
|
|
|
39
66
|
Returns:
|
|
40
67
|
dict: API response containing the updated token details
|
|
41
68
|
"""
|
|
42
|
-
|
|
69
|
+
# Extract token_id from kwargs if not provided as parameter
|
|
70
|
+
if token_id is None and 'token_id' in kwargs:
|
|
71
|
+
token_id = kwargs.pop('token_id')
|
|
72
|
+
|
|
73
|
+
if token_id:
|
|
74
|
+
path = f"orgs/{org_slug}/api-tokens/{token_id}"
|
|
75
|
+
method = "PUT"
|
|
76
|
+
else:
|
|
77
|
+
path = f"orgs/{org_slug}/api-tokens/update"
|
|
78
|
+
method = "POST"
|
|
79
|
+
|
|
43
80
|
payload = json.dumps(kwargs) if kwargs else "{}"
|
|
44
|
-
response = self.api.do_request(path=path, method=
|
|
81
|
+
response = self.api.do_request(path=path, method=method, payload=payload)
|
|
45
82
|
if response.status_code == 200:
|
|
46
83
|
return response.json()
|
|
47
84
|
log.error(f"Error updating API token: {response.status_code}")
|
socketdev/auditlog/__init__.py
CHANGED
|
@@ -19,7 +19,10 @@ class AuditLog:
|
|
|
19
19
|
dict: API response containing audit log entries
|
|
20
20
|
"""
|
|
21
21
|
path = f"orgs/{org_slug}/audit-log"
|
|
22
|
-
|
|
22
|
+
if kwargs:
|
|
23
|
+
from urllib.parse import urlencode
|
|
24
|
+
path += "?" + urlencode(kwargs)
|
|
25
|
+
response = self.api.do_request(path=path)
|
|
23
26
|
if response.status_code == 200:
|
|
24
27
|
return response.json()
|
|
25
28
|
log.error(f"Error getting audit log: {response.status_code}")
|
socketdev/core/dedupe.py
CHANGED
|
@@ -88,40 +88,35 @@ class Dedupe:
|
|
|
88
88
|
|
|
89
89
|
@staticmethod
|
|
90
90
|
def dedupe(packages: List[Dict[str, Any]], batched: bool = True) -> List[Dict[str, Any]]:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
91
|
+
# Always group by inputPurl now, but keep the batched parameter for backward compatibility
|
|
92
|
+
grouped = Dedupe.consolidate_by_input_purl(packages)
|
|
93
|
+
results = []
|
|
94
|
+
for group in grouped.values():
|
|
95
|
+
result = Dedupe.consolidate_and_merge_alerts(group)
|
|
96
|
+
# Remove batchIndex from the result
|
|
97
|
+
if "batchIndex" in result:
|
|
98
|
+
del result["batchIndex"]
|
|
99
|
+
results.append(result)
|
|
100
|
+
return results
|
|
96
101
|
|
|
97
102
|
@staticmethod
|
|
98
|
-
def
|
|
99
|
-
|
|
103
|
+
def consolidate_by_input_purl(packages: List[Dict[str, Any]]) -> dict[str, list[dict[str, Any]]]:
|
|
104
|
+
"""Group packages by their inputPurl field"""
|
|
105
|
+
grouped: Dict[str, List[Dict[str, Any]]] = defaultdict(list)
|
|
106
|
+
|
|
107
|
+
# Handle both list of packages and nested structure
|
|
108
|
+
if packages and isinstance(packages[0], list):
|
|
109
|
+
# If we get a nested list, flatten it
|
|
110
|
+
flat_packages = []
|
|
111
|
+
for sublist in packages:
|
|
112
|
+
if isinstance(sublist, list):
|
|
113
|
+
flat_packages.extend(sublist)
|
|
114
|
+
else:
|
|
115
|
+
flat_packages.append(sublist)
|
|
116
|
+
packages = flat_packages
|
|
117
|
+
|
|
100
118
|
for pkg in packages:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@staticmethod
|
|
105
|
-
def consolidate_by_order(packages: List[Dict[str, Any]]) -> dict[int, list[dict[str, Any]]]:
|
|
106
|
-
grouped: Dict[int, List[Dict[str, Any]]] = defaultdict(list)
|
|
107
|
-
batch_index = 0
|
|
108
|
-
package_purl = None
|
|
109
|
-
try:
|
|
110
|
-
for pkg in packages:
|
|
111
|
-
name = pkg["name"]
|
|
112
|
-
version = pkg["version"]
|
|
113
|
-
namespace = pkg.get("namespace")
|
|
114
|
-
ecosystem = pkg.get("type")
|
|
115
|
-
new_purl = f"pkg:{ecosystem}/"
|
|
116
|
-
if namespace:
|
|
117
|
-
new_purl += f"{namespace}/"
|
|
118
|
-
new_purl += f"{name}@{version}"
|
|
119
|
-
if package_purl is None:
|
|
120
|
-
package_purl = new_purl
|
|
121
|
-
if package_purl != new_purl:
|
|
122
|
-
batch_index += 1
|
|
123
|
-
pkg["batchIndex"] = batch_index
|
|
124
|
-
grouped[pkg["batchIndex"]].append(pkg)
|
|
125
|
-
except Exception as error:
|
|
126
|
-
log.error(error)
|
|
119
|
+
# inputPurl should always exist now, fallback to purl if not found
|
|
120
|
+
group_key = pkg.get("inputPurl", pkg.get("purl", str(hash(str(pkg)))))
|
|
121
|
+
grouped[group_key].append(pkg)
|
|
127
122
|
return grouped
|
|
@@ -13,9 +13,9 @@ class Dependencies:
|
|
|
13
13
|
def __init__(self, api):
|
|
14
14
|
self.api = api
|
|
15
15
|
|
|
16
|
-
def post(self, files: list, params: dict, use_lazy_loading: bool =
|
|
16
|
+
def post(self, files: list, params: dict, use_lazy_loading: bool = True, workspace: str = None, base_path: str = None) -> dict:
|
|
17
17
|
if use_lazy_loading:
|
|
18
|
-
loaded_files = Utils.load_files_for_sending_lazy(files, workspace)
|
|
18
|
+
loaded_files = Utils.load_files_for_sending_lazy(files, workspace, base_path=base_path)
|
|
19
19
|
else:
|
|
20
20
|
loaded_files = []
|
|
21
21
|
loaded_files = load_files(files, loaded_files)
|
|
@@ -30,15 +30,20 @@ class Dependencies:
|
|
|
30
30
|
log.error(response.text)
|
|
31
31
|
return result
|
|
32
32
|
|
|
33
|
-
def get(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
def get(self, org_slug: str = None, ecosystem: str = None, package: str = None, version: str = None, **kwargs) -> dict:
|
|
34
|
+
# If all specific parameters are provided, use the specific dependency endpoint
|
|
35
|
+
if org_slug and ecosystem and package and version:
|
|
36
|
+
path = f"orgs/{org_slug}/dependencies/{ecosystem}/{package}/{version}"
|
|
37
|
+
response = self.api.do_request(path=path, method="GET")
|
|
38
|
+
else:
|
|
39
|
+
# Otherwise use the search endpoint
|
|
40
|
+
limit = kwargs.get('limit', 50)
|
|
41
|
+
offset = kwargs.get('offset', 0)
|
|
42
|
+
path = "dependencies/search"
|
|
43
|
+
payload = {"limit": limit, "offset": offset}
|
|
44
|
+
payload_str = json.dumps(payload)
|
|
45
|
+
response = self.api.do_request(path=path, method="POST", payload=payload_str)
|
|
46
|
+
|
|
42
47
|
if response.status_code == 200:
|
|
43
48
|
result = response.json()
|
|
44
49
|
else:
|
socketdev/diffscans/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import logging
|
|
3
|
-
from typing import Any, Dict, Optional, Union
|
|
3
|
+
from typing import Any, Dict, List, Optional, Union
|
|
4
4
|
from ..utils import Utils
|
|
5
5
|
|
|
6
6
|
log = logging.getLogger("socketdev")
|
|
@@ -30,7 +30,7 @@ class DiffScans:
|
|
|
30
30
|
log.error(f"Error fetching diff scan: {response.status_code}, message: {response.text}")
|
|
31
31
|
return {}
|
|
32
32
|
|
|
33
|
-
def create_from_repo(self, org_slug: str, repo_slug: str, files: list, params: Optional[Dict[str, Any]] = None, use_lazy_loading: bool = False, workspace: str = None, max_open_files: int = 100) -> dict:
|
|
33
|
+
def create_from_repo(self, org_slug: str, repo_slug: str, files: list, params: Optional[Dict[str, Any]] = None, use_lazy_loading: bool = False, workspace: str = None, max_open_files: int = 100, base_path: str = None, base_paths: list = None) -> dict:
|
|
34
34
|
"""
|
|
35
35
|
Create a diff scan from repo HEAD, uploading files as multipart form data.
|
|
36
36
|
|
|
@@ -45,6 +45,8 @@ class DiffScans:
|
|
|
45
45
|
workspace: Base directory path to make file paths relative to
|
|
46
46
|
max_open_files: Maximum number of files to keep open simultaneously when using
|
|
47
47
|
lazy loading. Useful for systems with low ulimit values (default: 100)
|
|
48
|
+
base_path: Optional base path to strip from key names for cleaner file organization
|
|
49
|
+
base_paths: Optional list of base paths to strip from key names (takes precedence over base_path)
|
|
48
50
|
|
|
49
51
|
Returns:
|
|
50
52
|
dict: API response containing diff scan results
|
|
@@ -63,7 +65,7 @@ class DiffScans:
|
|
|
63
65
|
|
|
64
66
|
# Use lazy loading if requested
|
|
65
67
|
if use_lazy_loading:
|
|
66
|
-
prepared_files = Utils.load_files_for_sending_lazy(files, workspace, max_open_files)
|
|
68
|
+
prepared_files = Utils.load_files_for_sending_lazy(files, workspace, max_open_files, base_path, base_paths)
|
|
67
69
|
else:
|
|
68
70
|
prepared_files = files
|
|
69
71
|
|
socketdev/fullscans/__init__.py
CHANGED
|
@@ -701,8 +701,16 @@ class FullScans:
|
|
|
701
701
|
|
|
702
702
|
|
|
703
703
|
def get(self, org_slug: str, params: dict, use_types: bool = False) -> Union[dict, GetFullScanMetadataResponse]:
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
# Check if this is a request for a specific scan by ID
|
|
705
|
+
if 'id' in params and len(params) == 1:
|
|
706
|
+
# Get specific scan by ID: /orgs/{org_slug}/full-scans/{full_scan_id}
|
|
707
|
+
scan_id = params['id']
|
|
708
|
+
path = f"orgs/{org_slug}/full-scans/{scan_id}"
|
|
709
|
+
else:
|
|
710
|
+
# List scans with query parameters: /orgs/{org_slug}/full-scans?params
|
|
711
|
+
params_arg = urllib.parse.urlencode(params)
|
|
712
|
+
path = "orgs/" + org_slug + "/full-scans?" + str(params_arg)
|
|
713
|
+
|
|
706
714
|
response = self.api.do_request(path=path)
|
|
707
715
|
|
|
708
716
|
if response.status_code == 200:
|
|
@@ -720,7 +728,7 @@ class FullScans:
|
|
|
720
728
|
)
|
|
721
729
|
return {}
|
|
722
730
|
|
|
723
|
-
def post(self, files: list, params: FullScanParams, use_types: bool = False, use_lazy_loading: bool = False, workspace: str = None, max_open_files: int = 100) -> Union[dict, CreateFullScanResponse]:
|
|
731
|
+
def post(self, files: list, params: FullScanParams, use_types: bool = False, use_lazy_loading: bool = False, workspace: str = None, max_open_files: int = 100, base_path: str = None, base_paths: List[str] = None) -> Union[dict, CreateFullScanResponse]:
|
|
724
732
|
"""
|
|
725
733
|
Create a new full scan by uploading manifest files.
|
|
726
734
|
|
|
@@ -734,6 +742,8 @@ class FullScans:
|
|
|
734
742
|
workspace: Base directory path to make file paths relative to
|
|
735
743
|
max_open_files: Maximum number of files to keep open simultaneously when using
|
|
736
744
|
lazy loading. Useful for systems with low ulimit values (default: 100)
|
|
745
|
+
base_path: Optional base path to strip from key names for cleaner file organization
|
|
746
|
+
base_paths: Optional list of base paths to strip from key names (takes precedence over base_path)
|
|
737
747
|
|
|
738
748
|
Returns:
|
|
739
749
|
dict or CreateFullScanResponse: API response containing scan results
|
|
@@ -754,7 +764,7 @@ class FullScans:
|
|
|
754
764
|
|
|
755
765
|
# Use lazy loading if requested
|
|
756
766
|
if use_lazy_loading:
|
|
757
|
-
prepared_files = Utils.load_files_for_sending_lazy(files, workspace, max_open_files)
|
|
767
|
+
prepared_files = Utils.load_files_for_sending_lazy(files, workspace, max_open_files, base_path, base_paths)
|
|
758
768
|
else:
|
|
759
769
|
prepared_files = files
|
|
760
770
|
|
socketdev/purl/__init__.py
CHANGED
|
@@ -33,7 +33,7 @@ class Purl:
|
|
|
33
33
|
purl.append(item)
|
|
34
34
|
except json.JSONDecodeError:
|
|
35
35
|
continue
|
|
36
|
-
purl_deduped = Dedupe.dedupe(purl)
|
|
36
|
+
purl_deduped = Dedupe.dedupe(purl, batched=True)
|
|
37
37
|
return purl_deduped
|
|
38
38
|
|
|
39
39
|
log.error(f"Error posting {components} to the Purl API: {response.status_code}")
|
socketdev/report/__init__.py
CHANGED
|
@@ -58,14 +58,29 @@ class Report:
|
|
|
58
58
|
return {}
|
|
59
59
|
|
|
60
60
|
def create(self, files: list) -> dict:
|
|
61
|
+
# Handle both file path strings and file tuples
|
|
61
62
|
open_files = []
|
|
62
|
-
for
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
for file_entry in files:
|
|
64
|
+
if isinstance(file_entry, tuple) and len(file_entry) == 2:
|
|
65
|
+
name, file_data = file_entry
|
|
66
|
+
if isinstance(file_data, tuple) and len(file_data) == 2:
|
|
67
|
+
# Format: [("field_name", ("filename", file_obj))]
|
|
68
|
+
filename, file_obj = file_data
|
|
69
|
+
file_info = (name, (filename, file_obj, "text/plain"))
|
|
70
|
+
open_files.append(file_info)
|
|
71
|
+
else:
|
|
72
|
+
# Format: [("field_name", "file_path")]
|
|
73
|
+
file_info = (name, (name, open(file_data, "rb"), "text/plain"))
|
|
74
|
+
open_files.append(file_info)
|
|
75
|
+
else:
|
|
76
|
+
# Handle other formats if needed
|
|
77
|
+
log.error(f"Unexpected file format: {file_entry}")
|
|
78
|
+
return {}
|
|
79
|
+
|
|
65
80
|
path = "report/upload"
|
|
66
81
|
payload = {}
|
|
67
82
|
response = self.api.do_request(path=path, method="PUT", files=open_files, payload=payload)
|
|
68
|
-
if response.status_code
|
|
83
|
+
if response.status_code in (200, 201):
|
|
69
84
|
return response.json()
|
|
70
85
|
log.error(f"Error creating report: {response.status_code}")
|
|
71
86
|
log.error(response.text)
|
socketdev/utils/__init__.py
CHANGED
|
@@ -233,7 +233,7 @@ class Utils:
|
|
|
233
233
|
return integration_type # type: ignore
|
|
234
234
|
|
|
235
235
|
@staticmethod
|
|
236
|
-
def load_files_for_sending_lazy(files: List[str], workspace: str = None, max_open_files: int = 100) -> List[Tuple[str, Tuple[str, LazyFileLoader]]]:
|
|
236
|
+
def load_files_for_sending_lazy(files: List[str], workspace: str = None, max_open_files: int = 100, base_path: str = None, base_paths: List[str] = None) -> List[Tuple[str, Tuple[str, LazyFileLoader]]]:
|
|
237
237
|
"""
|
|
238
238
|
Prepares files for sending to the Socket API using lazy loading.
|
|
239
239
|
|
|
@@ -246,6 +246,8 @@ class Utils:
|
|
|
246
246
|
files: List of file paths from find_files()
|
|
247
247
|
workspace: Base directory path to make paths relative to
|
|
248
248
|
max_open_files: Maximum number of files to keep open simultaneously (default: 100)
|
|
249
|
+
base_path: Optional base path to strip from key names for cleaner file organization
|
|
250
|
+
base_paths: Optional list of base paths to strip from key names (takes precedence over base_path)
|
|
249
251
|
|
|
250
252
|
Returns:
|
|
251
253
|
List of tuples formatted for requests multipart upload:
|
|
@@ -257,6 +259,10 @@ class Utils:
|
|
|
257
259
|
send_files = []
|
|
258
260
|
if workspace and "\\" in workspace:
|
|
259
261
|
workspace = workspace.replace("\\", "/")
|
|
262
|
+
if base_path and "\\" in base_path:
|
|
263
|
+
base_path = base_path.replace("\\", "/")
|
|
264
|
+
if base_paths:
|
|
265
|
+
base_paths = [bp.replace("\\", "/") if "\\" in bp else bp for bp in base_paths]
|
|
260
266
|
|
|
261
267
|
for file_path in files:
|
|
262
268
|
# Normalize file path
|
|
@@ -265,14 +271,55 @@ class Utils:
|
|
|
265
271
|
|
|
266
272
|
_, name = file_path.rsplit("/", 1)
|
|
267
273
|
|
|
268
|
-
# Calculate the key
|
|
269
|
-
|
|
274
|
+
# Calculate the key name for the form data
|
|
275
|
+
key = file_path
|
|
276
|
+
path_stripped = False
|
|
277
|
+
|
|
278
|
+
# If base_paths is provided, try to strip one of the paths from the file path
|
|
279
|
+
if base_paths:
|
|
280
|
+
for bp in base_paths:
|
|
281
|
+
# Normalize base_path to ensure consistent handling of trailing slashes
|
|
282
|
+
normalized_base_path = bp.rstrip("/") + "/" if not bp.endswith("/") else bp
|
|
283
|
+
if key.startswith(normalized_base_path):
|
|
284
|
+
key = key[len(normalized_base_path):]
|
|
285
|
+
path_stripped = True
|
|
286
|
+
break
|
|
287
|
+
elif key.startswith(bp.rstrip("/")):
|
|
288
|
+
# Handle case where base_path matches exactly without trailing slash
|
|
289
|
+
stripped_base = bp.rstrip("/")
|
|
290
|
+
if key.startswith(stripped_base + "/") or key == stripped_base:
|
|
291
|
+
key = key[len(stripped_base):]
|
|
292
|
+
key = key.lstrip("/")
|
|
293
|
+
path_stripped = True
|
|
294
|
+
break
|
|
295
|
+
|
|
296
|
+
# If base_path is provided and no base_paths matched, use single base_path
|
|
297
|
+
elif base_path:
|
|
298
|
+
# Normalize base_path to ensure consistent handling of trailing slashes
|
|
299
|
+
normalized_base_path = base_path.rstrip("/") + "/" if not base_path.endswith("/") else base_path
|
|
300
|
+
if key.startswith(normalized_base_path):
|
|
301
|
+
key = key[len(normalized_base_path):]
|
|
302
|
+
path_stripped = True
|
|
303
|
+
elif key.startswith(base_path.rstrip("/")):
|
|
304
|
+
# Handle case where base_path matches exactly without trailing slash
|
|
305
|
+
stripped_base = base_path.rstrip("/")
|
|
306
|
+
if key.startswith(stripped_base + "/") or key == stripped_base:
|
|
307
|
+
key = key[len(stripped_base):]
|
|
308
|
+
key = key.lstrip("/")
|
|
309
|
+
path_stripped = True
|
|
310
|
+
|
|
311
|
+
# If workspace is provided and no base paths matched, fall back to workspace logic
|
|
312
|
+
if not path_stripped and workspace and file_path.startswith(workspace):
|
|
270
313
|
key = file_path[len(workspace):]
|
|
271
|
-
|
|
272
|
-
key =
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
314
|
+
key = key.lstrip("/")
|
|
315
|
+
key = key.lstrip("./")
|
|
316
|
+
path_stripped = True
|
|
317
|
+
|
|
318
|
+
# If no path stripping occurred, clean up the key
|
|
319
|
+
if not path_stripped:
|
|
320
|
+
# No base_path, base_paths, or workspace stripping occurred, clean up leading parts
|
|
321
|
+
key = key.lstrip("/")
|
|
322
|
+
key = key.lstrip("./")
|
|
276
323
|
|
|
277
324
|
# Create lazy file loader instead of opening file immediately
|
|
278
325
|
# Use the relative path (key) as filename instead of truncated basename
|
socketdev/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "3.0.
|
|
1
|
+
__version__ = "3.0.6"
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
socketdev/__init__.py,sha256=wcxhpItn-ZkKQYJSsmkHKDaGdtCbWPMvb_delK2xbdU,2811
|
|
2
2
|
socketdev/exceptions.py,sha256=SNU1EgswGwnxI_Zmm325ruP6CFg5C4MsS1qxXWwBJqs,1120
|
|
3
3
|
socketdev/log.py,sha256=AgEcsPN3y9U-fze8pTFvLigVvNob2vmNC-TkOOQkkeQ,90
|
|
4
|
-
socketdev/version.py,sha256=
|
|
4
|
+
socketdev/version.py,sha256=uC8HeJcsNKDMSm12PYMv69I4zC6ciz4KILeBXWW_c8g,22
|
|
5
5
|
socketdev/alerttypes/__init__.py,sha256=W-m2D9VxbepSAUELJPmWmX40zksGZbQcSzwQ1kjlB1k,1169
|
|
6
6
|
socketdev/analytics/__init__.py,sha256=kQGeO67TraqvfmYjfpYCvcNRtxW2a6x5EefEl6Jnca8,2223
|
|
7
|
-
socketdev/apitokens/__init__.py,sha256=
|
|
8
|
-
socketdev/auditlog/__init__.py,sha256=
|
|
7
|
+
socketdev/apitokens/__init__.py,sha256=Z6W9Jkh4gdDeJBivfcONZuz7jRKZtxWLTi1n9gkbYVE,4222
|
|
8
|
+
socketdev/auditlog/__init__.py,sha256=vjcVtOK6oujqC6-RW5Hrvmth5BqFkLdinbeyqtycOpA,881
|
|
9
9
|
socketdev/core/api.py,sha256=xymEv2szAwZXDsTI4nRC_zcqoSVAenQ-TceNuHfkwbE,5773
|
|
10
10
|
socketdev/core/classes.py,sha256=fyDlolgnkpHFb1dMHa2SA0czCS1I6Tr3SuYb1a67-dY,3756
|
|
11
|
-
socketdev/core/dedupe.py,sha256=
|
|
11
|
+
socketdev/core/dedupe.py,sha256=pe3w51nEPoCXC6GeGaqjusTNCW3WuYAElEU2Wq4j88w,5003
|
|
12
12
|
socketdev/core/issues.py,sha256=jIfi6h1Y-d38OgxSFhlgC74TLvY6IfUcWhQfLq8FFPo,68147
|
|
13
|
-
socketdev/dependencies/__init__.py,sha256=
|
|
14
|
-
socketdev/diffscans/__init__.py,sha256=
|
|
13
|
+
socketdev/dependencies/__init__.py,sha256=zdAb0lMYF8tTHFWa9kGwz5dv4_Sp1UpzQseg_4_qBfY,2170
|
|
14
|
+
socketdev/diffscans/__init__.py,sha256=ndsgyFmsvK29pJAEhZyBByZ9ampf1Ks6oV8y1q7mssw,5294
|
|
15
15
|
socketdev/export/__init__.py,sha256=cDZ3Z0UTazpapiTjhHKgaJxXHh2vVruKhlWnJB-YcQU,2674
|
|
16
|
-
socketdev/fullscans/__init__.py,sha256=
|
|
16
|
+
socketdev/fullscans/__init__.py,sha256=Y65McwMlKL7AGEmiMI5VGP9bxzlbrGpWV6RON8GrNDI,29434
|
|
17
17
|
socketdev/historical/__init__.py,sha256=EZ053u9L4dJgUMDjDNlUWVbbVk9OOguYrP9djejklj0,2786
|
|
18
18
|
socketdev/labels/__init__.py,sha256=Ep19ZraKqi_a-3-eAOWGhPNQsgwGRY9N28Oyxlxrz-g,5128
|
|
19
19
|
socketdev/licensemetadata/__init__.py,sha256=pDcvpkc08QtMqhsnKP1Cfjvs3m-MRPYUK-uLh8aRkrU,815
|
|
20
20
|
socketdev/npm/__init__.py,sha256=FvU8z6dY3EsBNLBsKwQKT5soNb6ous1o63aphmbBHh4,906
|
|
21
21
|
socketdev/openapi/__init__.py,sha256=7Avxgz8RYqC5TCSQCKvmnvzsa2lgV_1y--8eMsy9xYc,500
|
|
22
22
|
socketdev/org/__init__.py,sha256=2e9fe9jF8V_zb2V-qtmkQZUzJv6qbfpbb1p4Hdgsx9A,903
|
|
23
|
-
socketdev/purl/__init__.py,sha256=
|
|
23
|
+
socketdev/purl/__init__.py,sha256=_ybmj-taH2eArwMPwYX-dO3UA4xoK-TMSgEEvI9Adzg,1345
|
|
24
24
|
socketdev/quota/__init__.py,sha256=IblVMP3M7HwXtHs2wnr72GlcNIQtykOKsZKLSehEC8c,487
|
|
25
|
-
socketdev/report/__init__.py,sha256=
|
|
25
|
+
socketdev/report/__init__.py,sha256=L1EuvUnatxWAwQdLiTQwdRNIVglWYoyWqSISuZB0RTE,3454
|
|
26
26
|
socketdev/repos/__init__.py,sha256=dM8GrjIiHUBsPJeBRKLm9QJDRCgx5F-N2iN7GDCHTIg,5603
|
|
27
27
|
socketdev/repositories/__init__.py,sha256=0SP-rCSfxWa9DrPkDKXac8SHqmVHFqgqUHDs-5eg8IE,790
|
|
28
28
|
socketdev/sbom/__init__.py,sha256=LpesXKZhgF5OeNWls10YgxsCNamFW-F8UOy4yI11hrY,2341
|
|
@@ -30,8 +30,8 @@ socketdev/settings/__init__.py,sha256=CCRAnFWOvm7Hi4LY0gbFqsOFHNDlWK3FHei0Edcv_-
|
|
|
30
30
|
socketdev/threatfeed/__init__.py,sha256=2SsJYKByXBkb2C1fGopwxejkr7mky0kggFKIunyV7Nk,1119
|
|
31
31
|
socketdev/tools/__init__.py,sha256=ROvpEULLXTKby9DMsVFPlAlysjwfop1NhRqSrFUWprY,1969
|
|
32
32
|
socketdev/triage/__init__.py,sha256=-h599vThVetfRSOAs1e4IUoMjcXS8xOsUfub41XPiX4,1559
|
|
33
|
-
socketdev/utils/__init__.py,sha256=
|
|
34
|
-
socketdev-3.0.
|
|
35
|
-
socketdev-3.0.
|
|
36
|
-
socketdev-3.0.
|
|
37
|
-
socketdev-3.0.
|
|
33
|
+
socketdev/utils/__init__.py,sha256=0MvfpYmrkTWbLY5jE2vCCFHwXM5mGnNbVmazl1tQHPg,13483
|
|
34
|
+
socketdev-3.0.6.dist-info/METADATA,sha256=nrqsRqzG5bQ7vbGY-6EZjr8jf2P12B3rZC696T4nN48,34359
|
|
35
|
+
socketdev-3.0.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
36
|
+
socketdev-3.0.6.dist-info/licenses/LICENSE,sha256=mC0II_UuE-_gCG9XqOLNyrV3crnROzMpdAetGnMrhpw,1068
|
|
37
|
+
socketdev-3.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|