Skip to content

Commit

Permalink
Merge pull request #5910 from psiinon/scanpolicies/first
Browse files Browse the repository at this point in the history
scanpolicies: initial default policy
  • Loading branch information
thc202 authored Nov 12, 2024
2 parents a296372 + df58e2f commit ef7fc3e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
8 changes: 8 additions & 0 deletions addOns/scanpolicies/CHANGELOG.md
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
2 changes: 2 additions & 0 deletions addOns/scanpolicies/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version=0.1.0
release=false
25 changes: 25 additions & 0 deletions addOns/scanpolicies/scanpolicies.gradle.kts
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%", "")
}
}
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>
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ var addOns =
"reveal",
"revisit",
"saml",
"scanpolicies",
"scripts",
"selenium",
"sequence",
Expand Down

0 comments on commit ef7fc3e

Please sign in to comment.