panic: interface conversion: interface {} is bool, not string #6404
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Example:
Discussed in #6402
Originally posted by SorinFlueras March 27, 2024
Description
When scanning Cloudformation files for misconfigurations, Trivy fails with this message:
panic: interface conversion: interface {} is bool, not string
Desired Behavior
Trivy is running without errors.
Actual Behavior
Trivy fails with:
panic: interface conversion: interface {} is bool, not string
Reproduction Steps
Run `trivy conf --severity HIGH,CRITICAL --debug .` on a CloudFormation template that contains AWS::RDS::DBInstance, AWS::SSM::Parameter and AWS::EC2::SecurityGroup
Target
None
Scanner
Misconfiguration
Output Format
None
Mode
None
Debug Output
Operating System
MacOS Sonoma 14.0 (23A344)
Version
Checklist
trivy image --reset
The text was updated successfully, but these errors were encountered: