Skip to content

Commit

Permalink
Merge branch 'contrib/SEKOIA-IO_Add/SekoiaXDR' into Add/SekoiaXDR
Browse files Browse the repository at this point in the history
  • Loading branch information
TOUFIKIzakarya authored Nov 5, 2024
2 parents 086cdf9 + 23cd730 commit 9322694
Show file tree
Hide file tree
Showing 59 changed files with 1,561 additions and 1,225 deletions.
492 changes: 278 additions & 214 deletions Packs/HealthCheck/Playbooks/HealthCheck.yml

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Packs/HealthCheck/Playbooks/HealthCheck_README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
New version for HealthCheck main playbook

## Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

### Sub-playbooks

* Health Check - Log Analysis Read All files
* Health Check - Collect Log Bundle

### Integrations

This playbook does not use any integrations.

### Scripts

* HealthCheckContainersStatus
* DemistoVersion
* HealthCheckFields
Expand All @@ -31,19 +35,23 @@ This playbook does not use any integrations.
* HealthCheckDiskUsage

### Commands

This playbook does not use any commands.

## Playbook Inputs

---

| **Name** | **Description** | **Default Value** | **Required** |
| --- | --- | --- | --- |
| ChangeThresholdsRequired | | false | Optional |

## Playbook Outputs

---
There are no outputs for this playbook.

## Playbook Image

---
![HealthCheck](./../doc_files/HealthCheck-pb.png)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description: "Collect Log bundle and parse data"
description: "Collect Log bundle and parse data."
id: Health Check - Collect Log Bundle
inputs: []
name: Health Check - Collect Log Bundle
Expand Down Expand Up @@ -315,7 +315,7 @@ view: |-
}
}
}
fromversion: 6.0.0
fromversion: 6.9.0
tests:
- No tests (auto formatted)
contentitemexportablefields:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
description: Parse files from log bundle output
description: Parse files from log bundle output.
id: Health Check - Log Analysis Read All files
inputs:
- description: Log bundle files
key: LogFiles
playbookInputQuery:
required: false
value: {}
- description: ""
key: Health Check Thresholds
playbookInputQuery:
required: false
value:
simple: ${Health Check Thresholds}

name: Health Check - Log Analysis Read All files
outputs:
- contextPath: HealthCheck.ActionableItems
description: Data read from war room file
description: Data read from the War Room file.
starttaskid: "0"
tasks:
"0":
Expand Down Expand Up @@ -130,8 +125,7 @@ tasks:
skipunavailable: false
task:
brand: ""
description: Read server log file line by line and display warnings, fatal errors
and keyword results in a table to the war room
description: Read the server log file line by line and display warnings, fatal errors and keyword results in a table in the War Room.
id: 55ae5ab9-a42d-4765-8033-fcd64d491320
iscommand: false
name: Read server.log file and display
Expand Down Expand Up @@ -611,8 +605,7 @@ tasks:
skipunavailable: false
task:
brand: ""
description: Read panic log file line by line and display warnings, fatal errors
and keyword results in a table to the war room
description: Read the panic log file line by line and display warnings, fatal errors and keyword results in a table in the War Room.
id: 105f11f8-1574-4521-819a-6e2462bf0fc4
iscommand: false
name: Read the panic.log file
Expand Down Expand Up @@ -644,6 +637,6 @@ view: |-
}
}
}
fromversion: 6.0.0
fromversion: 6.9.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,42 +1,50 @@
Parse files from log bundle output
Parse files from log bundle output.

## Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

### Sub-playbooks

This playbook does not use any sub-playbooks.

### Integrations

This playbook does not use any integrations.

### Scripts
* HealthCheckPanicLog
* HealthCheckFileSystem
* HealthCheckReadVC
* HealthCheckReadConf

* HealthCheckDockerLog
* HealthCheckServerLog
* HealthCheckFileSystem
* HealthCheckLicenseData
* HealthCheckPanicLog
* HealthCheckReadConf
* HealthCheckReadTemeletryLog
* HealthCheckReadVC
* HealthCheckServerLog

### Commands

This playbook does not use any commands.

## Playbook Inputs

---

