Class UrlIntelClient

java.lang.Object
cloud.pangeacyber.pangea.Client
cloud.pangeacyber.pangea.intel.UrlIntelClient

public class UrlIntelClient extends Client
  • Field Details

    • serviceName

      public static String serviceName
  • Constructor Details

    • UrlIntelClient

      public UrlIntelClient(Config config)
  • Method Details

    • lookup

      Deprecated.
      use reputation instead.
      URL reputation
      Parameters:
      url - The URL to be looked up
      Returns:
      UrlLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      UrlLookupResponse response = client.lookup( "http://113.235.101.11:54384");
    • lookup

      public UrlLookupResponse lookup(String url, String provider) throws PangeaException, PangeaAPIException
      Deprecated.
      use reputation instead.
      URL reputation - provider
      Parameters:
      url - The URL to be looked up
      provider - Use reputation data from this provider
      Returns:
      UrlLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      UrlLookupResponse response = client.lookup( "http://113.235.101.11:54384", "crowdstrike");
    • lookup

      public UrlLookupResponse lookup(String url, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Deprecated.
      use reputation instead.
      URL reputation - verbose, raw
      Parameters:
      url - The URL to be looked up
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      UrlLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      UrlLookupResponse response = client.lookup( "http://113.235.101.11:54384", true, true);
    • lookup

      public UrlLookupResponse lookup(String url, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Deprecated.
      use reputation instead.
      URL reputation - provider, verbose, raw
      Parameters:
      url - The URL to be looked up
      provider - Use reputation data from this provider
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      UrlLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      UrlLookupResponse response = client.lookup( "http://113.235.101.11:54384", "crowdstrike", true, true);
    • reputation

      Reputation check
      Parameters:
      url - The URL to be looked up
      Returns:
      URLReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      URLReputationResponse response = client.reputation( "http://113.235.101.11:54384");
    • reputation

      public URLReputationResponse reputation(String url, String provider) throws PangeaException, PangeaAPIException
      Reputation check - provider
      Parameters:
      url - The URL to be looked up
      provider - Use reputation data from this provider
      Returns:
      URLReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      URLReputationResponse response = client.reputation( "http://113.235.101.11:54384", "crowdstrike");
    • reputation

      public URLReputationResponse reputation(String url, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Reputation check - verbose, raw
      Parameters:
      url - The URL to be looked up
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      URLReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      URLReputationResponse response = client.reputation( "http://113.235.101.11:54384", true, true);
    • reputation

      public URLReputationResponse reputation(String url, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Reputation check - provider, verbose, raw
      Parameters:
      url - The URL to be looked up
      provider - Use reputation data from this provider
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      URLReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for a URL from a provider, including an optional detailed report.
      Example:
      URLReputationResponse response = client.reputation( "http://113.235.101.11:54384", "crowdstrike", true, true);