Skip to content

Commit 5ade4e3

Browse files
authored
Merge pull request #6781 from thc202/scanpolicies/doc-names
scanpolicies: document programmatic names
2 parents c37f1a7 + 1358291 commit 5ade4e3

File tree

11 files changed

+30
-1
lines changed

11 files changed

+30
-1
lines changed

addOns/scanpolicies/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ All notable changes to this add-on will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66
## Unreleased
7-
7+
### Added
8+
- Document in the help the programmatic name of the policies.
89

910
## [0.5.0] - 2025-09-18
1011
### Changed

addOns/scanpolicies/src/main/javahelp/help/contents/policy-api.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ <H1>API Policy</H1>
1313
<p>
1414
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_api/">Alert Tag: POLICY_API</a> page.
1515
<p>
16+
Programmatic Name: <code>API</code>
17+
</p>
18+
<p>
1619
Return to <a href="scanpolicies.html">main scan policies page</a>.
1720

1821
</BODY>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-default.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ <H1>Default Policy</H1>
1111

1212
A policy which enables all of the installed active scan rules.
1313
<p>
14+
Programmatic Name: <code>Default Policy</code>
15+
</p>
16+
<p>
1417
Return to <a href="scanpolicies.html">main scan policies page</a>.
1518
</BODY>
1619
</HTML>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-dev-cicd.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ <H1>Developer CI/CD Policy</H1>
2323
<p>
2424
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_dev_cicd/">Alert Tag: POLICY_DEV_CICD</a> page.
2525
<p>
26+
Programmatic Name: <code>Dev CICD</code>
27+
</p>
28+
<p>
2629
Return to <a href="scanpolicies.html">main scan policies page</a>.
2730

2831
</BODY>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-dev-full.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ <H1>Developer Full Policy</H1>
2222
<p>
2323
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_dev_full/">Alert Tag: POLICY_DEV_FULL</a> page.
2424
<p>
25+
Programmatic Name: <code>Dev Full</code>
26+
</p>
27+
<p>
2528
Return to <a href="scanpolicies.html">main scan policies page</a>.
2629

2730
</BODY>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-dev-std.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ <H1>Developer Standard Policy</H1>
2424
<p>
2525
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_dev_std/">Alert Tag: POLICY_DEV_STD</a> page.
2626
<p>
27+
Programmatic Name: <code>Dev Standard</code>
28+
</p>
29+
<p>
2730
Return to <a href="scanpolicies.html">main scan policies page</a>.
2831

2932
</BODY>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-pentest.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ <H1>Penetration Tester Policy</H1>
1111

1212
A policy which enables all of the installed active scan rules with the exception of the Example rules.
1313
<p>
14+
Programmatic Name: <code>Pen Test</code>
15+
</p>
16+
<p>
1417
Return to <a href="scanpolicies.html">main scan policies page</a>.
1518
</BODY>
1619
</HTML>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-qa-cicd.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ <H1>QA CI/CD Policy</H1>
2626
<p>
2727
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_qa_cicd/">Alert Tag: POLICY_QA_CICD</a> page.
2828
<p>
29+
Programmatic Name: <code>QA CICD</code>
30+
</p>
31+
<p>
2932
Return to <a href="scanpolicies.html">main scan policies page</a>.
3033

3134
</BODY>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-qa-full.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ <H1>QA Full Policy</H1>
1919
<p>
2020
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_qa_full/">Alert Tag: POLICY_QA_FULL</a> page.
2121
<p>
22+
Programmatic Name: <code>QA Full</code>
23+
</p>
24+
<p>
2225
Return to <a href="scanpolicies.html">main scan policies page</a>.
2326

2427
</BODY>

addOns/scanpolicies/src/main/javahelp/help/contents/policy-qa-std.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ <H1>QA Standard Policy</H1>
2020
<p>
2121
For the list of scan rules included see the <a href="https://www.zaproxy.org/alerttags/policy_qa_std/">Alert Tag: POLICY_QA_STD</a> page.
2222
<p>
23+
Programmatic Name: <code>QA Standard</code>
24+
</p>
25+
<p>
2326
Return to <a href="scanpolicies.html">main scan policies page</a>.
2427

2528
</BODY>

0 commit comments

Comments
 (0)