Skip to content
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

Allow to choose the name of report files #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atilsensalduz
Copy link

feat: parameterize-output-files to avoid report override when runs for multiple target in same workflow

…r multiple target in same workflow

Signed-off-by: atilsensalduz <[email protected]>
@thc202 thc202 changed the title feat/parameterize-output-files Allow to choose the name of report files Mar 10, 2023
@thc202
Copy link
Member

thc202 commented Mar 10, 2023

The changelog should be updated

json_report_name:
description: 'file to write the full ZAP JSON document'
required: false
default: 'report_json.json'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if the user provides an empty string or an invalid file name?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for reviewing 🙏 in that case, workflow returns error from zap-baseline.py. in my opinion, it would be better if we give that error handling to zap-baseline.py instead of handling in workflow. wdty?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But we touch before then.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right 😄. I'm on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants