Skip to content

aaearon/cyberark-shopizer-admin-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cyberark-shopizer-admin-extensions

CyberArk PSM connector and CPM plugin for the Shopizer Administrator portal. These extensions were created as part of a blog series that can be found at https://timschindler.blog.

CyberArk PSM connection component

Developed as part of the article Creating a CyberArk Privileged Session Manager connection component for a web application.

The PSM connector is found in the psm folder. It contains the following file:

  • CC-PSM-ShopizerAdministrator.xml - The xml representation of the PSM connection component.

CC-PSM-ShopizerAdministrator.xml can be used to create a PSM connection component package and the package be imported via the PVWA. New-PASConnectionComponentPackage as part of New-PASExtensions can be used to easily create a platform package from these files.

CyberArk CPM plugin (Web Application framework)

Developed as part of the article Creating a CyberArk Central Policy Manager plugin for a web application.

The CPM plugin is found in the cpm folder. It contains the following files:

  • Policy-TimSchindlerShopizerAdministratorAccounts.ini - Contains the Automatic Password Management part of a platform that can be used to manage Shopizer Administrator accounts.
  • Policy-TimSchindlerShopizerAdministratorAccounts.xml - Contains the General and UI & Workflows parts of a platform that can be used to manage Shopizer Administrator accounts.
  • ShopizerAdministrator.ini - The WebFormFieldsFile that contains the commands for each of the three CPM operations (Verify, Change, Reconcile).
  • shopizeruser.ini - A file that contains parameters to be used when testing the CPM plugin.

Policy-TimSchindlerShopizerAdministratorAccounts.ini, Policy-TimSchindlerShopizerAdministratorAccounts.xml, and ShopizerAdministrator.ini can be combined into a platform package and imported via the PVWA. New-PASPlatformPackage as part of New-PASExtensions can be used to easily create a platform package from these files.

CyberArk CPM plugin (API using WSChains)

This is a WSChains-based plugin that interacts with the Shopizer Administrator portal.

The CPM plugin is found in the wschains folder. It contains the following files:

  • Policy-ShopizerAdministrator.ini - Contains the Automatic Password Management part of a platform that can be used to manage Shopizer Administrator accounts.
  • Policy-ShopizerAdministrator.xml - Contains the General and UI & Workflows parts of a platform that can be used to manage Shopizer Administrator accounts.
  • ShopizerAdministratorChains.xml - The Chains file that contains the links for each of the three CPM operations (Verify, Change, Reconcile).
  • Cyberark.Extensions.Plugin.WSChains.dll - The WSChains dll that is invoked by the CPM plugin.
  • shopizeruserwschains.ini - A file that contains parameters to be used when testing the CPM plugin.

Policy-ShopizerAdministrator.ini, Policy-ShopizerAdministrator.xml, ShopizerAdministratorChains.xml, and Cyberark.Extensions.Plugin.WSChains.dll can be combined into a platform package and imported via the PVWA. New-PASPlatformPackage as part of New-PASExtensions can be used to easily create a platform package from these files.

Standing up your own Shopizer environment with Docker Compose

The docker-compose.yml file in the shopizer folder can be used to stand up a Shopizer environment with Docker Compose.

Before starting the containers, you need to modify the IP address defined in the value for APP_BASE_URL for both shopizer-admin and shopizer-shop containers.

The Shopizer administrator portal will be available at http://<IP or hostname of Docker host>:4200/.