mondoohq / cnspec-policies

This repository contains security policies for cnspec maintained by Mondoo and the cnspec community.
Other
42 stars 17 forks source link

Add a filter to fix application of Azure check to just subscriptions #396

Open tas50 opened 4 months ago

tas50 commented 4 months ago

This should not run everywhere

HRouhani commented 4 months ago

What do you think of adding it under the groups like the following for all of them? :

groups:
      - title: Azure Core
        filters: |
            asset.runtime == "azure"
            asset.platform == "azure"
            asset.kind == "API"

and is there any specific reason asset.platform is needed as we have already asset.runtime?

tas50 commented 6 days ago

@HRouhani any chance you can take this one on when you get back and update the filters on the groups if that is what you'd like to do?