aws-samples / service-screener-v2

A tool for customers to evaluate their AWS service configurations based on AWS and community best practices and receive recommendations on potential improvements.
Apache License 2.0
160 stars 44 forks source link

Rule redshift::PubliclyAccessible is not available in reporter #104

Closed lavaniyachanaran04 closed 3 months ago

lavaniyachanaran04 commented 3 months ago

Describe the bug Rule redshift::PubliclyAccessible is not available in reporter #104

A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Clone Repo
  2. Setup Alias
  3. Run command

Full commands used to reproduce this bug e.g: screener --regions ALL --services rds,iam,ec2 -- using ap-southeast-1

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

AWS CloudShell (please complete the following information):

Execution Environment (PLEASE FILL THIS UP IF YOU ARE NOT RUNNING THIS IN AWS CLOUDSHELL):

Additional context Add any other context about the problem here.

Error message :

[info] Empty CF stacked deleted successfully, name:ssv2-0f28e1adcb87 Total Resources scanned: 4752.00 | No. Rules executed: 28136.00 Time consumed (seconds): 1807.476 Ec2pageBuilder class not found, using default pageBuilder CloudwatchpageBuilder class not found, using default pageBuilder EkspageBuilder class not found, using default pageBuilder [!! WARNING !!] Rule redshift::PubliclyAccessible is not available in reporter, please submit an issue to github. Traceback (most recent call last): File "/home/cloudshell-user/service-screener-v2/main.py", line 277, in Screener.generateScreenerOutput(runmode, contexts, hasGlobal, regions, uploadToS3, bucket) File "/home/cloudshell-user/service-screener-v2/Screener.py", line 192, in generateScreenerOutput reporter.process(resultSets).getSummary().getDetails() File "/home/cloudshell-user/service-screener-v2/services/Reporter.py", line 186, in getSummary dashboard['CATEGORY'][region][mainCategory][critical] += itemSize KeyError: 'X'