-
Notifications
You must be signed in to change notification settings - Fork 4
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
2683-zap-CORS-misconfig #2727
2683-zap-CORS-misconfig #2727
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2727 +/- ##
=========================================
Coverage 92.79% 92.79%
=========================================
Files 202 246 +44
Lines 4591 5568 +977
Branches 320 480 +160
=========================================
+ Hits 4260 5167 +907
- Misses 271 308 +37
- Partials 60 93 +33
Flags with carried forward coverage won't be shown. Click here to find out more. see 44 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…b.com/raft-tech/TANF-app into 2683-zap-result-cors-misconfiguration
-config globalexcludeurl.url_list.url\(15\).regex='^https:\/\/.*\.cloud.gov\/.*$' \ | ||
-config globalexcludeurl.url_list.url\(15\).description='Site - Cloud.gov' \ | ||
-config globalexcludeurl.url_list.url\(15\).enabled=true \ | ||
|
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 am trying to remember why we put this in here, but it was for a very specific reason.
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.
originally it was added to disable the spider to scan some of the links associated with cloud.gov, but since we are also trying to scan dev/staging, it not possible to disable the cloud.gov as a whole
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.
@raftmsohani @George-Hudson thanks for this. optimal to test this after merge into develop.
Summary of Changes
Provide a brief summary of changes
Pull request closes #2683 _
How to Test
List the steps to test the PR
The test was done agains raft. CORS settings are applied to both staging and dev, so we should see same scan results against staging.
See below the scan result and note there is no CORS error:
Steps to test:
We can perform the scan from local machine by changing the scan address in
zap-scanner.sh
. Follow the steps below to perform scan from local:Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
lfrohlich
and/oradpennington
confirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Report
comment in PR)CodeCov Report
comment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjolly
andttran-hub
using Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):