Coder Social home page Coder Social logo

reports's Introduction

Privilege Cloud License Capacity User Report

Introduction: The Privilege Cloud License Capacity User Report script is a PowerShell tool designed to generate comprehensive reports of users consuming resources in the Privilege Cloud for a specific tenant URL.

Prerequisites:

  1. Must execute from a machine that can reach the tenant via CyberArk Port 1858

  2. Must execute from a machine that can reach the tenant via HTTPs

  3. Privilege Cloud Tenant URL, Example https://<subdomain>.cyberark.cloud.

  4. Local CyberArk Account (for STD we recommend admin_. for ISPSS installeruser@

Flag Options:

  1. -PortalURL (Mandatory):

    • Specifies the URL of the Privilege Cloud tenant. Example: -PortalURL "https://<subdomain>.cyberark.cloud"
  2. -AuthType (Optional):

    • Specifies the authentication type for accessing Privilege Cloud. Default value: cyberark
    • Valid values: cyberark
  3. -InactiveDays (Optional):

    • Specifies the number of days to consider users as inactive. Default value: 60
    • Example: -InactiveDays 90
  4. -ExportToCSV (Switch):

    • If this switch is specified, the results will be exported to a CSV file. If not specified, results will be printed in the PowerShell console.
  5. -GetSpecificUserTypes (Optional):

    • Specifies the user types to generate a report on. Default values: EPVUser, EPVUserLite, BasicUser, ExtUser, CPM, PSM, AppProvider
    • Example: -GetSpecificUserTypes "EPVUser", "BasicUser"
  6. -ReportType (Optional):

    • Specifies the type of report to generate. Default value: CapacityReport
    • Valid values: CapacityReport, DetailedReport
    • Example: -ReportType DetailedReport

Examples:

  1. License Capacity Report:

    .\PrivilegeCloudConsumedUserReport.ps1 -PortalURL "https://<subdomain>.cyberark.cloud" -AuthType "cyberark" -InactiveDays 60 -ReportType CapacityReport
    
  2. Detailed Report for Specific User Types:

    .\PrivilegeCloudConsumedUserReport.ps1 -PortalURL "https://<subdomain>.cyberark.cloud" -AuthType "cyberark" -InactiveDays 90 -ExportToCSV -ReportType DetailedReport
    

Note:

  • The script may take some time to execute, depending on the number of users and the response time from the Privilege Cloud API.

Demo

image

image

reports's People

Contributors

pcloudservices avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.