govcms / audit
govCMS site audit and remediation tool. Used to verify all sites in Site Factory meet the minimum requirements.
Requires
- php: ^7.1.0
- drutiny/drutiny: 2.3.6
- drutiny/http: 2.5
- drutiny/plugin-drupal-7: 2.3
- drutiny/plugin-drupal-8: 2.3
- symfony/cache: ^3.4.35
- dev-7.x-3.x
- 1.x-dev
- dev-Reece-Woods-patch-1
- dev-issue/GOVCMS-5029
- dev-feature/GOVCMS-4478
- dev-fix/badge
- dev-feature/autofixes
- dev-feature/GOVCMS-4234
- dev-issue/mimemaild7
- dev-issue/36
- dev-drutiny/2.3.6
- dev-GHSA/79GR-58R3-PWM3
- dev-feature/configignore
- dev-bugfix/drutiny_fixes
- dev-issue/GOVCMS-2162
- dev-7.x-2.x
- dev-master
This package is auto-updated.
Last update: 2024-12-20 02:26:17 UTC
README
This project is to help site building using the govCMS distribtion audit their site builds against acceptable use for hosting on the govCMS SaaS platform.
This tool is used as a gateway for onboarding and launching sites on the platform. If you are a site builder, we recommend you use the tool prior to a onboard/forklift request to ensure your site meets the acceptable practices for hosting on the SaaS platform
Installation
To audit a site locally, we recommend you download the latest auditor phar for the version of govCMS you're using from the releases page.
wget https://github.com/govCMS/audit-site/releases/download/<LATEST_RELEASE>/audit.phar
Usage
To run the audit you'll need to have your site referenceable via a Drush alias. The Site Audit tool relies on the connection details to the site be setup as a drush alias already.
Before you conduct an audit you should always ensure you're running the latest release of the auditor. Check the releases page for the latest version.
Conducting the audit is as simple as running this one command with the correct drush alias. If you do not have an alias setup, you can run the auditor from inside root
of a Drupal site using the @self
drush alias.
php audit.phar pre-forklift @self
The audit will inform you through commandline output on the results of the audit. At the end of the audit, it will also provide an HTML report that you can open in a browser.