-
Notifications
You must be signed in to change notification settings - Fork 23
Profile processing for catalog code generation #12
Comments
Some of this is addressed by #11. |
@minhaj10p let's start digging into this one. That way we can begin to identify some of the challenges/gaps in nested profiles and figure out ways to deal with them. |
@anweiss @minhaj10p do we want to fill in parameters in generated control structs? I think we would want to do that for implementation as well. |
@asadullah-yousuf-10p yes, that would be ideal. |
@asadullah-yousuf-10p let me know your thoughts on this. I know this is not a complete solution, but I think it's one of the flows that we should be able to address. I'll use the FedRAMP High profile as an example, and I'll use the phrase "root profile" to refer to the profile in context, which in this example is FedRAMP High. I'll also refer to the
|
Hey @anweiss, I was able to play around with profile processing and here are some insights and personal opinions.
#52 |
@anweiss It would be highly appreciated if you could document what we discussed as part of this issue regarding the |
@minhaj10p sure thing |
For now, let's exclude the scenario where a profile may With that being said, here's a summary of the "manipulation" parsing discussion that we had:
|
@minhaj10p I opened usnistgov/OSCAL#292 as well to address your last bullet point re. moving |
#58 addresses the bug for the import paths i.e #57 |
Thanks @minhaj10p. Once we get #52 reviewed by a couple of other folks, we'll get it merged, along with #58. |
@minhaj10p @asadullah-yousuf-10p I'm also curious whether or not we could try splitting up the generated code across multiple global variables and files, rather than one massive slice. Thinking we could try incorporating some sort of "separator" logic that splits the data by "group" or some other element. |
@anweiss If the assumption isn't correct, there can be a lot of i/o operations for each I can create a PR for this commit if we need to have a new strategy to parse cc: @farhan-khan30 @asadullah-yousuf-10p |
@minhaj10p your understanding is correct. If there is no |
@anweiss I have created a PR #69 as the current implementation uses timeout strategy while traversing the import chain. if the goroutines don't find the respective I'll have to replace it with the usual tree traversal |
Support processing of profiles for parameter insertions and
add
,merge
,modify
,alter
andremove
to generate catalogs with profile data.The text was updated successfully, but these errors were encountered: