Skip to content

ssg/rule.yml does not block rules which are missing the documentation_complete tag. #14818

Description

@abushkin-redhat

Description of problem:

ACS-ICS team noticed that there were rules being pulled into profiles that were missing the documentation_complete tag. Investigation lead us to find that the ssg/yaml.py file (line 115), is designed such that it treats rule files without the tag as documentation_complete:true, which can lead to problems like: https://redhat.atlassian.net/browse/CMP-4339

Actual Results:

A rule.yml file that has no documentation_complete tag is treat as documentation_complete:true during build.

Expected Results:

A rule.yml file that has no documentation_complete tag should cause the build to fail or maybe issue some warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions