Skip to content

Bug in network_flow_log_more_than_90_days Azure check #8172

@orgitli

Description

@orgitli

Steps to Reproduce

I think the check isn't accurate.
We can put 0 as the retention days value, and by Azure this value will make the data retain forever.
As I see, the check only validate the value is >=90 and not consider 0 value.

Expected behavior

The resource shod be passed for 0 value

Actual Result with Screenshots or Logs

How did you install Prowler?

Cloning the repository from github.com (git clone)

Environment Resource

OS used

Prowler version

Pip version

Context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions