Learn R Programming

mitre (version 0.6.0)

MapCommonproperties: Extract common properties from attack pattern object (parsed with RJSONIO::fromJSON)

Description

Extract common properties from attack pattern object (parsed with RJSONIO::fromJSON)

Usage

MapCommonproperties(attack.obj = NA, domain = NA)

Arguments

attack.obj

list

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"
attack.pattern <- RJSONIO::fromJSON(sf)
df.common <- MapCommonproperties(attack.pattern)
# }

Run the code above in your browser using DataLab