| **Name** | **Description** | **Default Value** | **Required** |
| --- | --- | --- | --- |
| LogFiles | Log bundle files | | Optional |
| Health Check Thresholds | | ${Health Check Thresholds} | Optional |

## Playbook Outputs

---

| **Path** | **Description** | **Type** |
| --- | --- | --- |
| HealthCheck.ActionableItems | Data read from war room file | unknown |
| HealthCheck.ActionableItems | Data read from war room file. | unknown |

## Playbook Image

---
![Health Check - Log Analysis Read All files](./../doc_files/HealthCheck-LogAnalysisReadAllfiles.png)

![Health Check - Log Analysis Read All files](../doc_files/HealthCheck-LogAnalysisReadAllfiles.png)
142 changes: 142 additions & 0 deletions Packs/HealthCheck/ReleaseNotes/3_0_0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@

#### Playbooks

##### Health Check - Collect Log Bundle

Improve playbook documentation.

##### Health Check - Log Analysis Read All files

Improve playbook documentation.

##### HealthCheck

Updated the main playbook to differentiate between Cortex XSOAR versions 6.x and 8.x.

#### Scripts

##### HealthCheckAPIvalidation

Updated the Docker image to **demisto/python3:3.11.10.111526**.

##### HealthCheckPanicLog

Updated the Docker image to **demisto/python3:3.11.10.113941**.

##### HealthCheckFields

Updated the Docker image to **demisto/python3:3.11.10.111526**.

##### HealthCheckAnalyzeLargeInvestigations

Updated the Docker image to **demisto/python3:3.11.10.113941**.

##### HealthCheckCPU

- Implemented notification for Cortex XSOAR version 8.x incompatibility.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckCommonIndicators

Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckContainersStatus

- Implemented notification for Cortex XSOAR version 8.x incompatibility.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckDiskUsage

- Implemented notification for Cortex XSOAR version 8.x incompatibility.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckDiskUsageLine

- Implemented notification for Cortex XSOAR version 8.x incompatibility.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckDockerLog

Implemented notification for Cortex XSOAR version 8.x incompatibility.


##### HealthCheckFileSystem

Implemented notification for Cortex XSOAR version 8.x incompatibility.

##### HealthCheckGetLargestInputsAndOutputsInIncidents

- Fixed script for Cortex XSOAR version 6.x.
- Implemented notification for x8 incompatibility.

##### HealthCheckIncidentTypes

Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckIncidentsCreatedDaily

- Added support for Cortex XSOAR version 8.x.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckIncidentsCreatedMonthly

- Added support for Cortex XSOAR version 8.x.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckIncidentsCreatedWeekly

- Added support for Cortex XSOAR version 8.x.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckInstalledPacks

- Added support for Cortex XSOAR version 8.x.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckIntegrations

Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckLicenseData

Implemented notification for Cortex XSOAR version 8.x incompatibility.

##### HealthCheckMemory

- Implemented notification for Cortex XSOAR version 8.x incompatibility.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckNumberOfDroppedIncidents

- Added support for Cortex XSOAR version 8.x.
- Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckNumberOfLargeIOIncidents

Implemented notification for Cortex XSOAR version 8.x incompatibility.

##### HealthCheckNumberOfLargeIncidents

Implemented notification for Cortex XSOAR version 8.x incompatibility.

##### HealthCheckNumberOfPartitions

Implemented notification for Cortex XSOAR version 8.x incompatibility.

##### HealthCheckPlaybookAnalysis

Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckServerConfiguration

Updated the Docker image to **demisto/python3:3.11.10.111526**

##### HealthCheckSystemDiagnostics

- Revised and updated the code.
- Updated the Docker image to **demisto/python3:3.11.10.113941**

##### HealthCheckWorkers

- Revised and updated the code.
- Updated the Docker image to **demisto/python3:3.11.10.111526**
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ comment: |-
commonfields:
id: HealthCheckAPIvalidation
version: -1
dockerimage: demisto/python3:3.10.13.83255
dockerimage: demisto/python3:3.11.10.111526
enabled: true
name: HealthCheckAPIvalidation
runas: DBotWeakRole
Expand Down
Loading

0 comments on commit 9322694

Please sign in to comment.