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

Feature 3611 zap wrapper webscan template login #3622

Merged
merged 13 commits into from
Nov 27, 2024

Conversation

winzj
Copy link
Member

@winzj winzj commented Nov 18, 2024

- add entry to openapi.yaml
- add field with default
- extend unit tests
- extend examples, documentation and RestDocTest
- add decoder with autodetect method and unit testcases
- add seed to totp generator and change signature
- update unit testcases
- add parts for script execution with session management
- add script authentication to ZapScanner
- add necessary dependencies to gradle files
- add configuration option via commandline parameter and ENV variable
@winzj winzj marked this pull request as draft November 18, 2024 08:21
@winzj winzj changed the title Feature 3611 webscan template login Feature 3611 zap wrapper webscan template login Nov 18, 2024
- add groovy script example to README.adoc
- add short explanations
- add method to TOTPGenerator to generate a currently valid TOTP
- update examples
@winzj winzj marked this pull request as ready for review November 19, 2024 06:51
@winzj winzj requested a review from de-jcup November 19, 2024 06:51
Copy link
Member

@de-jcup de-jcup left a comment

Choose a reason for hiding this comment

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

Good job! I found still some parts which should be changed.

If the changes are too big (e.g. refactoring of client wrapper, to use only dedicated values (e.g. booleans, integers ) etc.
feel free to create a new issue to handle this later.

- update documentation and fix typos
- change implementation of fetching groovy script file,
  now the file must be specified directly via cli or ENV
- other minor changes
- refactored ClientApiWrapper by using real datatypes instead of strings
- updated test cases
- moved logging to ClientApiWrapper
- add additional data to proxy settings
- add a ScriptLoginResult which contains all the session data
- update the current script login to use the ScriptLoginResult
- update and extend testcases
@winzj winzj requested a review from de-jcup November 26, 2024 08:52
Copy link
Member

@de-jcup de-jcup left a comment

Choose a reason for hiding this comment

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

Good work. I found some minor parts but will still approve.

Please read my comments and decide if you want to handle this before doing the merge.

@winzj winzj merged commit 639d9f5 into develop Nov 27, 2024
2 checks passed
@winzj winzj deleted the feature-3611-webscan-template-login branch November 27, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement template login for ZAP wrapper application
2 participants