Skip to content

AWS Config

Collect configuration item counts, export failures, notification failures, and insufficient permission metrics from the AWS/Config namespace.

Configuration

Permissions

For AWS cloud collection permissions, see AWS cloud integration role authorization. The read-only permissions required by this integration are listed below.

  • cloudwatch:ListMetrics: Discover CloudWatch monitoring metrics and dimensions.
  • cloudwatch:GetMetricData: Read in batches: CloudWatch monitoring metric data.

This integration reads monitoring metrics through CloudWatch.

Install Func

We recommend enabling hosted Func under TrueWatch Integrations - Extensions. All prerequisites are installed automatically; continue with the script installation.

To deploy Func yourself, see Deploy Func Yourself

Activate Script

Prepare AWS AK in advance and authorize access as described in Permissions.

Activate the Hosted Script

  1. Log in to the TrueWatch console.
  2. Click 【Integrations】 and select 【Cloud Account Management】.
  3. Click 【Add Cloud Account】, select 【AWS】, and enter the required information. Skip this step if the cloud account has already been configured.
  4. Click 【Test】, then click 【Save】 if the test succeeds. If it fails, check the configuration and test again.
  5. Find the added cloud account in 【Cloud Account Management】 and click it to open its details page.
  6. Click 【Integrations】 on the cloud account details page, find AWS Config under Not Installed, and click 【Install】. Complete the installation in the dialog.

Activate the Script Manually

  1. Log in to the Func console, click 【Script Market】, open the TrueWatch script market, and search for integration_aws_config.
  2. Click 【Install】 and enter AWS AK ID, AK Secret, and the account name.
  3. Click 【Deploy Startup Script】. The system automatically creates the Startup script set and configures the startup script.
  4. After activation, find the automatic trigger configuration under 「Management / Automatic Trigger Configuration」. Click 【Execute】 to run it immediately without waiting for the schedule. After a short wait, review the task records and logs.

Verification

  1. Under 「Management / Automatic Trigger Configuration」, confirm that the task is configured and review its records and logs for permission or API errors.
  2. In TrueWatch 「Metrics」, open the aws_config measurement and confirm the monitoring data.

Metrics

The measurement is aws_config.

MetricName MetricDescribe Dimensions Unit
config_history_export_failed_sum Number of failed configuration history exports to Amazon S3 - count
config_snapshot_export_failed_sum Number of failed configuration snapshot exports to Amazon S3 - count
configuration_recorder_insufficient_permissions_failure_sum Number of access failures caused by insufficient IAM role permissions for the configuration recorder - count
change_notifications_delivery_failed_sum Number of failures to send configuration change notifications to the delivery channel Amazon SNS topic - count
configuration_items_recorded_sum Number of configuration items recorded; each item represents a resource configuration at a point in time resource_type count