ds-xbom-lib 6.0.0b3__py3-none-any.whl → 6.0.0b4__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ds-xbom-lib
3
- Version: 6.0.0b3
3
+ Version: 6.0.0b4
4
4
  Summary: xBOM library for owasp depscan
5
5
  Author-email: Team AppThreat <cloud@appthreat.com>
6
6
  License-Expression: MIT
@@ -0,0 +1,7 @@
1
+ xbom_lib/__init__.py,sha256=RSypMYLMPgkG6tKplLKIeeuu7eHnFEi31qlHns2S4Wk,1548
2
+ xbom_lib/blint.py,sha256=7bnmLhBWbjq7hl1BDEIeLXcZvHGcqBdKHUZGSnjyutw,1971
3
+ xbom_lib/cdxgen.py,sha256=AhKI__xxYcIfwFRw3q84teSWtz4Vs_PknU8tAF-v4to,20667
4
+ ds_xbom_lib-6.0.0b4.dist-info/METADATA,sha256=cXIPm4CTDAZfxNniH-FwFzVUG_3woya2gX8Q1WUN1Yg,943
5
+ ds_xbom_lib-6.0.0b4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ ds_xbom_lib-6.0.0b4.dist-info/top_level.txt,sha256=Oftitt49k3n5iTEN2Xt1IXuP9oFOJt5B_x-xCSBvaHY,9
7
+ ds_xbom_lib-6.0.0b4.dist-info/RECORD,,
xbom_lib/blint.py CHANGED
@@ -39,25 +39,17 @@ class BlintGenerator(XBOMGenerator):
39
39
  )
40
40
  os.environ["BLINT_TEMP_DIR"] = temp_reports_dir
41
41
  project_type_list = self.options.get("project_type") or []
42
- possible_binary_type = any(
43
- [
44
- t
45
- for t in project_type_list
46
- if t in ("c", "binary", "rust", "go", "dotnet")
47
- ]
48
- )
49
42
  blint_options = BlintOptions(
50
43
  deep_mode=self.options.get("deep", True),
51
44
  sbom_mode=True,
52
- db_mode=os.getenv("USE_BLINTDB", "") in ("true", "1")
53
- or possible_binary_type,
45
+ db_mode=os.getenv("USE_BLINTDB", "") in ("true", "1"),
54
46
  no_reviews=True,
55
47
  no_error=True,
56
48
  quiet_mode=True,
57
49
  src_dir_image=src_dir.split(","),
58
50
  stdout_mode=False,
59
51
  reports_dir=temp_reports_dir,
60
- use_blintdb=self.options.get("use_blintdb", True),
52
+ use_blintdb=self.options.get("use_blintdb", False),
61
53
  image_url=self.options.get("blintdb_image_url", BLINTDB_IMAGE_URL),
62
54
  sbom_output=bom_file,
63
55
  )
@@ -1,7 +0,0 @@
1
- xbom_lib/__init__.py,sha256=RSypMYLMPgkG6tKplLKIeeuu7eHnFEi31qlHns2S4Wk,1548
2
- xbom_lib/blint.py,sha256=bKG1iccJB1CiqjV04PQgxHrhTCObb1PRbvI4IIO-1Hs,2205
3
- xbom_lib/cdxgen.py,sha256=AhKI__xxYcIfwFRw3q84teSWtz4Vs_PknU8tAF-v4to,20667
4
- ds_xbom_lib-6.0.0b3.dist-info/METADATA,sha256=ltPgkko7DxIgRaEXqh7T6TnSYS0ZhjGRyzGe_n_fYJ4,943
5
- ds_xbom_lib-6.0.0b3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- ds_xbom_lib-6.0.0b3.dist-info/top_level.txt,sha256=Oftitt49k3n5iTEN2Xt1IXuP9oFOJt5B_x-xCSBvaHY,9
7
- ds_xbom_lib-6.0.0b3.dist-info/RECORD,,