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

Added capability to put login banner using general_settings #372

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jinfluenza
Copy link

Description

This PR is to add capability to put login banner using general settings resource block

Motivation and Context

As we try to automate further, I feel that a lot of consumer will benefit from having an ability to add login banner programmatically. While making this change I noticed that Pango already has login banner in its config, so I just needed to enable login banner within provider code base.

How Has This Been Tested?

This was tested via Panos environment

  • Before the change
    image

  • Adding the login banner in the resource block
    image

  • Able to read the changes that are being made
    image

  • After applying and running the firewall-commit binary
    image

This was tested on VM-series of Pan OS deployed in Cloud and applying the changes using the Terraform to the instance.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@welcome-to-palo-alto-networks

🎉 Thanks for opening this pull request! We really appreciate contributors like you! 🙌

@jinfluenza
Copy link
Author

Hi @shinmog! Just wanted to see if you had a chance to look at this PR. I have more coming to add more features, but wanted to see I am following your structure with this small PR. lmk if you have any suggestions!

@shinmog
Copy link
Collaborator

shinmog commented Mar 8, 2023

@jinfluenza Rebase when you get a chance and I can merge this enhancement

@jinfluenza
Copy link
Author

@shinmog it has been rebased. thank you!

@AYDEV-FR
Copy link

I'm also interested in this merge request. Can it be merged?

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