You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQL Query Bug: Incorrect S3 Bucket Existence Check in CloudFront Origins
Issue Description
The current SQL query incorrectly identifies non-existent S3 buckets by checking the Origin ID instead of the Origin Domain Name. This leads to false positives when checking CloudFront distributions' S3 origins.
Current Behavior
Query checks bucket existence using Origin ID
False positives for distributions with valid S3 origins
Incorrect bucket name extraction from Origin configuration
Expected Behavior
Check bucket existence using Origin Domain Name
Correctly identify only truly non-existent S3 buckets
Extract bucket name from the standard format: [bucket-name].s3.[region].amazonaws.com
Fixed Query
Change bucket name extraction from Origin ID to Origin Domain Name
The text was updated successfully, but these errors were encountered:
SQL Query Bug: Incorrect S3 Bucket Existence Check in CloudFront Origins
Issue Description
The current SQL query incorrectly identifies non-existent S3 buckets by checking the Origin ID instead of the Origin Domain Name. This leads to false positives when checking CloudFront distributions' S3 origins.
Current Behavior
Expected Behavior
[bucket-name].s3.[region].amazonaws.com
Fixed Query
Change bucket name extraction from Origin ID to Origin Domain Name
The text was updated successfully, but these errors were encountered: