Package com.codedx.api.client
Class Filter
- java.lang.Object
-
- com.codedx.api.client.Filter
-
public class Filter extends Object
Represents the JSON data for a Filter- Author:
- anthonyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Filter.DateRange
-
Field Summary
Fields Modifier and Type Field Description static String
SEVERITY_CRITICAL
static String
SEVERITY_HIGH
static String
SEVERITY_INFO
static String
SEVERITY_LOW
static String
SEVERITY_MEDIUM
static String
SEVERITY_UNSPECIFIED
static String
STATUS_ASSIGNED
static String
STATUS_ESCALATED
static String
STATUS_FALSE_POSITIVE
static String
STATUS_FIXED
static String
STATUS_GONE
static String
STATUS_IGNORED
static String
STATUS_MITIGATED
static String
STATUS_NEW
Constant indicating the "New" status in Code Dx.static String
STATUS_REOPENED
static String
STATUS_UNRESOLVED
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
-
-
-
Field Detail
-
STATUS_NEW
public static final String STATUS_NEW
Constant indicating the "New" status in Code Dx. Note that for Code Dx versions 2.4.0 and 2.4.1, the "New" status was removed. Implementations wishing to construct a filter with "New" as a criteria should check the server's version before doing so; if it is one of these versions, the implementation should use the "First Seen" filter instead. see CodeDxVersion#supportsTriageNew- See Also:
- Constant Field Values
-
STATUS_ESCALATED
public static final String STATUS_ESCALATED
- See Also:
- Constant Field Values
-
STATUS_IGNORED
public static final String STATUS_IGNORED
- See Also:
- Constant Field Values
-
STATUS_FALSE_POSITIVE
public static final String STATUS_FALSE_POSITIVE
- See Also:
- Constant Field Values
-
STATUS_FIXED
public static final String STATUS_FIXED
- See Also:
- Constant Field Values
-
STATUS_MITIGATED
public static final String STATUS_MITIGATED
- See Also:
- Constant Field Values
-
STATUS_UNRESOLVED
public static final String STATUS_UNRESOLVED
- See Also:
- Constant Field Values
-
STATUS_GONE
public static final String STATUS_GONE
- See Also:
- Constant Field Values
-
STATUS_ASSIGNED
public static final String STATUS_ASSIGNED
- See Also:
- Constant Field Values
-
STATUS_REOPENED
public static final String STATUS_REOPENED
- See Also:
- Constant Field Values
-
SEVERITY_INFO
public static final String SEVERITY_INFO
- See Also:
- Constant Field Values
-
SEVERITY_LOW
public static final String SEVERITY_LOW
- See Also:
- Constant Field Values
-
SEVERITY_MEDIUM
public static final String SEVERITY_MEDIUM
- See Also:
- Constant Field Values
-
SEVERITY_HIGH
public static final String SEVERITY_HIGH
- See Also:
- Constant Field Values
-
SEVERITY_CRITICAL
public static final String SEVERITY_CRITICAL
- See Also:
- Constant Field Values
-
SEVERITY_UNSPECIFIED
public static final String SEVERITY_UNSPECIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFirstSeen
public Filter.DateRange getFirstSeen()
-
setFirstSeen
public void setFirstSeen(Filter.DateRange firstSeen)
-
getNotCwe
public String[] getNotCwe()
-
setNotCwe
public void setNotCwe(String[] notCwe)
-
getNotFinding
public String[] getNotFinding()
-
setNotFinding
public void setNotFinding(String[] notFinding)
-
getNotPath
public String[] getNotPath()
-
setNotPath
public void setNotPath(String[] notPath)
-
getNotRule
public String[] getNotRule()
-
setNotRule
public void setNotRule(String[] notRule)
-
getNotSeverity
public String[] getNotSeverity()
-
setNotSeverity
public void setNotSeverity(String[] notSeverity)
-
getNotStatus
public String[] getNotStatus()
-
setNotStatus
public void setNotStatus(String[] notStatus)
-
getNotToolOverlap
public String[] getNotToolOverlap()
-
setNotToolOverlap
public void setNotToolOverlap(String[] notToolOverlap)
-
getCwe
public String[] getCwe()
-
setCwe
public void setCwe(String[] cwe)
-
getFinding
public String[] getFinding()
-
setFinding
public void setFinding(String[] finding)
-
getPath
public String[] getPath()
-
setPath
public void setPath(String[] path)
-
getRule
public String[] getRule()
-
setRule
public void setRule(String[] rule)
-
getSeverity
public String[] getSeverity()
-
setSeverity
public void setSeverity(String[] severity)
-
getStatus
public String[] getStatus()
-
setStatus
public void setStatus(String[] status)
-
getToolOverlap
public String[] getToolOverlap()
-
setToolOverlap
public void setToolOverlap(String[] toolOverlap)
-
-