ContrastRestClient 2.3.0

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package ContrastRestClient --version 2.3.0
NuGet\Install-Package ContrastRestClient -Version 2.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ContrastRestClient" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ContrastRestClient --version 2.3.0
#r "nuget: ContrastRestClient, 2.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ContrastRestClient as a Cake Addin
#addin nuget:?package=ContrastRestClient&version=2.3.0

// Install ContrastRestClient as a Cake Tool
#tool nuget:?package=ContrastRestClient&version=2.3.0

Contrast REST Client

Build status

This library provides a simple REST client for retrieving data from Contrast Team Server's REST API as plain old C# objects.

This library is also provided as a nuget package: https://www.nuget.org/packages/ContrastRestClient/.

Please see http://www.contrastsecurity.com for more information about how Contrast can help secure your applications.

Dependencies

  • Newtonsoft.Json

Contrast TeamServer API Credentials

To access the TeamServer API, you'll first need access to TeamServer - either SAAS (https://app.contrastsecurity.com/Contrast/login.html) or an on-premises installation of TeamServer.

To begin using the Contrast API you will need to retrieve your API-Key from the server. To do this, you will need to log in to your TeamServer account and have the application e-mail you a generated API-Key.

  1. Log in to TeamServer
  2. Click the down arrow next to your login name in the page header
  3. Click on API Key
  4. Click either Email me the current "API Key" or "Rotate the key and email me a new key"

The TeamServer client requires the TeamServer URL, account username, service key, API key and TeamServer URL.

More API documentation can be found here: https://support.contrastsecurity.com/entries/24184140-Accessing-the-API

Sample Client Application

The SampleContrastClient uses the App.config to store API credentials. To use the sample application, copy the API values from above into the appropriate appSettings entries:

  <appSettings>
    <add key="TeamServerUrl" value="https://app.contrastsecurity.com/Contrast/"/>
    <add key="TeamServerUserName" value=""/>
    <add key="TeamServerApiKey" value=""/>
    <add key="TeamServerServiceKey" value=""/>
  </appSettings>
Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.3.1 468 7/6/2021
3.3.0 382 6/14/2021
3.2.0 427 1/14/2021
3.1.0 516 11/18/2020
3.0.1 548 2/11/2020
2.4.0 895 11/2/2018
1.0.9 1,101 2/16/2017

Updated methods previously marked as obsolete. Added new filter types to TraceFilterType.