tencentcloud.cam-policy

Policy - Policy management in Cloud Access Management (CAM) https://www.tencentcloud.com/document/product/1021/37656

example:

policies:
- name: cam-policy-overly-permissive
  resource: tencentcloud.cam-policy
  filters:
  - or:
    - type: has-allow-all
    - type: check-permissions
      match: allowed
      actions:
      - "*:*"

Filters

has-allow-all

AllowAllIamPolicies

example:

policies:
- name: cam-policy-overly-permissive
  resource: tencentcloud.cam-policy
  filters:
  - type: has-allow-all
properties:
  type:
    enum:
    - has-allow-all
required:
- type

used

UsedIamPolicies

example:

policies:
- name: cam-policy-used
  resource: tencentcloud.cam-policy
  filters:
  - type: used
properties:
  type:
    enum:
    - used
required:
- type

Actions