File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " secscanner2junit"
3- version = " 1.0.0 "
3+ version = " 1.0.1 "
44description = " Convert Security Scanner Output to JUnit Format"
55authors = [" logchange team <team@logchange.dev>" , " Florian Angermeir <florian.angermeir@tum.de>" ]
66license = " GPL-3.0-only"
Original file line number Diff line number Diff line change 22import json
33import sys
44import argparse
5- import pkg_resources
6-
75from junit_xml import to_xml_report_file
86
7+ VERSION = "1.0.1"
8+
99from secscanner2junit .config import get_config , Config
1010from secscanner2junit .container_scanning import ContainerScanningParser
1111from secscanner2junit .sast import SastParser
@@ -35,7 +35,7 @@ def save_junit_report(testsuite, output_path):
3535
3636def parse_arguments (args ):
3737 arg_parser = argparse .ArgumentParser (description = "SecScanner2JUnit: Convert security scanner output to JUnit format." )
38- arg_parser .add_argument ('--version' , action = 'version' , version = pkg_resources . get_distribution ( 'secscanner2junit' ). version )
38+ arg_parser .add_argument ('--version' , action = 'version' , version = VERSION )
3939 arg_parser .add_argument ('activity' , choices = ScanType .list ())
4040 arg_parser .add_argument ('input_file' )
4141 arg_parser .add_argument ('output_file' )
You can’t perform that action at this time.
0 commit comments