Azure / Azure/bicep

Promoting Azure best practices

Open
#4,402 2 comments 1 reaction 0 assignees View on GitHub
devdiv enhancement story: linter rules
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

There is a set of best practices that we as Azure are recommending to customers. For example, using the managed identity for secretless auth. It would be great if we could allow customers to opt into getting diagnostics about best practices they like.

For example the following snippet would produce a diagnostic

```bicep
resource frontend 'Microsoft.Web/sites@2021-01-15' = {
}
```

With a hot fix resulting in:

```bicep
resource frontend 'Microsoft.Web/sites@2021-01-15' = {
identity: {
type: 'SystemAssigned'
}
}
```

Maybe we can integrate with some [Azure Advisor](https://azure.microsoft.com/en-us/services/advisor/#overview) rules to shift suggestions to the development time.

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. Start by reviewing the Bicep example and the linked Azure Advisor rules to determine how opt-in best-practice diagnostics would fit; done requires a defined set of rules, opt-in behavior, and diagnostic or hot-fix expectations.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.