cloud-custodian / cloud-custodian/cel-python

Question usage of .contains()

Open
#128 6 comments 1 reaction 1 assignee Claimed by @slott56 View on GitHub
enhancement
Dominant language
Python
Stars
174
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hi,

After the upgrade to version 0.4 the syntax field.contains("value") doesn't work when evaluating a json input.
Is this by design or do I need to change anything on my implementation?

The error I am getting is: Rule evaluation error: ('no such overload', , ("'str' object has no attribute 'contains'",))

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.