Skip to content

Commit

Permalink
#1110 fix json files and schema checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Oct 20, 2022
1 parent e6e2024 commit 2440f7e
Show file tree
Hide file tree
Showing 29 changed files with 33 additions and 34 deletions.
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_domain_fqdn.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_Domain_FQDN",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["domain", "fqdn"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_file_filename.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_File_Filename",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["file", "filename"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_hash.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_Hash",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["hash"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_ip.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_IP",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["ip"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_mail_email.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_Mail_Email",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["mail", "email"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_mail_subject.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_Mail_Subject",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["mail_subject"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_other.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_Other",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["other"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_registry.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_Registry",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["registry"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_url_uri_path.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_URL_URI_Path",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["url", "uri_path"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_user.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_User",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["other"],
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Splunk/Splunk_Search_user_agent.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Splunk_Search_User_Agent",
"version": "3.0",
"url": "",
"url": "https://www.splunk.com",
"author": "Unit777, LetMeR00t",
"license": "AGPL-V3",
"dataTypeList": ["user-agent"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_external_IP_address",
"version": "2.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block external IP address",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_external_domain",
"version": "2.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block external domain",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_external_user",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block external user",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_internal_IP_address",
"version": "2.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block internal IP address",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_internal_domain",
"version": "2.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block internal domain",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_internal_user",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block internal user",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_port_for_external_communication",
"version": "2.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block external port communication",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_block_port_for_internal_communication",
"version": "2.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Block internal port communication",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_external_IP_address",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock external ip",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_external_domain",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock external domain",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_external_user",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock external user",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_internal_IP_address",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock internal ip",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_internal_domain",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock internal domain",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_internal_user",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock internal user",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_port_for_external_communication",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock external port communication",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PaloAltoNGFW_unblock_port_for_internal_communication",
"version": "1.0.0",
"author": "Maxim Konakin, OSCD Initiative",
"url": "",
"url": "https://www.paloaltonetworks.com/",
"license": "AGPL-V3",
"description": "Unblock internal port communication",
"dataTypeList": ["thehive:alert","thehive:case_artifact","thehive:case"],
Expand Down
3 changes: 2 additions & 1 deletion responders/SentinelOne/SentinelOne_HashBlacklister.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"description": "OS type, must be one of the following: macos, windows, linux, or windows_legacy. Default is windows",
"type": "string",
"multi": false,
"default": "windows"
"default": "windows",
"required": false
}
]
}
10 changes: 4 additions & 6 deletions utils/flavors/flavor_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"pattern": "^[^\\s]*$"
},
"version": {
"type": "string"
Expand Down Expand Up @@ -83,9 +84,7 @@
"description",
"dataTypeList",
"command",
"baseConfig",
"registration_required",
"subscription_required"
"baseConfig"
],
"definition": {
"configurationItem": {
Expand Down Expand Up @@ -124,8 +123,7 @@
}
},
"required": [
"path",
"caption"
"path"
]
}
}
Expand Down

0 comments on commit 2440f7e

Please sign in to comment.