Skip to content

Conversation

@SimonWahlin
Copy link
Member

Introduce the AzResourceGraph module for searching Azure Resource Graph resources. Include necessary workflows, tests, and documentation for usage and contribution.

Co-authored-by: Emanuel Palm <PalmEmanuel@users.noreply.github.com>
@SimonWahlin SimonWahlin requested review from PalmEmanuel and Copilot and removed request for PalmEmanuel and Copilot May 12, 2025 19:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces the initial release of the AzResourceGraph module for searching Azure Resource Graph resources. Key changes include new module manifest and dependency configurations, implementation of core cmdlets (Connect-AzResourceGraph and Search-AzResourceGraph), and integration of workflows, tests, and documentation.

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Resolve-Dependency.psd1 Added dependency configuration for module resolution.
RequiredModules.psd1 Defined required modules for build and test support.
README.md Provided installation and usage instructions for the AzResourceGraph module.
GitVersion.yml Configured version bump rules and strategies.
CHANGELOG.md Documented initial release details.
AzResourceGraph/suffix.ps1 Sets up required token splatting variables.
AzResourceGraph/en-US/about_AzResourceGraph.help.txt Supplied help documentation for the module.
AzResourceGraph/Public/Search-AzResourceGraph.ps1 Defined the Search-AzResourceGraph function including pagination logic.
AzResourceGraph/Public/Connect-AzResourceGraph.ps1 Implements connection logic with token caching for Azure Resource Graph.
AzResourceGraph/Private/Test-AzureToken.ps1 Contains token validation logic.
AzResourceGraph/Private/Get-AzResourceGraphPage.ps1 Handles API paging and payload size adjustments.
AzResourceGraph/Private/Assert-AzureConnection.ps1 Asserts valid Azure connection and refreshes tokens when needed.
AzResourceGraph/AzResourceGraph.psm1 Imports module components (classes, private and public functions).
AzResourceGraph/AzResourceGraph.psd1 Module manifest defining metadata, exports, and requirements.
.vscode/tasks.json & .vscode/settings.json Added VS Code configuration for encoding and tasks.
.github/workflows/build.yml Configured CI/CD workflows for build, test, code coverage, and release.
.github/actions/* Added custom GitHub Actions for building, testing, and publishing artifacts.

@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2025

Linux Test Results

 1 files  15 suites   6s ⏱️
62 tests 62 ✅ 0 💤 0 ❌
63 runs  63 ✅ 0 💤 0 ❌

Results for commit 25594d0.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2025

Win Test Results

 1 files  15 suites   7s ⏱️
62 tests 62 ✅ 0 💤 0 ❌
63 runs  63 ✅ 0 💤 0 ❌

Results for commit 25594d0.

♻️ This comment has been updated with latest results.

Copy link
Member

@PalmEmanuel PalmEmanuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the typo I think it looks good! Solid structure and nice tests, well done! Haven't tested the functionality, but the code is familiar 👨‍💻

@SimonWahlin SimonWahlin merged commit a24cc4a into main May 14, 2025
7 checks passed
@SimonWahlin SimonWahlin deleted the firstRelease branch July 5, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants