Skip to content

Transform user_list into a product attribute (follow up from #8426) #8429

@ggbecker

Description

@ggbecker

Description of problem:

The jinja variable used by rules changed in #8426 should be transformed into a product attribute that can be overridden. Essentially this attribute can be a list and then processed by the build system to create the correct regex string to be used by the OVAL checks.

Some pointers in the code where to change:
https://github.com/ComplianceAsCode/content/blob/master/ssg/products.py#L38
https://github.com/ComplianceAsCode/content/blob/master/ssg/constants.py#L462-L463

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringImprovement which, once completed, will enable the project to progress faster.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions