Giter VIP home page Giter VIP logo

Comments (4)

erjosito avatar erjosito commented on August 11, 2024

Hey @ealtili I like this idea! What do you think about generating bicep templates containing the policies resulting from the queries, so that folks can deploy them to their subscriptions?

from review-checklists.

ealtili avatar ealtili commented on August 11, 2024

Hi @erjosito Indeed this is what I was going to recommend as well. Deploying policies using Bicep Deployment Stacks

So we can have folder Structure

  • Policy
    • PolicySet
    • PolicyDefinition
    • PolicyAssignment

I can create this bicep structure and make a pull request.

I appreciate If you let me know to use an existing branch to use or I can create a branch and make a pull request.

Once we create policy structure we can also discuss about incorporating Azure Well Architected review tool Basically then may be for each service it can be aligned with the checklist.

from review-checklists.

erjosito avatar erjosito commented on August 11, 2024

Do you think it is going to be feasible creating the bicep files automatically from the ARG queries in the JSON checklists? I would probably have that in a branch, before the automation works.

from review-checklists.

erjosito avatar erjosito commented on August 11, 2024

Hey I have been having a look at https://github.com/robinchapas/ConvertToPolicy/blob/master/GraphToPolicy.ps1, and finding some challenges here:

  • The REST API /providers/Microsoft.ResourceGraph/resources/policy doesn't seem to be documented in https://learn.microsoft.com/rest/api/azure-resourcegraph/.
  • I am getting the error message The query returned an error. Adjust the query directly with Resource Graph to validate expected results, then try again, but without docs it is hard to troubleshoot.
  • In any case, the queries stored in the checklist need to be massaged, since they return the extended field compliant, which needs to be changed into a valid rule for policies.

from review-checklists.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.