-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #342 from demisto/price-tag-fix
Removed validation for price in pack metadata
- Loading branch information
Showing
8 changed files
with
186 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
demisto_sdk/tests/test_files/pack_metadata_empty_category.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "AWS Feed", | ||
"description": "Indicators feed from AWS", | ||
"support": "Cortex XSOAR", | ||
"serverMinVersion": "5.5.0", | ||
"currentVersion": "1.0.0", | ||
"author": "Cortex XSOAR", | ||
"url": "https://www.paloaltonetworks.com/cortex", | ||
"email": "", | ||
"categories": [""], | ||
"tags": [], | ||
"created": "2020-03-09T16:04:45Z", | ||
"beta": false, | ||
"deprecated": false, | ||
"certification": "certified", | ||
"useCases": [], | ||
"keywords": ["AWS", "Feed"], | ||
"price": 0, | ||
"dependencies": { | ||
"Base": { | ||
"mandatory": true, | ||
"minVersion": "1.0.0", | ||
"name": "Base", | ||
"certification": "certified", | ||
"author": "Cortex XSOAR" | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
demisto_sdk/tests/test_files/pack_metadata_invalid_dependencies.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "AWS Feed", | ||
"description": "Indicators feed from AWS", | ||
"support": "Cortex XSOAR", | ||
"serverMinVersion": "5.5.0", | ||
"currentVersion": "1.0.0", | ||
"author": "Cortex XSOAR", | ||
"url": "https://www.paloaltonetworks.com/cortex", | ||
"email": "", | ||
"categories": [ | ||
"Data Enrichment & Threat Intelligence" | ||
], | ||
"tags": [""], | ||
"created": "2020-03-09T16:04:45Z", | ||
"beta": false, | ||
"deprecated": false, | ||
"certification": "certified", | ||
"useCases": [], | ||
"keywords": ["AWS", "Feed", "test"], | ||
"price": 0, | ||
"dependencies": { | ||
"Base": { | ||
"mandatory": true, | ||
"minVersion": "1.0.0", | ||
"name": "Base", | ||
"certification": "certified" | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
demisto_sdk/tests/test_files/pack_metadata_invalid_keywords.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "AWS Feed", | ||
"description": "Indicators feed from AWS", | ||
"support": "Cortex XSOAR", | ||
"serverMinVersion": "5.5.0", | ||
"currentVersion": "1.0.0", | ||
"author": "Cortex XSOAR", | ||
"url": "https://www.paloaltonetworks.com/cortex", | ||
"email": "", | ||
"categories": [ | ||
"Data Enrichment & Threat Intelligence" | ||
], | ||
"tags": [], | ||
"created": "2020-03-09T16:04:45Z", | ||
"beta": false, | ||
"deprecated": false, | ||
"certification": "certified", | ||
"useCases": [], | ||
"keywords": [""], | ||
"price": 0, | ||
"dependencies": { | ||
"Base": { | ||
"mandatory": true, | ||
"minVersion": "1.0.0", | ||
"name": "Base", | ||
"certification": "certified", | ||
"author": "Cortex XSOAR" | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
demisto_sdk/tests/test_files/pack_metadata_list_dependencies.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "AWS Feed", | ||
"description": "Indicators feed from AWS", | ||
"support": "Cortex XSOAR", | ||
"serverMinVersion": "5.5.0", | ||
"currentVersion": "1.0.0", | ||
"author": "Cortex XSOAR", | ||
"url": "https://www.paloaltonetworks.com/cortex", | ||
"email": "", | ||
"categories": [ | ||
"Data Enrichment & Threat Intelligence" | ||
], | ||
"tags": [], | ||
"created": "2020-03-09T16:04:45Z", | ||
"beta": false, | ||
"deprecated": false, | ||
"certification": "certified", | ||
"useCases": [], | ||
"keywords": ["AWS", "Feed"], | ||
"price": 0, | ||
"dependencies": [{ | ||
"Base": { | ||
"mandatory": true, | ||
"minVersion": "1.0.0", | ||
"name": "Base", | ||
"certification": "certified", | ||
"author": "Cortex XSOAR" | ||
} | ||
}] | ||
} |