Active Threat Effects

See the impact to business unit goals, and how they are trending.

You can choose from a daily, weekly, or monthly time window for the trending scope.

What you get

Use our data to quickly get the following insight:

Over the last month, stolen money is the #1 effect witnessed by the Financials industry, and data breach has been the #2 most common effect of attacks.

Interactive API

Our interactive API powered this example using the link below.
  https://www.surfwatchlabs.com/api/v3/static/swagger.html#!/summary/getMonthlyTagTrend_get_9

To try it yourself, you'll need your Application ID and Application Key from My API Profile.

The Response

An excerpt of actual output from this insight:

[
  {
    "feed_id": -3,
    "feed_description": "Financials",
    "tag_id": 2531,
    "tag": "stolen money",
    "macro_tag_id": -504,
    "macro_tag": "Financial Loss",
    "tag_super_type_id": 5,
    "tag_super_type": "Effect",
    "analytic_interval": "2015-05-31T00:00:00.000Z/2015-06-30T00:00:00.000Z",
    "analytic_day": "2015-06-30T00:00:00.000Z",
    "tag_trend": 7,
    "tag_trend_rank": 1,
    "tag_momentum": 0
  },
  {
    "feed_id": -3,
    "feed_description": "Financials",
    "tag_id": 2490,
    "tag": "data breach",
    "macro_tag_id": -500,
    "macro_tag": "Data Stolen/Leaked",
    "tag_super_type_id": 5,
    "tag_super_type": "Effect",
    "analytic_interval": "2015-05-31T00:00:00.000Z/2015-06-30T00:00:00.000Z",
    "analytic_day": "2015-06-30T00:00:00.000Z",
    "tag_trend": 6,
    "tag_trend_rank": 2,
    "tag_momentum": 0
  },
  ...
]

The Code

Here is the code to do it yourself:

import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedHashMap;
import javax.ws.rs.core.MultivaluedMap;

public class TrendingEffects {

    private static final String API_BASE_URL = "https://www.surfwatchlabs.com:443/api/v3";

    public static void main( String[] args ) throws Exception {

        Client restClient = ClientBuilder.newClient();
        WebTarget target = restClient.target( API_BASE_URL )
                .path( "/summary/tagTrend/monthly" )
                .queryParam( "date", "2015-06-30" )
                .queryParam( "tagSuperTypeId", "5" )
                .queryParam( "feedId", "-3" );

        MultivaluedMap headers = new MultivaluedHashMap<>();
        headers.add( "app-id", "your-app-id" );
        headers.add( "app-key", "your-app-key" );

        String response = target
                .request( MediaType.APPLICATION_JSON )  // alternately set "Content-Type" header
                .headers( headers )
                .get( String.class );

        System.out.print( response );
    }

}
Or view the source on GitHub
require 'rest_client'
require 'json'

url = 'https://www.surfwatchlabs.com:443/api/v3/summary/tagTrend/monthly'

header = {
  'content_type' => 'application/json',
  'app-key' => ENV['SURFWATCH_ANALYTICS_APP_KEY'],
  'app-id' => ENV['SURFWATCH_ANALYTICS_APP_ID'],
  params: {
    'date' => '2015-06-30',
    'tagSuperTypeId' => 5,
    'feedId' => -3
  }
}
response = RestClient::Request.execute(method: :get, url: url, headers: header, timeout: 300)
results = JSON.parse(response)
puts results
Or view the source on GitHub