Skip to content

fix(misconf): skip rewriting expr if attr is nil #9123

Description

@nikpivkin

The current implementation tries to rewrite the expression (expr) of an attribute without checking whether the attribute itself exists. We need to skip such attributes.

Discussed in #9112

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.scan/misconfigurationIssues relating to misconfiguration scanning

Type

Fields

No fields configured for Bug.

Projects

Status
No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions