Comments (6)
Use the PowerShell module from the gallery (EnterprisePolicyAsCode) - it is updated when releases are made via this GitHub repo
from enterprise-azure-policy-as-code.
@anwather sorry for taking time to come back...Is this what's already been used here - https://github.com/Azure/enterprise-azure-policy-as-code/tree/main/Module ?
from enterprise-azure-policy-as-code.
@chanakanissanka
Please read https://azure.github.io/enterprise-azure-policy-as-code/quick-start/ for how to manage the module code.
You can either use the PowerShell module (EnterprisePolicyAsCode) or you can fork and clone this repository. Using the PowerShell module is recommended as you do not have to maintain the scripts folder to keep in sync with changes. All you need is a folder for you definitions etc. The Module
folder is used internally by the development team to automatically build the PowerShell module when a new release is generated.
For instance - most of my projects only contain a single folder for Definitions - I use the PowerShell module to then run the commands to build and deploy policy and roles.
from enterprise-azure-policy-as-code.
@anwather Thanks for this clear instructions and that makes sense.
from enterprise-azure-policy-as-code.
@anwather I have no option but to fork the repo due to some bs regulations. Would it be possible to get an idea of the best way to accommodate future releases other than copying and pasting those scripts? Sorry if I'm asking something obvious.
from enterprise-azure-policy-as-code.
from enterprise-azure-policy-as-code.
Related Issues (20)
- Update additional role assignment functionality when assignments are present for the PAC under deployment HOT 2
- Add support for cross-tenant (lighthouse) role assignment for system assigned identities HOT 1
- Error: The operation was canceled. after 5hrs 59min. 37s HOT 1
- Draft 4 JSON Schema - No longer supported HOT 4
- How to get the access to create an issue for Azure/enterprise-azure-policy-as-code repository HOT 2
- Any document to separate the Azure exemption pipeline from Azure definition HOT 3
- Exemptions should support specifying a Policy or Policy Set in addition to a Policy Assignment HOT 1
- Documentation HOT 2
- keepDfcSecurityAssignments not working as expected HOT 4
- dataCollectionRuleResourceId in new ALZ policies HOT 4
- [ChinaCloud] PolicyAssignment is not recognizing as a PAC HOT 2
- EPAC Resource Policy Reader Role should have Microsoft.Authorization/roleAssignments/read HOT 3
- Confused how do I update CSV assignment file HOT 8
- Update GitHub actions using Node.js 16 before Spring 2024 HOT 2
- Feature: Add "assignedBy" property to globalSettings HOT 2
- Policy Objects without displayName set cause error durring CSV Ownership file creation HOT 3
- Clarify Warnings for Missing Policies in CSV HOT 2
- Release v10.0.0 plan HOT 1
- Policy assignment change every build/deploy HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enterprise-azure-policy-as-code.