Skip to content

Conversation

@cmellazchy
Copy link

Desired Outcome

This is a fix to add path param to the cyberark_credential module. Without this fix, task fails with "Unsupported parameters" error message when path is specified.

Sample Task

- name: Credential retrieval custom path
  cyberark.pas.cyberark_credential:
    api_base_url: 'https://example.com'
    app_id: 'TestID'
    query: 'Safe=test;UserName=admin'
    path: AIMWebServiceKrb/api/Accounts
  register: result

Error:

msg: 'Unsupported parameters for (cyberark.pas.cyberark_credential) module: path. Supported parameters include: api_base_url, app_id, client_cert, client_key, connection_timeout, fail_request_on_password_change, query, query_format, reason, validate_certs.'

Implemented Changes

Added path param to Ansible module argument spec.

Connected Issue/Story

Originally implemented in #61

Definition of Done

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

Changelog

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a
    CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code
    changes, or
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR
  • A follow-up issue to update official docs has been filed here: [insert issue ID]
  • This PR does not require updating any documentation

Behavior

  • This PR changes product behavior and has been reviewed by a PO, or
  • These changes are part of a larger initiative that will be reviewed later, or
  • No behavior was changed with this PR

Security

  • Security architect has reviewed the changes in this PR,
  • These changes are part of a larger initiative with a separate security review, or
  • There are no security aspects to these changes

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.

1 participant