Skip to content

feat: add additional support for datacenter editions#2

Merged
frjcomp merged 1 commit intoCompassSecurity:mainfrom
daniiiol:feat/support-dc-instances
Dec 3, 2024
Merged

feat: add additional support for datacenter editions#2
frjcomp merged 1 commit intoCompassSecurity:mainfrom
daniiiol:feat/support-dc-instances

Conversation

@daniiiol
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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