The main kb_topics function maps 1:1 to the API. Leave values NULL that you do not want included in the search parameters.

kb_topics(
  topic_id = NULL,
  editor_id = NULL,
  name = NULL,
  created = NULL,
  revised = NULL,
  disclosed = NULL,
  document = NULL,
  metadata = NULL,
  featured = NULL,
  q = NULL,
  api_key = attackerkb_api_key()
)

kb_topic(
  topic_id = "131226a6-a1e9-48a1-a5d0-ac94baf8dfd2",
  api_key = attackerkb_api_key()
)

Arguments

topic_id

UUID of a specific topic to return

editor_id

UUID of a contributor

name

Text to query the name attribute. A substring match is performed

created

Return all topics that were created on the given date.

revised

Return all topics that were revised on the given date.

disclosed

Return all topics that were disclosed on the given date.

document

Text to query the document attribute. A substring match is performed

metadata

Text to query the metadata attribute. A substring match is performed

featured

(lgl) TRUE/FALSE. Return all topics that are featured.

q

Return all topics that have content that matches the query string.

api_key

See attackerkb_api_key()

References

https://api.attackerkb.com/api-docs/docs