You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/convert_bom_component_origin_info_to_csv.py
+64-11Lines changed: 64 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,17 @@
9
9
parser=argparse.ArgumentParser("Process the JSON output from get_bom_component_origin_info.py to create CSV output format")
10
10
parser.add_argument("-f", "--origin_info", help="By default, program reads JSON doc from stdin, but you can alternatively give a file name")
11
11
parser.add_argument("-u", "--un_matched_files", action="store_true", help="Include un-matched files in the output")
12
-
parser.add_argument("-l", "--file_level_license", action="store_true", help="Include file level license data, if present")
13
-
parser.add_argument("-c", "--file_level_copyright", action="store_true", help="Include file level copyright data, if present")
12
+
parser.add_argument("-l", "--file_level_license", action="store_true", help="Include file level license data (aka deep license data from the Black Duck KB), if present")
13
+
parser.add_argument("-c", "--file_level_copyright", action="store_true", help="Include file level copyright data (aka copyright data from the Black Duck KB), if present")
14
+
parser.add_argument("-s", "--string_search", action="store_true", help="Include any licenses found via string search (i.e. --detect.blackduck.signature.scanner.license.search==true")
15
+
parser.add_argument("-a", "--all", action="store_true", help="Shortcut for including everything (i.e. all of it)")
parser.add_argument("-l", "--deep_license_info", action="store_true", help="Include deep license (aka embedded license) information from the Black Duck KB for (KB) components in the BOM")
15
+
parser.add_argument("-c", "--copyright_info", action="store_true", help="Include copyright info from the Black Duck KB for (KB) components in the BOM")
16
+
parser.add_argument("-m", "--matched_files", action="store_true", help="Include a list of the matched (aka identified) files and the components they belong to.")
17
+
parser.add_argument("-u", "--un_matched_files", action="store_true", help="Include a list of un-matched (un-identified) files")
18
+
parser.add_argument("-s", "--string_search", action="store_true", help="Include any licenses found via string search (i.e. --detect.blackduck.signature.scanner.license.search==true")
19
+
parser.add_argument("-a", "--all", action="store_true", help="Shortcut for including everything (i.e. all of it)")
0 commit comments