compliance-trestle
compliance-trestle copied to clipboard
Multiple profiles in a component
Issue description / feature objectives
For a component in a component defintion.json file, there can be multiple control-impl each corresponding to one profile. It may happen that the control -ids in these profiles may be overlapping (we don't know how the control ids will be named in different profiles).
Hence, when converting a component def. json to markdown, the component-generate command should create directories for each component (in a component definition) and within a component directory, further directories should be created for each comtrol-imp (profiles). Then the control markdown files for each profile should be created inside this directory.
This will help avoid control-ids issues/clashes if 2 profiles have same control-ids.