Skip to content
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

Adding deny all rule to Azure Bastion nsg #455

Merged
merged 15 commits into from
Feb 24, 2023
Merged

Adding deny all rule to Azure Bastion nsg #455

merged 15 commits into from
Feb 24, 2023

Conversation

sid2305
Copy link
Contributor

@sid2305 sid2305 commented Feb 20, 2023

Overview/Summary

AB#26315

Added deny all rule to both inbound and outbound rules with the lowest priority i.e. 4096 for the Azure Bastion nsg and added parameters for destination ports of security rules.

This PR fixes/adds/changes/removes

  1. adds deny all rule for inbound and outbound rules.
  2. adds parameters with default values to hub networking parameter and bicep file for destination ports of inbound/outbound rules

Breaking Changes

Testing Evidence

image

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

@ghost ghost added the Needs: Triage 🔍 Needs triaging by the team label Feb 20, 2023
@jtracey93 jtracey93 added enhancement and removed Needs: Triage 🔍 Needs triaging by the team labels Feb 22, 2023
Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

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

@sid2305
Copy link
Contributor Author

sid2305 commented Feb 22, 2023

Hi @jtracey93,
Turned on the option to allow pushes to this fork.

@ghost ghost removed the Needs: Author Feedback label Feb 22, 2023
@jtracey93
Copy link
Collaborator

jtracey93 commented Feb 23, 2023

@sid2305 still getting permission denied? https://github.com/Azure/ALZ-Bicep/actions/runs/4251789429/jobs/7394567020

You can manually generate the docs by following https://github.com/Azure/ALZ-Bicep/wiki/Contributing#manually-generating-the-parameter-markdown-files on your branch and committing them up, might be easier 💪👊

@jtracey93 jtracey93 closed this Feb 23, 2023
@jtracey93 jtracey93 reopened this Feb 23, 2023
Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

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

Thanks for updating the docs @sid2305 via the script.

Can you please review the comments and remove the unnecessary parameters to keep it simple for customers. They only need to be able to customize the RDP/SSH ports and thats it i think as all other ports are requirements for bastion to work and these cant be changed on the bastion service, so no need to expose.

@ghost ghost removed the Needs: Author Feedback label Feb 23, 2023
@sid2305
Copy link
Contributor Author

sid2305 commented Feb 23, 2023

Thanks for the review @jtracey93. It totally makes sense to only parameterize the SSH/RDP port only and not others. I have updated the PR and docs for it.

@jtracey93
Copy link
Collaborator

/azp run validateazcloud

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jtracey93
Copy link
Collaborator

/azp run validateazcloud

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jtracey93
Copy link
Collaborator

/azp run validateazcloud

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@jtracey93 jtracey93 left a comment

Choose a reason for hiding this comment

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

Looking good, thanks for making the changes.

@jtracey93 jtracey93 merged commit d92a397 into Azure:main Feb 24, 2023
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.

2 participants