Thank you both! I will try.
Then an other question. What is the command for a pipeline job to actually run the baseline scan with the context file? I have tried both:
- zap-baseline.py -n $CI_PROJECT_DIR/pipelines/jobs/zap-auth.yaml -t $baseUrl -g gen.conf -I -r testreport.html
- zap-baseline.py -n $CI_PROJECT_DIR/pipelines/jobs/zap-auth.xml -t $baseUrl -g gen.conf -I -r testreport.html
- zap-baseline.py -c $CI_PROJECT_DIR/pipelines/jobs/zap-auth.yaml -t $baseUrl -g gen.conf -I -r testreport.html
- zap-baseline.py -c $CI_PROJECT_DIR/pipelines/jobs/zap-auth.xml -t $baseUrl -g gen.conf -I -r testreport.html
Voor de -n I receive an 'internal error'. For the '-c' i receive the error: 'Unexpected number of tokens on line - there should be at least 3, tab separated'.
Can you please tell me if this is the 'right' command. And if not, what is should be?
Kind regards,
Merel