mirror of https://git.sr.ht/~hrbrmstr/cspy
boB Rudis
5 years ago
4 changed files with 37 additions and 3 deletions
@ -0,0 +1,17 @@ |
|||||
|
#' Valid CSP Directives |
||||
|
#' |
||||
|
#' A character vector of valid CSP directives as per |
||||
|
#' Content Security Policy Level 3 W3C Working Draft, 15 October 2018 |
||||
|
#' (<https://www.w3.org/TR/CSP3/#iana-registry>). |
||||
|
#' |
||||
|
#' @docType data |
||||
|
#' @keywords datasets |
||||
|
#' @export |
||||
|
c( |
||||
|
"base-uri", "block-all-mixed-content", "child-src", "connect-src", |
||||
|
"default-src", "font-src", "form-action", "frame-ancestors", "frame-src", |
||||
|
"img-src", "manifest-src", "media-src", "object-src", "prefetch-src", |
||||
|
"plugin-types", "report-uri", "report-to", "require-sri-for", "sandbox", |
||||
|
"script-src", "script-src-attr", "script-src-elem", "style-src", |
||||
|
"style-src-attr", "style-src-elem", "upgrade-insecure-requests", "worker-src" |
||||
|
) -> valid_csp_directives |
@ -0,0 +1,16 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/aaa.R |
||||
|
\docType{data} |
||||
|
\name{valid_csp_directives} |
||||
|
\alias{valid_csp_directives} |
||||
|
\title{Valid CSP Directives} |
||||
|
\format{An object of class \code{character} of length 27.} |
||||
|
\usage{ |
||||
|
valid_csp_directives |
||||
|
} |
||||
|
\description{ |
||||
|
A character vector of valid CSP directives as per |
||||
|
Content Security Policy Level 3 W3C Working Draft, 15 October 2018 |
||||
|
(\url{https://www.w3.org/TR/CSP3/#iana-registry}). |
||||
|
} |
||||
|
\keyword{datasets} |
Loading…
Reference in new issue