Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System Check: safelist zip of matomo.js.gz during integrity/delete check #21907

Closed
atom-box opened this issue Feb 9, 2024 · 1 comment
Closed
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@atom-box
Copy link
Contributor

atom-box commented Feb 9, 2024

Users who deliver matomo.js store the zip in matomo/ directory.

System check recommends to delete the file.

Here is a prior whitelist story, in case that makes this quicker to do: #11454

@atom-box atom-box added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. To Triage An issue awaiting triage by a Matomo core team member labels Feb 9, 2024
@sgiehl
Copy link
Member

sgiehl commented Feb 9, 2024

It is already possible to manually ignore files using DI config. To add a file in your local config.php add a similar code block like it's included in global.php already:

matomo/config/global.php

Lines 126 to 134 in bd86fa8

'fileintegrity.ignore' => Piwik\DI::add([
'*.htaccess',
'*web.config',
'bootstrap.php',
'favicon.ico',
'robots.txt',
'.bowerrc',
'.lfsconfig',
'.phpstorm.meta.php',

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2024
@sgiehl sgiehl added worksforme The issue cannot be reproduced and things work as intended. and removed To Triage An issue awaiting triage by a Matomo core team member labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants