-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6640 from Checkmarx/kics-652
fix(query): lower properties protocol
- Loading branch information
Showing
4 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...esourceManager/network_security_group_with_unrestricted_access_to_ssh/test/positive7.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"properties": { | ||
"template": { | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "2.0.0.0", | ||
"apiProfile": "2019-03-01-hybrid", | ||
"parameters": {}, | ||
"variables": {}, | ||
"functions": [], | ||
"resources": [ | ||
{ | ||
"name": "securitygroup", | ||
"type": "Microsoft.Network/networkSecurityGroups", | ||
"apiVersion": "2020-11-01", | ||
"location": "location1", | ||
"tags": {}, | ||
"properties": {}, | ||
"resources": [ | ||
{ | ||
"type": "securityRules", | ||
"apiVersion": "2020-11-01", | ||
"properties": { | ||
"description": "access to SSH", | ||
"protocol": "TCP", | ||
"sourcePortRange": "*", | ||
"destinationPortRanges": [ | ||
"22-23" | ||
], | ||
"sourceAddressPrefix": "*", | ||
"destinationAddressPrefix": "*", | ||
"access": "Allow", | ||
"priority": 100, | ||
"direction": "Inbound" | ||
}, | ||
"name": "sr" | ||
} | ||
] | ||
} | ||
], | ||
"outputs": {} | ||
}, | ||
"parameters": {} | ||
}, | ||
"kind": "template", | ||
"type": "Microsoft.Blueprint/blueprints/artifacts", | ||
"name": "myTemplate" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters