validate_tactics.Rd
Validate Tactics strings against MITRE authoritative source
validate_tactics(tactics, matrix = c("enterprise", "mobile", "pre"), na_rm = TRUE)
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? |
TRUE
if all tactics validate, otherwise FALSE
with messages
identifying the invalid tactics.
# NOT RUN { validate_tactics("persistence") validate_tactics(c("persistence", "Persistence", "Persistance")) # }