edu.hm.hafner.analysis.registry.AquaScannerDescriptor Maven / Gradle / Ivy
package edu.hm.hafner.analysis.registry;
import edu.hm.hafner.analysis.IssueParser;
import edu.hm.hafner.analysis.parser.AquaScannerParser;
import static j2html.TagCreator.*;
/**
* A descriptor for Aqua Scanner.
*
* @author Juri Duval
*/
class AquaScannerDescriptor extends ParserDescriptor {
private static final String ID = "scannercli";
private static final String NAME = "Aqua Scanner";
AquaScannerDescriptor() {
super(ID, NAME);
}
@Override
public IssueParser createParser(final Option... options) {
return new AquaScannerParser();
}
@Override
public String getHelp() {
return join(text("Use commandline"),
code("scannercli scan 'image' --jsonfile results.json"),
text(", see"),
a("Aqua Scanner CLI").withHref("https://support.aquasec.com/support/solutions/articles/16000120206"),
text("for usage details.")).render();
}
@Override
public String getUrl() {
return "https://support.aquasec.com/support/solutions/articles/16000120206";
}
@Override
public String getIconUrl() {
return "https://github.com/aquasecurity/aqua-operator/raw/master/images/logo.svg";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy