Classes

\NSWDPC\Utilities\ContentSecurityPolicy

Name Description
CSPMiddleware Apply modifications to the document, e.g add a defined CSP nonce to relevant elements EMPTY
ContentSecurityPolicyEnable Apply this to relevant controller types to enable CSP header delivery EMPTY
ControllerExtension Provides an extension method so that the Controller can set the relevant CSP header EMPTY
CspModelAdmin Admin for managing Content Security Policy and Violation Reports EMPTY
Directive A Content Security Policy directive, can be used by multiple {@link Policy} EMPTY
Nonce Model handling creation and retrieval of a nonce EMPTY
NonceRequirements_Backend No description available EMPTY
Policy A Content Security Policy policy record EMPTY
PruneViolationReportsJob Remove violation reports older than a set time EMPTY
ReportingEndpoint No description available EMPTY
SiteTreeExtension Provides an extension method so that the SiteTree can gather the CSP meta tag if that is set EMPTY
ViolationReport CSP Violation Report EMPTY

\NSWDPC\Utilities\ContentSecurityPolicy\Tests

Name Description
AbstractPolicyFunctionalTest No description available EMPTY
MiddlewarePolicyFunctionalTest Functional test using Middleware as the nonce injection solution EMPTY
NonceTest No description available EMPTY
PolicyFunctionalTest Functional test using Requirements)_Backend as the nonce injection solution EMPTY
PolicyTest No description available EMPTY