-
Notifications
You must be signed in to change notification settings - Fork 54
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: add authenticated scans #5
Comments
Would definitely like to see this, but its not a simple as that ;) |
You can run authenticated scans by supplying a context file via
Example:
|
@mmogy That's really a good starter to automate authenticated scan. It would be helpful if you can guide me on the below similar scenario as well. I am trying to automate the docker implementation of ZAP proxy to target some of my token based web applications, which use Amazon Cognito for authentication and authorization. Since, the target app need token as Authorization header, on ZAP Desktop application it can be done through "Authentication" and "HttpSender" scripts for fetching token from Cognito and placing it in each HTTP request of the URLs being scanned respectively. However, for ZAP Docker, I can send a context file to it using "-n" flag, the file will also contain a reference to the "Authentication" script that I would create to fetch the token from Cognito. But I do not find a way to bind "HttpSender" script with context file or any flag that takes this file from the provided list of options given in the link above. So, the questions are:
|
This has been replied and commented here: https://groups.google.com/g/zaproxy-develop/c/mGw2we8fcIk |
While it doesn't work with docker, https://github.com/ICTU/zap-baseline has a CLI flow with form authentication and I created an issue there asking about their docker image supporting GitHub actions: ICTU/zap2docker-auth-weekly#41 |
Hi All, can someone suggest an end-to-end workflow for zap scan using authentication ? anything works , either github action or via docker . thanks |
Add the necessary input variables to configure the ZAP authentication toggles to perform authenticated scans in your pipeline.
.e.g.
The text was updated successfully, but these errors were encountered: