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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@microsoft/sentinel-cli

v0.4.0

Published

CLI for Microsoft Sentinel deployment

Readme

Sentinel CLI

The Sentinel CLI is a command-line interface for Microsoft Sentinel that supports secure authentication and deployment workflows. It enables automation of Sentinel resource management using scripts and CI/CD pipelines.

Installation

Install globally using npm:

npm install -g @microsoft/sentinel-cli

CLI Usage

Basic syntax:

sentinel [command] [options]

View available commands:

sentinel --help

Authentication Options

Authenticate using the login command with one of the supported methods:

1. Browser Authentication (Default)

sentinel login

Launches an interactive browser-based authentication using the authorization code flow. This is the default method when no authentication flag is provided.


2. Device Code

sentinel login --use-device-code

Authenticate interactively using the device code flow. Use this when you cannot open a browser directly on the machine running the CLI — you will be prompted to visit a URL and enter a code on any other browser-capable device.


3. Workload Identity

sentinel login --workload-identity

Authenticate using Workload Identity. Use this when running inside GitHub Actions, Azure DevOps Tasks, or other Azure-integrated environments that support workload identity federation.


4. Managed Identity (User-Assigned)

Authenticate using a user-assigned Managed Identity. Provide exactly one of the following identity selectors:

# Authenticate via Client ID
sentinel login --identity --client-id <client-id>

# Authenticate via Object ID
sentinel login --identity --object-id <object-id>

# Authenticate via Resource ID
sentinel login --identity --resource-id <resource-id>

Use this when running inside an Azure VM or other Azure resource with a user-assigned managed identity.

Parameters:

  • --client-id <clientId>: User-assigned Managed Identity client ID
  • --object-id <objectId>: User-assigned Managed Identity object ID
  • --resource-id <resourceId>: User-assigned Managed Identity resource ID

Logout

Clear stored credentials and log out:

sentinel logout

Get Token

Get an access token for the current authentication:

# Get token using current authentication
sentinel token

# Get token using managed identity
sentinel token --client-id <client-id>

Resource Management Commands

Publish Job

Publish a Sentinel notebook using a deployment config:

sentinel job publish <notebookPath> --config <packagePath> --region <azureRegion>

Example:

sentinel job publish ./notebooks/example.ipynb --config ./configs/jobConfig.yaml --region eastus2euap

Parameters:

  • <notebookPath>: Path to the Jupyter notebook file (.ipynb)
  • --config, -c: Path to job configuration file (JSON or YAML)
  • --region, -r: Target Azure region (default: Global)

Create Zip

Create a deployment package from a manifest file:

sentinel package create-zip <manifestPath>

Example:

sentinel package create-zip ./manifest.json

Parameters:

  • <manifestPath>: Path to the manifest file that describes the package contents

Validate

Validate a YAML configuration file against the schema:

sentinel validate --file <yamlPath>

Example:

sentinel validate --file ./configs/jobConfig.yaml

Parameters:

  • --file, -f: Path to the YAML file to validate

Permissions

Grant the appropriate Azure RBAC permissions following the Sentinel onboarding.

Contributing

The project is released under the MIT License.

Data and Telemetry

The Microsoft Sentinel CLI does not collect usage data. Read our privacy statement to learn more.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the FAQ or contact [email protected].