Skip to content

cyberark/ansible-security-automation-collection

Repository files navigation

CyberArk Ansible Security Automation Collection

cyberark logo|

Description

This collection is the CyberArk Ansible Security Automation project and can be found on ansible galaxy. This is aimed to enable the automation of securing privileged access by storing privileged accounts in the Enterprise Password Vault (EPV), controlling user's access to privileged accounts in EPV, and securely retreiving secrets using Application Access Manager (AAM). The collection includes support for Event-Driven Ansible by providing an event-source plugin for syslog and also guidance on how to use it.

Requirements

  • Ansible Core 2.13.x or above
  • CyberArk Privileged Account Security Web Services SDK
  • CyberArk AAM Central Credential Provider (Only required for cyberark_credential)

Installation

Before using this collection, you need to install it with the Ansible Galaxy command-line tool:

ansible-galaxy collection install cyberark.pas

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

collections:
  - name: cyberark.pas

Note that if you install any collections from Ansible Galaxy, they will not be upgraded automatically when you upgrade the Ansible package. To upgrade the collection to the latest available version, run the following command:

ansible-galaxy collection install cyberark.pas --upgrade

You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 1.0.0:

ansible-galaxy collection install cyberark.pas:==1.0.0

See using Ansible collections for more details.

Use Cases

There is a list of different modules to perform different tasks:

  • Add, Delete, Update CyberArk Users
  • Add, Delete, Update CyberArk Accounts
  • Rotate Account Credentials

Modules

cyberark_authentication

  • Using the CyberArk Web Services SDK, authenticate and obtain an auth token to be passed as a variable in playbooks
  • Logoff of an authenticated REST API session
    Playbooks and Module Info

cyberark_user

  • Add a CyberArk User
  • Delete a CyberArk User
  • Update a CyberArk User's account parameters

cyberark_account

  • Add Privileged Account to the EPV
  • Delete account objects
  • Modify account properties
  • Rotate privileged credentials
  • Retrieve account password
    Playbooks and Module Info

cyberark_credential

  • Using AAM Central Credential Provider (CCP), to securely retreive secrets and account properties from EPV to be registered for use in playbooks
    Playbooks and Module Info

Roles

aimprovider

Contributing

Please see the contributing guidelines

Author Information

  • CyberArk Business Development Technical Team
    • @enunez-cyberark
    • @cyberark-bizdev

Support

As Red Hat Ansible Certified Content, this collection is entitled to support through the Ansible Automation Platform (AAP) using the Create issue button on the top right corner. If a support case cannot be opened with Red Hat and the collection has been obtained either from Galaxy or GitHub, there may community help available on the Ansible Forum.

License

MIT License

Copyright (c) 2017 CyberArk

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

For the full license text see LICENSE

About

CyberArk Ansible Security Automation Collection

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 16