Active Threats

See the threats that could impact business, 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, network security breach is the #1 most impactful practice in the Financials industry, while the Tinba banking trojan has been the #2 most impactful.

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": 40078,
    "tag": "network security breach",
    "macro_tag_id": -302,
    "macro_tag": "Network Intrusion",
    "tag_super_type_id": 3,
    "tag_super_type": "Practice",
    "analytic_interval": "2015-05-31T00:00:00.000Z/2015-06-30T00:00:00.000Z",
    "analytic_day": "2015-06-30T00:00:00.000Z",
    "tag_trend": 14,
    "tag_trend_rank": 1,
    "tag_momentum": 0
  },
  {
    "feed_id": -3,
    "feed_description": "Financials",
    "tag_id": 154974,
    "tag": "Tinba banking trojan",
    "macro_tag_id": -300,
    "macro_tag": "Malware",
    "tag_super_type_id": 3,
    "tag_super_type": "Practice",
    "analytic_interval": "2015-05-31T00:00:00.000Z/2015-06-30T00:00:00.000Z",
    "analytic_day": "2015-06-30T00:00:00.000Z",
    "tag_trend": 10,
    "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 TrendingThreats {

    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", "3" )
            .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' => 3,
    '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