📄 zaproxy/constants

File: constants.md | Updated: 11/18/2025

Source: https://www.zaproxy.org/docs/constants/

ZAP Constants

Constants defined in the ZAP codebase that are exposed via the API and/or scripts.

| Type | Value | Name | Code | | --- | --- | --- | --- | | Alert Confidence | 0 | False Positive | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Confidence | 1 | Low | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Confidence | 2 | Medium | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Confidence | 3 | High | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Confidence | 4 | Confirmed | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Risk | 0 | Informational | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Risk | 1 | Low | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Risk | 2 | Medium | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Risk | 3 | High | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Source | 0 | Unknown | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Source | 1 | Active Scanner | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Source | 2 | Manual | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Source | 3 | Passive Scanner | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | Alert Source | 4 | Another Tool | main/zap/src/main/java/org/parosproxy/paros/core/scanner/Alert.java | | History Type | 0 | Temporary | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 1 | Proxied | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 2 | Spider | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 3 | Active Scanner | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 6 | Hidden | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 7 | Forced Browse | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 8 | Fuzzer | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 9 | Spider Task | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 10 | Ajax Spider | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 11 | Authentication | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 12 | Zest Script | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 13 | Access Control | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 14 | Active Scanner (temporary) | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 15 | Manual | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 16 | Proxy Connect | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 17 | Sequence (temporary) | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 18 | Ajax Spider (temporary) | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 19 | Spider (temporary) | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 20 | Fuzzer (temporary) | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 21 | Callback | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 22 | OAST | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | History Type | 23 | Param Digger | main/zap/src/main/java/org/parosproxy/paros/model/HistoryReference.java | | Request Initiator | 1 | Proxy | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 2 | Active Scanner | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 3 | Spider | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 4 | Fuzzer | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 5 | Authentication | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 6 | Manual Request | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 8 | Bean Shell | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 9 | Access Control Scanner | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 10 | Ajax Spider | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 11 | Forced Browse | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 12 | Token Generator | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 13 | WebSockets | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 14 | Authentication Helper | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 15 | Authentication Poll | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 16 | OAST | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java | | Request Initiator | 17 | Param Digger | main/zap/src/main/java/org/parosproxy/paros/network/HttpSender.java |