Skip to content

feat: add content security policy #5

feat: add content security policy

feat: add content security policy #5

Triggered via push February 22, 2024 17:49
Status Failure
Total duration 1m 42s
Artifacts 1
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lighthouse
7 results for http://localhost:39357/index.html ❌ `csp-xss` failure for `minScore` assertion (Ensure CSP is effective against XSS attacks: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/ ) Expected >= 0.9, but found 0 ❌ `total-byte-weight` failure for `minScore` assertion (Avoids enormous network payloads: https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/ ) Expected >= 0.9, but found 0 ⚠️ `bootup-time` warning for `minScore` assertion (JavaScript execution time: https://developer.chrome.com/docs/lighthouse/performance/bootup-time/ ) Expected >= 0.9, but found 0 ⚠️ `dom-size` warning for `minScore` assertion (Avoids an excessive DOM size: https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations ) Expected >= 0.9, but found 0 ⚠️ `mainthread-work-breakdown` warning for `minScore` assertion (Minimizes main-thread work: https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/ ) Expected >= 0.9, but found 0 ⚠️ `render-blocking-resources` warning for `maxLength` assertion (Eliminate render-blocking resources: https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/ ) Expected <= 0, but found 1 ⚠️ `server-response-time` warning for `minScore` assertion (Initial server response time was short: https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/ ) Expected >= 0.9, but found 0
lighthouse
15 results for http://localhost:39357/codility/index.html ❌ `csp-xss` failure for `minScore` assertion (Ensure CSP is effective against XSS attacks: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/ ) Expected >= 0.9, but found 0 ❌ `heading-order` failure for `minScore` assertion (Heading elements are not in a sequentially-descending order: https://dequeuniversity.com/rules/axe/4.8/heading-order ) Expected >= 0.9, but found 0 ❌ `identical-links-same-purpose` failure for `minScore` assertion (Identical links have the same purpose.: https://dequeuniversity.com/rules/axe/4.8/identical-links-same-purpose ) Expected >= 0.9, but found 0 ❌ `landmark-one-main` failure for `minScore` assertion (Document has a main landmark.: https://dequeuniversity.com/rules/axe/4.8/landmark-one-main ) Expected >= 0.9, but found 0 ❌ `link-name` failure for `minScore` assertion (Links do not have a discernible name: https://dequeuniversity.com/rules/axe/4.8/link-name ) Expected >= 0.9, but found 0 ❌ `link-text` failure for `minScore` assertion (Links do not have descriptive text: https://developer.chrome.com/docs/lighthouse/seo/link-text/ ) Expected >= 0.9, but found 0 ❌ `tap-targets` failure for `minScore` assertion (Tap targets are not sized appropriately: https://developer.chrome.com/docs/lighthouse/seo/tap-targets/ ) Expected >= 0.9, but found 0.67 ❌ `total-byte-weight` failure for `minScore` assertion (Avoids enormous network payloads: https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/ ) Expected >= 0.9, but found 0 ❌ `unused-javascript` failure for `maxLength` assertion (Reduce unused JavaScript: https://developer.chrome.com/docs/lighthouse/performance/unused-javascript/ ) Expected <= 0, but found 1 ⚠️ `bootup-time` warning for `minScore` assertion (JavaScript execution time: https://developer.chrome.com/docs/lighthouse/performance/bootup-time/ ) Expected >= 0.9, but found 0 ⚠️ `categories.accessibility` warning for `minScore` assertion Expected >= 1, but found 0.87 ⚠️ `dom-size` warning for `minScore` assertion (Avoids an excessive DOM size: https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations ) Expected >= 0.9, but found 0 ⚠️ `mainthread-work-breakdown` warning for `minScore` assertion (Minimizes main-thread work: https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/ ) Expected >= 0.9, but found 0 ⚠️ `render-blocking-resources` warning for `maxLength` assertion (Eliminate render-blocking resources: https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/ ) Expected <= 0, but found 1 ⚠️ `server-response-time` warning for `minScore` assertion (Initial server response time was short: https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/ ) Expected >= 0.9, but found 0
lighthouse
10 results for http://localhost:39357/codility/01-binary-gap/index.html ❌ `color-contrast` failure for `minScore` assertion (Background and foreground colors do not have a sufficient contrast ratio.: https://dequeuniversity.com/rules/axe/4.8/color-contrast ) Expected >= 0.9, but found 0 ❌ `csp-xss` failure for `minScore` assertion (Ensure CSP is effective against XSS attacks: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/ ) Expected >= 0.9, but found 0 ❌ `landmark-one-main` failure for `minScore` assertion (Document has a main landmark.: https://dequeuniversity.com/rules/axe/4.8/landmark-one-main ) Expected >= 0.9, but found 0 ❌ `total-byte-weight` failure for `minScore` assertion (Avoids enormous network payloads: https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/ ) Expected >= 0.9, but found 0 ⚠️ `bootup-time` warning for `minScore` assertion (JavaScript execution time: https://developer.chrome.com/docs/lighthouse/performance/bootup-time/ ) Expected >= 0.9, but found 0 ⚠️ `categories.accessibility` warning for `minScore` assertion Expected >= 1, but found 0.94 ⚠️ `dom-size` warning for `minScore` assertion (Avoids an excessive DOM size: https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations ) Expected >= 0.9, but found 0 ⚠️ `mainthread-work-breakdown` warning for `minScore` assertion (Minimizes main-thread work: https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/ ) Expected >= 0.9, but found 0 ⚠️ `render-blocking-resources` warning for `maxLength` assertion (Eliminate render-blocking resources: https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/ ) Expected <= 0, but found 1 ⚠️ `server-response-time` warning for `minScore` assertion (Initial server response time was short: https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/ ) Expected >= 0.9, but found 0
lighthouse
11 results for http://localhost:39357/codility/02-cyclic-rotation/index.html ❌ `color-contrast` failure for `minScore` assertion (Background and foreground colors do not have a sufficient contrast ratio.: https://dequeuniversity.com/rules/axe/4.8/color-contrast ) Expected >= 0.9, but found 0 ❌ `csp-xss` failure for `minScore` assertion (Ensure CSP is effective against XSS attacks: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/ ) Expected >= 0.9, but found 0 ❌ `landmark-one-main` failure for `minScore` assertion (Document has a main landmark.: https://dequeuniversity.com/rules/axe/4.8/landmark-one-main ) Expected >= 0.9, but found 0 ❌ `meta-description` failure for `minScore` assertion (Document does not have a meta description: https://developer.chrome.com/docs/lighthouse/seo/meta-description/ ) Expected >= 0.9, but found 0 ❌ `total-byte-weight` failure for `minScore` assertion (Avoids enormous network payloads: https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/ ) Expected >= 0.9, but found 0 ⚠️ `bootup-time` warning for `minScore` assertion (JavaScript execution time: https://developer.chrome.com/docs/lighthouse/performance/bootup-time/ ) Expected >= 0.9, but found 0 ⚠️ `categories.accessibility` warning for `minScore` assertion Expected >= 1, but found 0.93 ⚠️ `dom-size` warning for `minScore` assertion (Avoids an excessive DOM size: https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations ) Expected >= 0.9, but found 0 ⚠️ `mainthread-work-breakdown` warning for `minScore` assertion (Minimizes main-thread work: https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/ ) Expected >= 0.9, but found 0 ⚠️ `render-blocking-resources` warning for `maxLength` assertion (Eliminate render-blocking resources: https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/ ) Expected <= 0, but found 1 ⚠️ `server-response-time` warning for `minScore` assertion (Initial server response time was short: https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/ ) Expected >= 0.9, but found 0
lighthouse
11 results for http://localhost:39357/codility/02-odd-occurrences/index.html ❌ `color-contrast` failure for `minScore` assertion (Background and foreground colors do not have a sufficient contrast ratio.: https://dequeuniversity.com/rules/axe/4.8/color-contrast ) Expected >= 0.9, but found 0 ❌ `csp-xss` failure for `minScore` assertion (Ensure CSP is effective against XSS attacks: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/ ) Expected >= 0.9, but found 0 ❌ `landmark-one-main` failure for `minScore` assertion (Document has a main landmark.: https://dequeuniversity.com/rules/axe/4.8/landmark-one-main ) Expected >= 0.9, but found 0 ❌ `meta-description` failure for `minScore` assertion (Document does not have a meta description: https://developer.chrome.com/docs/lighthouse/seo/meta-description/ ) Expected >= 0.9, but found 0 ❌ `total-byte-weight` failure for `minScore` assertion (Avoids enormous network payloads: https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/ ) Expected >= 0.9, but found 0 ⚠️ `bootup-time` warning for `minScore` assertion (JavaScript execution time: https://developer.chrome.com/docs/lighthouse/performance/bootup-time/ ) Expected >= 0.9, but found 0 ⚠️ `categories.accessibility` warning for `minScore` assertion Expected >= 1, but found 0.93 ⚠️ `dom-size` warning for `minScore` assertion (Avoids an excessive DOM size: https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations ) Expected >= 0.9, but found 0 ⚠️ `mainthread-work-breakdown` warning for `minScore` assertion (Minimizes main-thread work: https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/ ) Expected >= 0.9, but found 0 ⚠️ `render-blocking-resources` warning for `maxLength` assertion (Eliminate render-blocking resources: https://developer.chrome.com/docs/lighthouse/performance/render-blocking-resources/ ) Expected <= 0, but found 1 ⚠️ `server-response-time` warning for `minScore` assertion (Initial server response time was short: https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/ ) Expected >= 0.9, but found 0
lighthouse
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
github-pages Expired
230 KB