socketsecurity 0.0.74__tar.gz → 0.0.75__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.74/socketsecurity.egg-info → socketsecurity-0.0.75}/PKG-INFO +1 -1
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/pyproject.toml +1 -1
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/__init__.py +10 -3
- {socketsecurity-0.0.74 → socketsecurity-0.0.75/socketsecurity.egg-info}/PKG-INFO +1 -1
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/LICENSE +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/README.md +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/setup.cfg +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/__init__.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/classes.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/exceptions.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/github.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/gitlab.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/issues.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/licenses.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/core/messages.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity/socketcli.py +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity.egg-info/SOURCES.txt +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity.egg-info/dependency_links.txt +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity.egg-info/entry_points.txt +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity.egg-info/requires.txt +0 -0
- {socketsecurity-0.0.74 → socketsecurity-0.0.75}/socketsecurity.egg-info/top_level.txt +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import logging
|
|
2
|
+
import os.path
|
|
3
|
+
|
|
2
4
|
import requests
|
|
3
5
|
from urllib.parse import urlencode
|
|
4
6
|
import base64
|
|
@@ -25,7 +27,7 @@ import time
|
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
__author__ = 'socket.dev'
|
|
28
|
-
__version__ = '0.0.
|
|
30
|
+
__version__ = '0.0.75'
|
|
29
31
|
__all__ = [
|
|
30
32
|
"Core",
|
|
31
33
|
"log",
|
|
@@ -393,7 +395,8 @@ class Core:
|
|
|
393
395
|
file = file.replace("\\", "/")
|
|
394
396
|
found_path, file_name = file.rsplit("/", 1)
|
|
395
397
|
details = (found_path, file_name)
|
|
396
|
-
|
|
398
|
+
if os.path.isfile(file):
|
|
399
|
+
all_files.append(details)
|
|
397
400
|
return all_files
|
|
398
401
|
|
|
399
402
|
@staticmethod
|
|
@@ -644,7 +647,11 @@ class Core:
|
|
|
644
647
|
"""
|
|
645
648
|
for item in package.alerts:
|
|
646
649
|
alert = Alert(**item)
|
|
647
|
-
|
|
650
|
+
try:
|
|
651
|
+
props = getattr(all_issues, alert.type)
|
|
652
|
+
except AttributeError:
|
|
653
|
+
# log.warning(f"Unable to get issue type props: {alert.type}")
|
|
654
|
+
props = None
|
|
648
655
|
if props is not None:
|
|
649
656
|
description = props.description
|
|
650
657
|
title = props.title
|
|
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-0.0.74 → socketsecurity-0.0.75}/socketsecurity.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|