Skip to content

Commit

Permalink
removed some blank lines and updated texts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremychoi committed Dec 16, 2024
1 parent ab0e8cb commit 7058b45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions config/config-template-zap-long.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ scanners:
url: "" # url to start spidering from, default: application.url set above
browserId: firefox-headless



passiveScan:
# Optional comma-separated list of passive rules to disable
# Use https://www.zaproxy.org/docs/alerts/ to match rule with its ID
Expand Down
5 changes: 2 additions & 3 deletions tests/scanners/zap/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ def test_setup_include_urls(test_config):


def test_setup_replacer(test_config):
# testing if deleteAllRules is set to True when it is not

# test if deleteAllRules is set to True by default when it is not set
test_zap = ZapNone(config=test_config)
test_zap.setup()

Expand All @@ -255,7 +254,7 @@ def test_setup_replacer(test_config):
if item["type"] == "replacer":
assert item["parameters"]["deleteAllRules"] is False

# test rules1
# test rules
test_rule1 = {
"description": "test_rule1", # String, the name of the rule
"url": ".*", # String, a regex which will be used to match URLs, if empty then it will match all
Expand Down

0 comments on commit 7058b45

Please sign in to comment.