Move from state API tot dedicated key/value collection

Created on 31 October 2024, 7 months ago

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 [#3177901]. As a guideline, the maximum number of entries in the State API as a whole is said 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.

πŸ“Œ Task
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands eelkeblok Netherlands πŸ‡³πŸ‡±

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024