elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
194 stars 421 forks source link

BillingAccountID is used incorrectly by Azure Billing Integration #7477

Open Gill-Bates opened 1 year ago

Gill-Bates commented 1 year ago

Elasticsearch Version

Version: 8.9.0, Build: deb/8aa461beb06aa0417a231c345a1b8c38fb498a0d/2023-07-19T14:43:58.555259655Z

Installed Plugins

No response

Java Version

JVM: 20.0.2

OS Version

Linux vmelastic 6.1.0-10-cloud-amd64 elastic/elasticsearch#1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux

Problem Description

The Billing Account Id stored in the GUI is incorrectly used to create the REST API request.

GUI View: image

YAML View: image

Wrong Query: image

Workaround: Casting the BillingAccountId manually as a String in the YAML image

Steps to Reproduce

  1. Install Azure Billing Metrics Integration 1.1.3
  2. Adding Paramasters as described above
  3. Puke in the stairwell

Logs (if relevant)

No response

elasticsearchmachine commented 1 year ago

Pinging @elastic/es-distributed (Team:Distributed)