This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
Installations
npm install @azure-rest/ai-anomaly-detector
Developer Guide
Typescript
Yes
Module System
CommonJS, UMD
Min. Node Version
>=14.0.0
Node Version
16.18.1
NPM Version
8.19.2
Score
68.5
Supply Chain
86.7
Quality
96.7
Maintenance
100
Vulnerability
100
License
Releases
@azure-rest/ai-document-translator_1.0.0-beta.2
Updated on Feb 14, 2025
@azure/arm-eventhub_5.3.0-beta.1
Updated on Feb 13, 2025
@azure/arm-appservice_16.0.0
Updated on Feb 13, 2025
@azure-rest/iot-device-update_1.1.0
Updated on Feb 13, 2025
@azure/arm-servicenetworking_2.0.0
Updated on Feb 12, 2025
@azure/web-pubsub-client_1.0.2
Updated on Feb 12, 2025
Contributors
Languages
TypeScript (86.66%)
JavaScript (12.94%)
PowerShell (0.32%)
Bicep (0.05%)
HTML (0.01%)
Mustache (0.01%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Azure
Download Statistics
Total Downloads
24,923
Last Day
72
Last Week
395
Last Month
1,685
Last Year
16,695
GitHub Statistics
MIT License
2,122 Stars
18,202 Commits
1,219 Forks
378 Watchers
515 Branches
2,812 Contributors
Updated on Feb 14, 2025
Bundle Size
44.83 kB
Minified
14.78 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.0.0-beta.1
Package Id
@azure-rest/ai-anomaly-detector@1.0.0-beta.1
Unpacked Size
175.52 kB
Size
30.69 kB
File Count
25
NPM Version
8.19.2
Node Version
16.18.1
Total Downloads
Cumulative downloads
Total Downloads
24,923
Last Day
-27.3%
72
Compared to previous day
Last Week
-20%
395
Compared to previous week
Last Month
-1.8%
1,685
Compared to previous month
Last Year
140.9%
16,695
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
7
Dev Dependencies
35
Azure AnomalyDetectorRest REST client library for JavaScript
AnomalyDetector Rest Client
Please rely heavily on our REST client docs to use this library
Key links:
Getting started
Currently supported environments
- LTS versions of Node.js
Prerequisites
- You must have an Azure subscription to use this package.
Install the @azure-rest/ai-anomaly-detector
package
Install the Azure AnomalyDetectorRest REST client REST client library for JavaScript with npm
:
1npm install @azure-rest/ai-anomaly-detector
Create and authenticate a AnomalyDetectorRestClient
To use an Azure Active Directory (AAD) token credential, provide an instance of the desired credential type obtained from the @azure/identity library.
To authenticate with AAD, you must first npm
install @azure/identity
After setup, you can choose which type of credential from @azure/identity
to use.
As an example, DefaultAzureCredential
can be used to authenticate the client.
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET
Troubleshooting
Logging
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the AZURE_LOG_LEVEL
environment variable to info
. Alternatively, logging can be enabled at runtime by calling setLogLevel
in the @azure/logger
:
1const { setLogLevel } = require("@azure/logger"); 2 3setLogLevel("info");
For more detailed instructions on how to enable logs, you can look at the @azure/logger package docs.

No vulnerabilities found.
Reason
30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10
Reason
all changesets reviewed
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
GitHub workflow tokens follow principle of least privilege
Details
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/event-processor.yml:30
- Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/event.yml:17
- Info: jobLevel 'checks' permission set to 'read': .github/workflows/event.yml:19
- Info: found token with 'none' permissions: .github/workflows/event-processor.yml:1
- Info: found token with 'none' permissions: .github/workflows/event.yml:1
- Info: found token with 'none' permissions: .github/workflows/scheduled-event-processor.yml:1
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
binaries present in source code
Details
- Warn: binary detected: samples/frameworks/react-native/appconfigBasic/android/gradle/wrapper/gradle-wrapper.jar:1
Reason
branch protection is not maximal on development and all release branches
Details
- Info: 'allow deletion' disabled on branch 'main'
- Info: 'force pushes' disabled on branch 'main'
- Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'
- Warn: 'stale review dismissal' is disabled on branch 'main'
- Warn: required approving review count is 1 on branch 'main'
- Info: codeowner review is required on branch 'main'
- Warn: 'last push approval' is disabled on branch 'main'
- Warn: 'up-to-date branches' is disabled on branch 'main'
- Info: status check found to merge onto on branch 'main'
- Info: PRs are required in order to make changes on branch 'main'
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 30 are checked with a SAST tool
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/event-processor.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/Azure/azure-sdk-for-js/event-processor.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/event-processor.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/Azure/azure-sdk-for-js/event-processor.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/event-processor.yml:158: update your workflow using https://app.stepsecurity.io/secureworkflow/Azure/azure-sdk-for-js/event-processor.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/event.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/Azure/azure-sdk-for-js/event.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scheduled-event-processor.yml:126: update your workflow using https://app.stepsecurity.io/secureworkflow/Azure/azure-sdk-for-js/scheduled-event-processor.yml/main?enable=pin
- Warn: containerImage not pinned by hash: sdk/eventhub/event-hubs/test/stress/Dockerfile:4
- Warn: containerImage not pinned by hash: sdk/identity/identity/integration/AzureKubernetes/Dockerfile:12
- Warn: containerImage not pinned by hash: sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile:12
- Warn: containerImage not pinned by hash: sdk/servicebus/service-bus/test/stress/Dockerfile:4
- Warn: npmCommand not pinned by hash: sdk/eventhub/event-hubs/test/stress/Dockerfile:10
- Warn: npmCommand not pinned by hash: sdk/identity/identity/integration/AzureKubernetes/Dockerfile:18
- Warn: npmCommand not pinned by hash: sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile:17
- Warn: npmCommand not pinned by hash: sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile:18
- Warn: npmCommand not pinned by hash: sdk/servicebus/service-bus/test/stress/Dockerfile:10
- Warn: npmCommand not pinned by hash: .devcontainer/init.sh:11
- Warn: npmCommand not pinned by hash: .scripts/automation_init.sh:2
- Warn: npmCommand not pinned by hash: .scripts/automation_init.sh:3
- Warn: npmCommand not pinned by hash: .scripts/automation_init.sh:4
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
- Info: 0 out of 4 containerImage dependencies pinned
- Info: 0 out of 9 npmCommand dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
7.2
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More