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

org.sonar.zaproxy.parser.element.AlertItem Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
/*
 * ZAP Plugin for SonarQube
 * Copyright (C) 2015-2017 Gene Gotimer
 * [email protected]
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
package org.sonar.zaproxy.parser.element;

public class AlertItem {

    private int pluginid;
    private String alert;
    private int riskcode;
    private int confidence;
    private String riskdesc;
    private String desc;
    private String uri;
    private String param;
    private String attack;
    private String evidence;
    private String otherinfo;
    private String solution;
    private String reference;
    private int cweid;
    private int wascid;

    public int getPluginid() {
        return pluginid;
    }

    public void setPluginid(int pluginid) {
        this.pluginid = pluginid;
    }

    public String getAlert() {
        return alert;
    }

    public void setAlert(String alert) {
        this.alert = alert;
    }

    public int getRiskcode() {
        return riskcode;
    }

    public void setRiskcode(int riskcode) {
        this.riskcode = riskcode;
    }

    public int getConfidence() {
        return confidence;
    }

    public void setConfidence(int confidence) {
        this.confidence = confidence;
    }

    public String getRiskdesc() {
        return riskdesc;
    }

    public void setRiskdesc(String riskdesc) {
        this.riskdesc = riskdesc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }
    public String getAttack() {
        return attack;
    }

    public void setAttack(String attack) {
        this.attack = attack;
    }

    public String getEvidence() {
        return evidence;
    }

    public void setEvidence(String evidence) {
        this.evidence = evidence;
    }

    public String getOtherinfo() {
        return otherinfo;
    }

    public void setOtherinfo(String otherinfo) {
        this.otherinfo = otherinfo;
    }

    public String getSolution() {
        return solution;
    }

    public void setSolution(String solution) {
        this.solution = solution;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public int getCweid() {
        return cweid;
    }

    public void setCweid(int cweid) {
        this.cweid = cweid;
    }

    public int getWascid() {
        return wascid;
    }

    public void setWascid(int wascid) {
        this.wascid = wascid;
    }

    @Override
    public String toString() {
        return "AlertItem [pluginid=" + pluginid + ", alert=" + alert
                + ", riskcode=" + riskcode + ", confidence=" + confidence
                + ", riskdesc=" + riskdesc + ", desc=" + desc + ", uri=" + uri
                + ", param=" + param + ", attack=" + attack + ", evidence="
                + evidence + ", otherinfo=" + otherinfo + ", solution="
                + solution + ", reference=" + reference + ", cweid=" + cweid
                + ", wascid=" + wascid + "]\n";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy