Given a comma-separated list of control IDs, return a named list of descriptions for each control with the names set to the control IDs.

derive_control_key(capability_ids, capabilities)

Arguments

capability_ids

Comma-delimited list of capabilities in scope for a scenario.

capabilities

Dataframe of master list of all qualitative capabilities.

Value

A named list of control IDs and descriptions.

Examples

data(mc_capabilities)
capability_ids <- c("CAP-01", "CAP-03")
derive_control_key(capability_ids, mc_capabilities)
#> $`CAP-01`
#> [1] "A senior-level committee provides dedicated oversight for privacy and information security activities."
#> 
#> $`CAP-03`
#> [1] "Delegated authority is established for incident response."
#>