turbot / steampipe-mod-aws-perimeter

Is your AWS perimeter secure? Use Powerpipe and Steampipe to check your AWS accounts for public resources, resources shared with untrusted accounts, insecure network configurations and more.
https://hub.powerpipe.io/mods/turbot/aws_perimeter
Apache License 2.0
105 stars 6 forks source link

Error when defined trusted accounts parameter #33

Closed rbracewell closed 1 year ago

rbracewell commented 1 year ago

Describe the bug When I configure the parameter

# List of trusted accounts
trusted_accounts = ["123456789012", "210987654321"]

The control EC2 AMIs should only be shared with trusted accounts fails with the error message.

failed to encode args[0]: unable to encode []string{"123456789012", "210987654321"} into text format for text (OID 25): cannot find encode plan

Steampipe version (steampipe -v) 0.20.8

Plugin version (steampipe plugin list) hub.steampipe.io/plugins/turbot/aws@latest - 0.108.0 - aws hub.steampipe.io/plugins/turbot/steampipe@latest - 0.8.0 - steampipe

To reproduce Ensure the spvars file uses a trusted_accounts value

Expected behavior Should behave the same way as other controls that use the parameter.

Additional context None