Skip to content

Firehose client checks only 10 streams #8135

Open
@ivan-morgun

Description

@ivan-morgun

Steps to Reproduce

  1. prowler aws -f us-west-1 --profile live -c firehose_stream_encrypted_at_rest
  2. aws
  3. single account
  4. No error

Expected behavior

When region has more than 10 delivery streams they are not included in the report. It seems that the issue is in the _list_delivery_streams method which uses list_delivery_streams boto3 method which return 10 streams by default when limit parater is not configured https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/firehose/client/list_delivery_streams.html

Also, prowler has a false\positive results when the source for delivery stream is a data stream with encryption enabled. In such setup delivery stream can't have encription and prowler treats it as FAIL.

Actual Result with Screenshots or Logs

Image

Image

How did you install Prowler?

From pip package (pip install prowler)

Environment Resource

Workstation

OS used

MacOS

Prowler version

5.7.5

Pip version

24.0

Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugseverity/lowBug won't result in any noticeable breakdown of the execution.status/waiting-for-revisionWaiting for maintainer's revision

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions