Skip to content

Commit ee3f399

Browse files
patrykzzzJ12934
authored andcommitted
Change log level for json authentication log
Signed-off-by: Patryk Miłek <patrykmilek96@gmail.com>
1 parent 696762d commit ee3f399

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CONTRIBUTORS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ Committing with `git commit -s` will add the sign-off at the end of the commit m
3939
- Felix Belz <felix.belz@iteratec.com>
4040
- Mateusz Majcher <m.majcher91@gmail.com>
4141
- Guillermo Rodriguez <guimo.spritekin@gmail.com>
42+
- Lyuben Dimitrov <ldimitrov070@gmail.com>
43+
- Felix Hörsting <felix.hoersting@iteratec.com>
44+
- Matthew Cascio <cascio@cybercapsicum.com>
45+
- Patryk Miłek <patrykmilek96@gmail.com>

scanners/zap-advanced/scanner/zapclient/context/zap_context_authentication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def _configure_context_authentication_json_auth(
190190
The zap context id tot configure the ZAP authentication for (based on the class ZapConfiguration).
191191
"""
192192

193-
logging.debug("Enabling ZAP HTTP Form based Authentication")
193+
logging.debug("Enabling ZAP HTTP JSON based Authentication")
194194

195195
if "loginUrl" in json_auth:
196196
auth_method_config_params = "loginUrl=" + json_auth["loginUrl"]
@@ -199,7 +199,7 @@ def _configure_context_authentication_json_auth(
199199
"&loginRequestData=" + json_auth["loginRequestData"]
200200
)
201201

202-
logging.info("HTTP ZAP HTTP JSON Params: '%s'", auth_method_config_params)
202+
logging.debug("HTTP ZAP HTTP JSON Params: '%s'", auth_method_config_params)
203203

204204
self.get_zap.authentication.set_authentication_method(
205205
contextid=context_id,

0 commit comments

Comments
 (0)