Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
84 stars 26 forks source link

Linter rule BCP088 does not like `kind: 'OfficeATP'` for `Microsoft.SecurityInsights/dataConnectors` #2152

Open o-l-a-v opened 4 months ago

o-l-a-v commented 4 months ago

Bicep version

CLI & VSCode extension v0.26.170

Describe the bug

OfficeATP is a valid kind for Microsoft.SecurityInsights/dataConnectors@2023-11-01 when what-if and deploying, only the linter complains about it.

The property "kind" expected a value of type "'AmazonWebServicesCloudTrail' | 'AzureActiveDirectory' | 'AzureAdvancedThreatProtection' | 'AzureSecurityCenter' | 'MicrosoftCloudAppSecurity' | 'MicrosoftDefenderAdvancedThreatProtection' | 'Office365' | 'ThreatIntelligence'" but the provided value is of type "'OfficeATP'". Did you mean "'Office365'"?bicep(BCP088)

To Reproduce

Define a Microsoft.SecurityInsights/dataConnectors@2023-11-01 with kind: 'OfficeATP'.

Additional context Add any other context about the problem here.

microsoft-github-policy-service[bot] commented 4 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @chlahav. Please see https://aka.ms/biceptypesinfo for troubleshooting help.