UnitTestPlaybookAnalyzer
Profiles execution time of tasks in a playbook or sub-playbook (if specified). Provides minimum, maximum, and average task execution times in milliseconds as well as the state of each task: completed, error, notexecuted, started, and waiting.
python · Content Testing
Details
| ID | UnitTestPlaybookAnalyzer |
|---|---|
| Language | python |
| From Version | 6.5.0 |
| Docker Image | demisto/python3:3.12.8.3296088 |
README
Profiles execution time of tasks in a playbook or sub-playbook (if specified). Provides minimum, maximum, and average task execution times in milliseconds as well as the state of each task: completed, error, notexecuted, started, and waiting.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
Inputs
| Argument Name | Description |
|---|---|
| playbook | Name of the playbook to analyze. |
| subplaybook | Sub-playbook for analysis versus the parent playbook. |
| firstday | First day to find incident occurrences using the playbook. Example: “2023-03-01”. |
| lastday | Last day to find incident occurrences using the playbook: Example: “2023-03-31”. |
| maxinc | Maximum number of incidents to analyze. |
Outputs
There are no outputs for this script.
args: - description: Name of the playbook to analyze. name: playbook required: true - description: Sub-playbook for analysis versus the parent playbook. name: subplaybook - description: 'First day to find incident occurrences using the playbook. Example: "2023-03-01".' name: firstday required: true - description: 'Last day to find incident occurrences using the playbook: Example: "2023-03-31".' name: lastday required: true - description: Maximum number of incidents to analyze. name: maxinc required: false comment: | Profiles execution time of tasks in a playbook or sub-playbook (if specified). Provides minimum, maximum, and average task execution times in milliseconds as well as the state of each task: completed, error, notexecuted, started, and waiting. commonfields: id: UnitTestPlaybookAnalyzer version: -1 contentitemexportablefields: contentitemfields: fromServerVersion: "" dockerimage: demisto/python3:3.12.8.3296088 enabled: true name: UnitTestPlaybookAnalyzer runas: DBotWeakRole script: '' scripttarget: 0 subtype: python3 tags: [] timeout: 20m0s type: python fromversion: 6.5.0 tests: - No tests (auto formatted) runonce: false engineinfo: {}