[Enhancement]: Created custom insight with account name filter #40848
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
good first issue
Call to action for new contributors looking for a place to start. Smaller or straightforward issues.
service/securityhub
Issues and PRs that pertain to the securityhub service.
Description
We are currently using manually created CustomInsights that show findings over all environments, which are filtered by Account name prefixes:
Sample output from aws cli
the actual accounts are named myaccounts-dev, myaccounts-int, myaccounts-prod
It seems currently not possible to recreate this within resource aws_securityhub_insight since the option to filter by account name is not existing.
Putting the account IDs to filter conditions instead is only a workaround.
Could this filter condition be implemented as well?
Affected Resource(s) and/or Data Source(s)
resource aws_securityhub_insight
Potential Terraform Configuration
References
https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_CreateInsight.html
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: