Tools to Query the Rapid7 AttackerKB API

Description

Rapid7 manages a service — https://attackerkb.com/ - where experts can evaluate various aspects of emergent or existing vulnerabilities and the community can query and retrieve results. Tools are provided to query the AttackerKB API.

What’s Inside The Tin

The following functions are implemented:

  • attackerkb_api_key: Get or set ATTACKERKB_API_KEY value
  • kb_assessments: Helpers to query AttackerKB assessments
  • kb_contributors: Helpers to query AttackerKB contributors
  • kb_topics: Helpers to query AttackerKB topics

Installation

install.packages("attackerkb", repos = c("https://cinc.rud.is", "https://cloud.r-project.org/"))
# or
remotes::install_git("https://git.rud.is/hrbrmstr/attackerkb.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/attackerkb")
# or
remotes::install_gitlab("hrbrmstr/attackerkb")
# or
remotes::install_bitbucket("hrbrmstr/attackerkb")
# or
remotes::install_github("hrbrmstr/attackerkb")

NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.

Usage

library(attackerkb)

# current version
packageVersion("attackerkb")
## [1] '0.1.0'

attackerkb Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
R 9 0.9 302 0.97 96 0.86 288 0.91
Rmd 1 0.1 8 0.03 15 0.14 28 0.09

Code of Conduct

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.