Pangea.SDK
3.8.0-beta.2
See the version list below for details.
dotnet add package Pangea.SDK --version 3.8.0-beta.2
NuGet\Install-Package Pangea.SDK -Version 3.8.0-beta.2
<PackageReference Include="Pangea.SDK" Version="3.8.0-beta.2" />
paket add Pangea.SDK --version 3.8.0-beta.2
#r "nuget: Pangea.SDK, 3.8.0-beta.2"
// Install Pangea.SDK as a Cake Addin #addin nuget:?package=Pangea.SDK&version=3.8.0-beta.2&prerelease // Install Pangea.SDK as a Cake Tool #tool nuget:?package=Pangea.SDK&version=3.8.0-beta.2&prerelease
<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 />
Pangea .NET SDK
A .NET SDK for integrating with Pangea services. Supports .NET 6, .NET Standard 2.0, .NET Framework v4.6.1, and any other target framework that's compatible with these.
Installation
Via .NET CLI:
$ dotnet add package Pangea.SDK
Via PackageReference:
<PackageReference Include="Pangea.SDK" Version="*" />
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);
<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.
Product | Versions 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 is compatible. net462 was computed. 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. |
-
.NETFramework 4.6.1
- BouncyCastle.Cryptography (>= 2.3.0)
- Crc32.NET (>= 1.2.0)
- HttpMultipartParser (>= 5.1.0)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Net.Http (>= 2.2.29)
- MimeKit (>= 4.4.0)
- Newtonsoft.Json (>= 13.0.3)
- NLog (>= 5.2.8)
-
.NETStandard 2.0
- BouncyCastle.Cryptography (>= 2.3.0)
- Crc32.NET (>= 1.2.0)
- HttpMultipartParser (>= 5.1.0)
- Microsoft.CSharp (>= 4.7.0)
- MimeKit (>= 4.4.0)
- Newtonsoft.Json (>= 13.0.3)
- NLog (>= 5.2.8)
-
net6.0
- BouncyCastle.Cryptography (>= 2.3.0)
- Crc32.NET (>= 1.2.0)
- HttpMultipartParser (>= 5.1.0)
- MimeKit (>= 4.4.0)
- Newtonsoft.Json (>= 13.0.3)
- NLog (>= 5.2.8)
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 | 39 | 10/30/2024 |
4.2.0-beta.1 | 39 | 10/23/2024 |
4.1.0 | 5,498 | 10/16/2024 |
4.0.0 | 97 | 10/15/2024 |
3.13.0 | 83 | 10/15/2024 |
3.12.0 | 97 | 9/26/2024 |
3.11.0 | 35,984 | 7/12/2024 |
3.10.0 | 10,412 | 6/21/2024 |
3.9.0 | 7,423 | 6/7/2024 |
3.8.0 | 12,406 | 5/10/2024 |
3.8.0-beta.4 | 422 | 3/28/2024 |
3.8.0-beta.3 | 65 | 3/26/2024 |
3.8.0-beta.2 | 73 | 3/20/2024 |
3.8.0-beta.1 | 71 | 3/18/2024 |
3.7.0 | 40,873 | 2/26/2024 |
3.6.0 | 20,050 | 1/11/2024 |
3.5.1 | 25,344 | 12/22/2023 |
3.5.0 | 149 | 12/18/2023 |
3.4.0 | 153 | 12/7/2023 |
3.3.0 | 145 | 11/28/2023 |
3.2.0 | 151 | 11/16/2023 |
3.1.0 | 140 | 11/9/2023 |
3.0.0 | 144 | 10/27/2023 |
2.4.0 | 142 | 9/27/2023 |
2.3.0 | 139 | 9/5/2023 |
2.2.0 | 183 | 7/28/2023 |
2.1.0 | 176 | 7/26/2023 |
2.0.0 | 187 | 7/14/2023 |
1.0.4 | 169 | 6/29/2023 |
1.0.2 | 148 | 6/2/2023 |
1.0.1 | 159 | 6/1/2023 |