Cloud Custodian Policies 中多个过滤器的默认逻辑运算符是什么?

What is the default logical operator for multiple filters in Cloud Custodian Policies?

查看以下 Cloud Custodian 政策:

policies:
  - name: ec2-ssm-check
    resource: ec2
    filters:
      - type: ssm
        key: PingStatus
        value: Online
      - type: ssm
        key: PlatformName
        value: Ubuntu
      - type: ssm
        key: PlatformVersion
        value: 18.04

三个滤镜一起使用。他们是如何评价的?是全部匹配还是只匹配一个就够了?

我阅读了文档here,但没有提及。

你可以在这里查看。 https://cloudcustodian.io/docs/quickstart/tagCompliance.html

简而言之 - 它会开始评估第一个过滤器到最后一个,如果所有过滤器都匹配,那么策略就会执行。

如果任何过滤器失败,则它将跳过。如果您想在任何过滤器匹配时执行,则对您链接的文档使用 OR https://cloudcustodian.io/docs/filters.html