virustotal_api_usage data source

blackstork/virustotal, v0.4.2

Installation

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

blackstork {
  plugin_versions = {
    "blackstork/virustotal" = ">= 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 virustotal_api_usage block:

config data virustotal_api_usage {
  # Required string.
  # Must be non-empty
  #
  # For example:
  api_key = "some string"
}

Usage

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

data virustotal_api_usage {
  # Optional string.
  # Default value:
  user_id = null

  # Optional string.
  # Default value:
  group_id = null

  # Optional string.
  # Default value:
  start_date = null

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