ContentSecurityPolicyIssueDetails

@Serializable
data class ContentSecurityPolicyIssueDetails(val blockedURL: String? = null, val violatedDirective: String, val isReportOnly: Boolean, val contentSecurityPolicyViolationType: Audits.ContentSecurityPolicyViolationType, val frameAncestor: Audits.AffectedFrame? = null, val sourceCodeLocation: Audits.SourceCodeLocation? = null, val violatingNodeId: Int? = null)

Constructors

Link copied to clipboard
constructor(blockedURL: String? = null, violatedDirective: String, isReportOnly: Boolean, contentSecurityPolicyViolationType: Audits.ContentSecurityPolicyViolationType, frameAncestor: Audits.AffectedFrame? = null, sourceCodeLocation: Audits.SourceCodeLocation? = null, violatingNodeId: Int? = null)

Properties

Link copied to clipboard
val blockedURL: String? = null

The url not included in allowed sources.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specific directive that is violated, causing the CSP issue.

Link copied to clipboard
val violatingNodeId: Int? = null