-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove default security contact email and correct TLS assignment #971
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
/azp run validateazcloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request updates Azure policy assignments and corresponding documentation to remove the default security contact email and update the TLS policy definition. Key changes include:
- Updating the definitionId for the Enforce-EncryptTransit policy.
- Removing the default value for the parMsDefenderForCloudEmailSecurityContact parameter.
- Adjusting documentation to reflect that a security contact email is now required.
Reviewed Changes
File | Description |
---|---|
infra-as-code/bicep/modules/policy/assignments/alzDefaults/generateddocs/alzDefaultPolicyAssignments.bicep.md | Removed the placeholder default email value and updated the documentation to align with the new required parameter state |
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
infra-as-code/bicep/modules/policy/assignments/alzDefaults/generateddocs/alzDefaultPolicyAssignments.bicep.md:303
- [nitpick] The generated documentation does not explicitly indicate that the parMsDefenderForCloudEmailSecurityContact parameter is now required. Consider adding a note in the parameter description to clarify that a valid email must be provided.
"parMsDefenderForCloudEmailSecurityContact": {
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run valideazcloud |
No pipelines are associated with this pull request. |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
Overview/Summary
This pull request includes several updates to the Azure policy assignments and related documentation. The changes primarily focus on updating policy definitions, modifying default parameter values, and updating documentation to reflect these changes.
Policy Definition Updates:
definitionId
for theEnforce-EncryptTransit
policy to a new version inalzDefaultPolicyAssignments.bicep
andpolicy_assignment_es_enforce_tls_ssl.tmpl.json
. [1] [2]Parameter Value Modifications:
parMsDefenderForCloudEmailSecurityContact
to an empty string in multiple files to remove the placeholder email. [1] [2] [3]Documentation Updates:
parMsDefenderForCloudEmailSecurityContact
parameter fromNo
toYes
to indicate it is now required.parMsDefenderForCloudEmailSecurityContact
to an empty string in the generated documentation.Related Issues/Work Items
Closes #969
This PR fixes/adds/changes/removes
Breaking Changes
None. Although the default parameter for the Security Contact email address parameter is removed, it does 't break an existing deployment.
Testing Evidence
Replace this with any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch