| Package | Description |
|---|---|
| com.contrastsecurity.sdk |
| Modifier and Type | Method and Description |
|---|---|
GenericResponse |
ContrastSDK.clearNotifications(String organizationId)
Clear notifications for the org.
|
Application |
ContrastSDK.createApplication(String organizationId,
ApplicationCreateRequest request)
Creates an application without a server that is meant to be instrumented later.
|
void |
ContrastSDK.downloadAttestationReport(String organizationId,
String userId,
String reportId)
Get the vulnerabilities in the organization whose ID is passed in.
|
void |
ContrastSDK.downloadFile(HttpMethod method,
String path,
String saveDir) |
GenericResponse |
ContrastSDK.generateAttestationReport(String organizationId,
String appId,
AttestationCreateRequest request)
Generate an attestation report for the application whose ID is passed in.
|
byte[] |
ContrastSDK.getAgent(AgentType type,
String organizationId)
Download a contrast.jar agent associated with this account.
|
byte[] |
ContrastSDK.getAgent(AgentType type,
String organizationId,
String profileName)
Download a contrast.jar agent associated with this account.
|
Applications |
ContrastSDK.getApplication(String organizationId,
String appId)
Get summary information about a single app without expandValues.
|
Applications |
ContrastSDK.getApplication(String organizationId,
String appId,
EnumSet<FilterForm.ApplicationExpandValues> expandValues)
Get summary information about a single app.
|
Application |
ContrastSDK.getApplicationByNameAndLanguage(String orgId,
String appName,
AgentType language)
Gets a single application based on the org, name, and language
|
Applications |
ContrastSDK.getApplications(String organizationId)
Get the list of applications being monitored by Contrast.
|
Applications |
ContrastSDK.getApplicationsNames(String organizationId) |
AssessLicenseOverview |
ContrastSDK.getAssessLicensing(String organizationId)
Get all Assess Licensing for an Organizations.
|
Coverage |
ContrastSDK.getCoverage(String organizationId,
String appId)
Return coverage data about the monitored Contrast application.
|
List<JobOutcomePolicy> |
ContrastSDK.getEnabledJobOutcomePolicies(String organizationId)
Gets a list of enabled Job Outcome policies in an organization
|
List<JobOutcomePolicy> |
ContrastSDK.getEnabledJoboutcomePoliciesByApplication(String organizationId,
String appId)
Gets a list of enabeld Job Outcome Policies in an organization that applies to an application
|
Applications |
ContrastSDK.getFilteredApplications(String organizationId,
ApplicationFilterForm applicationFilterForm)
Get the list of filtered applications being monitored by Contrast.
|
Libraries |
ContrastSDK.getLibraries(String organizationId,
String appId) |
Libraries |
ContrastSDK.getLibraries(String organizationId,
String appId,
EnumSet<FilterForm.LibrariesExpandValues> expandValues)
Return the libraries of the monitored Contrast application.
|
LibraryScores |
ContrastSDK.getLibraryScores(String organizationId)
Return the library Scores for an Organization.
|
LibraryStats |
ContrastSDK.getLibraryStats(String organizationId)
Return the library Stats for an Organization.
|
Applications |
ContrastSDK.getLicensedApplications(String organizationId)
Get the list of licensed applications being monitored by Contrast.
|
TraceNotesResponse |
ContrastSDK.getNotes(String organizationId,
String appId,
String traceId,
TraceFilterForm form)
Get the notes (discussion) for the vulnerability ID in the application whose ID is passed in.
|
NotificationsResponse |
ContrastSDK.getNotifications(String organizationId,
TraceFilterForm form)
Get notifications for the org.
|
Users |
ContrastSDK.getOrganizationUsers(String organizationId)
Get all users for an organization.
|
Organizations |
ContrastSDK.getProfileDefaultOrganizations()
Get the default organization for the user profile.
|
Organizations |
ContrastSDK.getProfileOrganizations()
Get all organizations for the user profile.
|
RouteCoverageResponse |
ContrastSDK.getRouteCoverage(String organizationId,
String appId)
Return route coverage data about the monitored Contrast application.
|
Rules |
ContrastSDK.getRules(String organizationId)
Get the rules for an organization
|
Servers |
ContrastSDK.getServers(String organizationId,
ServerFilterForm filterForm)
Return the servers of the monitored Contrast application.
|
Servers |
ContrastSDK.getServersWithFilter(String organizationId,
ServerFilterForm filterForm)
Return the servers of the monitored Contrast application.
|
ServerTagsResponse |
ContrastSDK.getServerTags(String organizationId,
String appId)
Get server tags for the org.
|
MetadataFilterResponse |
ContrastSDK.getSessionMetadataForApplication(String organizationId,
String appId,
TraceFilterForm form)
Get the available session metadata values in the application whose ID is passed in.
|
Traces |
ContrastSDK.getTraceFilterByRule(String organizationId,
String appId,
List<String> ruleNames)
Deprecated.
|
TraceListing |
ContrastSDK.getTraceFilters(String organizationId,
String appId)
Get the filters for the traces in the application.
|
Traces |
ContrastSDK.getTraces(String organizationId,
String appId,
TraceFilterForm form)
Get the vulnerabilities in the application whose ID is passed in.
|
Traces |
ContrastSDK.getTracesInOrg(String organizationId,
TraceFilterForm form)
Get the vulnerabilities in the organization whose ID is passed in.
|
Traces |
ContrastSDK.getTracesWithFilter(String organizationId,
String appId,
TraceFilterType traceFilterType,
TraceFilterKeycode keycode,
TraceFilterForm form)
Get the vulnerabilities in the application whose ID is passed in with a filter.
|
TracesWithResponse |
ContrastSDK.getTracesWithResponse(String organizationId,
String appId,
TraceFilterForm form)
Get the vulnerabilities in the application whose ID is passed in.
|
TagsResponse |
ContrastSDK.getVulnTagsByApplication(String organizationId,
String appId)
Get the available vulnerability tags in the application whose ID is passed in.
|
VulnerabilityTrend |
ContrastSDK.getYearlyNewVulnTrend(String organizationId)
Get New (New Open and New Closed each month) Vulnerability Trend for an Organizations.
|
VulnerabilityTrend |
ContrastSDK.getYearlyVulnTrend(String organizationId)
Get Total (Total Open and Total Closed each month) Vulnerability Trend for an Organizations.
|
VulnerabilityTrend |
ContrastSDK.getYearlyVulnTrendForApplication(String organizationId,
String appId)
Get all Vulnerability Trend for an Application.
|
InputStream |
ContrastSDK.makeRequest(HttpMethod method,
String path) |
InputStream |
ContrastSDK.makeRequestWithBody(HttpMethod method,
String path,
String body,
MediaType mediaType) |
MakeRequestResponse |
ContrastSDK.makeRequestWithResponse(HttpMethod method,
String path) |
SecurityCheck |
ContrastSDK.makeSecurityCheck(String organizationId,
SecurityCheckForm securityCheckForm)
Make a security check in a given organization by the security check form
|
Copyright © 2021 Contrast Security. All rights reserved.