Closed (fixed)
Project:
Admin Toolbar
Version:
3.x-dev
Component:
Automated tests
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2026 at 00:05 UTC
Updated:
23 Jul 2026 at 01:00 UTC
Jump to comment: Most recent
Comments
Comment #4
dydave commentedQuick follow-up on this issue:
Added initial basic configuration for Gitlab CI security settings, mainly:
Included the standard Gitlab CI template:
Security/SAST.gitlab-ci.yml, as suggested in the documentation.Enabled two jobs to run automatically:
1 - Enabled secret detection and disabled builds for D12.
2 - GitLab Advanced SAST for comprehensive PHP/JS scanning of the module's source code.
3 - Gitlab SAST (semgrep-sast) for additional language support (limited scope).
Configured the
SAST_EXCLUDED_PATHSto focus the scans only on the module's files.After doing some tests with builds in the issue fork, since the jobs seemed to run as expected, I went ahead and merged the changes above at #3. 🥳
The latest build on 3.x seems to show the new jobs correctly and they seem to properly scan the code base: 🟢
https://git.drupalcode.org/project/admin_toolbar/-/pipelines/881201
At this point, the module should have some very basic automatic security scan coverage of the source code, which was the initial object of this ticket.
If more changes need to be made to the Gitlab CI security configuration they could be addressed in separate issues.
Marking ticket as Fixed, for now.
Feel free to let us know if you have any questions on any of the recent code changes or the project in general, we would surely be glad to help.
Thanks in advance!