Learn R Programming

mitre (version 0.6.0)

MapTactics: Extract Tactic properties from x-mitre-tactic object (parsed with RJSONIO::fromJSON)

Description

Extract Tactic properties from x-mitre-tactic object (parsed with RJSONIO::fromJSON)

Usage

MapTactics(x.mitre.tactic = NA, domain = NA)

Arguments

x.mitre.tactic

list based on STIX

domain

must be "pre-attack", "enterprise-attack" or "mobile-attack"

Value

data.frame compliant with CTI USAGE document

Examples

Run this code
# NOT RUN {
sf <- "https://github.com/mitre/cti/raw/master/<domain>/<object>/<file>.json"
x.mitre.tactic <- RJSONIO::fromJSON(sf)
df.ent.tact <- MapTactics(x.mitre.tactic, "enerprise-attack")
# }

Run the code above in your browser using DataLab