-
Notifications
You must be signed in to change notification settings - Fork 67
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
Conversation
winzj
commented
Nov 18, 2024
- closes Implement template login for ZAP wrapper application #3611
- 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
- add groovy script example to README.adoc - add short explanations - add method to TOTPGenerator to generate a currently valid TOTP - update examples
There was a problem hiding this 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.
...ub-commons-model/src/main/java/com/mercedesbenz/sechub/commons/model/login/EncodingType.java
Outdated
Show resolved
Hide resolved
sechub-doc/src/docs/asciidoc/documents/shared/configuration/sechub_config.adoc
Outdated
Show resolved
Hide resolved
sechub-doc/src/docs/asciidoc/documents/shared/configuration/sechub_config.adoc
Outdated
Show resolved
Hide resolved
...b-wrapper-owasp-zap/src/main/java/com/mercedesbenz/sechub/zapwrapper/util/TOTPGenerator.java
Outdated
Show resolved
Hide resolved
...wasp-zap/src/test/java/com/mercedesbenz/sechub/zapwrapper/helper/ZapPDSEventHandlerTest.java
Outdated
Show resolved
Hide resolved
...wasp-zap/src/test/java/com/mercedesbenz/sechub/zapwrapper/helper/ZapPDSEventHandlerTest.java
Show resolved
Hide resolved
...apper-owasp-zap/src/test/java/com/mercedesbenz/sechub/zapwrapper/util/StringDecoderTest.java
Outdated
Show resolved
Hide resolved
- 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
There was a problem hiding this 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.