mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
The generated request resources give Security Hub's hub and configuration-policy types the aws:ResourceTag/ key, but no service answered the securityhub namespace's stored tags, so a condition on a hub's or a configuration policy's tags saw none. SecurityHubService now answers it: storedTags reads the account's state for the Region the ARN names, in the request's account, where the tag handlers read, in place, and matches the ARN hubArn or policyArn gives; a hub reads its tags only while Security Hub is enabled there. A policy's tags change in place under the service's lock, so the lookup takes that lock too.