This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
SUPER 0.3.0
Pre-release
Pre-release
Third release of SUPER, with many changes and bug fixes.
Changelog
Features
- You can now specify the minimum criticality of a vulnerability for being reported. Using the
--min-criticality
CLI option, you can specify if the minimum reported criticality should be warning, low, medium, high or critical. - Optional JSON and HTML reports: By default, SUPER will generate an HTML report, but no JSON report. This behaviour can be changed either by changing two configuration options in the config.toml file
html_report
andjson_report
) or by invoking the script with--json
or--html
parameters. By default, if--json
is used, the HTML report won't get generated, but if you want both, you can specify so by using both options:--json --html
. - Tab completions: If you now install SUPER using one of the provided packages for UNIX, you will get tab completions. So, anytime you don't exactly know the command, you can simply press TAB and you will get suggestions or even command completions. This works for Bash, Fish and ZSH.
Internal Changes
- SUPER now requires Rust 1.15.1.
- Converted all
try!()
statements to use the new?
Rust operator. - Reduced cyclomatic complexity of Config::load_from_file() (#78): This makes configuration loading
faster and easily maintainable. - Improved logging using the
log
crate. - Upgraded dependencies:
clap
: 2.18 => 2.20colored
: 1.3 => 1.4serde
: 0.8 => 0.9handlebars
: 0.22 => 0.25chrono
: 0.2 => 0.3regex
: 0.1 => 0.2
And some other minor upgrades. Both theregex
and theserde
dependencies have been the major upgrades and should improve our future releases.
Changes in Rules
- Changed some regular expressions to match the new
regex
crate classes. - The files to be searched with a given rule can now be filtered by two new fields:
include_file_regex
: A regex that all tested files will match.exclude_file_regex
: A regex that will whitelist files matched by the previous regex.
This enables much better file searching: If you need to search forR
class variables, no need to search other files thanR.java
.
Bug Fixes
- SUPER no longer prints to
stderr
on tests. - Finally fixed all output coloring errors.
Contributions
Apart from the core team, the following people have contributed to this release: