Skip to content

fix(misconf): perform operations on attribute safely #8779

Closed
@nikpivkin

Description

@nikpivkin

In one of the PRs, we started storing unknown values in context to prevent loss of value types during evaluation. Operations on attributes with unknown values during adaptation can lead to panic. We need to perform operations on attributes safely and verify that the values are not only non-null but also known.

Discussed in #8778

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions