Skip to content

Commit 0f66c5f

Browse files
committed
Support cycloneDX format
Signed-off-by: jiyeong.seok <[email protected]>
1 parent 1572bd5 commit 0f66c5f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ py-tlsh
88
pytz
99
XlsxWriter
1010
PyYAML
11-
fosslight_util>=2.1.0
11+
fosslight_util>=2.1.3
1212
dependency-check

src/fosslight_binary/binary_analysis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def init(path_to_find_bin, output_file_name, formats, path_to_exclude=[]):
9696
else:
9797
logger.warning('spdx format is not supported on Windows. Please remove spdx from format.')
9898
to_remove.append(i)
99+
elif formats[i].startswith('cyclonedx'):
100+
output_files[i] = f'fosslight_cyclonedx_bin_{start_time}'
99101
else:
100102
if output_extension == _json_ext:
101103
output_files[i] = f"fosslight_opossum_bin_{start_time}"

0 commit comments

Comments
 (0)