opencti data source

blackstork/opencti, v0.4.2

Installation

To use the opencti data source locally via blackstork-cli, you must declare the blackstork/opencti plugin as a dependency in your global configuration block.

blackstork {
  plugin_versions = {
    "blackstork/opencti" = ">= v0.4.2"
  }
}

After declaring the dependency, execute blackstork-cli install to fetch the plugin. See Configuration for details.

Configuration

This data source accepts the following configuration arguments within a config data opencti block:

config data opencti {
  # Required string.
  #
  # For example:
  graphql_url = "some string"

  # Optional string.
  # Default value:
  auth_token = null
}

Usage

This data source accepts the following arguments within a data opencti block:

data opencti {
  # Required string.
  #
  # For example:
  graphql_query = "some string"
}