mirror of https://github.com/MISP/misp-objects
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.
parent
0f6fdee7f3
commit
baae683771
|
@ -14,7 +14,7 @@
|
|||
"sha512/256",
|
||||
"tlsh",
|
||||
"pattern-in-file",
|
||||
"x509-fingerprint-sha1",
|
||||
"certificate",
|
||||
"malware-sample",
|
||||
"attachment",
|
||||
"path",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"requiredOneOf": [
|
||||
"filepath",
|
||||
"file_activity",
|
||||
"file-path",
|
||||
"activityType",
|
||||
"datetime"
|
||||
],
|
||||
"attributes": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"requiredOneOf": [
|
||||
"imported-sample",
|
||||
"type"
|
||||
"format"
|
||||
],
|
||||
"attributes": {
|
||||
"imported-sample": {
|
||||
|
|
|
@ -90,7 +90,6 @@
|
|||
"requiredOneOf": [
|
||||
"kit-url",
|
||||
"reference-link",
|
||||
"kit-name",
|
||||
"kit-hash"
|
||||
"kit-name"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"required": [
|
||||
"source",
|
||||
"type",
|
||||
"event-type",
|
||||
"name"
|
||||
],
|
||||
"attributes": {
|
||||
|
|
Loading…
Reference in New Issue