Validates a content security policy. If policy problems are found a data frame of information notes, warnings and errors is returned with the specific locations of the issues in the original CSP string.

validate_csp(csp)

Arguments

csp

a csp object created with fetch_csp() or parse_csp()

Value

data frame