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", "sha512/256",
"tlsh", "tlsh",
"pattern-in-file", "pattern-in-file",
"x509-fingerprint-sha1", "certificate",
"malware-sample", "malware-sample",
"attachment", "attachment",
"path", "path",

View File

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

View File

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

View File

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

View File

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