Closed (fixed)
Project:
Image Link Formatter
Version:
2.2.x-dev
Component:
Automated testing
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2026 at 01:00 UTC
Updated:
10 Jul 2026 at 01:55 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 - GitLab Advanced SAST for comprehensive PHP/JS scanning of the module's source code.
2 - 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 2.2.x seems to show the new jobs correctly and they seem to properly scan the code base: 🟢
https://git.drupalcode.org/project/image_link_formatter/-/pipelines/865826
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!