Skip to content

Commit

Permalink
Validate Conf.json (demisto#32981)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorschw authored Mar 10, 2024
1 parent a8393af commit ccc6c97
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 110 deletions.
4 changes: 2 additions & 2 deletions Packs/AHA/TestPlaybooks/AHA_TestPlaybook.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: 73d65261-a8d2-45d0-8a62-000edfdace6b
id: AHA_TestPlaybook
version: 16
vcShouldKeepItemLegacyProdMachine: false
name: AHA
name: AHA_TestPlaybook
starttaskid: "0"
tasks:
"0":
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id: 3da2e31b-f114-4d7f-8702-117f3b498de9
id: AWS - CloudTrail Test Playbook
version: -1
fromversion: 5.0.0
name: AWS - CloudTrail Test Playbook
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id: a60ae34e-7a00-4a06-81ca-2ca6ea1d58ba
id: Test-AlibabaCloud
version: -1
vcShouldKeepItemLegacyProdMachine: false
name: Test-AlibabaCloud
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id: 7d8ac1af-2d1e-4ed9-875c-d3257d2c6830
id: Test-AnsibleHCloud
version: -1
vcShouldKeepItemLegacyProdMachine: false
name: Test-AnsibleHCloud
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id: 67b0f25f-b061-4468-8613-43ab13147173
id: CbP-PlayBook
version: -1
name: CbP-PlayBook
starttaskid: "0"
Expand Down
6 changes: 6 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_14_10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Scripts

##### GridFieldSetup

Updated the Docker image to: *demisto/python3:3.10.13.89009*.
7 changes: 2 additions & 5 deletions Packs/CommonScripts/Scripts/GridFieldSetup/GridFieldSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
from CommonServerPython import * # noqa: F401


from typing import Dict, List


def grid_field_setup(keys: List[str], vals: Dict, res_list: List) -> List[str]:
def grid_field_setup(keys: list[str], vals: dict, res_list: list) -> list[str]:
"""Returns a list of dictionaries based on the key/values provided.
:type keys: ``str``
:type vals: ``dict``
Expand All @@ -29,7 +26,7 @@ def grid_field_setup(keys: List[str], vals: Dict, res_list: List) -> List[str]:
''' COMMAND FUNCTION '''


def grid_field_setup_command(args: Dict[str, str]) -> CommandResults:
def grid_field_setup_command(args: dict[str, str]) -> CommandResults:
keys = argToList(args.pop('keys', []))
overwrite = args.pop('overwrite', False)
gridfield = args.pop('gridfield', None)
Expand Down
4 changes: 2 additions & 2 deletions Packs/CommonScripts/Scripts/GridFieldSetup/GridFieldSetup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ comment: |-
commonfields:
id: GridFieldSetup
version: -1
dockerimage: demisto/python3:3.10.13.83255
dockerimage: demisto/python3:3.10.13.89009
enabled: true
name: GridFieldSetup
runas: DBotWeakRole
Expand All @@ -51,4 +51,4 @@ tags:
type: python
fromversion: 6.5.0
tests:
- GridFieldSetup_test
- No tests
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.14.9",
"currentVersion": "1.14.10",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ script:
script: '-'
type: python
subtype: python3
dockerimage: demisto/vendors-sdk:1.0.0.87491
dockerimage: demisto/vendors-sdk:1.0.0.89427
fromversion: 6.8.0
tests:
- testplaybook- JoeSecuirtyV2
- testplaybook-JoeSecuirtyV2
6 changes: 6 additions & 0 deletions Packs/JoeSecurity/ReleaseNotes/1_1_20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Joe Security v2

Updated the Docker image to: *demisto/vendors-sdk:1.0.0.89427*.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: 07c5b111-3824-46cf-8ce8-6d0d5603ee21
id: testplaybook-JoeSecuirtyV2
version: 41
vcShouldKeepItemLegacyProdMachine: false
name: testplaybook- JoeSecuirtyV2
name: testplaybook-JoeSecuirtyV2
starttaskid: "0"
tasks:
"0":
Expand Down
2 changes: 1 addition & 1 deletion Packs/JoeSecurity/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Joe Security",
"description": "Sandbox Cloud",
"support": "xsoar",
"currentVersion": "1.1.19",
"currentVersion": "1.1.20",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ view: |-
inputs: []
outputs: []
fromversion: 6.5.0
description: Sanity Test - playbook with Unmockable integration
description: Sanity Test - Playbook with Unmockable Whois Integration
Loading

0 comments on commit ccc6c97

Please sign in to comment.