compliance-trestle icon indicating copy to clipboard operation
compliance-trestle copied to clipboard

Multiple profiles in a component

Open vikas-agarwal76 opened this issue 2 years ago • 0 comments

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.

vikas-agarwal76 avatar Oct 11 '22 08:10 vikas-agarwal76