Class IpIntelClient

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

public class IpIntelClient extends Client
  • Field Details

    • serviceName

      public static String serviceName
  • Constructor Details

    • IpIntelClient

      public IpIntelClient(Config config)
  • Method Details

    • lookup

      Deprecated.
      use reputation instead.
      IP reputation
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpLookupResponse response = client.lookup( "93.231.182.110");
    • lookup

      Deprecated.
      use reputation instead.
      IP reputation - provider
      Parameters:
      ip - The IP to be looked up
      provider - Use reputation data from this provider
      Returns:
      IpLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpLookupResponse response = client.lookup( "93.231.182.110", "crowdstrike");
    • lookup

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

      @Deprecated public IpLookupResponse lookup(String ip, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Deprecated.
      use reputation instead.
      IP reputation - provider, verbose, raw
      Parameters:
      ip - The IP 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:
      IpLookupResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpLookupResponse response = client.lookup( "93.231.182.110", "crowdstrike", true, true);
    • geolocate

      Geolocate
      Parameters:
      ip - The IP to be looked up
      Returns:
      IPGeolocateResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve information about the location of an IP address
      Example:
      IpVPNResponse response = client.geolocate( "93.231.182.110");
    • geolocate

      public IPGeolocateResponse geolocate(String ip, String provider) throws PangeaException, PangeaAPIException
      Geolocate - provider
      Parameters:
      ip - The IP to be looked up
      provider - Use reputation data from this provider
      Returns:
      IPGeolocateResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve information about the location of an IP address
      Example:
      IpVPNResponse response = client.geolocate( "93.231.182.110", "digitalelement");
    • geolocate

      public IPGeolocateResponse geolocate(String ip, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Geolocate - verbose, raw
      Parameters:
      ip - The IP to be looked up
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      IPGeolocateResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve information about the location of an IP address
      Example:
      IpVPNResponse response = client.geolocate( "93.231.182.110", true, true);
    • geolocate

      public IPGeolocateResponse geolocate(String ip, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Geolocate - provider, verbose, raw
      Parameters:
      ip - The IP 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:
      IPGeolocateResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve information about the location of an IP address
      Example:
      IpVPNResponse response = client.geolocate( "93.231.182.110", "digitalelement", true, true);
    • getDomain

      Domain
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpDomainResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve the domain name associated with an IP address
      Example:
      IpVPNResponse response = client.getDomain( "93.231.182.110");
    • getDomain

      public IPDomainResponse getDomain(String ip, String provider) throws PangeaException, PangeaAPIException
      Domain - ip, provider
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpDomainResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve the domain name associated with an IP address
      Example:
      IpVPNResponse response = client.getDomain( "93.231.182.110", "digitalelement");
    • getDomain

      public IPDomainResponse getDomain(String ip, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Domain - ip, verbose, raw
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpDomainResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve the domain name associated with an IP address
      Example:
      IpVPNResponse response = client.getDomain( "93.231.182.110", true, true);
    • getDomain

      public IPDomainResponse getDomain(String ip, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Domain - ip, provider, verbose, raw
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpDomainResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve the domain name associated with an IP address
      Example:
      IpVPNResponse response = client.getDomain( "93.231.182.110", "digitalelement", true, true);
    • isVPN

      VPN
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpVPNResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a VPN service
      Example:
      IpVPNResponse response = client.isVPN( "93.231.182.110");
    • isVPN

      public IPVPNResponse isVPN(String ip, String provider) throws PangeaException, PangeaAPIException
      VPN - ip, provider
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpVPNResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a VPN service
      Example:
      IpVPNResponse response = client.isVPN( "93.231.182.110", "digitalelement");
    • isVPN

      public IPVPNResponse isVPN(String ip, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      VPN - ip, verbose, raw
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpVPNResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a VPN service
      Example:
      IpVPNResponse response = client.isVPN( "93.231.182.110", true, true);
    • isVPN

      public IPVPNResponse isVPN(String ip, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      VPN - ip, provider, verbose, raw
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpVPNResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a VPN service
      Example:
      IpVPNResponse response = client.isVPN( "93.231.182.110", "digitalelement", true, true);
    • isProxy

      Proxy
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpProxyResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a proxy service
      Example:
      IpProxyResponse response = client.isProxy( "93.231.182.110");
    • isProxy

      public IPProxyResponse isProxy(String ip, String provider) throws PangeaException, PangeaAPIException
      Proxy - provider
      Parameters:
      ip - The IP to be looked up
      provider - Use reputation data from this provider
      Returns:
      IpProxyResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a proxy service
      Example:
      IpProxyResponse response = client.isProxy( "93.231.182.110", "digitalelement");
    • isProxy

      public IPProxyResponse isProxy(String ip, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Proxy - verbose, raw
      Parameters:
      ip - The IP to be looked up
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      IpProxyResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a proxy service
      Example:
      IpProxyResponse response = client.isProxy( "93.231.182.110", true, true);
    • isProxy

      public IPProxyResponse isProxy(String ip, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Proxy - provider, verbose, raw
      Parameters:
      ip - The IP 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:
      IpProxyResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Determine if an IP address is provided by a proxy service
      Example:
      IpProxyResponse response = client.isProxy( "93.231.182.110", "digitalelement", true, true);
    • reputation

      Reputation
      Parameters:
      ip - The IP to be looked up
      Returns:
      IpReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpReputationResponse response = client.reputation( "93.231.182.110");
    • reputation

      public IPReputationResponse reputation(String ip, String provider) throws PangeaException, PangeaAPIException
      Reputation - provider
      Parameters:
      ip - The IP to be looked up
      provider - Use reputation data from this provider
      Returns:
      IpReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpReputationResponse response = client.reputation( "93.231.182.110", "crowdstrike");
    • reputation

      public IPReputationResponse reputation(String ip, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Reputation - verbose, raw
      Parameters:
      ip - The IP to be looked up
      verbose - Echo the API parameters in the response
      raw - Include raw data from this provider
      Returns:
      IpReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpReputationResponse response = client.reputation( "93.231.182.110", true, true);
    • reputation

      public IPReputationResponse reputation(String ip, String provider, boolean verbose, boolean raw) throws PangeaException, PangeaAPIException
      Reputation - provider, verbose, raw
      Parameters:
      ip - The IP 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:
      IpReputationResponse
      Throws:
      PangeaException
      PangeaAPIException
      Description:
      Retrieve a reputation score for an IP address from a provider, including an optional detailed report.
      Example:
      IpReputationResponse response = client.reputation( "93.231.182.110", "crowdstrike", true, true);