I had scan the site with PCI scan. But it is failed and its score is 7.8. Following are the scan results of PCI scan:
Title: Script Src Integrity Check
Synopsis: Report external script resources not using integrity.
Resolution: Set script integrity checking on target script or remove target script.
I can generate the integrity hash for single script by running following command: cat jquery.js | openssl dgst -sha384 -binary | openssl base64 -A
My question is - How I can set the script integrity for the merged file like below: example.com/media/js/90a8720cd608ccab8eaf40398 728caf8.js
I have merged the JS and CSS files in Magento. I want to set the script integrity for the merged js file.