Skip to content
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

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

Open
o-l-a-v opened this issue May 3, 2024 · 1 comment

Comments

@o-l-a-v
Copy link

o-l-a-v commented May 3, 2024

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.

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants