Class StatsPassiveScanner
- java.lang.Object
-
- org.zaproxy.zap.utils.Enableable
-
- org.zaproxy.zap.extension.pscan.PluginPassiveScanner
-
- org.zaproxy.zap.extension.pscan.scanner.StatsPassiveScanner
-
- All Implemented Interfaces:
ExampleAlertProvider
,PassiveScanner
,EnableableInterface
public class StatsPassiveScanner extends PluginPassiveScanner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.zaproxy.zap.extension.pscan.PluginPassiveScanner
PluginPassiveScanner.AlertBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CODE_STATS_PREFIX
static java.lang.String
CONTENT_TYPE_STATS_PREFIX
static java.lang.String
RESPONSE_TIME_STATS_PREFIX
-
Constructor Summary
Constructors Constructor Description StatsPassiveScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesToHistoryType(int historyType)
StatsPassiveScanner
copy()
Make a copy of this instance including all of the configuration.java.lang.String
getName()
int
getPluginId()
Returns the ID of the plug-in.void
scanHttpResponseReceive(HttpMessage msg, int id, net.htmlparser.jericho.Source source)
-
Methods inherited from class org.zaproxy.zap.extension.pscan.PluginPassiveScanner
addHistoryTag, addTag, getAlertTags, getAlertThreshold, getAlertThreshold, getConfig, getDefaultHistoryTypes, getDisplayName, getExampleAlerts, getHelper, getLevel, getLevel, getStatus, getTaskHelper, loadFrom, newAlert, save, saveTo, setAlertThreshold, setConfig, setDefaultAlertThreshold, setDefaultLevel, setHelper, setLevel, setParent, setStatus, setTaskHelper
-
Methods inherited from class org.zaproxy.zap.utils.Enableable
equals, hashCode, isEnabled, setEnabled
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zaproxy.zap.extension.pscan.PassiveScanner
isEnabled, scanHttpRequestSend, setEnabled
-
-
-
-
Field Detail
-
CODE_STATS_PREFIX
public static final java.lang.String CODE_STATS_PREFIX
- See Also:
- Constant Field Values
-
CONTENT_TYPE_STATS_PREFIX
public static final java.lang.String CONTENT_TYPE_STATS_PREFIX
- See Also:
- Constant Field Values
-
RESPONSE_TIME_STATS_PREFIX
public static final java.lang.String RESPONSE_TIME_STATS_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getPluginId
public int getPluginId()
Description copied from class:PluginPassiveScanner
Returns the ID of the plug-in.- Overrides:
getPluginId
in classPluginPassiveScanner
- Returns:
- the id of the plug-in.
-
copy
public StatsPassiveScanner copy()
Description copied from class:PluginPassiveScanner
Make a copy of this instance including all of the configuration.- Overrides:
copy
in classPluginPassiveScanner
- Returns:
- a copy of this instance
-
scanHttpResponseReceive
public void scanHttpResponseReceive(HttpMessage msg, int id, net.htmlparser.jericho.Source source)
-
appliesToHistoryType
public boolean appliesToHistoryType(int historyType)
- Specified by:
appliesToHistoryType
in interfacePassiveScanner
- Overrides:
appliesToHistoryType
in classPluginPassiveScanner
-
-