-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
feature-requestNew feature request for Prowler.New feature request for Prowler.help wantednot-plannedIssues that are not in the Prowler roadmap.Issues that are not in the Prowler roadmap.provider/azureIssues/PRs related with the Azure providerIssues/PRs related with the Azure provider
Description
Feature search
- I have searched the existing issues and this feature has not been requested yet or is already in our Public Roadmap
Which component would this feature affect?
Prowler CLI/SDK
Related to specific cloud provider?
Azure
New feature motivation
At first thank you for the wonderful tool! I'd like to ask if it's possible to implement a simple switch for Azure scans that narrows down scans to a certain Resource Group. I often audit customers' Azure environments, but most often they request only one (or two) RGs to be validated, corresponding to the environment of some application - not entire Azure tenant/sub.
Solution Proposed
Adding a CLI arg for Azure scans like --resource-group group1 group2 that narrow searches to given RGs.
Use case and benefits
- Scans are faster, especially for large subscriptions.
- Scans consume less memory and disk, especially with Cloud Shell for large subscriptions.
- Scans are compliant with customer's scope ("Please audit only RG 'foo', 'bar' is out of scope").
Describe alternatives you've considered
For now I'm parsing JSON output with jq:
jq '.[] | select(.resources[].data.metadata.id|test("some-resource-group")?)' prowler-output-xxx.ocsf.json
Then load into my own simple HTML viewer. It does not, however, solve the problems described above in "use cases and benefits".
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestNew feature request for Prowler.New feature request for Prowler.help wantednot-plannedIssues that are not in the Prowler roadmap.Issues that are not in the Prowler roadmap.provider/azureIssues/PRs related with the Azure providerIssues/PRs related with the Azure provider