Skip to content

Commit

Permalink
🐛 fix linting (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock authored Oct 12, 2023
1 parent cd943f5 commit 9804ee2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ jobs:
- name: Installing cnquery
run: |
bash -c "$(curl -sSL https://install.mondoo.com/sh/cnquery)"
- name: Ensure providers are installed
# can be removed once https://github.com/mondoohq/cnquery/issues/2188 is solved
run: |
cnquery providers install aws
cnquery providers install azure
cnquery providers install gcp
cnquery providers install github
cnquery providers install k8s
cnquery providers install os
cnquery providers install slack
cnquery providers install vsphere
cnquery providers install gitlab
cnquery providers install network
cnquery providers install ms365
cnquery providers install google-workspace
cnquery providers install okta
- name: Lint packs
run: |
cnquery bundle validate .
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
lint:
cnquery bundle validate .

# Copywrite Check Tool: https://github.com/hashicorp/copywrite
license: license/headers/check

Expand Down
4 changes: 2 additions & 2 deletions extra/mondoo-asset-count.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ packs:
- uid: mondoo-asset-count-on-azure
title: Retrieve all VMs from Azure
query: |
azure.compute.vms.length
azure.subscription.compute.vms.length
- uid: mondoo-count-users-in-azure
title: Retrieve all users from Azure
query: |
azuread.users.length
microsoft.users.length
- uid: mondoo-asset-count-aws-account-id
title: AWS account ID
Expand Down

0 comments on commit 9804ee2

Please sign in to comment.