question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reports are not generated unless autooff is used

See original GitHub issue

Describe the bug With the latest release of the docker image, the baseline scan does not generate the reports unless the --autooff flag is used.

I believe this is related to the Baseline scan changes previously announced, although they shouldn’t have caused any issues with the reports.

I checked the source code as suggested, but I can’t see why the reports should not be generated.

To Reproduce Steps to reproduce the behavior:

  1. Run docker run --name owasp -v $(pwd)/test-zap:/zap/wrk:rw --rm -i -t owasp/zap2docker-stable zap-baseline.py -t https://start.spring.io -d -r report.html -J report.json => No report is generated in the mounted folder
  2. Run docker run --name owasp -v $(pwd)/test-zap:/zap/wrk:rw --rm -i -t owasp/zap2docker-stable zap-baseline.py -t https://start.spring.io -d -r report.html -J report.json --autooff => Reports are successfully generated

Expected behavior Two reports should be generated in the mounted folder. One in JSON format, the other in HTML format , even when not using the --autooff flag

Software versions Using ZAP inside of the owasp/zap2docker-stable docker image.

SHA: owasp/zap2docker-stable@sha256:461cfec7f6ce3c6ce7a8aceef773ed482d6ee572a16f1e6e86bd78799ae483cf

Would you like to help fix this issue? No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
psiinoncommented, Nov 3, 2021

We think we know whats going on and hope to have a work around asap. And then a proper fix once we’ve had a chance to test it thoroughly…

0reactions
github-actions[bot]commented, Feb 2, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Do not generate report if collection is empty? – Support - PDQ
My intention is to use the auto-reporting email function as a form ... PDQ Inv Auto-reports: Do not generate report if collection is...
Read more >
Reports auto generate - Expensify Community
I am using the free version of the app on my mobile. For some reason several times in a month the app will...
Read more >
Generate the Report
The auto-generation process tracks whether or not a report has been printed for each employee, in case the employee was added after the...
Read more >
Stop and start EC2 instances at set intervals using Lambda
I want to reduce my Amazon Elastic Compute Cloud (Amazon EC2) usage by stopping and starting my EC2 instances automatically. How do I...
Read more >
Troubleshoot Power over Ethernet on Catalyst 9000 Switches
Step 1: Use the 'show interface status' command to verify that the ports are not shut down and not error disabled. Step 2:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found