In a previous run ZAP flagged our login page as "CSP: Wildcard Directive" because we used "frame-ancestors *;". This I can understand. So we changed that to "frame-ancestors 'self';" (which is a considerable restriction imho) however ZAP still complains about the 'CSP Wildcard Directive'.
In its description it states:
"The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined"
Evidence:
frame-ancestors 'self';
But 'self' is not overly broad isn't it?
Or does it refer to other (maybe) missing sources? So do I really need to define all or can I use just use default-src?
script-src, script-src-elem, script-src-attr, style-src, style-src-elem,
style-src-attr, img-src, connect-src, frame-src, font-src, media-src,
object-src, manifest-src, worker-src, prefetch-src, form-action