FP S6954 azureresourcemanager Sonarqube, Azure managed grafana plugin definition shows warning

There seem to be an FP warning when defining plugins in Bicep for an Azure Managed Grafana resource. I believe I have defined it the correct way (the MS docs is very light on this subject…). It installs the plugin correctly at least. However I get S6954 for this code using the VSCode Sonarqube extension.

resource grafana 'Microsoft.Dashboard/grafana@2023-09-01' = {
  name: '${workspaceName}${nameSuffix}'
  location: location
  tags: {
    Contact: contact
    About: about
  } 
  sku: {
    name: 'standard'
  }
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    zoneRedundancy: 'Disabled'
    grafanaPlugins: {
      'yesoreyeram-infinity-datasource': {}
    }
  }
}

Hey @Wesztman!

If I understand the rule correctly, most of the time this is an anti-pattern.

While there are exceptions, we think it makes sense to let users define a list of exceptions (SONARIAC-1411) rather than hardcode them. That’s in our backlog.

You can also choose to disable this rule if it’s too noisy, or mark it as a false-positive.