{"id":25020659,"url":"https://github.com/panoramicdata/microsoftazure.api","last_synced_at":"2025-03-30T10:25:48.964Z","repository":{"id":232650283,"uuid":"784844453","full_name":"panoramicdata/MicrosoftAzure.Api","owner":"panoramicdata","description":"A .NET API for Microsoft Azure","archived":false,"fork":false,"pushed_at":"2024-08-21T14:54:55.000Z","size":194,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T13:03:36.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/panoramicdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-10T17:06:09.000Z","updated_at":"2024-08-21T14:54:59.000Z","dependencies_parsed_at":"2024-05-02T14:58:54.336Z","dependency_job_id":"5d0f0ecc-1f8b-458e-a1ca-f5bc2992c666","html_url":"https://github.com/panoramicdata/MicrosoftAzure.Api","commit_stats":null,"previous_names":["panoramicdata/microsoftazuresentinel.api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FMicrosoftAzure.Api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FMicrosoftAzure.Api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FMicrosoftAzure.Api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FMicrosoftAzure.Api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panoramicdata","download_url":"https://codeload.github.com/panoramicdata/MicrosoftAzure.Api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246304223,"owners_count":20755866,"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","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":[],"created_at":"2025-02-05T12:17:05.316Z","updated_at":"2025-03-30T10:25:48.943Z","avatar_url":"https://github.com/panoramicdata.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicrosoftAzure.Api\n\n[![Nuget](https://img.shields.io/nuget/v/MicrosoftAzure.Api)](https://www.nuget.org/packages/MicrosoftAzure.Api/)\n[![Nuget](https://img.shields.io/nuget/dt/MicrosoftAzure.Api)](https://www.nuget.org/packages/MicrosoftAzure.Api/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/7c55bd140e544652a4a8ed1a0ed9e729)](https://www.codacy.com?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=panoramicdata/MicrosoftAzureSentinel.Api\u0026amp;utm_campaign=Badge_Grade)\n\nA simple Microsoft Azure API nuget package.\n\nMakes calls to endpoints set out here:\n* LogAnalytics Query API:\n\to https://learn.microsoft.com/en-us/rest/api/loganalytics/query/get?view=rest-loganalytics-2022-10-27-preview\u0026tabs=HTTP\n* SecurityInsights API:\n\to https://learn.microsoft.com/en-us/rest/api/securityinsights/operation-groups?view=rest-securityinsights-2024-03-01\n\n## Example usage\n\n```csharp\nusing MicrosoftAzure.Api;\n\nvar subscriptionId = new Guid(\"your-subscription-id\");\nvar resourceGroupName = \"your-resource-group-name\";\nvar workspaceName = \"your-workspace-name\";\nvar workspaceId = getWorkSpaceIdGuid();\n\nvar client = new MicrosoftAzureSentinelClient(new MicrosoftAzureSentinelClientOptions\n{\n\tTenantId = \"your-tenant-id\",\n\tClientId = \"your-client-id\",\n\tClientSecret = \"your-client-secret\"\n});\n\nvar signInLogs = await Client\n\t.SecurityInsights\n\t.QueryAsync(\n\t\tworkspaceId,\n\t\tnew QueryRequest\n\t\t{\n\t\t\tQuery = \"SigninLogs | take 5\"\n\t\t},\n\t\tdefault\n\t)\n\t.ConfigureAwait(true);\n\nvar connectors = await Client\n\t.Sentinel\n\t.GetConnectorsAsync(\n\t\tsubscriptionId,\n\t\tresourceGroupName,\n\t\tworkspaceName,\n\t\tdefault\n\t)\n\t.ConfigureAwait(true);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanoramicdata%2Fmicrosoftazure.api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanoramicdata%2Fmicrosoftazure.api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanoramicdata%2Fmicrosoftazure.api/lists"}