Validate Tactics strings against MITRE authoritative source

validate_tactics(tactics, matrix = c("enterprise", "mobile", "pre"),
  na_rm = TRUE)

Arguments

tactics

a character vector of tactic strings to validate. This will be converted to lower-case, left/right spaces will be trimmed and internal spaces will be converted to a single -

matrix

which matrix to use when validating?

na_rm

remove NA's before comparing?

Value

TRUE if all tactics validate, otherwise FALSE with messages identifying the invalid tactics.

Examples

# NOT RUN {
validate_tactics("persistence")
validate_tactics(c("persistence", "Persistence", "Persistance"))
# }