forked from p34709852/monkey
Common, Island: remove environment collector from config schema
This commit is contained in:
parent
0b8af5e78f
commit
ab35774d8a
|
@ -1,5 +1,4 @@
|
||||||
AWS_COLLECTOR = "AwsCollector"
|
AWS_COLLECTOR = "AwsCollector"
|
||||||
HOSTNAME_COLLECTOR = "HostnameCollector"
|
HOSTNAME_COLLECTOR = "HostnameCollector"
|
||||||
ENVIRONMENT_COLLECTOR = "EnvironmentCollector"
|
|
||||||
PROCESS_LIST_COLLECTOR = "ProcessListCollector"
|
PROCESS_LIST_COLLECTOR = "ProcessListCollector"
|
||||||
MIMIKATZ_COLLECTOR = "MimikatzCollector"
|
MIMIKATZ_COLLECTOR = "MimikatzCollector"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
from common.common_consts.system_info_collectors_names import (
|
from common.common_consts.system_info_collectors_names import (
|
||||||
AWS_COLLECTOR,
|
AWS_COLLECTOR,
|
||||||
ENVIRONMENT_COLLECTOR,
|
|
||||||
HOSTNAME_COLLECTOR,
|
HOSTNAME_COLLECTOR,
|
||||||
MIMIKATZ_COLLECTOR,
|
MIMIKATZ_COLLECTOR,
|
||||||
PROCESS_LIST_COLLECTOR,
|
PROCESS_LIST_COLLECTOR,
|
||||||
|
@ -11,14 +10,6 @@ SYSTEM_INFO_COLLECTOR_CLASSES = {
|
||||||
"description": "Click on a system info collector to find out what it collects.",
|
"description": "Click on a system info collector to find out what it collects.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"enum": [ENVIRONMENT_COLLECTOR],
|
|
||||||
"title": "Environment Collector",
|
|
||||||
"safe": True,
|
|
||||||
"info": "Collects information about machine's environment (on " "premise/GCP/AWS).",
|
|
||||||
"attack_techniques": ["T1082"],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [MIMIKATZ_COLLECTOR],
|
"enum": [MIMIKATZ_COLLECTOR],
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
from common.common_consts.system_info_collectors_names import (
|
from common.common_consts.system_info_collectors_names import (
|
||||||
AWS_COLLECTOR,
|
AWS_COLLECTOR,
|
||||||
ENVIRONMENT_COLLECTOR,
|
|
||||||
HOSTNAME_COLLECTOR,
|
HOSTNAME_COLLECTOR,
|
||||||
MIMIKATZ_COLLECTOR,
|
MIMIKATZ_COLLECTOR,
|
||||||
PROCESS_LIST_COLLECTOR,
|
PROCESS_LIST_COLLECTOR,
|
||||||
|
@ -88,7 +87,6 @@ MONKEY = {
|
||||||
"uniqueItems": True,
|
"uniqueItems": True,
|
||||||
"items": {"$ref": "#/definitions/system_info_collector_classes"},
|
"items": {"$ref": "#/definitions/system_info_collector_classes"},
|
||||||
"default": [
|
"default": [
|
||||||
ENVIRONMENT_COLLECTOR,
|
|
||||||
AWS_COLLECTOR,
|
AWS_COLLECTOR,
|
||||||
HOSTNAME_COLLECTOR,
|
HOSTNAME_COLLECTOR,
|
||||||
PROCESS_LIST_COLLECTOR,
|
PROCESS_LIST_COLLECTOR,
|
||||||
|
|
Loading…
Reference in New Issue