Repository navigation
Sovereign Cloud - Implement hosted Defender for Servers setup - #560
Merged
Merged
Conversation
…n lab automation Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces automated, subscription-wide configuration and verification of Defender for Servers Plan 2 (P2) and Endpoint protection for hosted lab environments, along with comprehensive documentation, test coverage, and integration into the shared deployment workflow. The changes ensure that every event subscription is properly secured and that organizers and participants are clearly guided on configuration, costs, and readiness validation.
Defender for Servers automation and integration:
hosted-defender.ps1implementingInitialize-MhhHostedDefender, which enables and verifies Defender for Servers P2 and Endpoint protection for a given subscription, preserving existing extension/enforcement settings and retrying verification up to 12 times.Initialize-MhhHostedDefenderintoshared-deploy-lab.ps1, ensuring Defender is configured after tag-policy setup and before LocalBox deployment for hosted environments. [1] [2] [3]Documentation updates:
Test coverage:
hosted-defender.ps1, covering correct configuration, error handling, idempotency, and integration with the deployment workflow.