-
Notifications
You must be signed in to change notification settings - Fork 58
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
Feature: use in Pull Request #9
Comments
Good suggestion, but I assume this should run in conjunction with locally building the webapp, and then running the baseline scan against the local app. |
Indeed, the url can be extracted from a previous job output variable and used as input to zap. |
I would like to start working on this issue: would like to get some clarifications, @psiinon @thc202
Example: |
Following the behaviour of other tools (e.g. LGTM), comment always with the difference between the latest changes of the PR and the base branch. This will have to be done in two steps, e.g. first creates the data and the second adds the comment (using |
Any update on this? |
Did a rather simple version of this that you can definitly improve but at least it runs zap on each PR. https://github.com/XenitAB/opa-bundle-api/pull/3/files
|
Sneaky bump on this issue: I'm looking for this exact functionality; from what I've seen in the docs, so far, it looks like we'd need a single
https://docs.github.com/en/rest/reference/pulls I'm pretty sure we can get that PR id in the workflow by using the |
@sshniro are you still able to look at this? |
Hi @psiinon unfortunately I will be not able to look into this during this month, would highly welcome any contribution from someone else. |
Instead of having an hourly scan or so, developers should receive direct feedback about their fixes in the CI/CD workflow.
Allowing us to use zaproxy/action-baseline in a
pull_request
flow should allow this behavior easily.IMO, the only thing that needs to be changed is detecting whether we're in a pull request and commenting instead of creating an issue.
The text was updated successfully, but these errors were encountered: