Skip to content

Conversation

matteopasa
Copy link
Collaborator

@matteopasa matteopasa commented Feb 28, 2025

This pull request includes significant updates to the sysdig package, particularly focusing on enhancing the cloud ingestion assets functionality. The changes introduce a new component_type attribute, update the logic for retrieving cloud ingestion assets, and add new test cases to ensure the correct implementation.

Enhancements to Cloud Ingestion Assets:

  • Added component_type attribute to dataSourceSysdigSecureCloudIngestionAssets to support different component types. (sysdig/data_source_sysdig_secure_onboarding.go)
  • Updated dataSourceSysdigSecureCloudIngestionAssetsRead function to handle different cloud providers (GCP and AWS) and component types. (sysdig/data_source_sysdig_secure_onboarding.go) [1] [2]

Test Updates:

  • Added new test case to validate the component_type attribute for AWS EventBridge. (sysdig/data_source_sysdig_secure_onboarding_test.go)

Internal Client Updates:

  • Modified onboardingCloudIngestionAssetsPath to include componentType as a query parameter. (sysdig/internal/client/v2/onboarding.go)
  • Updated GetCloudIngestionAssetsSecure method to accept componentType as an additional parameter. (sysdig/internal/client/v2/onboarding.go)

@matteopasa matteopasa force-pushed the pasa/api-dest/update-cling-assets-call branch from 72bed50 to c4b5b43 Compare March 14, 2025 09:59
@matteopasa matteopasa force-pushed the pasa/api-dest/update-cling-assets-call branch from 803de43 to 80ccd5f Compare March 24, 2025 10:29
@matteopasa matteopasa merged commit fad3656 into master Mar 24, 2025
23 checks passed
@matteopasa matteopasa deleted the pasa/api-dest/update-cling-assets-call branch March 24, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants