com.denimgroup.threadfix.data.entities.VulnerabilitySearchParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of threadfix-entities Show documentation
Show all versions of threadfix-entities Show documentation
ThreadFix is a software vulnerability aggregation and management system that reduces the time it takes to fix
software vulnerabilities. ThreadFix imports the results from dynamic, static and manual testing to provide a
centralized view of software security defects across development teams and applications. The system allows
companies to correlate testing results and streamline software remediation efforts by simplifying feeds to
software issue trackers. By auto generating application firewall rules, this tool allows organizations to
continue remediation work uninterrupted. ThreadFix empowers managers with vulnerability trending reports that
show progress over time, giving them justification for their efforts.
ThreadFix is developed and maintained by Denim Group, Ltd (http://www.denimgroup.com) For information about
commercial support and other services, contact Denim Group about ThreadFix
http://www.denimgroup.com/resources-threadfix/
////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009-2015 Denim Group, Ltd.
//
// The contents of this file are subject to the Mozilla Public License
// Version 2.0 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
// License for the specific language governing rights and limitations
// under the License.
//
// The Original Code is ThreadFix.
//
// The Initial Developer of the Original Code is Denim Group, Ltd.
// Portions created by Denim Group, Ltd. are Copyright (C)
// Denim Group, Ltd. All Rights Reserved.
//
// Contributor(s): Denim Group, Ltd.
//
////////////////////////////////////////////////////////////////////////
package com.denimgroup.threadfix.data.entities;
import com.denimgroup.threadfix.views.AllViews;
import com.fasterxml.jackson.annotation.JsonView;
import javax.persistence.Column;
import java.util.Date;
import java.util.List;
import static com.denimgroup.threadfix.CollectionUtils.list;
/**
* Created by mac on 5/7/14.
*/
public class VulnerabilitySearchParameters {
List genericVulnerabilities = list();
List teams = list();
List applications = list();
List genericSeverities = list();
List channelTypes = list();
List ascList = list();
List descList = list();
List tags = list();
List vulnTags = list();
List commentTags = list();
List permissionsList = list();
Integer numberVulnerabilities = 10;
Integer page = 1;
String daysOldModifier = null, parameter = null, path = null;
Integer daysOld = null, numberMerged = null;
Boolean showOpen = null, showClosed = null, showFalsePositive = null, showHidden = null,
showDefectPresent = null, showDefectNotPresent = null, showDefectOpen = null, showDefectClosed = null,
showInconsistentClosedDefectNeedsScan = null, showInconsistentClosedDefectOpenInScan = null, showInconsistentOpenDefect = null,
usingComponentsWithKnownVulnerabilities = null, showUnknown = null, showAuthenticated = null, showUnauthenticated = null,
showCommentPresent = null;
Date startDate = null, endDate = null;
Date startCloseDate = null, endCloseDate = null;
@JsonView({ AllViews.VulnSearchApplications.class })
public Integer getPage() {
return page;
}
public void setPage(Integer page) {
this.page = page;
}
@Column
@JsonView({ AllViews.VulnSearchApplications.class })
public Integer getNumberVulnerabilities() {
return numberVulnerabilities;
}
public void setNumberVulnerabilities(Integer numberVulnerabilities) {
this.numberVulnerabilities = numberVulnerabilities;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getGenericSeverities() {
return genericSeverities;
}
public void setGenericSeverities(List genericSeverities) {
this.genericSeverities = genericSeverities;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getApplications() {
return applications;
}
public void setApplications(List applications) {
this.applications = applications;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getTeams() {
return teams;
}
public void setTeams(List teams) {
this.teams = teams;
}
public List getChannelTypes() {
return channelTypes;
}
public void setChannelTypes(List channelTypes) {
this.channelTypes = channelTypes;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getGenericVulnerabilities() {
return genericVulnerabilities;
}
public void setGenericVulnerabilities(List genericVulnerabilities) {
this.genericVulnerabilities = genericVulnerabilities;
}
public String getDaysOldModifier() {
return daysOldModifier;
}
public void setDaysOldModifier(String daysOldModifier) {
this.daysOldModifier = daysOldModifier;
}
public Integer getDaysOld() {
return daysOld;
}
public void setDaysOld(Integer daysOld) {
this.daysOld = daysOld;
}
public String getParameter() {
return parameter;
}
public void setParameter(String parameter) {
this.parameter = parameter;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public Integer getNumberMerged() {
return numberMerged;
}
public void setNumberMerged(Integer numberMerged) {
this.numberMerged = numberMerged;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Boolean getShowOpen() {
return showOpen;
}
public void setShowOpen(Boolean showOpen) {
this.showOpen = showOpen;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Boolean getShowClosed() {
return showClosed;
}
public void setShowClosed(Boolean showClosed) {
this.showClosed = showClosed;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Boolean getShowFalsePositive() {
return showFalsePositive;
}
public void setShowFalsePositive(Boolean showFalsePositive) {
this.showFalsePositive = showFalsePositive;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Boolean getShowHidden() {
return showHidden;
}
public void setShowHidden(Boolean showHidden) {
this.showHidden = showHidden;
}
public Boolean getShowDefectPresent() {
return showDefectPresent;
}
public void setShowDefectPresent(Boolean showDefectPresent) {
this.showDefectPresent = showDefectPresent;
}
public Boolean getShowDefectNotPresent() {
return showDefectNotPresent;
}
public void setShowDefectNotPresent(Boolean showDefectNotPresent) {
this.showDefectNotPresent = showDefectNotPresent;
}
public Boolean getShowDefectOpen() {
return showDefectOpen;
}
public void setShowDefectOpen(Boolean showDefectOpen) {
this.showDefectOpen = showDefectOpen;
}
public Boolean getShowDefectClosed() {
return showDefectClosed;
}
public void setShowDefectClosed(Boolean showDefectClosed) {
this.showDefectClosed = showDefectClosed;
}
public Boolean getShowInconsistentClosedDefectNeedsScan() {
return showInconsistentClosedDefectNeedsScan;
}
public void setShowInconsistentClosedDefectNeedsScan(Boolean showInconsistentClosedDefectNeedsScan) {
this.showInconsistentClosedDefectNeedsScan = showInconsistentClosedDefectNeedsScan;
}
public Boolean getShowInconsistentClosedDefectOpenInScan() {
return showInconsistentClosedDefectOpenInScan;
}
public void setShowInconsistentClosedDefectOpenInScan(Boolean showInconsistentClosedDefectOpenInScan) {
this.showInconsistentClosedDefectOpenInScan = showInconsistentClosedDefectOpenInScan;
}
public Boolean getShowInconsistentOpenDefect() {
return showInconsistentOpenDefect;
}
public void setShowInconsistentOpenDefect(Boolean showInconsistentOpenDefect) {
this.showInconsistentOpenDefect = showInconsistentOpenDefect;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Date getStartDate() {
return startDate;
}
public void setStartDate(Date startDate) {
this.startDate = startDate;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Date getEndDate() {
return endDate;
}
public void setEndDate(Date endDate) {
this.endDate = endDate;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Date getStartCloseDate() {
return startCloseDate;
}
public void setStartCloseDate(Date startCloseDate) {
this.startCloseDate = startCloseDate;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Date getEndCloseDate() {
return endCloseDate;
}
public void setEndCloseDate(Date endCloseDate) {
this.endCloseDate = endCloseDate;
}
public List getAscList() {
return ascList;
}
public void setAscList(List ascList) {
this.ascList = ascList;
}
public List getDescList() {
return descList;
}
public void setDescList(List descList) {
this.descList = descList;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getTags() {
return tags;
}
public void setTags(List tags) {
this.tags = tags;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getVulnTags() {
return vulnTags;
}
public void setVulnTags(List vulnTags) {
this.vulnTags = vulnTags;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getCommentTags() {
return commentTags;
}
public void setCommentTags(List commentTags) {
this.commentTags = commentTags;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public Boolean getUsingComponentsWithKnownVulnerabilities() {
return usingComponentsWithKnownVulnerabilities;
}
public void setUsingComponentsWithKnownVulnerabilities(Boolean usingComponentsWithKnownVulnerabilities) {
this.usingComponentsWithKnownVulnerabilities = usingComponentsWithKnownVulnerabilities;
}
@JsonView({ AllViews.VulnSearchApplications.class })
public List getPermissionsList() {
return permissionsList;
}
public void setPermissionsList(List permissionsList) {
this.permissionsList = permissionsList;
}
public Boolean getShowUnknown() {
return showUnknown != null && showUnknown;
}
public void setShowUnknown(Boolean showUnknown) {
this.showUnknown = showUnknown;
}
public Boolean getShowAuthenticated() {
return showAuthenticated != null && showAuthenticated;
}
public void setShowAuthenticated(Boolean showAuthenticated) {
this.showAuthenticated = showAuthenticated;
}
public Boolean getShowUnauthenticated() {
return showUnauthenticated != null && showUnauthenticated;
}
public void setShowUnauthenticated(Boolean showUnauthenticated) {
this.showUnauthenticated = showUnauthenticated;
}
public Boolean getShowCommentPresent() {
return showCommentPresent;
}
public void setShowCommentPresent(Boolean showCommentPresent) {
this.showCommentPresent = showCommentPresent;
}
}