MongoDB Key Value Store

Manipulates key/value pairs according to an incident utilizing the MongoDB collection.

Database · MongoDB

Configuration parameters

  • credentials — MongoDB username (required)
  • uri — URI (mongodb://<IP/FQDN>:<Port Number>) (required)
  • database — MongoDB database name (required)
  • collection — MongoDB collection name (required)
  • use_ssl — Use an SSL/TLS secured connection
  • insecure — Trust any certificate (not secure)

Commands (7)

  • mongodb-delete-key

    Deletes the key/value record for an incident.

  • mongodb-get-key-value

    Returns the value of the specified name/key of an incident.

  • mongodb-get-keys-number

    Returns the number of key/value pairs for an incident.

  • mongodb-list-incidents

    Lists all incidents in the collection.

  • mongodb-list-key-values

    Lists the keys and their values for the specified incident.

  • mongodb-purge-entries

    Purges all keys/values for an incident. A common use case for this command is when closing an incident. This command clears the entries for the closed incident from the database.

  • mongodb-write-key-value

    Adds a key/value record for the incident. If the key exists, the existing value is overwritten.