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",
|
"sha512/256",
|
||||||
"tlsh",
|
"tlsh",
|
||||||
"pattern-in-file",
|
"pattern-in-file",
|
||||||
"x509-fingerprint-sha1",
|
"certificate",
|
||||||
"malware-sample",
|
"malware-sample",
|
||||||
"attachment",
|
"attachment",
|
||||||
"path",
|
"path",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"requiredOneOf": [
|
"requiredOneOf": [
|
||||||
"filepath",
|
"file-path",
|
||||||
"file_activity",
|
"activityType",
|
||||||
"datetime"
|
"datetime"
|
||||||
],
|
],
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"requiredOneOf": [
|
"requiredOneOf": [
|
||||||
"imported-sample",
|
"imported-sample",
|
||||||
"type"
|
"format"
|
||||||
],
|
],
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"imported-sample": {
|
"imported-sample": {
|
||||||
|
|
|
@ -90,7 +90,6 @@
|
||||||
"requiredOneOf": [
|
"requiredOneOf": [
|
||||||
"kit-url",
|
"kit-url",
|
||||||
"reference-link",
|
"reference-link",
|
||||||
"kit-name",
|
"kit-name"
|
||||||
"kit-hash"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"required": [
|
"required": [
|
||||||
"source",
|
"source",
|
||||||
"type",
|
"event-type",
|
||||||
"name"
|
"name"
|
||||||
],
|
],
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
|
Loading…
Reference in New Issue