Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Fixed st-8 navigation and st-3 query
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneHezser committed Aug 18, 2023
1 parent 8a183a2 commit 347f66d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/content/services/storage/storage-Account/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The below table shows the list of resiliency recommendations for Storage Account
|[ST-5 - Enable soft delete for recovery of data](#st-5---enable-soft-delete-for-recovery-of-data) | Medium | Preview | No |
|[ST-6 - Enable version for accidental modification](#st-6---enable-version-for-accidental-modification) | Medium | Preview | No |
|[ST-7 - Enable point and time restore for containers for recovery](#st-7---enable-point-and-time-restore-for-containers-for-recovery) | Low | Preview | No |
|[ST-8 - Keep fewer than 1000 versions per blob](#st-8---keep-fewer-than-1000-versions-per-blob) | Low | Preview | No |
|[ST-9 - Configure Diagnostic Settings for all Azure Resources](#st-9---configure-diagnostic-settings-for-all-azure-resources) | Low | Preview | No |

{{< /table >}}
Expand Down Expand Up @@ -197,7 +198,7 @@ Point and time restore support general purpose v2 account in standard performanc

<br><br>


### ST-8 - Keep fewer than 1000 versions per blob

**Impact: Low**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Resources | where type =~'microsoft.storage/storageaccounts'
// Azure Resource Graph Query
// Find all Azure Storage Accounts, that do not have an access tier set
Resources
| where type =~'microsoft.storage/storageaccounts'
| where isnull(properties.accessTier)
| project recommendationId = 'st-3', name, id, accessTier="not defined - GeneralPurpose V1
| project recommendationId = 'st-3', name, id, accessTier="not defined - GeneralPurpose V1"

0 comments on commit 347f66d

Please sign in to comment.