Name:gosec
Category:Static Code Analysis
Publisher:trickest
Created:6/23/2021
Container:
quay.io/trickest/gosec:v2.7.0Output Type:
License:Unknown
Source:View Source
Parameters
-tagsComma separated list of build tags.-nosecIgnores #nosec comments when set.-quietOnly show output when errors are found.-testsScan tests files.Target directory to scan.-excludeComma separated list of rules IDs to exclude (rule list can be viewed on tool's Github page).-includeComma separated list of rules IDs to include (rule list can be viewed on tool's Github page).-no-failDo not fail the scanning, even if issues were found.-severityFilter out the issues with a lower severity than the given value. Valid options are: low, medium, high (default: low).-nosec-tagSet an alternative string for #nosec. Some examples: #dontanalyze, #falsepositive.-confidenceFilter out the issues with a lower confidence than the given value. Valid options are: low, medium, high (default: low).-confOptional config file.-exclude-dirExclude folder from scan (can be specified multiple times).-fmtSet output format. Valid options are: json, yaml, csv, junit-xml, html, sonarqube, golint, sarif or text (default: text).