expire-password

This script expires users password for multiple services.

python · Aggregated Scripts

Details

IDexpire-password
Languagepython
From Version6.10.0
Docker Imagedemisto/python3:3.12.13.10116658

README

This script expires users password for multiple services.

Script Data


Name Description
Script Type python3
Cortex XSOAR Version 6.10.0

Inputs


Argument Name Description
user_id List of user IDs whose passwords will be expired. At least one of user_id, user_name, or user_email is required.
user_name List of user names whose passwords will be expired. At least one of user_id, user_name, or user_email is required.
user_email List of emails of the users to expire their password. At least one of user_id, user_name, or user_email is required.
brands List of brands to expire password from.
verbose Whether to fetch a human-readable entry for each command or just the final result. If set to true, all commands will have human-readable entries. If set to false, only the final result will be human-readable.

Outputs


Path Description Type
ExpirePassword.Brand The brand (integration) used to expire the user’s password. String
ExpirePassword.Instance The integration instance used to expire the user’s password. String
ExpirePassword.Result Indicates whether the expire password action was successful. Possible values are: “Success”, “Failed”. String
ExpirePassword.Message The output message of the expire-password action (for example, error details or confirmation). String
ExpirePassword.UserProfile.Username The username of the user whose password was expired. String
ExpirePassword.UserProfile.ID The ID of the user whose password was expired. String
ExpirePassword.UserProfile.Email The email address of the user whose password was expired. String
args:
- description: List of user IDs whose passwords will be expired. At least one of user_id, user_name, or user_email is required.
  name: user_id
  isArray: true
- description: List of user names whose passwords will be expired. At least one of user_id, user_name, or user_email is required.
  name: user_name
  isArray: true
- description: List of emails of the users to expire their password. At least one of user_id, user_name, or user_email is required.
  name: user_email
  isArray: true
- description: List of brands to expire password from.
  isArray: true
  name: brands
  auto: PREDEFINED
  predefined:
  - 'Active Directory Query v2'
  - 'Microsoft Graph User'
  - 'Okta v2'
  - 'AWS - IAM'
  - 'GSuiteAdmin'
  defaultValue: "Active Directory Query v2,Microsoft Graph User,Okta v2,GSuiteAdmin,AWS - IAM"
- description: Whether to fetch a human-readable entry for each command or just the final result. If set to true, all commands will have human-readable entries. If set to false, only the final result will be human-readable.
  name: verbose
  defaultValue: 'false'
  auto: PREDEFINED
  predefined:
  - 'true'
  - 'false'
comment: This script expires users password for multiple services.
commonfields:
  id: expire-password
  version: -1
enabled: false
name: expire-password
outputs:
- contextPath: ExpirePassword.Brand
  description: The brand (integration) used to expire the user’s password.
  type: String
- contextPath: ExpirePassword.Instance
  description: The integration instance used to expire the user’s password.
  type: String
- contextPath: ExpirePassword.Result
  description: 'Indicates whether the expire password action was successful. Possible values are: "Success", "Failed".'
  type: String
- contextPath: ExpirePassword.Message
  description: The output message of the expire-password action (for example, error details or confirmation).
  type: String
- contextPath: ExpirePassword.UserProfile.Username
  description: The username of the user whose password was expired.
  type: String
- contextPath: ExpirePassword.UserProfile.ID
  description: The ID of the user whose password was expired.
  type: String
- contextPath: ExpirePassword.UserProfile.Email
  description: The email address of the user whose password was expired.
  type: String
script: '-'
system: false
timeout: '0'
type: python
subtype: python3
compliantpolicies:
  - User Soft Remediation
dockerimage: demisto/python3:3.12.13.10116658
fromversion: 6.10.0
tests:
- ExpirePassword - Test
marketplaces:
- xsoar
- marketplacev2
- platform