usnistgov / sctools

Tools for security content automation, baseline tailoring, and overlay development.
42 stars 16 forks source link

informative refs tailoring button #16

Open joshualubell opened 9 years ago

joshualubell commented 9 years ago

If you click on an informative refs tailoring button in the Cyber Framework Browser tab, and that control is not referenced by any subcategories in the profile, the control dropdown in the Security Control Editor tab is set to the wrong value.

For example, for PR.PT-3 selected in the Browser tab but not selected in the Framework Profile, click on the CM-7 tailoring button. Assuming CM-7 is not referenced by any other profile subcategories, the Editor tab will be properly displayed, except with the Control dropdown not matching CM-7.

Probably the best (and easiest) way to fix is to make the tailoring buttons visible only if the subcategory is in the profile.