codeq/csp-report-endpoint

提供日志CSP违规的端点。

1.1.0 2023-01-10 20:10 UTC

This package is auto-updated.

Last update: 2024-09-10 23:34:36 UTC


README

此包为 Flow 框架添加了一个端点,用于记录内容安全策略(CSP)违规。它简单地以 定义的格式 记录发送到端点的每个请求。

使用方法

要使用此端点,扩展您的 Content-Security-Policy 标头,包含 report-uri /csp-violation-report/

维护者

Felix Gradinaru,CodeQ Web Factory

许可证

此包采用MIT许可证分发。