Skip to content

[Cloud Security Posture Management]: Large GCP project IDs are converted to scientific number format #14790

@orestisfl

Description

@orestisfl

Integration Name

CSPM - GCP

Dataset Name

No response

Integration Version

All

Agent Version

9.2.0

Agent Output Type

elasticsearch

Elasticsearch Version

N/A

OS Version and Architecture

N/A

Software/API Version

No response

Error Message

No response

Event Original

No response

What did you do?

In CSPM GCP, When saving an integration policy using a larger number as the project ID, the number is converted in exponential form when sent to the elastic agent policy. We should make sure the number is saved as a string.

What did you see?

Example:

gcp:
  account_type: organization-account
  credentials:
    credentials_json: <REDACTED>
  organization_id: "78232983791237892315891234689231641237894612378451278364512367451236745671235476123546712354671235467123564671235"
  project_id: 1.8232983791237892e+112

What did you expect to see?

Project ID saved as a string

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Team:Cloud SecurityCloud Security team [elastic/cloud-security-posture]

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions