-
Notifications
You must be signed in to change notification settings - Fork 99
Add naming format rules for containers, databases and infrastructure services #3549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
BernieWhite
merged 39 commits into
main
from
copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b7cf5
Nov 27, 2025
Merged
Changes from 5 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
4c69e67
Initial plan
Copilot 6ad5ab4
Add new naming format rules for containers, databases and infrastruct…
Copilot cd9c82e
Update documentation for new naming format rules
Copilot 2897561
Add test cases for new naming format rules
Copilot df5fbbd
Update Service Fabric rules with proper annotations
Copilot fd7291f
Refactor naming rules and tests based on review feedback
Copilot 8497b42
Add rule documentation for all 27 new naming rules
Copilot 92e95fe
Add Azure.WAF/maturity label (L2) and maturity model link to all nami…
Copilot f037ec2
Updates
BernieWhite 020177d
Updates
BernieWhite d36ac8b
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite 0763115
Updates
BernieWhite cc159f5
Update
BernieWhite f614551
Updates
BernieWhite 174cbe6
Updates
BernieWhite 4029043
Updates
BernieWhite 4aa521f
Updates
BernieWhite dbcd0ab
Updates
BernieWhite b8b7ffa
Updates
BernieWhite 8c20e76
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite f57cde4
Updates
BernieWhite d6fcf5f
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite fedfad4
Updates
BernieWhite 4d60336
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite 62d510b
Fixes
BernieWhite 7ec873f
Updates
BernieWhite 28b77b7
Updates
BernieWhite 98ec545
Updates
BernieWhite 9193bee
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite 350a5b1
Fix
BernieWhite 29d3605
Fix
BernieWhite 4e9e9da
Fix
BernieWhite b7e3b23
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite 7f52778
Updates
BernieWhite 06b8300
Add Bicep and ARM template examples to Cosmos DB naming rules
Copilot aacbd2f
Merge branch 'main' into copilot/fix-cde04a13-3f4f-4391-bdb3-6e9fc77b…
BernieWhite 3dd30bf
Updates
BernieWhite 022e871
Updates
BernieWhite 166de04
Updates
BernieWhite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
|
|
||
| # | ||
| # Validation rules for Azure Container Instances | ||
| # | ||
|
|
||
| #region Rules | ||
|
|
||
| # Synopsis: Container instances without a standard naming convention may be difficult to identify and manage. | ||
| Rule 'Azure.CI.Naming' -Ref 'AZR-000505' -Type 'Microsoft.ContainerInstance/containerGroups' -If { $Configuration['AZURE_CONTAINER_INSTANCE_NAME_FORMAT'] -ne '' } -Tag @{ release = 'GA'; ruleSet = '2025_12'; 'Azure.WAF/pillar' = 'Operational Excellence' } -Labels @{ 'Azure.CAF' = 'naming' } { | ||
| $Assert.Match($PSRule, 'TargetName', $Configuration.AZURE_CONTAINER_INSTANCE_NAME_FORMAT, $True); | ||
| } | ||
|
|
||
| #endregion Rules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.