EnumerateRoles

The script will enumerate any provided role names and output the list of users for each role.

python · Team Management

Details

IDEnumerateRoles
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.8.3296088

README

The script will enumerate any provided role names and output the list of users for each role.

Script Data


Name Description
Script Type python3
Tags  

Inputs


Argument Name Description
roles CSV of role names to enumerate

Outputs


Path Description Type
Roles.role Role name string
Roles.users List of users in the role string
args:
- description: CSV of role names to enumerate
  name: roles
  required: true
comment: The script will enumerate any provided role names and output the list of users for each role.
commonfields:
  id: EnumerateRoles
  version: -1
dockerimage: demisto/python3:3.12.8.3296088
enabled: true
name: EnumerateRoles
outputs:
- contextPath: Roles.role
  description: Role name
  type: string
- contextPath: Roles.users
  description: List of users in the role
  type: string
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags: []
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)