AlienVault 1.0.1

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

// Install AlienVault as a Cake Tool
#tool nuget:?package=AlienVault&version=1.0.1

AlienVault 👽

alternate text is missing from this package README image

👾 An async C# library for interacting with the AlienVault OTX DirectConnect APIs.


Available on NuGet as AlienVault, methods can be found under the class AlienVaultClient.

Get your API key at:


  • Manage pulses, process events and submit your IOCs
  • Made with .NET 6
  • Fully async
  • Deep coverage of the API
  • Extensive documentation
  • No external dependencies (uses integrated HTTP and JSON)
  • Custom exceptions (AlienVaultException) for advanced catching
  • Automatic request retries
  • Example project to demonstrate all capabilities of the library


Under the Example directory you can find a working demo project that implements this library.

Code Samples

Initializing a new API client

AlienVaultClient client = new(new AlienVaultClientConfig()
    Key = "cebf8dc104f90bf27153190a24e0fcc31945a5e6fcc1937c5f8640e0fcefc0ec",
    StrictLimit = false

Creating a new pulse

Pulse pulse = await client.Pulses.Create(new()
    Name = "Testing Pulse",
    Description = "This pulse was created through the C# AlienVault library!",
    Public = true,
    Tags = new string[]
    TLP = TLP.White,
    Indicators = new IndicatorParameters[]
            Id = 0,
            Type = IndicatorType.IPv4,
            Role = IndicatorRole.Unknown,
            Value = "",
            Title = "A sample IP address",
            Expiration = DateTime.Now.AddYears(1)

Adding IOCs to a pulse

int revision = await client.Pulses.AddIndicators("622b4458e11410ea56c68052", new IndicatorParameters[]
        Id = 1,
        Type = IndicatorType.Domain,
        Role = IndicatorRole.Unknown,
        Value = "",
        Title = "A sample domain indicator",
        Expiration = DateTime.Now.AddMonths(1)

Submitting a file for analysis

FileSubmission fileSubmission = await client.Analysis.SubmitFile("C://sample.exe");

Submitting a URL for analysis

URLSubmission urlSubmission = await client.Analysis.SubmitURL("");

Getting general IPv4 information

GeneralIPInfo ipv4Info = await client.Data.GetGeneralIPInfo("");

Getting general domain information

GeneralDomainInfo domainInfo = await client.Data.GetGeneralDomainInfo("");

Getting a domain's WHOIS records

WhoisEntry[] whoisEntries = await client.Data.GetWhois("");

Available Methods

You can find all available methods at /



This is a community-ran library. Not affiliated with AT&T Cybersecurity.

Product Compatible and additional computed target framework versions.
.NET 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 is compatible.  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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

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
1.0.2 258 11/17/2022
1.0.1 243 11/16/2022
1.0.0 278 10/22/2022