cyberark / ansible-security-automation-collection

CyberArk Ansible Security Automation Collection
MIT License
60 stars 37 forks source link

add support for custom application paths for CCP in cyberark_credential #73

Closed kseitter closed 3 months ago

kseitter commented 4 months ago

Desired Outcome

name: credential retrieval custom path cyberark_credential: api_base_url: "http://10.10.0.1/" app_id: "TestID" query: "Safe=test;UserName=admin" path: AimWebServiceCustom register: result

Should return the result:

Implemented Changes

Describe how the desired outcome above has been achieved with this PR. In particular, consider:

The issue is fixed by adjusted the following file: ansible-security-automation-collection/plugins/modules/cyberark_credential.py

In the main function we've added the following to the end of the fields (line 338):

"path": {"type": "str", "required": False, "no_log": False},

Connected Issue/Story

Resolves #72

CyberArk internal issue ID: 03705944

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be merged.

Changelog

Test coverage

Documentation

Behavior

Security

cyberark-bizdev commented 3 months ago

This is included in the current release. 1.0.27