@NotThreadSafe public class HintRule extends Object
| Constructor and Description |
|---|
HintRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddProduct(String source,
String name,
String value,
Confidence confidence)
Adds a given product to the list of evidence to add when matched.
|
void |
addAddVendor(String source,
String name,
String value,
Confidence confidence)
Adds a given vendor to the list of evidence to add when matched.
|
void |
addAddVersion(String source,
String name,
String value,
Confidence confidence)
Adds a given version to the list of evidence to add when matched.
|
void |
addFilename(PropertyType filename)
Adds the filename evidence to the collection.
|
void |
addGivenProduct(String source,
String name,
String value,
boolean regex,
Confidence confidence)
Adds a given product to the list of evidence to matched.
|
void |
addGivenVendor(String source,
String name,
String value,
boolean regex,
Confidence confidence)
Adds a given vendors to the list of evidence to matched.
|
void |
addGivenVersion(String source,
String name,
String value,
boolean regex,
Confidence confidence)
Adds a given version to the list of evidence to match.
|
void |
addRemoveProduct(String source,
String name,
String value,
boolean regex,
Confidence confidence)
Adds a given product to the list of evidence to remove when matched.
|
void |
addRemoveVendor(String source,
String name,
String value,
boolean regex,
Confidence confidence)
Adds a given vendor to the list of evidence to remove when matched.
|
void |
addRemoveVersion(String source,
String name,
String value,
boolean regex,
Confidence confidence)
Adds a given version to the list of evidence to remove when matched.
|
List<Evidence> |
getAddProduct()
Get the value of addProduct.
|
List<Evidence> |
getAddVendor()
Get the value of addVendor.
|
List<Evidence> |
getAddVersion()
Get the value of addVersion.
|
List<PropertyType> |
getFileNames()
Returns the list of fileName evidence to match against.
|
List<EvidenceMatcher> |
getGivenProduct()
Get the value of givenProduct.
|
List<EvidenceMatcher> |
getGivenVendor()
Get the value of givenVendor.
|
List<EvidenceMatcher> |
getGivenVersion()
Get the value of givenVersion.
|
List<EvidenceMatcher> |
getRemoveProduct()
Get the value of removeProduct.
|
List<EvidenceMatcher> |
getRemoveVendor()
Get the value of removeVendor.
|
List<EvidenceMatcher> |
getRemoveVersion()
Get the value of removeVersion.
|
public void addFilename(PropertyType filename)
filename - the filename to addpublic List<PropertyType> getFileNames()
public void addGivenProduct(String source, String name, String value, boolean regex, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceregex - whether value is a regexconfidence - the confidence of the evidencepublic List<EvidenceMatcher> getGivenProduct()
public void addGivenVendor(String source, String name, String value, boolean regex, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceregex - whether value is a regexconfidence - the confidence of the evidencepublic List<EvidenceMatcher> getGivenVendor()
public void addAddProduct(String source, String name, String value, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceconfidence - the confidence of the evidencepublic List<Evidence> getAddProduct()
public void addAddVersion(String source, String name, String value, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceconfidence - the confidence of the evidencepublic List<Evidence> getAddVersion()
public void addAddVendor(String source, String name, String value, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceconfidence - the confidence of the evidencepublic List<Evidence> getAddVendor()
public void addRemoveVendor(String source, String name, String value, boolean regex, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceregex - whether value is a regexconfidence - the confidence of the evidencepublic List<EvidenceMatcher> getRemoveVendor()
public void addRemoveProduct(String source, String name, String value, boolean regex, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceregex - whether value is a regexconfidence - the confidence of the evidencepublic List<EvidenceMatcher> getRemoveProduct()
public void addRemoveVersion(String source, String name, String value, boolean regex, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceregex - whether value is a regexconfidence - the confidence of the evidencepublic List<EvidenceMatcher> getRemoveVersion()
public void addGivenVersion(String source, String name, String value, boolean regex, Confidence confidence)
source - the source of the evidencename - the name of the evidencevalue - the value of the evidenceregex - whether value is a regexconfidence - the confidence of the evidencepublic List<EvidenceMatcher> getGivenVersion()
Copyright © 2012–2020 OWASP. All rights reserved.