Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tas50
Copy link
Member

@tas50 tas50 commented May 13, 2024

This should not run everywhere

@HRouhani
Copy link
Contributor

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?

@@ -1387,44 +1385,47 @@ queries:
- uid: mondoo-azure-security-ensure-activity-log-alert-exists-for-create-update-delete-network-security-group
title: Ensure that activity log alerts exist for the commands Create, Update, and Delete Network Security Group
impact: 80
filters: |
asset.platform == "azure"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this just run on a azure subscription?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes sure, all of them run on Azure subscription

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

platform of azure is the platform for the subscriptions

This should not run everywhere

Signed-off-by: Tim Smith <[email protected]>
@tas50 tas50 force-pushed the tas50/fix_azure_fine_grained branch from 82aaf1a to 4eb8063 Compare September 30, 2024 15:47
@tas50
Copy link
Member Author

tas50 commented Sep 30, 2024

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants