com.contrastsecurity.rest
Class Application

java.lang.Object
  extended by com.contrastsecurity.rest.Application

public class Application
extends Object


Constructor Summary
Application()
           
 
Method Summary
 String getId()
          The ID of this application, which is a long, alphanumeric token.
 String getLanguage()
          Return the language of the application, e.g., Java.
 long getLastSeen()
          Return the time the application was last monitored by Contrast.
 String getLicense()
          Return the paid license level of the application.
 String getName()
          Return the human-readable name of the web application.
 String getPath()
          Return the path of the web application, e.g., /AcmeApp
 String getPlatformVersion()
           
 List<PlatformVulnerability> getPlatformVulnerabilities()
           
 List<String> getTechnologies()
          Return a list of technologies the app is using, e.g., Spring, Applet, JSF, Flash, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Application

public Application()
Method Detail

getId

public String getId()
The ID of this application, which is a long, alphanumeric token.

Returns:
the ID of this application

getLicense

public String getLicense()
Return the paid license level of the application.

Returns:
the license level of the applied; one of Enterprise, Business, Pro, Trial

getPath

public String getPath()
Return the path of the web application, e.g., /AcmeApp

Returns:
the base path of the application, like /AcmeApp

getName

public String getName()
Return the human-readable name of the web application. Note that this method will return "ROOT" for apps that run at the root of the app when Contrast can't find a human-readable representation.

Returns:
the human-readable name of the web application

getLanguage

public String getLanguage()
Return the language of the application, e.g., Java.

Returns:
the language the application is written in

getTechnologies

public List<String> getTechnologies()
Return a list of technologies the app is using, e.g., Spring, Applet, JSF, Flash, etc.

Returns:
the list of technologies the app is using

getLastSeen

public long getLastSeen()
Return the time the application was last monitored by Contrast.

Returns:
the epoch time when the last report was received for this application

getPlatformVersion

public String getPlatformVersion()

getPlatformVulnerabilities

public List<PlatformVulnerability> getPlatformVulnerabilities()


Copyright © 2014. All Rights Reserved.