You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
Trying to use lightouse security config directly on lighthouse v3.2.1 gives the following error: lighthouse-security/audits/csp has no meta.id property, or the property is not a string
Missing id and title on all audits meta object return.
And the same for all other audits...
Suggestion:
static get meta() {
return {
id: 'csp',
title: 'Has a Content Security Policy (CSP)',
failureTitle: 'Is missing Content Security Policy (CSP)',
description:
'A Content Security Policy helps prevent cross-site scripting (XSS), ' +
'clickjacking and other code injection by whitelisting trusted resources. ' +
'[Learn more](https://developers.google.com/web/fundamentals/security/csp/)',
requiredArtifacts: ['CspMetaGatherer', 'ResponseHeaders'],
};
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to use lightouse security config directly on lighthouse v3.2.1 gives the following error:
lighthouse-security/audits/csp has no meta.id property, or the property is not a string
Missing id and title on all audits meta object return.
And the same for all other audits...
Suggestion:
The text was updated successfully, but these errors were encountered: