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

@datafire/azure_security_assessments

v3.0.0

Published

DataFire integration for Security Center

Downloads

11

Readme

@datafire/azure_security_assessments

Client library for Security Center

Installation and Usage

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

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

Description

API spec for Microsoft.Security (Azure Security Center) resource provider

Actions

Assessments_Delete

Delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result

azure_security_assessments.Assessments_Delete({
  "api-version": "",
  "resourceId": "",
  "assessmentName": ""
}, context)

Input

  • input object
    • api-version required string: API version for the operation
    • resourceId required string: The identifier of the resource.
    • assessmentName required string: The Assessment Key - Unique key for the assessment type

Output

Output schema unknown

Assessments_Get

Get a security assessment on your scanned resource

azure_security_assessments.Assessments_Get({
  "api-version": "",
  "resourceId": "",
  "assessmentName": ""
}, context)

Input

  • input object
    • api-version required string: API version for the operation
    • resourceId required string: The identifier of the resource.
    • assessmentName required string: The Assessment Key - Unique key for the assessment type
    • $expand string (values: links, metadata): OData expand. Optional.

Output

Assessments_CreateOrUpdate

Create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result

azure_security_assessments.Assessments_CreateOrUpdate({
  "api-version": "",
  "resourceId": "",
  "assessmentName": "",
  "assessment": {}
}, context)

Input

  • input object
    • api-version required string: API version for the operation
    • resourceId required string: The identifier of the resource.
    • assessmentName required string: The Assessment Key - Unique key for the assessment type
    • assessment required SecurityAssessment

Output

Assessments_List

Get security assessments on all your scanned resources inside a scope

azure_security_assessments.Assessments_List({
  "api-version": "",
  "scope": ""
}, context)

Input

  • input object
    • api-version required string: API version for the operation
    • scope required string: Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

Output

Definitions

AssessmentLinks

  • AssessmentLinks object: Links relevant to the assessment
    • azurePortalUri string: Link to assessment in Azure Portal

AssessmentStatus

  • AssessmentStatus object: The result of the assessment
    • cause string: Programmatic code for the cause of the assessment status
    • code required string (values: Healthy, Unhealthy, NotApplicable): Programmatic code for the status of the assessment
    • description string: Human readable description of the assessment status

SecurityAssessment

  • SecurityAssessment object: Security assessment on a resource

SecurityAssessmentList

  • SecurityAssessmentList object: Page of a security assessments list
    • nextLink string: The URI to fetch the next page.
    • value array: Collection of security assessments in this page

SecurityAssessmentPartnerData

  • SecurityAssessmentPartnerData object: Data regarding 3rd party partner integration
    • secret string: secret to authenticate the partner - write only

SecurityAssessmentProperties

  • SecurityAssessmentProperties object: Describes properties of an assessment.
    • additionalData object: Additional data regarding the assessment
    • displayName string: User friendly display name of the assessment
    • links AssessmentLinks
    • metadata object: Describes properties of an assessment metadata.
      • assessmentType required string (values: BuiltIn, CustomPolicy, CustomerManaged, VerifiedPartner): BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
      • category array
        • items string (values: Compute, Networking, Data, IdentityAndAccess, IoT): The category of resource that is at risk when the assessment is unhealthy
      • description string: Human readable description of the assessment
      • displayName required string: User friendly display name of the assessment
      • implementationEffort string (values: Low, Moderate, High): The implementation effort required to remediate this assessment
      • partnerData object: Describes the partner that created the assessment
        • partnerName string: Name of the company of the partner
        • productName string: Name of the product of the partner that created the assessment
        • secret string: Secret to authenticate the partner and verify it created the assessment - write only
      • policyDefinitionId string: Azure resource ID of the policy definition that turns this assessment calculation on
      • preview boolean: True if this assessment is in preview release status
      • remediationDescription string: Human readable description of what you should do to mitigate this security issue
      • severity required string (values: Low, Medium, High): The severity level of the assessment
      • threats array
        • items string (values: accountBreach, dataExfiltration, dataSpillage, maliciousInsider, elevationOfPrivilege, threatResistance, missingCoverage, denialOfService): Threats impact of the assessment
      • userImpact string (values: Low, Moderate, High): The user impact of the assessment
    • partnersData SecurityAssessmentPartnerData
    • resourceDetails required object: Details of the resource that was assessed
      • source required string (values: Azure, OnPremise): The platform where the assessed resource resides
    • status required AssessmentStatus