socketsecurity 1.0.15__tar.gz → 1.0.17__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-1.0.15/socketsecurity.egg-info → socketsecurity-1.0.17}/PKG-INFO +1 -1
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/__init__.py +1 -1
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/__init__.py +6 -2
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/gitlab.py +2 -2
- {socketsecurity-1.0.15 → socketsecurity-1.0.17/socketsecurity.egg-info}/PKG-INFO +1 -1
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/LICENSE +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/README.md +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/pyproject.toml +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/setup.cfg +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/classes.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/exceptions.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/git_interface.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/github.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/issues.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/licenses.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/messages.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/core/scm_comments.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity/socketcli.py +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity.egg-info/SOURCES.txt +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity.egg-info/dependency_links.txt +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity.egg-info/entry_points.txt +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity.egg-info/requires.txt +0 -0
- {socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity.egg-info/top_level.txt +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__author__ = 'socket.dev'
|
|
2
|
-
__version__ = '1.0.
|
|
2
|
+
__version__ = '1.0.17'
|
|
@@ -532,10 +532,14 @@ class Core:
|
|
|
532
532
|
:return:
|
|
533
533
|
"""
|
|
534
534
|
if no_change:
|
|
535
|
-
|
|
535
|
+
diff = Diff()
|
|
536
|
+
diff.id = "no_diff_id"
|
|
537
|
+
return diff
|
|
536
538
|
files = Core.find_files(path, new_files)
|
|
537
539
|
if files is None or len(files) == 0:
|
|
538
|
-
|
|
540
|
+
diff = Diff()
|
|
541
|
+
diff.id = "no_diff_id"
|
|
542
|
+
return diff
|
|
539
543
|
try:
|
|
540
544
|
head_full_scan_id = Core.get_head_scan_for_repo(params.repo)
|
|
541
545
|
if head_full_scan_id is None or head_full_scan_id == "":
|
|
@@ -97,7 +97,7 @@ class Gitlab:
|
|
|
97
97
|
|
|
98
98
|
@staticmethod
|
|
99
99
|
def check_event_type() -> str:
|
|
100
|
-
if ci_pipeline_source.lower()
|
|
100
|
+
if ci_pipeline_source.lower() in ["web", 'merge_request_event', "push"]:
|
|
101
101
|
if ci_merge_request_iid is None or ci_merge_request_iid == "" or str(ci_merge_request_iid) == "0":
|
|
102
102
|
event_type = "main"
|
|
103
103
|
else:
|
|
@@ -106,7 +106,7 @@ class Gitlab:
|
|
|
106
106
|
event_type = "comment"
|
|
107
107
|
else:
|
|
108
108
|
log.error(f"Unknown event type {ci_pipeline_source}")
|
|
109
|
-
sys.exit(
|
|
109
|
+
sys.exit(0)
|
|
110
110
|
return event_type
|
|
111
111
|
|
|
112
112
|
@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
|
|
File without changes
|
|
File without changes
|
{socketsecurity-1.0.15 → socketsecurity-1.0.17}/socketsecurity.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|