Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ascanrules: add example alert to Cross Site Scripting (Persistent) #5660

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

iagoscm
Copy link

@iagoscm iagoscm commented Aug 20, 2024

Overview

Adding ascanrules for PersistentXssScanRule (Cross Site Scripting (Persistent) - A)

Related Issues

Part of zaproxy/zaproxy#6119.

Checklist

  • [na] Update help
  • Update changelog
  • Run ./gradlew spotlessApply for code formatting
  • Write tests
  • [na] Check code coverage
  • Sign-off commits
  • Squash commits
  • Use a descriptive title

For more details, please refer to the developer rules and guidelines.

Copy link

github-actions bot commented Aug 20, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@iagoscm
Copy link
Author

iagoscm commented Aug 20, 2024

I have read the CLA Document and I hereby sign the CLA

zapbot added a commit to zaproxy/cla that referenced this pull request Aug 20, 2024
@thc202 thc202 changed the title ascanrules: updating PersistentXssScanRule ascanrules: add example alert to Cross Site Scripting (Persistent) Aug 20, 2024
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Changed
- The Cross Site Scripting rule now includes example alert functionality for documentation generation purposes (Issue 6119)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- The Cross Site Scripting (Persistent) scan rule…

.build());
}

private AlertBuilder buildAlert(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is to have the existing newAlert() calls to use this new method (adjusted as needed), to avoid duplication and ensure the example alerts match the raised alerts.

@thc202
Copy link
Member

thc202 commented Aug 20, 2024

@uMorbeck should sign the CLA too or the commit's author amended.

@uMorbeck
Copy link

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants