GuardrailsSolutionAccelerator/README.md

53 строки
4.9 KiB
Markdown
Исходник Постоянная ссылка Обычный вид История

2024-01-03 00:31:40 +03:00
# [ARCHIVED] Guardrails Solution Accelerator for Canadian Public Sector
*This repository has been archived and is no longer maintained. An active version of the content has been moved to Shared Services Canada's GitHub at [https://github.com/ssc-spc-ccoe-cei/azure-guardrails-solution-accelerator(]https://github.com/ssc-spc-ccoe-cei/azure-guardrails-solution-accelerator)*
2022-04-19 08:10:47 +03:00
## Introduction 
The purpose of the reference implementation is to help Canadian Public Sector departments and agencies to identify and remediate the [GC Cloud Guardrails](https://github.com/canada-ca/cloud-guardrails#gc-cloud-guardrails) to ensure on-going compliance with the Guardrails requirements.The GC Cloud Guardrails requirements can be found in the [Canadian Governments public GitHub repository](https://github.com/canada-ca/cloud-guardrails#summary---initial-30-days).
 
## Goals
2022-04-19 08:10:47 +03:00
Implementing the required GC Cloud Guardrails can take a considerable amount of time. This solution checks the environment for all [12 Cloud Guardrails Controls](https://github.com/canada-ca/cloud-guardrails#summary---initial-30-days) and provides guidance on what is required to remediate any that are non-compliant. The solution runs on an ongoing basis, ensuring that your environment continues to meet the baseline requirements.
2022-04-19 08:10:47 +03:00
## Architecture
Review documentation (#157) * Fixed issue #32 * Mitigation for modules 8 and 9 - initial draft * Added Mititgation and Report Time to modules 8,9 and 11 * Added Report Time to all modules. * updated main with ReportTIme * missed a file * Updated create-manifest script. * fixed az.accounts module version * fixed automatic Subnet exclusion issue and added CBS subscription exclusion to module 8 * Fixed PBMM Module, added Report Time and CBS subscriptione exclusion to module 5-9 and 11. * New zips * Fixed minor parameter issues with main.ps1 * Fixed issues * Fixed issues * Added proper permissions to MI for tenant diagnostics * merging from main * Adding Mititgation Commands/Instructions * Adding Mitigation commands * Fixed module eleven * Fixing zip issue * Fixed documentationa and added check on parameter format * Set up CI with Azure Pipelines [skip ci] * Added comment regarding permissions to documention. * Completed Module approach changes * minor fixes. * added module parameters and updated doc. * update * setup update * added tags.json * Documentation updates * Added tags documentation * Fixed module 10 * Added zip for fixed module 10 * Complete re-writing of modules 5,6 and 7 * Removed unnecessary read me files for modules 6 and 7 * minor fixes in main and update.ps1 * minor fixes in 5,6,7 * Change datetime format. * fixed typo in bicep file * Added ItemName to Module 10 * Updated workbook * Added new CodeOwner * Updated query time to 24 hours. * minor fix to module 10 * trying to merge... * Fixing AzAccounts issue * Fixed query for workbook * fixing workbook * Updated PBMMM and DiTransit zips * new zips for test * Updated localization zip * Added module 3 * multiple documentation updates
2022-09-23 22:02:27 +03:00
1. The solution is deployed from the Azure Portal's cloud shell. After cloning the repository, some configuration needs to be done to the provided config.json file. Once triggered, the setup will deploy all the required components.
Review documentation (#157) * Fixed issue #32 * Mitigation for modules 8 and 9 - initial draft * Added Mititgation and Report Time to modules 8,9 and 11 * Added Report Time to all modules. * updated main with ReportTIme * missed a file * Updated create-manifest script. * fixed az.accounts module version * fixed automatic Subnet exclusion issue and added CBS subscription exclusion to module 8 * Fixed PBMM Module, added Report Time and CBS subscriptione exclusion to module 5-9 and 11. * New zips * Fixed minor parameter issues with main.ps1 * Fixed issues * Fixed issues * Added proper permissions to MI for tenant diagnostics * merging from main * Adding Mititgation Commands/Instructions * Adding Mitigation commands * Fixed module eleven * Fixing zip issue * Fixed documentationa and added check on parameter format * Set up CI with Azure Pipelines [skip ci] * Added comment regarding permissions to documention. * Completed Module approach changes * minor fixes. * added module parameters and updated doc. * update * setup update * added tags.json * Documentation updates * Added tags documentation * Fixed module 10 * Added zip for fixed module 10 * Complete re-writing of modules 5,6 and 7 * Removed unnecessary read me files for modules 6 and 7 * minor fixes in main and update.ps1 * minor fixes in 5,6,7 * Change datetime format. * fixed typo in bicep file * Added ItemName to Module 10 * Updated workbook * Added new CodeOwner * Updated query time to 24 hours. * minor fix to module 10 * trying to merge... * Fixing AzAccounts issue * Fixed query for workbook * fixing workbook * Updated PBMMM and DiTransit zips * new zips for test * Updated localization zip * Added module 3 * multiple documentation updates
2022-09-23 22:02:27 +03:00
2. Azure Automation will trigger the main runbook every 6 hours. It will fetch information from multiple sources (AAD, Azure Resources, Storage Account).
Review documentation (#157) * Fixed issue #32 * Mitigation for modules 8 and 9 - initial draft * Added Mititgation and Report Time to modules 8,9 and 11 * Added Report Time to all modules. * updated main with ReportTIme * missed a file * Updated create-manifest script. * fixed az.accounts module version * fixed automatic Subnet exclusion issue and added CBS subscription exclusion to module 8 * Fixed PBMM Module, added Report Time and CBS subscriptione exclusion to module 5-9 and 11. * New zips * Fixed minor parameter issues with main.ps1 * Fixed issues * Fixed issues * Added proper permissions to MI for tenant diagnostics * merging from main * Adding Mititgation Commands/Instructions * Adding Mitigation commands * Fixed module eleven * Fixing zip issue * Fixed documentationa and added check on parameter format * Set up CI with Azure Pipelines [skip ci] * Added comment regarding permissions to documention. * Completed Module approach changes * minor fixes. * added module parameters and updated doc. * update * setup update * added tags.json * Documentation updates * Added tags documentation * Fixed module 10 * Added zip for fixed module 10 * Complete re-writing of modules 5,6 and 7 * Removed unnecessary read me files for modules 6 and 7 * minor fixes in main and update.ps1 * minor fixes in 5,6,7 * Change datetime format. * fixed typo in bicep file * Added ItemName to Module 10 * Updated workbook * Added new CodeOwner * Updated query time to 24 hours. * minor fix to module 10 * trying to merge... * Fixing AzAccounts issue * Fixed query for workbook * fixing workbook * Updated PBMMM and DiTransit zips * new zips for test * Updated localization zip * Added module 3 * multiple documentation updates
2022-09-23 22:02:27 +03:00
3. The data is then stored into the local Log Analytics workspace.
4. The data summary and details can be visualized using the provided Guardrails workbook.
2022-05-05 20:01:46 +03:00
5. For multi-tenant scenarios, where the data collected by the Guardrails solution will be reported on by an entity from another Azure AD tenant, Azure Lighthouse can be used to delegate access to the managing tenant.
<p align="center">
<img src="./docs/media/SolutionDiagram.png " />
</p>
## Setup
The setup document describing how to deploy the Guardrails Solution Accelerator can be found here: [Setup](./docs/setup.md)
2022-05-05 20:01:46 +03:00
## How it works
The solution has multiple modules, each module verifies specific set of settings in the environment and compares them with the required [GC guardrails settings](https://github.com/canada-ca/cloud-guardrails#gc-cloud-guardrails) recommended by [Treasury Board of Canada](https://www.canada.ca/en/treasury-board-secretariat.html) and [Shared Services Canada](https://www.canada.ca/en/shared-services.html). In order to understand what the modules are looking for please check the [controls documents](./docs/controls.md).
2022-04-19 08:10:47 +03:00
## Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
2022-04-19 08:10:47 +03:00
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
2022-04-19 08:10:47 +03:00
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
## Telemetry
Microsoft can correlate these resources used to support the deployments. Microsoft collects this information to provide the best experiences with their products and to operate their business. The telemetry is collected through customer usage attribution. The data is collected and governed by Microsoft's privacy policies, located at https://www.microsoft.com/trustcenter.
2022-04-19 08:10:47 +03:00
If you don't wish to send usage data to Microsoft, you can set the customerUsageAttribution.enabled setting to false in setup/IaC/modules/telemetry.json. Learn more in our Azure DevOps Pipelines onboarding guide.
2022-04-19 08:10:47 +03:00
Project Bicep collects telemetry in some scenarios as part of improving the product.
## License
All files except for Super-Linter in the repository are subject to the MIT license.
2022-04-19 08:10:47 +03:00
Super-Linter in this project is provided as an example for enabling source code linting capabilities. It is subjected to the license based on it's repository.
## Trademark
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.