socketsecurity 0.0.67__tar.gz → 0.0.69__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-0.0.67/socketsecurity.egg-info → socketsecurity-0.0.69}/PKG-INFO +1 -1
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/pyproject.toml +1 -1
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/__init__.py +8 -3
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/gitlab.py +1 -1
- {socketsecurity-0.0.67 → socketsecurity-0.0.69/socketsecurity.egg-info}/PKG-INFO +1 -1
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/LICENSE +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/README.md +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/setup.cfg +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/__init__.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/classes.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/exceptions.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/github.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/issues.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/licenses.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/messages.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/socketcli.py +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/SOURCES.txt +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/dependency_links.txt +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/entry_points.txt +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/requires.txt +0 -0
- {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ import time
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
__author__ = 'socket.dev'
|
|
28
|
-
__version__ = '0.0.
|
|
28
|
+
__version__ = '0.0.69'
|
|
29
29
|
__all__ = [
|
|
30
30
|
"Core",
|
|
31
31
|
"log",
|
|
@@ -325,6 +325,11 @@ class Core:
|
|
|
325
325
|
"go.sum": {
|
|
326
326
|
"pattern": "go.sum"
|
|
327
327
|
}
|
|
328
|
+
},
|
|
329
|
+
"java": {
|
|
330
|
+
"pom.xml": {
|
|
331
|
+
"pattern": "pom.xml"
|
|
332
|
+
}
|
|
328
333
|
}
|
|
329
334
|
}
|
|
330
335
|
all_files = []
|
|
@@ -469,12 +474,12 @@ class Core:
|
|
|
469
474
|
|
|
470
475
|
for package_id in new_packages:
|
|
471
476
|
purl, package = Core.create_purl(package_id, new_packages)
|
|
472
|
-
if package_id not in head_packages:
|
|
477
|
+
if package_id not in head_packages and package.direct:
|
|
473
478
|
diff.new_packages.append(purl)
|
|
474
479
|
new_scan_alerts = Core.create_issue_alerts(package, new_scan_alerts, new_packages)
|
|
475
480
|
for package_id in head_packages:
|
|
476
481
|
purl, package = Core.create_purl(package_id, head_packages)
|
|
477
|
-
if package_id not in new_packages:
|
|
482
|
+
if package_id not in new_packages and package.direct:
|
|
478
483
|
diff.removed_packages.append(purl)
|
|
479
484
|
head_scan_alerts = Core.create_issue_alerts(package, head_scan_alerts, head_packages)
|
|
480
485
|
diff.new_alerts = Core.compare_issue_alerts(new_scan_alerts, head_scan_alerts, diff.new_alerts)
|
|
@@ -141,7 +141,7 @@ class Gitlab:
|
|
|
141
141
|
self.api_token = gitlab_token
|
|
142
142
|
self.project_id = ci_merge_request_project_id
|
|
143
143
|
if self.api_token is None:
|
|
144
|
-
print("Unable to get gitlab API Token from
|
|
144
|
+
print("Unable to get gitlab API Token from GITLAB_TOKEN")
|
|
145
145
|
sys.exit(2)
|
|
146
146
|
|
|
147
147
|
@staticmethod
|
|
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-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|