Open shawndwells opened 6 years ago
Bump. Would a PR to update the schema in this manner be welcome? Would be very useful for the ComplianceAsCode project, which is aggregating content from multiple vendors/technologies (unifying the SCAP, Ansible, and OpenControl workflow).
In the current RedHat content repo, directory structure is used to breakout products:
https://github.com/opencontrol/RedHat/tree/master/OpenShift-v3 https://github.com/opencontrol/RedHat/tree/master/OpenStackPlatform
edit: Not sayin' this is the best practice or most ideal, just how we got started :)
If I understand the OpenControl schema for
systems
correctly, onlyurl
andrevision
can be passed as arguments:https://github.com/opencontrol/schemas/blob/master/kwalify/opencontrol/v1.0.0.yaml#L53#L61
This forces us to create many content repos, e.g. redhat-rhel, redhat-openshift, redhat-jboss, instead of one per vendor.
Has there been a discussion on if this is desired? Should we update the schema to support a directory tree, e.g.: