Package Documentation

Storm Package: synapse-flashpoint

The following Commands are available from this package. This documentation is generated for version 1.15.0 of the package.

Storm Commands

This package implements the following Storm Commands.

flashpoint.ignite.indicators

Retrieve bulk indicators from the Flashpoint Technical Indicators Ignite API.

This command queries the Flashpoint Technical Indicators API to retrieve indicators
of compromise that Flashpoint has identified as likely malicious.

Examples:

  // Retrieve 1000 indicators and yield the created nodes
  flashpoint.ignite.indicators --size 1000 --yield

  // Retrieve 100000 indicators from 2020
  flashpoint.ignite.indicators --size 100000 --start-date 2020-01-01 --end-date 2020-12-31


Usage: flashpoint.ignite.indicators [options]

Options:

  --help                      : Display the command usage.
  --query <query>             : A free text search query string, also accepts Lucene query syntax.
  --search-fields <search_fields>: Search specific value types, for example "filename==this.exe".
  --search-tags <search_tags> : Search for keywords inside tags, for example "malware:agenttesla".
  --types <types>             : Search for specific indicator types, for example "url,domain,ip-src".
  --size <size>               : Number of indicators to return. (default: 1000)
  --start-date <start_date>   : Search for indicators first added after this date.
  --end-date <end_date>       : Search for indicators first added before this date.
  --updated-since <updated_since>: Search for indicators updated after this date.
  --updated-until <updated_until>: Search for indicators updated before this date.
  --yield                     : Yield the newly created nodes.
  --debug                     : Show verbose debug output.
  --add-tags                  : Add Flashpoint provided tags on nodes.
  --tag <tag>                 : Specify a custorm tag to add to the created nodes.

The command is accessible to users with one or more of the following permissions:

  • power-ups.flashpoint.user

flashpoint.setup.apikey

Set the Flashpoint API key.


Usage: flashpoint.setup.apikey [options] <apikey>

Options:

  --help                      : Display the command usage.
  --self                      : Set the key as a user variable. If not used, the key is set globally.

Arguments:

  <apikey>                    : The Flashpoint API key string.

The command is accessible to users with one or more of the following permissions:

  • power-ups.flashpoint.user

flashpoint.setup.tagprefix

Set the tag prefix used when recording Flashpoint data as tags.
The default tag prefix is "rep.flashpoint" if not specified.
For example, the Flashpoint tag "enrichments.lang.ru" would result in
"#rep.flashpoint.enrichments.lang.ru".  Any characters incompatible with
tag names are replaced with "_".


Usage: flashpoint.setup.tagprefix [options] <tagname>

Options:

  --help                      : Display the command usage.

Arguments:

  <tagname>                   : The tag prefix to use.

The command is accessible to users with one or more of the following permissions:

  • power-ups.flashpoint.user

Storm Modules

This package implements the following Storm Modules.

flashpoint

convertQuery(query)

Use the Flashpoint conversion API to convert an FPTools search query into an Ignite query object.

Example:

Convert a query to Ignite syntax:

init { $flashpoint=$lib.import(flashpoint) }

$fptools_query = "+(fp.tools search terms) +sort_date:[now-24h TO now]"
$ignite_query = $flashpoint.convertQuery($fptools_query)
Args:

query (str): An FPTools query string.

Returns:

An Ignite query object if the conversion was successful. The return type is dict.