Hi, I am trying to scan + spider an application that takes an authorization header as the authentication mechanism for it's api calls. How/where do I define a config file to put in the following data:
replacer.full_list(0).description=auth1
replacer.full_list(0).enabled=true
replacer.full_list(0).matchtype=REQ_HEADER
replacer.full_list(0).matchstr=Authorization
replacer.full_list(0).regex=false
replacer.full_list(0).replacement=Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Once I define a config file with the above data, id like to scan the URL using my docker image with syntax like so, docker run -t owasp/zap2docker-stable zap-full-scan.py + whatever options go afterwards.
Could you help me understand where do I define that data into a config file and then how do I build a syntax to include it and scan my target?