npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_monitor_tenantactivitylogs_api

v5.0.0

Published

DataFire integration for MonitorManagementClient

Downloads

8

Readme

@datafire/azure_monitor_tenantactivitylogs_api

Client library for MonitorManagementClient

Installation and Usage

npm install --save @datafire/azure_monitor_tenantactivitylogs_api
let azure_monitor_tenantactivitylogs_api = require('@datafire/azure_monitor_tenantactivitylogs_api').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

TenantActivityLogs_List

Gets the Activity Logs for the Tenant.Everything that is applicable to the API to get the Activity Logs for the subscription is applicable to this API (the parameters, $filter, etc.).One thing to point out here is that this API does not retrieve the logs at the individual subscription of the tenant but only surfaces the logs that were generated at the tenant level.

azure_monitor_tenantactivitylogs_api.TenantActivityLogs_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: Client Api Version.
    • $filter string: Reduces the set of data collected. The $filter is very restricted and allows only the following patterns.- List events for a resource group: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceGroupName eq ''.- List events for resource: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceUri eq ''.- List events for a subscription: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation'.- List events for a resource provider: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceProvider eq ''.- List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq ''.NOTE: No other syntax is allowed.
    • $select string: Used to fetch events with only the given properties.The $select argument is a comma separated list of property names to be returned. Possible values are: authorization, claims, correlationId, description, eventDataId, eventName, eventTimestamp, httpRequest, level, operationId, operationName, properties, resourceGroupName, resourceProviderName, resourceId, status, submissionTimestamp, subStatus, subscriptionId

Output

Definitions

ErrorResponse

  • ErrorResponse object: Describes the format of Error response.
    • code string: Error code
    • message string: Error message indicating why the operation failed.

EventData

  • EventData object: The Azure event log entries are of type EventData
    • authorization SenderAuthorization
    • caller string: the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
    • category LocalizableString
    • claims object: key value pairs to identify ARM permissions.
    • correlationId string: the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation.
    • description string: the description of the event.
    • eventDataId string: the event data Id. This is a unique identifier for an event.
    • eventName LocalizableString
    • eventTimestamp string: the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
    • httpRequest HttpRequestInfo
    • id string: the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
    • level string (values: Critical, Error, Warning, Informational, Verbose): the event level
    • operationId string: It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
    • operationName LocalizableString
    • properties object: the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
    • resourceGroupName string: the resource group name of the impacted resource.
    • resourceId string: the resource uri that uniquely identifies the resource that caused this event.
    • resourceProviderName LocalizableString
    • resourceType LocalizableString
    • status LocalizableString
    • subStatus LocalizableString
    • submissionTimestamp string: the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurrence time of the event, and the time that the event is submitted to the Azure logging infrastructure.
    • subscriptionId string: the Azure subscription Id usually a GUID.
    • tenantId string: the Azure tenant Id

EventDataCollection

  • EventDataCollection object: Represents collection of events.
    • nextLink string: Provides the link to retrieve the next set of events.
    • value required array: this list that includes the Azure audit logs.

HttpRequestInfo

  • HttpRequestInfo object: The Http request info.
    • clientIpAddress string: the client Ip Address
    • clientRequestId string: the client request id.
    • method string: the Http request method.
    • uri string: the Uri.

LocalizableString

  • LocalizableString object: The localizable string class.
    • localizedValue string: the locale specific value.
    • value required string: the invariant value.

SenderAuthorization

  • SenderAuthorization object: the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the 'action', 'role' and the 'scope'
    • action string: the permissible actions. For instance: microsoft.support/supporttickets/write
    • role string: the role of the user. For instance: Subscription Admin
    • scope string: the scope.