Pangea.SDK 4.1.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Pangea.SDK --version 4.1.0                
NuGet\Install-Package Pangea.SDK -Version 4.1.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="Pangea.SDK" Version="4.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pangea.SDK --version 4.1.0                
#r "nuget: Pangea.SDK, 4.1.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 Pangea.SDK as a Cake Addin
#addin nuget:?package=Pangea.SDK&version=4.1.0

// Install Pangea.SDK as a Cake Tool
#tool nuget:?package=Pangea.SDK&version=4.1.0                

<a href="https://pangea.cloud?utm_source=github&utm_medium=dotnet-sdk" target="_blank" rel="noopener noreferrer"> <img src="https://pangea-marketing.s3.us-west-2.amazonaws.com/pangea-color.svg" alt="Pangea Logo" height="40" /> </a>

<br />

documentation Discourse

Pangea .NET SDK

A .NET SDK for integrating with Pangea services. Supports .NET 6, .NET Standard 2.0, .NET Framework v4.6.2, and any other target framework that's compatible with these.

Installation

GA releases

Via .NET CLI:

$ dotnet add package Pangea.SDK

Via PackageReference:

<PackageReference Include="Pangea.SDK" Version="*" />

<a name="beta-releases"></a>

Beta releases

Pre-release versions may be available with the beta denotation in the version number. These releases serve to preview beta services and APIs. Per Semantic Versioning, they are considered unstable and do not carry the same compatibility guarantees as stable releases. Beta changelog.

Via .NET CLI:

$ dotnet add package Pangea.SDK --version 3.8.0-beta.3

Via PackageReference:

<PackageReference Include="Pangea.SDK" Version="3.8.0-beta.3" />

Usage

General usage would be to create a token for a service through the Pangea Console and then construct an API client for that respective service. The below example shows how this can be done for Secure Audit Log to log a simple event:

using PangeaCyber.Net;
using PangeaCyber.Net.Audit;

// Load client configuration from environment variables `PANGEA_AUDIT_TOKEN` and
// `PANGEA_DOMAIN`.
var config = Config.FromEnvironment(AuditClient.ServiceName);

// Create a Secure Audit Log client.
var client = new AuditClient.Builder(config).Build();

// Create a basic event.
var event = new StandardEvent.Builder("Hello World!")
    .WithAction("Login")
    .WithActor("Terminal")
    .Build();

// Optional configuration.
var logConfig = new LogConfig.Builder()
    .WithVerbose(true)
    .Build();

// Log the event.
var response = await client.Log(event, logConfig);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
4.2.0-beta.2 38 10/30/2024
4.2.0-beta.1 38 10/23/2024
4.1.0 3,509 10/16/2024
4.0.0 96 10/15/2024
3.13.0 82 10/15/2024
3.12.0 97 9/26/2024
3.11.0 35,983 7/12/2024
3.10.0 10,286 6/21/2024
3.9.0 7,422 6/7/2024
3.8.0 12,405 5/10/2024
3.8.0-beta.4 421 3/28/2024
3.8.0-beta.3 64 3/26/2024
3.8.0-beta.2 72 3/20/2024
3.8.0-beta.1 70 3/18/2024
3.7.0 40,872 2/26/2024
3.6.0 19,759 1/11/2024
3.5.1 25,343 12/22/2023
3.5.0 149 12/18/2023
3.4.0 152 12/7/2023
3.3.0 144 11/28/2023
3.2.0 150 11/16/2023
3.1.0 140 11/9/2023
3.0.0 141 10/27/2023
2.4.0 141 9/27/2023
2.3.0 139 9/5/2023
2.2.0 182 7/28/2023
2.1.0 176 7/26/2023
2.0.0 187 7/14/2023
1.0.4 168 6/29/2023
1.0.2 147 6/2/2023
1.0.1 158 6/1/2023