Merge pull request #178 from mtday/fix-missing-required-attribute

Fix Missing Required Attributes
pull/179/head
Alexandre Dulaunoy 2019-04-30 21:27:39 +02:00 committed by GitHub
commit 3c5035a61f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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": {