Azure / Azure/PSRule.Rules.Azure
Migrate log profiles to use diagnostic settings
Open
help wanted
rule: monitor
- Dominant language
- PowerShell
- Stars
- 447
- Forks
- 109
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 23
Description
# Rule request
## Suggested rule change
Migrate to diagnostic settings for retaining Activity Log instead of Log Profiles.
## Applies to the following
The rule applies to the following:
- Resource type: **microsoft.insights/logprofiles**
## Additional context
```powershell
Get-AzResource -ResourceType 'microsoft.insights/logprofiles' -ApiVersion '2016-03-01' -Name 'default' -ExpandProperties;
```
Contributor guide
Assessment
This issue has not been assessed yet.