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

Fix cyberark-pas-account-add (cyberark) #30294

Merged
merged 6 commits into from
Oct 18, 2023
Merged

Fix cyberark-pas-account-add (cyberark) #30294

merged 6 commits into from
Oct 18, 2023

Conversation

israelpoli
Copy link
Contributor

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: https://jira-hq.paloaltonetworks.local/browse/XSUP-28945

Description

A few sentences describing the overall goals of the pull request's commits.

Must have

  • Tests
  • Documentation

@israelpoli israelpoli requested a review from dorschw October 18, 2023 11:24
Packs/CyberArkPAS/Integrations/CyberArkPAS/CyberArkPAS.py Outdated Show resolved Hide resolved
Packs/CyberArkPAS/Integrations/CyberArkPAS/CyberArkPAS.py Outdated Show resolved Hide resolved
Packs/CyberArkPAS/Integrations/CyberArkPAS/CyberArkPAS.py Outdated Show resolved Hide resolved
@@ -361,7 +379,7 @@ def add_account(self,
safe_name: str,
password: str,
secret_type: str,
properties: str,
properties: dict,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
properties: dict,
properties: dict | str,

right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It must be a dict, and the order_properties_to_dict function forces it to be a dict
(But following the comment I changed the typing for the add_account_command function)

@israelpoli israelpoli merged commit d8af3a6 into master Oct 18, 2023
14 of 15 checks passed
@israelpoli israelpoli deleted the fix_bug_cyberark branch October 18, 2023 13:19
sapirshuker pushed a commit that referenced this pull request Dec 21, 2023
* commit

* add UT and RN

* corrections

* Fix DS108 and update Docker

* correction comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants