@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
- subscriptionId required
Output
- output JitNetworkAccessPoliciesList
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
- subscriptionId required
Output
- output JitNetworkAccessPoliciesList
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
- subscriptionId required
Output
- output JitNetworkAccessPoliciesList
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
- subscriptionId required
Output
- output JitNetworkAccessPoliciesList
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
- subscriptionId required
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
- subscriptionId required
Output
- output JitNetworkAccessPolicy
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
- subscriptionId required
Output
- output JitNetworkAccessPolicy
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
- subscriptionId required
Output
- output JitNetworkAccessRequest
Definitions
JitNetworkAccessPoliciesList
- JitNetworkAccessPoliciesList
object
- nextLink
string
: The URI to fetch the next page. - value
array
- items JitNetworkAccessPolicy
- nextLink
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
- allowedSourceAddressPrefix
JitNetworkAccessPolicyInitiateRequest
- JitNetworkAccessPolicyInitiateRequest
object
- justification
string
: The justification for making the initiate request - virtualMachines required
array
: A list of virtual machines & ports to open access for
- justification
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 theid
- id required
JitNetworkAccessPolicyProperties
- JitNetworkAccessPolicyProperties
object
- provisioningState
string
: Gets the provisioning state of the Just-in-Time policy. - requests
array
- items JitNetworkAccessRequest
- virtualMachines required
array
: Configurations for Microsoft.Compute/virtualMachines resource type.
- provisioningState
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- items JitNetworkAccessPortRule
- publicIpAddress
string
: Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id required
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".
- items
- 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, *)
- allowedSourceAddressPrefix
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
- justification
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".
- items
- endTimeUtc required
string
: The date & time at which the request ends in UTC - mappedPort
integer
: The port which is mapped to this port'snumber
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 thestatus
has its value
- allowedSourceAddressPrefix
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
- id required
PortNumber
- PortNumber
integer