Azure / Azure/PSRule.Rules.Azure

Migrate log profiles to use diagnostic settings

Open
#357 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.