├── .build └── Generate.PlatyPS.build.ps1 ├── .ghpages ├── Prepare-Documentation.ps1 ├── _config.yml ├── _data │ ├── navigation.yml │ └── toc.yml ├── commands.md ├── examples.md ├── getting-started.md └── index.md ├── .gitattributes ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── Problem_with_module.yml │ ├── Problem_with_resource.yml │ ├── Resource_proposal.yml │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci-cd.yml │ ├── msgraph-permissions-extractor.yml │ └── pr-validation.yml ├── .gitignore ├── .markdownlint.json ├── .vscode ├── analyzersettings.psd1 ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── GitVersion.yml ├── LICENSE ├── README.md ├── RequiredModules.psd1 ├── Resolve-Dependency.ps1 ├── Resolve-Dependency.psd1 ├── data ├── MSGraph_Report_FrontPage.png ├── MSGraph_Report_Modal_Bottom.png ├── MSGraph_Report_Modal_Top.png ├── extraction-summary.md ├── permissions-beta.json ├── permissions-v1.0.json └── report_anonymized.html ├── justForTesting.ps1 ├── openapi ├── beta │ └── openapi.yaml └── v1.0 │ └── openapi.yaml ├── source ├── LeastPrivilegedMSGraph.psd1 ├── LeastPrivilegedMSGraph.psm1 ├── Private │ ├── Convert-RelativeUriToAbsoluteUri.ps1 │ ├── ConvertTo-TokenizeId.ps1 │ ├── Find-LeastPrivilegedPermission.ps1 │ ├── Get-AppActivityFromLog.ps1 │ ├── Get-AppThrottlingStat.ps1 │ └── Get-OptimalPermissionSet.ps1 ├── Public │ ├── Export-PermissionAnalysisReport.ps1 │ ├── Get-AppActivityData.ps1 │ ├── Get-AppRoleAssignment.ps1 │ ├── Get-AppThrottlingData.ps1 │ ├── Get-PermissionAnalysis.ps1 │ └── Initialize-LogAnalyticsApi.ps1 ├── data │ ├── base.html │ ├── extraction-summary.md │ ├── permissions-beta.json │ └── permissions-v1.0.json └── en-US │ └── about_LeastPrivilegedMSGraph.help.txt ├── tests ├── Integration │ └── .gitkeep ├── QA │ └── module.tests.ps1 └── Unit │ ├── Private │ ├── Convert-RelativeUriToAbsoluteUri.tests.ps1 │ ├── ConvertTo-TokenizeId.tests.ps1 │ ├── Find-LeastPrivilegedPermission.tests.ps1 │ ├── Get-AppActivityFromLog.tests.ps1 │ ├── Get-AppThrottlingStat.tests.ps1 │ └── Get-OptimalPermissionSet.tests.ps1 │ └── Public │ ├── Export-PermissionAnalysisReport.tests.ps1 │ ├── Get-AppActivityData.tests.ps1 │ ├── Get-AppRoleAssignment.tests.ps1 │ ├── Get-AppThrottlingData.tests.ps1 │ ├── Get-PermissionAnalysis.tests.ps1 │ └── Initialize-LogAnalyticsApi.tests.ps1 └── tools ├── README.md ├── SETUP-COMPLETE.md ├── permissions-extractor.js ├── run-production.js └── test-extractor.js /.build/Generate.PlatyPS.build.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.build/Generate.PlatyPS.build.ps1 -------------------------------------------------------------------------------- /.ghpages/Prepare-Documentation.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/Prepare-Documentation.ps1 -------------------------------------------------------------------------------- /.ghpages/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/_config.yml -------------------------------------------------------------------------------- /.ghpages/_data/navigation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/_data/navigation.yml -------------------------------------------------------------------------------- /.ghpages/_data/toc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/_data/toc.yml -------------------------------------------------------------------------------- /.ghpages/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/commands.md -------------------------------------------------------------------------------- /.ghpages/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/examples.md -------------------------------------------------------------------------------- /.ghpages/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/getting-started.md -------------------------------------------------------------------------------- /.ghpages/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.ghpages/index.md -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Problem_with_module.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/ISSUE_TEMPLATE/Problem_with_module.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Problem_with_resource.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/ISSUE_TEMPLATE/Problem_with_resource.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Resource_proposal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/ISSUE_TEMPLATE/Resource_proposal.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci-cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/workflows/ci-cd.yml -------------------------------------------------------------------------------- /.github/workflows/msgraph-permissions-extractor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/workflows/msgraph-permissions-extractor.yml -------------------------------------------------------------------------------- /.github/workflows/pr-validation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.github/workflows/pr-validation.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.gitignore -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.markdownlint.json -------------------------------------------------------------------------------- /.vscode/analyzersettings.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.vscode/analyzersettings.psd1 -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /GitVersion.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/GitVersion.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/README.md -------------------------------------------------------------------------------- /RequiredModules.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/RequiredModules.psd1 -------------------------------------------------------------------------------- /Resolve-Dependency.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/Resolve-Dependency.ps1 -------------------------------------------------------------------------------- /Resolve-Dependency.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/Resolve-Dependency.psd1 -------------------------------------------------------------------------------- /data/MSGraph_Report_FrontPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/MSGraph_Report_FrontPage.png -------------------------------------------------------------------------------- /data/MSGraph_Report_Modal_Bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/MSGraph_Report_Modal_Bottom.png -------------------------------------------------------------------------------- /data/MSGraph_Report_Modal_Top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/MSGraph_Report_Modal_Top.png -------------------------------------------------------------------------------- /data/extraction-summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/extraction-summary.md -------------------------------------------------------------------------------- /data/permissions-beta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/permissions-beta.json -------------------------------------------------------------------------------- /data/permissions-v1.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/permissions-v1.0.json -------------------------------------------------------------------------------- /data/report_anonymized.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/data/report_anonymized.html -------------------------------------------------------------------------------- /justForTesting.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/justForTesting.ps1 -------------------------------------------------------------------------------- /openapi/beta/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/openapi/beta/openapi.yaml -------------------------------------------------------------------------------- /openapi/v1.0/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/openapi/v1.0/openapi.yaml -------------------------------------------------------------------------------- /source/LeastPrivilegedMSGraph.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/LeastPrivilegedMSGraph.psd1 -------------------------------------------------------------------------------- /source/LeastPrivilegedMSGraph.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/LeastPrivilegedMSGraph.psm1 -------------------------------------------------------------------------------- /source/Private/Convert-RelativeUriToAbsoluteUri.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Private/Convert-RelativeUriToAbsoluteUri.ps1 -------------------------------------------------------------------------------- /source/Private/ConvertTo-TokenizeId.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Private/ConvertTo-TokenizeId.ps1 -------------------------------------------------------------------------------- /source/Private/Find-LeastPrivilegedPermission.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Private/Find-LeastPrivilegedPermission.ps1 -------------------------------------------------------------------------------- /source/Private/Get-AppActivityFromLog.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Private/Get-AppActivityFromLog.ps1 -------------------------------------------------------------------------------- /source/Private/Get-AppThrottlingStat.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Private/Get-AppThrottlingStat.ps1 -------------------------------------------------------------------------------- /source/Private/Get-OptimalPermissionSet.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Private/Get-OptimalPermissionSet.ps1 -------------------------------------------------------------------------------- /source/Public/Export-PermissionAnalysisReport.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Public/Export-PermissionAnalysisReport.ps1 -------------------------------------------------------------------------------- /source/Public/Get-AppActivityData.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Public/Get-AppActivityData.ps1 -------------------------------------------------------------------------------- /source/Public/Get-AppRoleAssignment.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Public/Get-AppRoleAssignment.ps1 -------------------------------------------------------------------------------- /source/Public/Get-AppThrottlingData.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Public/Get-AppThrottlingData.ps1 -------------------------------------------------------------------------------- /source/Public/Get-PermissionAnalysis.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Public/Get-PermissionAnalysis.ps1 -------------------------------------------------------------------------------- /source/Public/Initialize-LogAnalyticsApi.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/Public/Initialize-LogAnalyticsApi.ps1 -------------------------------------------------------------------------------- /source/data/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/data/base.html -------------------------------------------------------------------------------- /source/data/extraction-summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/data/extraction-summary.md -------------------------------------------------------------------------------- /source/data/permissions-beta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/data/permissions-beta.json -------------------------------------------------------------------------------- /source/data/permissions-v1.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/data/permissions-v1.0.json -------------------------------------------------------------------------------- /source/en-US/about_LeastPrivilegedMSGraph.help.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/source/en-US/about_LeastPrivilegedMSGraph.help.txt -------------------------------------------------------------------------------- /tests/Integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/QA/module.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/QA/module.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Private/Convert-RelativeUriToAbsoluteUri.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Private/Convert-RelativeUriToAbsoluteUri.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Private/ConvertTo-TokenizeId.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Private/ConvertTo-TokenizeId.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Private/Find-LeastPrivilegedPermission.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Private/Find-LeastPrivilegedPermission.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Private/Get-AppActivityFromLog.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Private/Get-AppActivityFromLog.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Private/Get-AppThrottlingStat.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Private/Get-AppThrottlingStat.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Private/Get-OptimalPermissionSet.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Private/Get-OptimalPermissionSet.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Export-PermissionAnalysisReport.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Public/Export-PermissionAnalysisReport.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-AppActivityData.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Public/Get-AppActivityData.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-AppRoleAssignment.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Public/Get-AppRoleAssignment.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-AppThrottlingData.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Public/Get-AppThrottlingData.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Get-PermissionAnalysis.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Public/Get-PermissionAnalysis.tests.ps1 -------------------------------------------------------------------------------- /tests/Unit/Public/Initialize-LogAnalyticsApi.tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tests/Unit/Public/Initialize-LogAnalyticsApi.tests.ps1 -------------------------------------------------------------------------------- /tools/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tools/README.md -------------------------------------------------------------------------------- /tools/SETUP-COMPLETE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tools/SETUP-COMPLETE.md -------------------------------------------------------------------------------- /tools/permissions-extractor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tools/permissions-extractor.js -------------------------------------------------------------------------------- /tools/run-production.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tools/run-production.js -------------------------------------------------------------------------------- /tools/test-extractor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mynster9361/Least_Privileged_MSGraph/HEAD/tools/test-extractor.js --------------------------------------------------------------------------------