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

Added ARG Query to A01.41 in network_appdelivery_checklist.en.json #896

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

Conversation

asukumar22
Copy link
Contributor

@asukumar22 asukumar22 commented Sep 17, 2024

Added ARG query to A01.41

Description

Added ARG query to A01.41

Related Issue

Link to any related issues or discussions here. This helps reviewers understand the context and the need for your changes.

Checklist

  • I've tested my changes to ensure they are ready for review.
  • I've read the CONTRIBUTING.md guide.
  • I've updated the documentation (if applicable).
  • Resource Graph queries have been included (and tested) for recommendations where ever possible1.
  • Resource Graph queries have NOT been included (please explain below).

Additional Information

Is there any additional context, screenshots, or considerations that might help in the review process? Please include them here.

Reviewer Notes

Is there a specific area you’d like feedback on? Please highlight it here. We're here to help and learn together! 💡

Footnotes

  1. Details on how to add Azure Resource Graph queries to recommendations can be found here.

@asukumar22 asukumar22 changed the title Update network_appdelivery_checklist.en.json Added ARG Query to A01.41 in network_appdelivery_checklist.en.json Sep 19, 2024
@@ -232,6 +232,7 @@
"guid": "43fae595-8a32-4299-a69e-0f32c454dcc9",
"id": "A01.41",
"severity": "Medium",
"graph": "resources | where type == "microsoft.network/applicationgatewaywebapplicationfirewallpolicies" | where properties['customRules'][0]['ruleType'] == "RateLimitRule" | distinct id, name",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use single quotes for strings inside of the graph field. Additionally, you want to use the case-insensitive operator =~ rather than ==.

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants