All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.hm.hafner.analysis.registry.OwaspDependencyCheckDescriptor Maven / Gradle / Ivy

Go to download

This library provides a Java object model to read, aggregate, filter, and query static analysis reports. It is used by Jenkins' warnings next generation plug-in to visualize the warnings of individual builds. Additionally, this library is used by a GitHub action to autograde student software projects based on a given set of metrics (unit tests, code and mutation coverage, static analysis warnings).

There is a newer version: 12.9.1
Show newest version
package edu.hm.hafner.analysis.registry;

import edu.hm.hafner.analysis.IssueParser;
import edu.hm.hafner.analysis.parser.OwaspDependencyCheckParser;

/**
 * Descriptor for OWASP dependency check report parser.
 */
class OwaspDependencyCheckDescriptor extends ParserDescriptor {
    private static final String ID = "owasp-dependency-check";
    private static final String NAME = "OWASP Dependency Check";

    OwaspDependencyCheckDescriptor() {
        super(ID, NAME);
    }

    @Override
    public IssueParser createParser(final Option... options) {
        return new OwaspDependencyCheckParser();
    }

    @Override
    public String getPattern() {
        return "**/dependency-check-report.json";
    }

    @Override
    public String getUrl() {
        return "https://github.com/jeremylong/DependencyCheck";
    }

    @Override
    public String getIconUrl() {
        return "https://raw.githubusercontent.com/jeremylong/DependencyCheck/main/src/site/resources/images/logo.svg";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy