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.
Files changed (21) hide show
  1. {socketsecurity-0.0.67/socketsecurity.egg-info → socketsecurity-0.0.69}/PKG-INFO +1 -1
  2. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/pyproject.toml +1 -1
  3. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/__init__.py +8 -3
  4. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/gitlab.py +1 -1
  5. {socketsecurity-0.0.67 → socketsecurity-0.0.69/socketsecurity.egg-info}/PKG-INFO +1 -1
  6. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/LICENSE +0 -0
  7. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/README.md +0 -0
  8. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/setup.cfg +0 -0
  9. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/__init__.py +0 -0
  10. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/classes.py +0 -0
  11. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/exceptions.py +0 -0
  12. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/github.py +0 -0
  13. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/issues.py +0 -0
  14. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/licenses.py +0 -0
  15. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/core/messages.py +0 -0
  16. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity/socketcli.py +0 -0
  17. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/SOURCES.txt +0 -0
  18. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/dependency_links.txt +0 -0
  19. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/entry_points.txt +0 -0
  20. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/requires.txt +0 -0
  21. {socketsecurity-0.0.67 → socketsecurity-0.0.69}/socketsecurity.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: socketsecurity
3
- Version: 0.0.67
3
+ Version: 0.0.69
4
4
  Summary: Socket Security CLI for CI/CD
5
5
  Author-email: Douglas Coburn <douglas@socket.dev>
6
6
  Maintainer-email: Douglas Coburn <douglas@socket.dev>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "socketsecurity"
7
- version = "0.0.67"
7
+ version = "0.0.69"
8
8
  requires-python = ">= 3.9"
9
9
  dependencies = [
10
10
  'requests',
@@ -25,7 +25,7 @@ import time
25
25
 
26
26
 
27
27
  __author__ = 'socket.dev'
28
- __version__ = '0.0.67'
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 GH_API_TOKEN")
144
+ print("Unable to get gitlab API Token from GITLAB_TOKEN")
145
145
  sys.exit(2)
146
146
 
147
147
  @staticmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: socketsecurity
3
- Version: 0.0.67
3
+ Version: 0.0.69
4
4
  Summary: Socket Security CLI for CI/CD
5
5
  Author-email: Douglas Coburn <douglas@socket.dev>
6
6
  Maintainer-email: Douglas Coburn <douglas@socket.dev>
File without changes