PenfieldAssign

PenfieldAssign will use the Penfield.AI integration's penfield-get-assignee command to determine who an incident should be assigned to, then print the selected analyst to the War Room and overwrite the owner property.

python · PenfieldAI

Details

IDPenfieldAssign
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Tagsmanagement user Utility

README

PenfieldAssign will use the PenfieldGetAssignee integration to determine who an incident should be assigned to, then print the selected analyst to the War Room and overwrite the owner property.

Script Data


Name Description
Script Type python3
Tags management, user, Utility
Cortex XSOAR Version 5.5.0

Dependencies


This script uses the following commands and scripts.

  • penfield-api-call

Inputs


Argument Name Description
assign Whether this script should actually assign the incident by overwriting owner. Defaults to yes.

Outputs


There are no outputs for this script.

Examples


!PenfieldAssign
!PenfieldAssign assign=’Yes’
!PenfieldAssign assign=’No’

Human Readable Output

incident assigned to: charles

comment: "PenfieldAssign will use the Penfield.AI integration's penfield-get-assignee command to determine who an incident should be assigned to, then print the selected analyst to the War Room and overwrite the owner property."
commonfields:
  id: PenfieldAssign
  version: -1
enabled: true
args:
- name: assign
  default: true
  auto: PREDEFINED
  predefined:
  - "Yes"
  - "No"
  description: Whether this script should actually assign the incident by overwriting owner. Defaults to yes.
  defaultValue: "Yes"
name: PenfieldAssign
script: '-'
tags:
- management
- user
- Utility
timeout: '0'
type: python
subtype: python3
dockerimage: demisto/python3:3.12.13.10116658
fromversion: 6.0.0
dependson:
  must:
  - Penfield|||penfield-get-assignee