{"id":28549668,"url":"https://github.com/akacdev/alienvault","last_synced_at":"2025-10-15T03:48:34.912Z","repository":{"id":61863129,"uuid":"555875096","full_name":"akacdev/AlienVault","owner":"akacdev","description":"An async C# library for interacting with the AlienVault OTX DirectConnect APIs.","archived":false,"fork":false,"pushed_at":"2023-11-25T21:14:38.000Z","size":118,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T08:01:30.330Z","etag":null,"topics":["alienvault","alienvault-otx","directconnect","domain","indicator","intelligence","ioc","malware","open-threat-exchange","otx","phishing","pulse","threat","url"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/AlienVault","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akacdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-22T14:40:04.000Z","updated_at":"2023-11-24T20:56:15.000Z","dependencies_parsed_at":"2023-11-25T21:25:31.884Z","dependency_job_id":"64b6327a-eb1d-43f5-9057-e3acde2a375a","html_url":"https://github.com/akacdev/AlienVault","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"7b4c8487c663124fb32ba38956bc955fbdaa3e51"},"previous_names":["akacdev/alienvault","actually-akac/alienvault"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/akacdev/AlienVault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FAlienVault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FAlienVault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FAlienVault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FAlienVault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akacdev","download_url":"https://codeload.github.com/akacdev/AlienVault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FAlienVault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279044443,"owners_count":26091802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alienvault","alienvault-otx","directconnect","domain","indicator","intelligence","ioc","malware","open-threat-exchange","otx","phishing","pulse","threat","url"],"created_at":"2025-06-10T02:11:51.909Z","updated_at":"2025-10-15T03:48:34.885Z","avatar_url":"https://github.com/akacdev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# AlienVault 👽\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"495\" height=\"171\" src=\"https://raw.githubusercontent.com/actually-akac/AlienVault/master/banner.png\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  👾 An async C# library for interacting with the AlienVault OTX DirectConnect APIs.\n\u003c/div\u003e\n\n## Usage\nProvides an easy interface for interacting with all AlienVault OTX DirectConnect APIs.\n\nTo get started, add the library into your solution with either the `NuGet Package Manager` or the `dotnet` CLI.\n```rust\ndotnet add package AlienVault\n```\n\nFor the primary classes to become available, import one or more of the used namespaces.\n```csharp\nusing AlienVault;\nusing AlienVault.Entities;\nusing AlienVault.Modules;\n```\n\nAn API key is required to interact with the API. Create your own key at: https://otx.alienvault.com/settings\n\nNeed more examples? Under the `Example` directory you can find a working demo project that implements this library.\n\n## Features\n- Built for **.NET 6** and **.NET 7**\n- Fully **async**\n- Deep coverage of the API\n- Extensive **XML documentation**\n- **No external dependencies** (uses integrated HTTP and JSON)\n- **Custom exceptions** (`AlienVaultException`) for advanced catching\n- Manage pulses, process events and submit your IOCs\n- Automatic request retries\n- Example project to demonstrate all capabilities of the library\n\n## Example\nUnder the `Example` directory you can find a working demo project that implements this library.\n\n## Code Samples\n\n### Initializing a new API client\n```csharp\nAlienVaultClient client = new(new AlienVaultClientConfig()\n{\n    Key = \"cebf8dc104f90bf27153190a24e0fcc31945a5e6fcc1937c5f8640e0fcefc0ec\",\n    StrictLimit = false\n});\n```\n\n### Creating a new pulse\n```csharp\nPulse pulse = await client.Pulses.Create(new()\n{\n    Name = \"Testing Pulse\",\n    Description = \"This pulse was created through the C# AlienVault library!\",\n    Public = true,\n    Tags = new string[]\n    {\n        \"test\",\n        \"pulse\"\n    },\n    TLP = TLP.White,\n    Indicators = new IndicatorParameters[]\n    {\n        new()\n        {\n            Id = 0,\n            Type = IndicatorType.IPv4,\n            Role = IndicatorRole.Unknown,\n            Value = \"1.1.1.1\",\n            Title = \"A sample IP address\",\n            Expiration = DateTime.Now.AddYears(1)\n        }\n    }\n});\n```\n\n### Adding IOCs to a pulse\n```csharp\nint revision = await client.Pulses.AddIndicators(\"622b4458e11410ea56c68052\", new IndicatorParameters[]\n{\n    new()\n    {\n        Id = 1,\n        Type = IndicatorType.Domain,\n        Role = IndicatorRole.Unknown,\n        Value = \"alienvault.com\",\n        Title = \"A sample domain indicator\",\n        Expiration = DateTime.Now.AddMonths(1)\n    }\n});\n```\n\n### Submitting a file for analysis\n```csharp\nFileSubmission fileSubmission = await client.Analysis.SubmitFile(\"C://sample.exe\");\n```\n\n### Submitting a URL for analysis\n```csharp\nURLSubmission urlSubmission = await client.Analysis.SubmitURL(\"http://pzxdvpao.ml/\");\n```\n\n### Getting general IPv4 information\n```csharp\nGeneralIPInfo ipv4Info = await client.Data.GetGeneralIPInfo(\"1.1.1.1\");\n```\n\n### Getting general domain information\n```csharp\nGeneralDomainInfo domainInfo = await client.Data.GetGeneralDomainInfo(\"example.com\");\n```\n\n### Getting a domain's WHOIS records\n```csharp\nWhoisEntry[] whoisEntries = await client.Data.GetWhois(\"t4ck0wsvvpbmktxzluyee11uce27kbct.nl\");\n```\n\n## Available Methods\n\nYou can find all available methods at [DOCS.md](https://github.com/actually-akac/AlienVault/blob/master/DOCS.md).\n\n## Resources\n- Website: https://otx.alienvault.com\n\n*This is a community-ran library. Not affiliated with AT\u0026T Cybersecurity.*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakacdev%2Falienvault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakacdev%2Falienvault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakacdev%2Falienvault/lists"}