Skip to content

Commit b541a9f

Browse files
committed
Update stats and fix links
Fix the links to the spider stats that were not correctly updated to match the location in the zap-extensions repo. Update passive scanner related stats, match relocation to add-on and stats updated/added. Signed-off-by: thc202 <[email protected]>
1 parent df565d3 commit b541a9f

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

site/data/statistics.yaml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -779,18 +779,25 @@
779779
code: main/addOns/oast/src/main/java/org/zaproxy/addon/oast/services/interactsh/InteractshService.java
780780
desc: The number of Interactsh payloads generated
781781

782+
- key: stats.pscan.recordsToScan
783+
scope: global
784+
type: highwatermark
785+
repo: zaproxy/zap-extensions
786+
code: main/addOns/pscan/src/main/java/org/zaproxy/addon/pscan/internal/scanner/PassiveScanController.java
787+
desc: The highest message count queued to passive scan
788+
782789
- key: stats.pscan.reqBodyTooBig
783790
scope: global
784791
type: counter
785-
repo: zaproxy/zaproxy
786-
code: main/zap/src/main/java/org/zaproxy/zap/extension/pscan/PassiveScanTask.java
792+
repo: zaproxy/zap-extensions
793+
code: main/addOns/pscan/src/main/java/org/zaproxy/addon/pscan/internal/scanner/PassiveScanTask.java
787794
desc: The number of requests that have not been passively scanned as they exceed the configured max body size to scan
788795

789796
- key: stats.pscan.respBodyTooBig
790797
scope: global
791798
type: counter
792-
repo: zaproxy/zaproxy
793-
code: main/zap/src/main/java/org/zaproxy/zap/extension/pscan/PassiveScanTask.java
799+
repo: zaproxy/zap-extensions
800+
code: main/addOns/pscan/src/main/java/org/zaproxy/addon/pscan/internal/scanner/PassiveScanTask.java
794801
desc: The number of responses that have not been passively scanned as they exceed the configured max body size to scan
795802

796803
- key: stats.pscan.<rule-id>.alerts
@@ -803,16 +810,16 @@
803810
- key: stats.pscan.<rule-id>.time
804811
scope: global
805812
type: counter
806-
repo: zaproxy/zaproxy
807-
code: main/zap/src/main/java/org/zaproxy/zap/extension/pscan/PassiveScanTask.java
813+
repo: zaproxy/zap-extensions
814+
code: main/addOns/pscan/src/main/java/org/zaproxy/addon/pscan/internal/scanner/PassiveScanTask.java
808815
desc: The cumulative number of milliseconds taken to run the given scan rule - from 2.11.0
809816

810817
- key: stats.pscan.<rule-name>
811818
scope: global
812819
type: counter
813-
repo: zaproxy/zaproxy
814-
code: main/zap/src/main/java/org/zaproxy/zap/extension/pscan/PassiveScanTask.java
815-
desc: The cumulative number of milliseconds taken to run the given scan rule - DEPRECATED - use stats.pscan.<rule-id>.time instead
820+
repo: zaproxy/zap-extensions
821+
code: main/addOns/pscan/src/main/java/org/zaproxy/addon/pscan/internal/scanner/PassiveScanTask.java
822+
desc: The cumulative number of milliseconds taken to run the given passive scanner, for scan rules use stats.pscan.<rule-id>.time
816823

817824
- key: stats.reports.error.<template-name>
818825
scope: global
@@ -881,35 +888,35 @@
881888
scope: global
882889
type: counter
883890
repo: zaproxy/zap-extensions
884-
code: main/zap/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
891+
code: main/addOns/spider/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
885892
desc: The number of times the spider has been started - from 2.11.0
886893

887894
- key: stats.spider.stopped
888895
scope: global
889896
type: counter
890897
repo: zaproxy/zap-extensions
891-
code: main/zap/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
898+
code: main/addOns/spider/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
892899
desc: The number of times the spider has been stopped (as opposed to completing) - from 2.11.0
893900

894901
- key: stats.spider.time
895902
scope: global
896903
type: counter
897904
repo: zaproxy/zap-extensions
898-
code: main/zap/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
905+
code: main/addOns/spider/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
899906
desc: The total number of milliseconds the spider has run for across all scans - from 2.11.0
900907

901908
- key: stats.spider.url.error
902909
scope: global
903910
type: counter
904911
repo: zaproxy/zap-extensions
905-
code: main/zap/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
912+
code: main/addOns/spider/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
906913
desc: The number of URLs the spider has found but failed to access - from 2.11.0
907914

908915
- key: stats.spider.url.found
909916
scope: global
910917
type: counter
911918
repo: zaproxy/zap-extensions
912-
code: main/zap/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
919+
code: main/addOns/spider/src/main/java/org/zaproxy/addon/spider/SpiderScan.java
913920
desc: The number of URLs the spider has found and accessed - from 2.11.0
914921

915922
- key: stats.tag.<tag-name>

0 commit comments

Comments
 (0)