Route Access Audit
route_access_auditAudit Drupal route access control from *.routing.yml files to find routes with no restrictions, permissions, roles, or custom callbacks, and map controllers to declaring code.
Instructions
Classify every route's access control from *.routing.yml files.
The routing half of a pre-deployment review: each route is
classified by what it requires — fully anonymous (access: TRUE),
a permission, roles, entity access, a custom access callback, or
nothing at all, which is the finding. Controllers are mapped to
the file that declares the class when it can be found, so a risky
route leads straight to code. Targets work like
code_security_scan: one module by machine name, a DRUPAL_ROOT
directory, or the site's own modules/ and themes/ by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| module | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||