-
-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5910 from psiinon/scanpolicies/first
scanpolicies: initial default policy
- Loading branch information
Showing
5 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changelog | ||
All notable changes to this add-on will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## Unreleased | ||
### Added | ||
- First version, just with the Default Policy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
version=0.1.0 | ||
release=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import org.zaproxy.gradle.addon.AddOnStatus | ||
|
||
description = "A set of standard scan policies." | ||
|
||
zapAddOn { | ||
addOnName.set("Scan Policies") | ||
addOnStatus.set(AddOnStatus.ALPHA) | ||
|
||
manifest { | ||
author.set("ZAP Dev Team") | ||
url.set("https://www.zaproxy.org/docs/desktop/addons/scanpolicies/") | ||
|
||
helpSet { | ||
baseName.set("help%LC%.helpset") | ||
localeToken.set("%LC%") | ||
} | ||
} | ||
} | ||
|
||
crowdin { | ||
configuration { | ||
file.set(file("$rootDir/gradle/crowdin-help-only.yml")) | ||
tokens.put("%helpPath%", "") | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
addOns/scanpolicies/src/main/zapHomeFiles/policies/Default Policy.policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<configuration> | ||
<policy>Default Policy</policy> | ||
<scanner> | ||
<level>MEDIUM</level> | ||
<strength>MEDIUM</strength> | ||
</scanner> | ||
<plugins> | ||
</plugins> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,7 @@ var addOns = | |
"reveal", | ||
"revisit", | ||
"saml", | ||
"scanpolicies", | ||
"scripts", | ||
"selenium", | ||
"sequence", | ||
|