-
Notifications
You must be signed in to change notification settings - Fork 754
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
Ignore property storageAccountSubscriptionId for use-resource-id-func… #11094
Conversation
@@ -52,7 +52,7 @@ public Exclusion(string? regexResourceType, string? propertyName) | |||
// Some of the names are unique enough (and for backwards compat with the ARM TTK) that we won't worry about matching against | |||
// an exact resource type, plus some of them occur in multiple resource types. | |||
|
|||
// Both resource type and property name are case-insensitive | |||
// Resource type is a regex pattern (case-insensitive), property name is an exact match (case-insensitive) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are property names only checked for exact matches for performance reasons or to avoid false positives?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For performance and regex didn't seem to be needed. I considered adding RegEx with this PR but figured I'd wait for now.
Fixes #11051
Microsoft Reviewers: Open in CodeFlow