added gsuite domain configurationitem

This commit is contained in:
strassi 2020-10-29 21:01:34 +01:00
parent cce8357dda
commit 97248f7464
6 changed files with 115 additions and 5 deletions

View File

@ -0,0 +1,75 @@
{
"name": "Gmail",
"version": "0.2",
"author": "David Strassegger, OSCD",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"license": "MIT",
"description": "Move emails from a given domain to trash on Gmail",
"dataTypeList": ["thehive:case_artifact"],
"command": "Gmail/Gmail.py",
"baseConfig": "Gmail",
"config": {
"max_tlp": 2,
"check_tlp": false,
"max_pap": 2,
"check_pap": true
},
"configurationItems": [
{
"name": "thehive_url",
"description": "URL for thehive instance",
"type": "string",
"multi": false,
"required": true
},
{
"name": "thehive_api_key",
"description": "API key for TheHive instance",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_domain",
"description": "Gsuite Domain",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_project_id",
"description": "GCP Project ID",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_private_key_id",
"description": "Service account private key id",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_private_key",
"description": "Service Account private key (PEM Format)",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_client_email",
"description": "Service Account E-Mail address",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_client_id",
"description": "OAuth Client ID",
"type": "string",
"multi": false,
"required": true
}
]
}

View File

@ -1,6 +1,6 @@
{
"name": "Gmail_BlockDomain",
"version": "0.1",
"version": "0.2",
"author": "David Strassegger, OSCD",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"license": "MIT",
@ -30,6 +30,13 @@
"multi": false,
"required": true
},
{
"name": "gmail_domain",
"description": "Gsuite Domain",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_project_id",
"description": "GCP Project ID",

View File

@ -1,6 +1,6 @@
{
"name": "Gmail_BlockSender",
"version": "0.1",
"version": "0.2",
"author": "David Strassegger, OSCD",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"license": "MIT",
@ -30,6 +30,13 @@
"multi": false,
"required": true
},
{
"name": "gmail_domain",
"description": "Gsuite Domain",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_project_id",
"description": "GCP Project ID",

View File

@ -1,6 +1,6 @@
{
"name": "Gmail_DeleteMessage",
"version": "0.1",
"version": "0.2",
"author": "David Strassegger, OSCD",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"license": "MIT",
@ -30,6 +30,13 @@
"multi": false,
"required": true
},
{
"name": "gmail_domain",
"description": "Gsuite Domain",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_project_id",
"description": "GCP Project ID",

View File

@ -1,6 +1,6 @@
{
"name": "Gmail_UnblockDomain",
"version": "0.1",
"version": "0.2",
"author": "David Strassegger, OSCD",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"license": "MIT",
@ -30,6 +30,13 @@
"multi": false,
"required": true
},
{
"name": "gmail_domain",
"description": "Gsuite Domain",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_project_id",
"description": "GCP Project ID",

View File

@ -1,6 +1,6 @@
{
"name": "Gmail_UnblockSender",
"version": "0.1",
"version": "0.2",
"author": "David Strassegger, OSCD",
"url": "https://github.com/TheHive-Project/Cortex-Analyzers",
"license": "MIT",
@ -30,6 +30,13 @@
"multi": false,
"required": true
},
{
"name": "gmail_domain",
"description": "Gsuite Domain",
"type": "string",
"multi": false,
"required": true
},
{
"name": "gmail_project_id",
"description": "GCP Project ID",