Content Security Policy Decomposer & Evaluator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
736 B

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse-csp-text.R
\name{as.data.frame.csp}
\alias{as.data.frame.csp}
\title{Convert a parsed CSP into a data frame of directives and values}
\usage{
\method{as.data.frame}{csp}(x, include_origin = TRUE, ...)
}
\arguments{
\item{x}{a \code{csp} object created with \code{\link[=fetch_csp]{fetch_csp()}} or \code{\link[=parse_csp]{parse_csp()}}}
\item{include_origin}{if the \code{csp} object has an origin URL should
it be included in the data frame? Default: \code{TRUE}}
\item{...}{ignored}
}
\description{
Convert a parsed CSP into a data frame of directives and values
}
\references{
\href{https://www.w3.org/TR/CSP3/}{Content Security Policy Level 3}
}