Skip to content

Commit 6df50a3

Browse files
committed
Updates to running locally
1 parent 7fc2f17 commit 6df50a3

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

out/results.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
# PSRule
22

3-
## /workspaces/PsRule-Demo/modules/storage/v1/.tests/storage.tests.bicep : Microsoft.Resources/deployments
4-
5-
- [X] Azure.Deployment.OutputSecretValue
6-
- [X] Azure.Deployment.AdminUsername
7-
- [X] Azure.Deployment.SecureValue
8-
- [X] Azure.Deployment.OuterSecret
9-
- [X] Azure.Template.ParameterStrongType
10-
- [X] Azure.Template.ExpressionLength
11-
123
## helper : Microsoft.Resources/deployments
134

145
- [X] Azure.Deployment.OutputSecretValue
156
- [X] Azure.Deployment.AdminUsername
7+
- [X] Azure.Deployment.SecureParameter
168
- [X] Azure.Deployment.SecureValue
179
- [X] Azure.Template.ParameterStrongType
1810
- [X] Azure.Template.ExpressionLength
1911
- [X] Azure.Deployment.Name
2012

2113
## sapsruledemoqrgc : Microsoft.Storage/storageAccounts
2214

23-
- [X] Azure.Resource.UseTags
15+
- [ ] Azure.Resource.UseTags
16+
17+
Consider tagging resources using a standard convention. Identify mandatory and optional tags then tag all resources and resource groups using this standard.
18+
Also consider using Azure Policy to enforce mandatory tags.
19+
20+
- [X] Azure.Resource.AllowedRegions
2421
- [X] Azure.Storage.SoftDelete
2522
- [X] Azure.Storage.BlobAccessType
2623
- [X] Azure.Storage.Name
2724
- [X] Azure.Storage.ContainerSoftDelete
28-
- [X] Azure.Storage.Firewall
25+
- [X] Azure.Storage.Defender.MalwareScan
26+
- [ ] Azure.Storage.Firewall
27+
28+
Consider configuring storage firewall to restrict network access to permitted clients only. Also consider enforcing this setting using Azure Policy.
29+
2930
- [X] Azure.Storage.MinTLS
3031
- [X] Azure.Storage.SecureTransfer
3132
- [X] Azure.Storage.BlobPublicAccess

ps-rule-invoke.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
####################################################################################################
22
# Install prerequisites:
33
####################################################################################################
4-
winget install -s winget -e --id "Microsoft.DotNet.Runtime.6"
4+
winget install -s winget -e --id "Microsoft.DotNet.SDK.9"
55
winget install -s winget -e --id "Microsoft.PowerShell"
66
winget install -s winget -e --id "Microsoft.Bicep"
77

0 commit comments

Comments
 (0)