Update datastream file fixtures#13
Update datastream file fixtures#13dLobatog merged 2 commits intoOpenSCAP:masterfrom akofink:update-datastream-fixtures
Conversation
|
It does, but the validation looking for namespaces still fails. I need to figure this out. |
|
@akofink, I just took it from the file. The check is failing because the new file contains completely different namespaces: maybe because scap-version changed to 1.3? |
|
Right, so my question is about the namespaces. Why did we add the validations there? Is it okay to remove the namespace validation now? |
|
I think you can remove them if it helps you move forward. I wanted some basic check that the file is really what we expect so I added validations for namespaces, because I did not think they would change. |
|
Finally updated. The list of profiles was missing one for |
Signed-off-by: Andrew Kofink <akofink@redhat.com>
|
Rebased |


I'm expecting tests to fail here. @xprazak2 you wrote some of the failing validations - I wonder if you based the namespace requirement on the SCAP spec or just from an example datastream file? These three datastreams were downloaded from the ComplianceAsCode repo's latest release: https://github.com/ComplianceAsCode/content/releases/download/v0.1.46/scap-security-guide-0.1.46.zip
None of the three are 'valid' as written:
Signed-off-by: Andrew Kofink akofink@redhat.com