mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
CloudWatch was not read by the generated request-resources table, so under IAM enforcement every CloudWatch request was checked on `*`: a grant scoped to one alarm was refused and a deny scoped to one never applied. Move `cloudwatch` from NOT_COVERED to NAMESPACES in regen_iam_request_resources.py. The table reads an alarm from AlarmName or each of AlarmNames as alarm:<name>, a dashboard from DashboardName or each of DashboardNames with no Region in its ARN, a metric stream from Name or each of Names, and a tag call from ResourceARN: the ARNs CloudWatch mints. Metric data and the list calls name no resource and stay on `*`. No other namespace's rows change.