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

feat: add additional support for datacenter editions #2

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

daniiiol
Copy link
Contributor

@daniiiol daniiiol commented Jul 3, 2024

Initial Situation

The authentication for data center editions is currently not working (Error 401).

According to the Atlassian Python API, the login method changes for data center editions. Instead of username/password, the API only expects a token (The information on the documentation that this only applies to versions < 7.9 is not correct).

Changes

  • A new parameter -on-prem-pat / -t has been added.
  • The instantiation of confluence_client has been adjusted depending on whether the parameter -on-prem-pat / -t was set or not.
  • Documentation has been updated.

Testing

Functionality has been successfully tested with Confluence data center edition 8.5.11.

@frjcomp
Copy link
Collaborator

frjcomp commented Dec 3, 2024

Hi thx for your contribution!
Seems like I missed this PR initially and just stumbled upon it.

LGTM

Copy link
Collaborator

@frjcomp frjcomp left a comment

Choose a reason for hiding this comment

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

lgtm

@frjcomp frjcomp merged commit 661c1fd into CompassSecurity:main Dec 3, 2024
1 check passed
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