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
⭐ Add Bedrock, Control Tower, Security Lake, Verified Access, Private CA resources (#7136)
* ⭐ Add aws.bedrock, aws.controltower, aws.securitylake, aws.verifiedaccess, aws.privateca resources
Add 5 new high-impact AWS services for security querying, covering GenAI
governance, multi-account governance, security telemetry, zero-trust
networking, and private PKI.
New resources (22 total):
- aws.bedrock: foundationModel, customModel, guardrail,
modelInvocationLoggingConfiguration, provisionedModelThroughput
- aws.controltower: landingZone, enabledBaseline
- aws.securitylake: dataLake, subscriber
- aws.verifiedaccess: instance, trustProvider, group, endpoint,
instanceLoggingConfiguration
- aws.privateca: certificateAuthority
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* 🐛 Add missing service-availability checks and fix log levels
Add IsServiceNotAvailableInRegionError handling to all four Verified
Access methods so queries don't fail in unsupported regions. Downgrade
service-unavailable log messages from Warn to Debug across all new
providers since these are expected and not actionable.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix spellcheck failure
Signed-off-by: Tim Smith <tsmith84@gmail.com>
* 🐛 Fix foundation model duplicates and privateca tags N+1
Foundation models: query once from default region instead of all regions,
since ListFoundationModels returns a global catalog. Private CA tags:
lazy-load via computed method to avoid N+1 ListTags calls during listing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* 🐛 Fix error handling, KMS key resolution, and typed security groups
- Add access-denied/service-unavailable handling to foundationModels()
- Guard Security Lake encryptionKmsKey() against non-ARN KMS key IDs
- Add access-denied handling to Verified Access loggingConfiguration()
- Add access-denied handling to Private CA tags() and policy()
- Replace double-conversion with enumSliceToAny for subscriber accessTypes
- Change endpoint securityGroupIds to typed securityGroups() references
- Optimize landing zone query to use default region instead of all-region scan
- Expose Region() on AwsConnection for default region access
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* 🧹 Address review comments: driftStatus as dict, use NewSecurityGroupArn
- Change enabledBaseline driftStatus from extracted string to full dict,
surfacing all drift information instead of only Types.Inheritance.Status
- Use NewSecurityGroupArn helper instead of raw fmt.Sprintf for endpoint
security group ARN construction
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* 🐛 Fix service-availability errors and timestamp parsing for new resources
Fix four bugs found during live verification of the new aws.bedrock,
aws.verifiedaccess, aws.controltower, and aws.privateca resources:
- IsServiceNotAvailableInRegionError now catches InvalidAction (EC2 Verified
Access in unsupported regions), UnknownOperationException and "Unknown
operation" (Bedrock in unsupported regions)
- parseAwsTimestamp falls back to parsing timestamps without timezone suffix
(e.g. "2026-04-09T05:40:04" from EC2 Verified Access), assuming UTC
- Control Tower APIs now handle the "AWSControlTowerAdmin" ValidationException
gracefully when CT is not configured, returning empty results instead of
erroring
- Add unit tests for all fixes (24 test cases across 4 new test files)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: Tim Smith <tsmith84@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments