Validate Techniques strings against MITRE authoritative source

validate_techniques(techniques, matrix = c("enterprise", "mobile",
  "pre"), ignore_case = FALSE, na_rm = TRUE)

Arguments

matrix

which matrix to use when validating?

ignore_case

if TRUE case will not be taken into account when comparing strings. Default is FALSE.

na_rm

remove NA's before comparing?

tactics

a character vector of tactic strings to validate.

Value

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

Examples

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