Cloud ✓ fields verified against sample logs

AWS Config Configuration Item Fields: Reference With Examples

Published

One JSON configuration item per recorded change to an AWS resource: which resource (type, ID, name, Region, account), when AWS Config captured it, the status (updated, discovered, deleted…), and the resource's full configuration at that moment.

Official documentation: AWS: ConfigurationItem (AWS Config API reference) · AWS: Example configuration item change notifications

Sample record

{"configurationItems":[{"awsAccountId":"123456789","awsRegion":"us-east-1","configurationItemCaptureTime":"2024-01-15T09:00:00Z","configurationItemStatus":"OK","resourceType":"AWS::EC2::Instance","resourceId":"i-0abc123def456789","resourceName":"web-server-01","configuration":{"instanceId":"i-0abc123def456789","instanceType":"t3.medium","state":{"name":"running"}},"tags":{"Name":"web-server-01","Environment":"prod"}}

From the LogTriage parser test corpus — synthetic data, no real hosts or users.

Explain this record field by field →

Field reference

Field Type Meaning Why it matters for security
configurationItemStatuse.g. ResourceDeleted string AWS: "The configuration item status." OK ("The resource configuration has been updated"), ResourceDiscovered, ResourceNotRecorded, ResourceDeleted ("The resource was deleted") or ResourceDeletedNotRecorded. ResourceDeleted on a CloudTrail trail, a GuardDuty detector or a security IAM policy is defence tampering.
resourceTypee.g. AWS::CloudTrail::Trail string AWS: "The type of AWS resource" — written AWS::Service::Resource. Filter on the types that guard you — trails, security groups, IAM policies, KMS keys, S3 bucket policies.
resourceIde.g. sg-0abc123def456789 string AWS: "The ID of the resource" (an instance ID, a security group ID, a bucket name…). Follow one resource's items over time to see who changed it and when.
resourceNamee.g. mgmt-trail string AWS: "The custom name of the resource, if available." Readable name for reports; not every resource has one.
configurationItemCaptureTimee.g. 2024-01-15T14:32:00Z date-time AWS: "The time when the recording of configuration changes was initiated for the resource." When Config recorded it, which can trail the change itself; the CloudTrail event has the exact time and the caller.
awsRegione.g. us-east-1 string AWS: "The region where the resource resides." Changes in Regions you do not use are a warning sign on their own.
awsAccountIde.g. 123456789 string The account that owns the resource (accountId in the API reference). Group by it in multi-account aggregators.
configuratione.g. 0.0.0.0/0 object AWS: "A JSON-encoded string that contains the contents for the resource configuration." In exports and notifications it often arrives already decoded as an object. The evidence — a security group rule opening 0.0.0.0/0 or a bucket policy granting * is in here.
tagse.g. prod object AWS: "A mapping of key value tags associated with the resource." Tags such as Environment prod tell you which changes matter most.

Have one of your own records? Paste it into the log line explainer and each field is explained from this table, with times, codes and addresses decoded — in your browser.

What it records

AWS Config records the configuration of supported resources and writes a configuration item each time one changes. Each item has the fields AWS documents for ConfigurationItem: the resource’s type, ID, name, account and Region, the capture time, a status saying whether it was updated, discovered or deleted, its tags and relationships, and the full configuration at that point.

Two more fields connect an item to the rest of your account. relationships — “A list of related AWS resources”, in AWS’s words — shows, for example, which instances a security group is attached to, so you can tell how far an opened rule reaches. relatedEvents — “A list of CloudTrail event IDs” — names the API calls behind the change, the bridge to who did it.

That makes Config the record of state, where CloudTrail is the record of calls. The malicious sample shows the end result of an attacker covering tracks: a security IAM policy deleted, a production security group changed to allow all traffic from 0.0.0.0/0, and the management CloudTrail trail deleted — three items in two minutes.

Where to get it

  • Console. Resource timeline per resource, with each configuration item and the related CloudTrail events.
  • CLI. aws configservice get-resource-config-history --resource-type AWS::EC2::SecurityGroup --resource-id sg-… returns the items for one resource.
  • Delivery channel. Config writes history and snapshot files to an S3 bucket and can publish each change to SNS.
  • Aggregators. Multi-account, multi-Region views for organisations.
# Deleted resources in a downloaded history file
jq -r '.configurationItems[] | select(.configurationItemStatus=="ResourceDeleted") | [.configurationItemCaptureTime, .resourceType, .resourceName] | @tsv' history.json

Parsing pitfalls

  • Wrappers differ. History files hold configurationItems[]; SNS notifications hold one configurationItem inside a message; the API returns configurationItems too.
  • Configuration as text. The API returns configuration as a JSON string; parse it again.
  • Capture time is not change time. Use relatedEvents and CloudTrail for the exact time and caller.
  • Name differences. The API uses accountId; files and notifications use awsAccountId.

Detection ideas

  • Logging and detection removed: ResourceDeleted for AWS::CloudTrail::Trail, GuardDuty detectors or Config’s own recorder — the Config tampering rule.
  • Exposure: security groups whose configuration allows 0.0.0.0/0 on administrative ports; buckets losing their public access block.
  • Policy changes: IAM policies deleted or rewritten outside change windows.
  • New resources in odd Regions: ResourceDiscovered where you do not run workloads.

The free browser analyzer reads Config history files and notifications and runs these checks locally.

Sending AWS Config to an LLM

One megabyte of this format is about 432,612 tokens on current Claude models and 290,327 on GPT models, measured with the models' own tokenizers — so a gigabyte sent raw to Claude Sonnet 5.5 costs about $865 in input tokens alone (prices of 2026-10-24). Estimate your own volume →

Detections and guides for AWS Config

Frequently Asked Questions

What do the AWS Config configurationItemStatus values mean?
AWS lists five: OK (the resource configuration has been updated), ResourceDiscovered (newly discovered), ResourceNotRecorded (discovered but not recorded because the recorder does not record that type), ResourceDeleted (deleted) and ResourceDeletedNotRecorded (deleted, type not recorded). Deletions of security resources are the ones to alert on.
Does AWS Config tell me who made a change?
Not directly. A configuration item records what the resource looks like and when Config captured it. Recent items may list relatedEvents — CloudTrail event IDs — which point to the API calls that caused the change; look those up in CloudTrail for the caller, address and time.
Why is configuration sometimes a string?
The AWS Config API defines configuration as a JSON-encoded string that has to be parsed again before you can read it. Exports, SNS notifications and some tools deliver it already decoded as an object. Handle both before searching for values like 0.0.0.0/0.
How do I get AWS Config history?
Use the console's resource timeline, the get-resource-config-history CLI command for one resource, the snapshot and history files Config delivers to its S3 bucket, or SNS notifications for changes as they happen. Advanced queries with SQL work across the current configuration of all resources.

Analyze a AWS Config file in your browser

The free analyzer detects this format, parses every field above and flags attack patterns — the file never leaves your machine. For threat-intel enrichment and an AI-written incident report, run it through LogTriage.

Investigating something right now? LogTriage checks every address in the file against threat intelligence and writes the incident report: 10 analyses a month free. The incident pack adds the in-depth AI analysis and files up to 100 MB: 25 analyses for $19, one payment, no subscription. Pricing

How this page was made. The official definitions, field names and examples on it are copied by script from the sources it links and re-checked against them on every build. The investigation advice was drafted with AI from those sources and passed a separate review before publishing. What is checked, and how · found a mistake? [email protected]