mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
* fix: implement read APIs required by Steampipe resource collection IAM ListMFADevices, ECR BatchGetRepositoryScanningConfiguration, and CloudWatch Logs GetDataProtectionPolicy returned UnsupportedOperation (400). Each is invoked per-item by the Steampipe AWS plugin to enrich aws_iam_user, aws_ecr_repository, and aws_cloudwatch_log_group; the 400 aborted the whole table hydration, so those tables collected zero rows against Floci. Implement minimal, wire-accurate responses: - IAM ListMFADevices -> empty MFADevices list (IsTruncated=false) - ECR BatchGetRepositoryScanningConfiguration -> reuse describeRepositories, return MANUAL scan config - CloudWatch Logs GetDataProtectionPolicy -> empty policy at HTTP 200 (the steampipe aws plugin hydrate does not tolerate ResourceNotFound, so 200 is required for collection to succeed) Adds focused tests for each handler. * docs: ground read-API handler comments in AWS wire behavior Rewrite the ListMFADevices, BatchGetRepositoryScanningConfiguration, and GetDataProtectionPolicy handler comments to describe real AWS response shapes, enum values, and error semantics (NoSuchEntity 404, scanFrequency enum, ResourceNotFoundException 400) instead of referencing a specific consumer. Note the known deviations (200-empty vs error, batch-fail vs failures[]).