{"id":13852364,"url":"https://github.com/drutiny/drutiny","last_synced_at":"2025-05-15T10:04:27.424Z","repository":{"id":37587893,"uuid":"53103322","full_name":"drutiny/drutiny","owner":"drutiny","description":"A Drupal site auditing tool","archived":false,"fork":false,"pushed_at":"2025-05-13T20:29:05.000Z","size":3148,"stargazers_count":128,"open_issues_count":8,"forks_count":62,"subscribers_count":12,"default_branch":"3.6.x","last_synced_at":"2025-05-13T21:42:02.008Z","etag":null,"topics":["drupal","drupal-7","drupal-8","drush","drutiny","phantomas","php","site-audit","symfony-console"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drutiny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-04T03:04:56.000Z","updated_at":"2025-05-05T21:09:49.000Z","dependencies_parsed_at":"2023-10-12T08:57:40.808Z","dependency_job_id":"ee52b759-0a98-435e-b243-5720ef3018ef","html_url":"https://github.com/drutiny/drutiny","commit_stats":{"total_commits":1849,"total_committers":41,"mean_commits":45.09756097560975,"dds":"0.26014061654948617","last_synced_commit":"a2c8b5e92f982ad65a9804fd759fa879dd90d9ce"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drutiny%2Fdrutiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drutiny%2Fdrutiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drutiny%2Fdrutiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drutiny%2Fdrutiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drutiny","download_url":"https://codeload.github.com/drutiny/drutiny/tar.gz/refs/heads/3.6.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319716,"owners_count":22051072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal","drupal-7","drupal-8","drush","drutiny","phantomas","php","site-audit","symfony-console"],"created_at":"2024-08-04T22:01:17.094Z","updated_at":"2025-05-15T10:04:22.379Z","avatar_url":"https://github.com/drutiny.png","language":"PHP","readme":"# Drutiny - automated site auditing\n\n\u003cimg src=\"https://github.com/drutiny/drutiny/raw/3.2.x/assets/logo.png\" alt=\"Drutiny logo\" align=\"right\"/\u003e\n\n[![CI](https://github.com/drutiny/drutiny/actions/workflows/ci.yml/badge.svg?branch=3.6.x\u0026event=push)](https://github.com/drutiny/drutiny/actions/workflows/ci.yml)\n[![Latest Stable Version](https://poser.pugx.org/drutiny/drutiny/v/stable)](https://packagist.org/packages/drutiny/drutiny)\n[![Total Downloads](https://poser.pugx.org/drutiny/drutiny/downloads)](https://packagist.org/packages/drutiny/drutiny)\n[![Latest Unstable Version](https://poser.pugx.org/drutiny/drutiny/v/unstable)](https://packagist.org/packages/drutiny/drutiny)\n[![License](https://poser.pugx.org/drutiny/drutiny/license)](https://packagist.org/packages/drutiny/drutiny)\n\nA generic Drupal site auditing and optional remediation tool.\n\n## Installation\n\nThis repository is a baseline frame and not recommended to install by itself\nunless you're planning on building your own auditing tool based on top of Drutiny.\n\nYou can install Drutiny into your project with [composer](https://getcomposer.org).\n\n    composer require drutiny/drutiny ^3.6.0\n\nDrutiny has native target support for Git and [Drush](http://docs.drush.org/en/master/).\nIf you wish to use these types of targets, you must install the underlying software.\n\n## Usage\n\nDrutiny is a command line tool that can be called from the composer vendor bin directory:\n\n    ./vendor/bin/drutiny\n\n### Finding targets to audit\n\nDrutiny has a number of connectors that allow you to discover and access \"Targets\"\nto audit. Use the `target:sources` command to learn which sources are available.\n\n    ./vendor/bin/drutiny target:sources`\n\nWhen supported by the target source, use the `target:list` command to list all\nthe available targets from a given source:\n\n    # List all available targets through DDEV.\n    ./vendor/bin/drutiny target:list ddev\n\n### Finding policies available to run\n\nDrutiny comes with a `policy:list` command that lists all the policies available to audit against.\n\n    ./vendor/bin/drutiny policy:list\n\nPolicies provided by other packages such as [drutiny/plugin-distro-common](https://github.com/drutiny/plugin-distro-common) will also appear here, if they are installed.\n\n### Installing Drutiny Plugins\n\nAdditional Drutiny policies, audits, profiles and commands can be installed with composer.\n\n    $ composer search drutiny\n\n### Running an Audit\n\nAn audit of a single policy can be run against a site by using `policy:audit` and passing the policy name and site target:\n\n    ./vendor/bin/drutiny policy:audit Drupal-8:PageCacheExpiry @drupalvm.dev\n\nThe command above would audit the site that resolved to the `@drupalvm.dev` drush alias against the `Drupal-8:PageCacheExpiry` policy.\n\nSome policies have parameters you can specify which can be passed in at call time. Use `policy:info` to find out more about the parameters available for a check.\n\n    ./vendor/bin/drutiny policy:audit -p value=600 Drupal-8:PageCacheExpiry @drupalvm.dev\n\nAudits are self-contained classes that are simple to read and understand. Policies are simple YAML files that determine how to use Audit classes. Therefore, Drutiny can be extended very easily to audit for your own unique requirements. Pull requests are welcome as well, please see the [contributing guide](https://drutiny.github.io/2.3.x/CONTRIBUTING/).\n\n### Running a profile of checks\n\nA site audit is running a collection of checks that make up a profile. This allows you to audit against a specific standard, policy or best practice. Drutiny comes with some base profiles which you can find using `profile:list`. You can run a profile with `profile:run` in a simlar format to `policy:audit`.\n\n    ./vendor/bin/drutiny profile:run d8 @drupalvm.dev\n\nParameters can not be passed in at runtime for profiles but are instead predefined by the profile itself.\n\n## Getting help\n\nBecause this is a Symfony Console application, you have some other familiar commands:\n\n    ./vendor/bin/drutiny help profile:run\n\nIn particular, if you use the `-vvv` argument, then you will see all the drush commands, and SSH commands printed to the screen.\n\n# Credits\n\n-   [Theodoros Ploumis](https://github.com/theodorosploumis) for [creating the logo](https://github.com/drutiny/drutiny/issues/79) for Drutiny.\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrutiny%2Fdrutiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrutiny%2Fdrutiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrutiny%2Fdrutiny/lists"}