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_security_jitnetworkaccesspolicies

v3.0.0

Published

DataFire integration for Security Center

Downloads

10

Readme

@datafire/azure_security_jitnetworkaccesspolicies

Client library for Security Center

Installation and Usage

npm install --save @datafire/azure_security_jitnetworkaccesspolicies
let azure_security_jitnetworkaccesspolicies = require('@datafire/azure_security_jitnetworkaccesspolicies').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

JitNetworkAccessPolicies_List

Policies for protecting resources using Just-in-Time access control.

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_List({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • api-version required string: API version for the operation

Output

JitNetworkAccessPolicies_ListByRegion

Policies for protecting resources using Just-in-Time access control for the subscription, location

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_ListByRegion({
  "subscriptionId": "",
  "ascLocation": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • ascLocation required string: The location where ASC stores the data of the subscription. can be retrieved from Get locations
    • api-version required string: API version for the operation

Output

JitNetworkAccessPolicies_ListByResourceGroup

Policies for protecting resources using Just-in-Time access control for the subscription, location

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_ListByResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • resourceGroupName required string: The name of the resource group within the user's subscription. The name is case insensitive.
    • api-version required string: API version for the operation

Output

JitNetworkAccessPolicies_ListByResourceGroupAndRegion

Policies for protecting resources using Just-in-Time access control for the subscription, location

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_ListByResourceGroupAndRegion({
  "subscriptionId": "",
  "resourceGroupName": "",
  "ascLocation": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • resourceGroupName required string: The name of the resource group within the user's subscription. The name is case insensitive.
    • ascLocation required string: The location where ASC stores the data of the subscription. can be retrieved from Get locations
    • api-version required string: API version for the operation

Output

JitNetworkAccessPolicies_Delete

Delete a Just-in-Time access control policy.

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_Delete({
  "subscriptionId": "",
  "resourceGroupName": "",
  "ascLocation": "",
  "jitNetworkAccessPolicyName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • resourceGroupName required string: The name of the resource group within the user's subscription. The name is case insensitive.
    • ascLocation required string: The location where ASC stores the data of the subscription. can be retrieved from Get locations
    • jitNetworkAccessPolicyName required string: Name of a Just-in-Time access configuration policy.
    • api-version required string: API version for the operation

Output

Output schema unknown

JitNetworkAccessPolicies_Get

Policies for protecting resources using Just-in-Time access control for the subscription, location

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_Get({
  "subscriptionId": "",
  "resourceGroupName": "",
  "ascLocation": "",
  "jitNetworkAccessPolicyName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • resourceGroupName required string: The name of the resource group within the user's subscription. The name is case insensitive.
    • ascLocation required string: The location where ASC stores the data of the subscription. can be retrieved from Get locations
    • jitNetworkAccessPolicyName required string: Name of a Just-in-Time access configuration policy.
    • api-version required string: API version for the operation

Output

JitNetworkAccessPolicies_CreateOrUpdate

Create a policy for protecting resources using Just-in-Time access control

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "ascLocation": "",
  "jitNetworkAccessPolicyName": "",
  "api-version": "",
  "body": {
    "properties": {
      "virtualMachines": []
    }
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • resourceGroupName required string: The name of the resource group within the user's subscription. The name is case insensitive.
    • ascLocation required string: The location where ASC stores the data of the subscription. can be retrieved from Get locations
    • jitNetworkAccessPolicyName required string: Name of a Just-in-Time access configuration policy.
    • api-version required string: API version for the operation
    • body required JitNetworkAccessPolicy

Output

JitNetworkAccessPolicies_Initiate

Initiate a JIT access from a specific Just-in-Time policy configuration.

azure_security_jitnetworkaccesspolicies.JitNetworkAccessPolicies_Initiate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "ascLocation": "",
  "jitNetworkAccessPolicyName": "",
  "jitNetworkAccessPolicyInitiateType": "",
  "api-version": "",
  "body": {
    "virtualMachines": []
  }
}, context)

Input

  • input object
    • subscriptionId required string: Azure subscription ID
    • resourceGroupName required string: The name of the resource group within the user's subscription. The name is case insensitive.
    • ascLocation required string: The location where ASC stores the data of the subscription. can be retrieved from Get locations
    • jitNetworkAccessPolicyName required string: Name of a Just-in-Time access configuration policy.
    • jitNetworkAccessPolicyInitiateType required string (values: initiate): Type of the action to do on the Just-in-Time access policy.
    • api-version required string: API version for the operation
    • body required JitNetworkAccessPolicyInitiateRequest

Output

Definitions

JitNetworkAccessPoliciesList

  • JitNetworkAccessPoliciesList object

JitNetworkAccessPolicy

  • JitNetworkAccessPolicy object
    • properties required JitNetworkAccessPolicyProperties
    • id string: Resource Id
    • name string: Resource name
    • type string: Resource type
    • kind string: Kind of the resource
    • location string: Location where the resource is stored

JitNetworkAccessPolicyInitiatePort

  • JitNetworkAccessPolicyInitiatePort object
    • allowedSourceAddressPrefix string: Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.
    • endTimeUtc required string: The time to close the request in UTC
    • number required PortNumber

JitNetworkAccessPolicyInitiateRequest

  • JitNetworkAccessPolicyInitiateRequest object

JitNetworkAccessPolicyInitiateVirtualMachine

  • JitNetworkAccessPolicyInitiateVirtualMachine object
    • id required string: Resource ID of the virtual machine that is linked to this policy
    • ports required array: The ports to open for the resource with the id

JitNetworkAccessPolicyProperties

  • JitNetworkAccessPolicyProperties object

JitNetworkAccessPolicyVirtualMachine

  • JitNetworkAccessPolicyVirtualMachine object
    • id required string: Resource ID of the virtual machine that is linked to this policy
    • ports required array: Port configurations for the virtual machine
    • publicIpAddress string: Public IP address of the Azure Firewall that is linked to this policy, if applicable

JitNetworkAccessPortRule

  • JitNetworkAccessPortRule object
    • allowedSourceAddressPrefix string: Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
    • allowedSourceAddressPrefixes array: Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
      • items string: IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
    • maxRequestAccessDuration required string: Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
    • number required PortNumber
    • protocol required string (values: TCP, UDP, *)

JitNetworkAccessRequest

  • JitNetworkAccessRequest object
    • justification string: The justification for making the initiate request
    • requestor required string: The identity of the person who made the request
    • startTimeUtc required string: The start time of the request in UTC
    • virtualMachines required array

JitNetworkAccessRequestPort

  • JitNetworkAccessRequestPort object
    • allowedSourceAddressPrefix string: Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
    • allowedSourceAddressPrefixes array: Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
      • items string: IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
    • endTimeUtc required string: The date & time at which the request ends in UTC
    • mappedPort integer: The port which is mapped to this port's number in the Azure Firewall, if applicable
    • number required PortNumber
    • status required string (values: Revoked, Initiated): The status of the port
    • statusReason required string (values: Expired, UserRequested, NewerRequestInitiated): A description of why the status has its value

JitNetworkAccessRequestVirtualMachine

  • JitNetworkAccessRequestVirtualMachine object
    • id required string: Resource ID of the virtual machine that is linked to this policy
    • ports required array: The ports that were opened for the virtual machine

PortNumber

  • PortNumber integer