scanoss 1.11.1__tar.gz → 1.12.1__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.
- {scanoss-1.11.1 → scanoss-1.12.1}/PACKAGE.md +1 -1
- {scanoss-1.11.1/src/scanoss.egg-info → scanoss-1.12.1}/PKG-INFO +2 -2
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/__init__.py +1 -1
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/cli.py +4 -4
- scanoss-1.12.1/src/scanoss/data/build_date.txt +1 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/scanner.py +1 -1
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/scanossapi.py +3 -3
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/scanossgrpc.py +2 -2
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/winnowing.py +1 -1
- {scanoss-1.11.1 → scanoss-1.12.1/src/scanoss.egg-info}/PKG-INFO +2 -2
- scanoss-1.11.1/src/scanoss/data/build_date.txt +0 -1
- {scanoss-1.11.1 → scanoss-1.12.1}/LICENSE +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/README.md +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/pyproject.toml +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/setup.cfg +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/protoc_gen_swagger/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/protoc_gen_swagger/options/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/protoc_gen_swagger/options/annotations_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/protoc_gen_swagger/options/annotations_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/protoc_gen_swagger/options/openapiv2_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/protoc_gen_swagger/options/openapiv2_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/common/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/common/v2/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/common/v2/scanoss_common_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/common/v2/scanoss_common_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/components/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/components/v2/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/components/v2/scanoss_components_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/dependencies/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/dependencies/v2/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/scanning/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/scanning/v2/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/scanning/v2/scanoss_scanning_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/scanning/v2/scanoss_scanning_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/semgrep/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/semgrep/v2/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/vulnerabilities/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/vulnerabilities/v2/__init__.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/components.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/csvoutput.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/cyclonedx.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/data/spdx-exceptions.json +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/data/spdx-licenses.json +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/filecount.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/scancodedeps.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/scanossbase.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/scantype.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/spdxlite.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/threadeddependencies.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/threadedscanning.py +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss.egg-info/SOURCES.txt +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss.egg-info/dependency_links.txt +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss.egg-info/entry_points.txt +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss.egg-info/requires.txt +0 -0
- {scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss.egg-info/top_level.txt +0 -0
|
@@ -117,7 +117,7 @@ if __name__ == "__main__":
|
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
## Scanning URL and API Key
|
|
120
|
-
By Default, scanoss uses the API URL endpoint for SCANOSS OSS KB: https://osskb.org/
|
|
120
|
+
By Default, scanoss uses the API URL endpoint for SCANOSS OSS KB: https://api.osskb.org/scan/direct.
|
|
121
121
|
This API does not require an API key.
|
|
122
122
|
|
|
123
123
|
These values can be changed from the command line using:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: scanoss
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.12.1
|
|
4
4
|
Summary: Simple Python library to leverage the SCANOSS APIs
|
|
5
5
|
Home-page: https://scanoss.com
|
|
6
6
|
Author: SCANOSS
|
|
@@ -147,7 +147,7 @@ if __name__ == "__main__":
|
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
## Scanning URL and API Key
|
|
150
|
-
By Default, scanoss uses the API URL endpoint for SCANOSS OSS KB: https://osskb.org/
|
|
150
|
+
By Default, scanoss uses the API URL endpoint for SCANOSS OSS KB: https://api.osskb.org/scan/direct.
|
|
151
151
|
This API does not require an API key.
|
|
152
152
|
|
|
153
153
|
These values can be changed from the command line using:
|
|
@@ -239,13 +239,13 @@ def setup_args() -> None:
|
|
|
239
239
|
p_p_proxy.add_argument('--pac', required=False, type=str, default="auto",
|
|
240
240
|
help='Proxy auto configuration. Specify a file, http url or "auto" to try to discover it.'
|
|
241
241
|
)
|
|
242
|
-
p_p_proxy.add_argument('--url', required=False, type=str, default="https://osskb.org
|
|
243
|
-
help='URL to test (default: https://osskb.org
|
|
242
|
+
p_p_proxy.add_argument('--url', required=False, type=str, default="https://api.osskb.org",
|
|
243
|
+
help='URL to test (default: https://api.osskb.org).')
|
|
244
244
|
|
|
245
245
|
# Global Scan command options
|
|
246
246
|
for p in [p_scan]:
|
|
247
247
|
p.add_argument('--apiurl', type=str,
|
|
248
|
-
help='SCANOSS API URL (optional - default: https://osskb.org/
|
|
248
|
+
help='SCANOSS API URL (optional - default: https://api.osskb.org/scan/direct)')
|
|
249
249
|
p.add_argument('--ignore-cert-errors', action='store_true', help='Ignore certificate errors')
|
|
250
250
|
|
|
251
251
|
# Global Scan/Fingerprint filter options
|
|
@@ -281,7 +281,7 @@ def setup_args() -> None:
|
|
|
281
281
|
# Global GRPC options
|
|
282
282
|
for p in [p_scan, c_crypto, c_vulns, c_search, c_versions, c_semgrep]:
|
|
283
283
|
p.add_argument('--api2url', type=str,
|
|
284
|
-
help='SCANOSS gRPC API 2.0 URL (optional - default: https://osskb.org)')
|
|
284
|
+
help='SCANOSS gRPC API 2.0 URL (optional - default: https://api.osskb.org)')
|
|
285
285
|
p.add_argument('--grpc-proxy', type=str, help='GRPC Proxy URL to use for connections (optional). '
|
|
286
286
|
'Can also use the environment variable "grcp_proxy=<ip>:<port>"')
|
|
287
287
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
date: 20240412212238, utime: 1712956958
|
|
@@ -71,7 +71,7 @@ FILTERED_EXT = [ # File extensions to skip
|
|
|
71
71
|
".po", ".ppt", ".prefs", ".properties", ".pyc", ".qdoc", ".result", ".rgb",
|
|
72
72
|
".rst", ".scss", ".sha", ".sha1", ".sha2", ".sha256", ".sln", ".spec", ".sql",
|
|
73
73
|
".sub", ".svg", ".svn-base", ".tab", ".template", ".test", ".tex", ".tiff",
|
|
74
|
-
".toml", ".ttf", ".txt", ".utf-8", ".vim", ".wav", ".
|
|
74
|
+
".toml", ".ttf", ".txt", ".utf-8", ".vim", ".wav", ".woff", ".woff2", ".xht",
|
|
75
75
|
".xhtml", ".xls", ".xlsx", ".xml", ".xpm", ".xsd", ".xul", ".yaml", ".yml", ".wfp",
|
|
76
76
|
".editorconfig", ".dotcover", ".pid", ".lcov", ".egg", ".manifest", ".cache", ".coverage", ".cover",
|
|
77
77
|
".gem", ".lst", ".pickle", ".pdb", ".gml", ".pot", ".plt",
|
|
@@ -38,8 +38,8 @@ from .scanossbase import ScanossBase
|
|
|
38
38
|
from . import __version__
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
DEFAULT_URL = "https://osskb.org/
|
|
42
|
-
DEFAULT_URL2 = "https://scanoss.com/
|
|
41
|
+
DEFAULT_URL = "https://api.osskb.org/scan/direct" # default free service URL
|
|
42
|
+
DEFAULT_URL2 = "https://api.scanoss.com/scan/direct" # default premium service URL
|
|
43
43
|
SCANOSS_SCAN_URL = os.environ.get("SCANOSS_SCAN_URL") if os.environ.get("SCANOSS_SCAN_URL") else DEFAULT_URL
|
|
44
44
|
SCANOSS_API_KEY = os.environ.get("SCANOSS_API_KEY") if os.environ.get("SCANOSS_API_KEY") else ''
|
|
45
45
|
|
|
@@ -60,7 +60,7 @@ class ScanossApi(ScanossBase):
|
|
|
60
60
|
:param sbom_path: Input SBOM file to match scan type (default None)
|
|
61
61
|
:param scan_format: Scan format (default plain)
|
|
62
62
|
:param flags: Scanning flags (default None)
|
|
63
|
-
:param url: API URL (default https://osskb.org/
|
|
63
|
+
:param url: API URL (default https://api.osskb.org/scan/direct)
|
|
64
64
|
:param api_key: API Key (default None)
|
|
65
65
|
:param debug: Enable debug (default False)
|
|
66
66
|
:param trace: Enable trace (default False)
|
|
@@ -48,8 +48,8 @@ from .api.components.v2.scanoss_components_pb2 import (CompSearchRequest, CompSe
|
|
|
48
48
|
from .scanossbase import ScanossBase
|
|
49
49
|
from . import __version__
|
|
50
50
|
|
|
51
|
-
DEFAULT_URL = "https://osskb.org" # default free service URL
|
|
52
|
-
DEFAULT_URL2 = "https://scanoss.com" # default premium service URL
|
|
51
|
+
DEFAULT_URL = "https://api.osskb.org" # default free service URL
|
|
52
|
+
DEFAULT_URL2 = "https://api.scanoss.com" # default premium service URL
|
|
53
53
|
SCANOSS_GRPC_URL = os.environ.get("SCANOSS_GRPC_URL") if os.environ.get("SCANOSS_GRPC_URL") else DEFAULT_URL
|
|
54
54
|
SCANOSS_API_KEY = os.environ.get("SCANOSS_API_KEY") if os.environ.get("SCANOSS_API_KEY") else ''
|
|
55
55
|
|
|
@@ -58,7 +58,7 @@ SKIP_SNIPPET_EXT = { # File extensions to ignore snippets for
|
|
|
58
58
|
".o", ".a", ".so", ".obj", ".dll", ".lib", ".out", ".app", ".bin",
|
|
59
59
|
".lst", ".dat", ".json", ".htm", ".html", ".xml", ".md", ".txt",
|
|
60
60
|
".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".odt", ".ods", ".odp", ".pages", ".key", ".numbers",
|
|
61
|
-
".pdf", ".min.js", ".mf", ".sum", ".woff", ".woff2", '.xsd', ".pom"
|
|
61
|
+
".pdf", ".min.js", ".mf", ".sum", ".woff", ".woff2", '.xsd', ".pom", ".whl",
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
CRC8_MAXIM_DOW_TABLE_SIZE = 0x100
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: scanoss
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.12.1
|
|
4
4
|
Summary: Simple Python library to leverage the SCANOSS APIs
|
|
5
5
|
Home-page: https://scanoss.com
|
|
6
6
|
Author: SCANOSS
|
|
@@ -147,7 +147,7 @@ if __name__ == "__main__":
|
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
## Scanning URL and API Key
|
|
150
|
-
By Default, scanoss uses the API URL endpoint for SCANOSS OSS KB: https://osskb.org/
|
|
150
|
+
By Default, scanoss uses the API URL endpoint for SCANOSS OSS KB: https://api.osskb.org/scan/direct.
|
|
151
151
|
This API does not require an API key.
|
|
152
152
|
|
|
153
153
|
These values can be changed from the command line using:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
date: 20240318143902, utime: 1710772742
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py
RENAMED
|
File without changes
|
{scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py
RENAMED
|
File without changes
|
{scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py
RENAMED
|
File without changes
|
{scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py
RENAMED
|
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
|
{scanoss-1.11.1 → scanoss-1.12.1}/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|