Problem/Motivation
The module was moved fairly recently to using State API for storing various data, such as last run times and findings for checks. However, some more guidance has become clear regarding the state API, see https://www.drupal.org/node/3177901. As a guideline, the maximum number of entries in the State API as a whole is suggested to be 100. This module alone causes - typically - 123 entries.
Steps to reproduce
* Instal the module
* Run the security checks
* Run the query from the change record and/or modify it to see the actual entries
* See that the number of entries exceeds the maximum number as given as guidance in the change record.
Proposed resolution
Use a dedicated key-value collection, as suggested in the change record.
Remaining tasks
- Agree this is a good approach
- Create MR
- Review
- Merge
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork security_review-3484859
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
eelkeblokComment #3
eelkeblokComment #4
smustgrave commentedIf it doesn’t break anything I’m all for it
Comment #6
smustgrave commentedLets do this in 4.0.x
Comment #9
smustgrave commentedDone!