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?
Description of problem:
ACS-ICS team noticed that there were rules being pulled into profiles that were missing the
documentation_completetag. Investigation lead us to find that thessg/yaml.pyfile (line 115), is designed such that it treats rule files without the tag asdocumentation_complete:true, which can lead to problems like: https://redhat.atlassian.net/browse/CMP-4339Actual Results:
A rule.yml file that has no
documentation_completetag is treat asdocumentation_complete:trueduring build.Expected Results:
A rule.yml file that has no
documentation_completetag should cause the build to fail or maybe issue some warning?