jonrau1 / ElectricEye

ElectricEye is a multi-cloud, multi-SaaS Python CLI tool for Asset Management, Security Posture Management & Attack Surface Monitoring supporting 100s of services and evaluations to harden your CSP & SaaS environments with controls mapped to over 20 industry, regulatory, and best practice controls frameworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Firehose.1] AWS Kinesis Firehose delivery streams should be encrypted not getting assessed due to key error

swarnim1212 opened this issue · comments

Describe the bug
[Firehose.1] AWS Kinesis Firehose delivery streams should be encrypted not getting assessed due to key error.
In code, it is firehoseArn = str(response["DeliveryStreamARN"]), which should be firehoseArn = str(response["DeliveryStreamDescription"]["DeliveryStreamARN"]), because of which it is going in exception block.
To Reproduce
Steps to reproduce the behavior:

  1. Run the assessment and view the findings for [Firehose.1] AWS Kinesis Firehose delivery streams should be encrypted

Expected behavior
[Firehose.1] AWS Kinesis Firehose delivery streams should be encrypted should have findings

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

Logs
Any stack traces, error reports, CloudTrail logs, etc.

Additional context
Add any other context about the problem here.

Good catch, fixed this and some ugly formatting