-
Notifications
You must be signed in to change notification settings - Fork 2
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
owasp action #122
owasp action #122
Conversation
# this will run at noon UTC every day (7am EST / 8am EDT) | ||
- cron: '0 12 * * *' | ||
pull_request: | ||
branches: [main] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: File is misnamed if this is no longer a daily scan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I renamed to owasp-scan.yml
so the name is separate from the trigger.
@@ -1,4 +1,7 @@ | |||
class PagesController < ApplicationController | |||
def home | |||
unless params["format"].nil? | |||
head 401, content_type: "text/html" | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this is still necessary given your change to the routes.rb
you've discussed in Slack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acouch One of the checks is for files like ._hg and the like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2a1037a
to
e7f8f1a
Compare
Ticket
Resolves FFS-1083
Changes
Make the OWASP running actually run. Started: #116
This adds a couple of ignore:
Unfortunately, Zap does not support ignoring risk levels like LOW, so ignoring a full check is the only way to filter.