Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Disable fs:largeFiles checks until the images are updated with findutils #34

Open
tobybellwood opened this issue May 10, 2019 · 1 comment

Comments

@tobybellwood
Copy link

The fs:largeFiles check (https://drutiny.github.io/2.3.x/audits/DrutinyAuditFilesystem/#largefiles)
uses a variant of the find command that is not natively supported on busybox (it requires https://pkgs.alpinelinux.org/package/v3.9/main/x86/findutils to provide the -M size option and the printf command)

As such, it should be disabled in the checks until the apk has been added to the images.

https://github.com/govCMS/audit-site/blob/7.x-3.x/Profiles/d7-full.profile.yml#L135-L138
https://github.com/govCMS/audit-site/blob/7.x-3.x/Profiles/d8-full.profile.yml#L136-L139

In the meantime, the Drupal:largeFiles check provides file sizes via the database.

@tobybellwood
Copy link
Author

Likewise fs:SensitivePublicFiles checks also rely on findutils

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant