Parse report-to CSP reports - #3131
Conversation
|
@labkey-tchad let me know if there's a good way to test this. Seems like it should have been failing since we added support for report-to. |
The tests are fine because our standard CSP still includes |
Current Firefox versions now support |
|
Note that Claude is somewhat concerned about how well this helper will work with It's also worried about throwing due to reports that don't contain "body" or "documentUrl," but that seems unlikely. |
We would have to switch all of our suites on TeamCity to use HTTPS and run on the latest Firefox version. That being said, I don't understand the rush to remove |
Even last year, we got a pen test complaints about using I'd like to get more dev and TeamCity servers running HTTPS, so I'm happy to use this as a nudge in that direction. That said, there's not a rush to switch. I hadn't checked the Firefox ESR schedule. Given analytics, I'm not worried about losing reports from any meaningful number of users. But let's do whatever homework needed to make this smooth on TeamCity and dev machines, and defer this to a future milestone if needed. |
Okay, for now I'll back out the report-to / report-uri changes from the product PRs. And adjust the testAutomation PR to handle both report types. Once we're comfortable that TeamCity can handle both we can revisit. |
labkey-tchad
left a comment
There was a problem hiding this comment.
The ElispotAssayTest change was an accident, I presume? Regardless, it's in a comment so won't hurt anything.
Looks good otherwise.
On purpose. I migrated from Bag -> MultiSet everywhere else, and Claude insisted I do it here as well. Even though it's a comment. |
Rationale
Now that TeamCity is using a Firefox ESR that supports the
report-todirective, our test framework should be able to parse report-to CSP reports. Once TeamCity supports report-to smoothly, we'll look at pursuing https://github.com/LabKey/internal-issues/issues/900