Skip to content

Commit

Permalink
Merge branch 'main' into 1122-User-LdapPerson-Asure-AD-support
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelJurka authored Jul 10, 2024
2 parents 7de32c8 + df2e130 commit 1ba0aa9
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Thankyou! -->
6. Added `reg_key` and `reg_value` to `Evidence Artifacts` object. #1078
7. Added `type_id` and associated entity objects to `Managed Entity`. #1094
8. Added `vendor_name`, `type`, `type_id` to object `package`. #1093
9. Added `router`, `ids`, and `ips` entries to `type_id` enum in the `Endpoint` object. #1121
* #### Platform Extensions

### Bugfixes
Expand All @@ -103,6 +104,9 @@ Thankyou! -->
4. New Extension registration for Cisco #1074
5. Cleaned up MITRE trademarks and registrations for captions and descriptions.
6. Declared enums in dictionary.json have sane "0" (Unknown) and "99" (Other) declarations and descriptions where appropriate #1111
7. Adds support for `suppress_checks` controls in attributes to allow tools to automatically validate conventions #1063
* Updated several attributes that do not follow conventions to disable linting for them


## [v1.2.0] - April 23rd, 2024

Expand Down
3 changes: 3 additions & 0 deletions dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"activity_id": {
"caption": "Activity ID",
"description": "The normalized identifier of the activity that triggered the event.",
"suppress_checks": ["sibling_convention"],
"sibling": "activity_name",
"type": "integer_t",
"enum": {
Expand Down Expand Up @@ -3131,6 +3132,7 @@
"opcode_id": {
"caption": "DNS Opcode ID",
"description": "The DNS opcode ID specifies the normalized query message type as defined in <a target='_blank' href='https://www.rfc-editor.org/rfc/rfc5395.html'>RFC-5395</a>.",
"suppress_checks": ["enum_convention"],
"type": "integer_t",
"enum": {
"0": {
Expand Down Expand Up @@ -3876,6 +3878,7 @@
"risk_level_id": {
"caption": "Risk Level ID",
"description": "The normalized risk level id.",
"suppress_checks": ["enum_convention"],
"sibling": "risk_level",
"type": "integer_t",
"enum": {
Expand Down
2 changes: 1 addition & 1 deletion metaschema/attribute.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
}
}
}
}
}
18 changes: 17 additions & 1 deletion metaschema/dictionary-attribute.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,25 @@
"type": "boolean",
"description": "A flag used when the attribute represents an array of values rather than a single value."
},
"suppress_checks": {
"type": "array",
"items": {
"type": "string",
"anyOf": [
{
"const": "enum_convention",
"description": "Suppresses the convention that every Enum type has two common values with integer value 0 for Unknown and 99 for Other."
},
{
"const": "sibling_convention",
"description": "Suppresses the convention that a sibling field for a field that has an _id suffix should be the name with the _id suffix stripped."
}
]
}
},
"observable": {
"$ref": "observable.schema.json"
}
},
"additionalProperties": false
}
}
14 changes: 13 additions & 1 deletion objects/endpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
},
"7": {
"caption": "IOT",
"description": "A <a target='_blank' href='https://www.techtarget.com/iotagenda/definition/IoT-device'>IOT (Internet of Things) device</a>."
"description": "An <a target='_blank' href='https://www.techtarget.com/iotagenda/definition/IoT-device'>IOT (Internet of Things) device</a>."
},
"8": {
"caption": "Browser",
Expand All @@ -111,6 +111,18 @@
"11": {
"caption": "Hub",
"description": "A <a target='_blank' href='https://en.wikipedia.org/wiki/Ethernet_hub'>networking hub</a>."
},
"12": {
"caption": "Router",
"description": "A <a target='_blank' href='https://d3fend.mitre.org/dao/artifact/d3f:Router/'>networking router</a>."
},
"13": {
"caption": "IDS",
"description": "An <a target='_blank' href='https://d3fend.mitre.org/dao/artifact/d3f:IntrusionDetectionSystem/'>intrusion detection system</a>."
},
"14": {
"caption": "IPS",
"description": "An <a target='_blank' href='https://d3fend.mitre.org/dao/artifact/d3f:IntrusionPreventionSystem/'>intrusion prevention system</a>."
}
},
"requirement": "recommended"
Expand Down

0 comments on commit 1ba0aa9

Please sign in to comment.