knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
mitre package is designed to provide easy access to cybersecurity data standards. You can expect sample data frames for every standard object. It provide a directed graph with all relationships for deep exploratory analysis. Using scripts in data-raw folder you can build the data sets using the latest public source files.
You can install the released version of mitre from CRAN with:
install.packages("mitre")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("motherhack3r/mitre")
This is a basic example which shows you how to view shield tactics ids and names:
library(mitre) shield <- mitre::shield.tactics shield[, c("id", "name")]
This example shows the distribution of vulnerability risk:
hist(mitre::cve.nist$cvss3.score, main = "CVE risk distribution", xlab = "cvss3")
This code shows you the type of nodes for each standard:
mitrenet <- mitre::build_network(as_igraph = FALSE) table(mitrenet$nodes$type, mitrenet$nodes$group)
And the type of relationships:
table(mitrenet$edges$label)
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.