Skip to content

fslef/ContosoEpac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automatedlab-policies

This repository demonstrates the EPAC (Enterprise Policy as Code) solution for managing policies at scale in your lab environment. It leverages policy definitions, assignments, and deployments to ensure compliance across various environments as configured in Definitions/global-settings.jsonc.

The EPAC solution, available at aka.ms/epac, streamlines policy lifecycle management by automating the planning, deployment, and documentation processes.

Getting Started

  1. Prerequisites
    • PowerShell installed on your system.
    • The EnterprisePoliciesasCode module installed. You can install it via:
      Install-Module EnterprisePoliciesasCode -Scope CurrentUser
    • Appropriate permissions to execute scripts and deploy policy changes. For details on the required permissions, see the official documentation.

Environments

The repository uses Contoso environments as examples in the configuration:

  • contoso-prod: Represents a production-like environment.
  • contoso-sandbox: Represents a sandbox or testing environment.

These examples are defined in the Definitions/global-settings.jsonc file and serve to illustrate how to organize and map policy assignments to different scopes.

Repository Folder Structure

  • EPAC-Definitions/contoso-lab/ – Contains all files needed for policy management following EPAC guidelines:
    • policyEPAC-Definitions/contoso-lab/ – Stores individual policy definition files.
    • policyAssignments/ – Holds policy assignment files that map policies (or policy sets) to specific scopes along with deployment parameters.
    • policySetEPAC-Definitions/contoso-lab/ – Contains policy set definition files that group multiple policies together.

For more details on the recommended file and folder structure, see the Policy Assignment File Folder Structure Guidelines.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •