update the definition files of various object types so that the `required` and `requiredOneOf` lists no longer specify attributes that do not exist in the objects.

pull/178/head
mday 2019-04-30 12:18:08 -05:00
parent 0f6fdee7f3
commit baae683771
5 changed files with 6 additions and 7 deletions

View File

@ -14,7 +14,7 @@
"sha512/256",
"tlsh",
"pattern-in-file",
"x509-fingerprint-sha1",
"certificate",
"malware-sample",
"attachment",
"path",

View File

@ -1,7 +1,7 @@
{
"requiredOneOf": [
"filepath",
"file_activity",
"file-path",
"activityType",
"datetime"
],
"attributes": {

View File

@ -1,7 +1,7 @@
{
"requiredOneOf": [
"imported-sample",
"type"
"format"
],
"attributes": {
"imported-sample": {

View File

@ -90,7 +90,6 @@
"requiredOneOf": [
"kit-url",
"reference-link",
"kit-name",
"kit-hash"
"kit-name"
]
}

View File

@ -1,7 +1,7 @@
{
"required": [
"source",
"type",
"event-type",
"name"
],
"attributes": {