Azure / review-checklists

This repo contains code and examples to operationalize Azure review checklists.
MIT License
1.17k stars 321 forks source link

Naigaras sap6 arg #938

Closed NaokiIgarashi closed 3 days ago

NaokiIgarashi commented 5 days ago

Description

As part of our Hackathon 2024 activities, we added 20 ARG queries to the SAP checklist.

Related Issue

non

Checklist

Additional Information

Lines 613 and 1140 are highlighted (red), but there were no problems with the execution results of the query itself.

Reviewer Notes

Is there a specific area you’d like feedback on? Please highlight it here. We're here to help and learn together! 💡 review_checklist (SAP)_nonmacro_Naoki+Syed.xlsx

[^note]: Details on how to add Azure Resource Graph queries to recommendations can be found here.

NaokiIgarashi commented 4 days ago

Hello @erjosito ! Thank you for pointing that out! I've corrected all the things you pointed out, but there are still many == cases remaining. Would it be better to change them all to =~?

erjosito commented 4 days ago

I would suggest to do that. By using =~ your queries will be more solid, in case the PG changes the casing of provider names or property keys or values.

NaokiIgarashi commented 3 days ago

Hey @erjosito ,

i modified all the character from == to =~ . please check it!

erjosito commented 3 days ago

Fantastic thanks a lot @NaokiIgarashi !