/
Google Cloud Platform collector migration guide (1.x.x to 2.0.0)

Google Cloud Platform collector migration guide (1.x.x to 2.0.0)

Google Cloud Platform Collector Migration Guide

For users upgrading to version 2.0.0, changes in the configuration files need to be applied to ensure compatibility. This section provides step-by-step instructions for a smooth migration process and guidance on downgrading if needed.

Preparing for Migration

  1. Backup Your Current Configuration: Ensure you have a backup of your existing configuration files before proceeding.

  2. Review the New Configuration Changes: Familiarize yourself with the changes introduced in version 2.0.0, particularly regarding the renaming of custom_service entries and parameter changes.

Migration Steps

Step 1: Update Configuration

Changes in the config.yaml file:

  • The custom_service entries must now be renamed to either logging, logging_[number], scc_findings, or scc_findings_[number].

  • The variable tag has been renamed to override_devo_tag.

  • The variable auto_categorization_method has been renamed to override_auto_categorization_method.

  • The variables enable_pubsub_undelivered_messages_logging and pubsub_undelivered_messages_request_interval_in_seconds now require an override_ prefix to indicate optional values.

Before (Version <2.0.0) YAML:

custom_service_1: subscription_name: "<subscription_id>" tag: "<custom_tag>" auto_categorization_method: "<auto_categorization_method>" enable_pubsub_undelivered_messages_logging: <enable_pubsub_undelivered_messages_logging> pubsub_undelivered_messages_request_interval_in_seconds: <pubsub_undelivered_messages_request_interval_in_seconds>

After (Version >=2.0.0) YAML:

logging: subscription_name: "<subscription_name_value>" override_devo_tag: "<override_devo_tag_value>" override_auto_categorization_method: "<override_auto_categorization_method_value>" override_enable_pubsub_undelivered_messages_logging: <override_enable_pubsub_undelivered_messages_logging_value> override_pubsub_undelivered_messages_request_interval_in_seconds: <override_pubsub_undelivered_messages_request_interval_in_seconds_value>

Before (Version <2.0.0) JSON:

{ "custom_service_1": { "subscription_name": "<subscription_id>", "tag": "<custom_tag>", "auto_categorization_method": "<auto_categorization_method>", "enable_pubsub_undelivered_messages_logging": <enable_pubsub_undelivered_messages_logging>, "pubsub_undelivered_messages_request_interval_in_seconds": <pubsub_undelivered_messages_request_interval_in_seconds> } }

After (Version >=2.0.0) JSON:

Step 2: Test Configuration

  1. Verify that the updated configuration files are valid and the services start correctly.

  2. Test the collector to ensure it pulls and delivers data as expected.

Downgrade Considerations

Downgrading from version 2.0.0 to versions below 2.0.0 is supported. To revert:

  1. Rename logging and scc_findings entries back to custom_service_[number].

  2. Change override_devo_tag back to tag.

  3. Change override_auto_categorization_method back to auto_categorization_method.

  4. Remove the override_ prefix from enable_pubsub_undelivered_messages_logging and pubsub_undelivered_messages_request_interval_in_seconds.

Downgrade Configuration (Version <2.0.0) YAML:

Downgrade Configuration (Version <2.0.0) JSON:

Related content

Google Cloud Platform collector
Google Cloud Platform collector
More like this
Microsoft Azure collector migration guide (1.x.x to 2.0.0)
Microsoft Azure collector migration guide (1.x.x to 2.0.0)
More like this
Salesforce Collector Migration Guide
Salesforce Collector Migration Guide
More like this
Cloud Collector 0.2.6
Cloud Collector 0.2.6
More like this
Cloud Collector 1.0.0
Cloud Collector 1.0.0
More like this
Netskope API v2 collector migration_guide_1.x.x_to_2.x.x
Netskope API v2 collector migration_guide_1.x.x_to_2.x.x
More like this