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 user_agent setting #157

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Conversation

steven-deboer
Copy link
Contributor

Description

I added a setting self.user_agent which is used in requests and has a default of PrismaCloudAPI/. The addition of the user agent helps to identify requests originating from this API (or the CLI if the user_agent setting is used).

Motivation and Context

To help identify the source of traffic to the API.

How Has This Been Tested?

Manually.

Screenshots (if appropriate)

image

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
Copy link

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

Copy link
Collaborator

@SimOnPanw SimOnPanw left a comment

Choose a reason for hiding this comment

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

LGTM

@SimOnPanw SimOnPanw merged commit 7df3050 into PaloAltoNetworks:main Sep 1, 2023
1 check passed
@welcome-to-palo-alto-networks
Copy link

🎉 Congrats on getting your first pull request merged! We here at Palo Alto Networks are so grateful! ❤️

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