Replies: 1 comment
-
enums can be text, or names, along with captions; do we need all three? It would force us to fill in all the existing enums, many won’t need short names. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussion 243 addresses how to represent enumerated values as data in transit and storage. Keith refers to the "verbosity" discussion and the fact that it is not yet resolved.
This poll does not affect data values within OCSF, it concerns translation of external enumerations to the OCSF framework. It proposes adding a name to all OCSF enumerated item definitions to support robust translation between external environments and OCSF. This proposal enables OCSF to support both verbose and machine-optimized data without affecting any decision on which to use in a particular situation.
DEFINITIONS:
But Understanding OCSF uses name and caption interchangeably:
This conflicts with the actual definition of Category, which has explicit id, name, and caption values, not "friendly name captions":
The current framework enumerations have only id and "friendly name labels" (caption), but no name:
PROPOSAL
Update all framework enumerations to have id, name and caption values, e.g.:
RATIONALE
Many existing authorities maintain enumeration registries, including:
The purpose of adding a name value to OCSF enumerations is to facilitate unambiguous translation to external enumerations. For example, ICANN registers top-level DNS domains by name (two-letter ISO 3166 country code) and caption (full country name), but does not define any numeric ID and thus cannot be used in OCSF enumerations without a name field.
Similarly, the MITRE ATT&CK framework does not explicitly assign numeric Tactic and Technique IDs, although their name strings contain numbers from which id numbers could in principle be derived. If OCSF enumerations explicitly define a name value, that theoretical mapping becomes explicit, enabling OCSF enumerations to be defined and obviating the need for hand-waving user instructions like "The a list [sic] of tactic ID's that are associated with the attack technique, as defined by https://attack.mitre.org/wiki/ATT&CK_Matrix". Is a "tactic ID" in this sentence a numeric id, an alphanumeric name string, or a friendly caption string?
The port id to name mapping is well-defined and well-known, unlike the id to caption mapping (is it "Simple Mail Transfer", or "Simple Mail Transfer Protocol"? Defining a name value in OCSF enumerations aligns it with common practice and facilitates translating string unique identifiers in data sources like log files to OCSF numeric ids.
6 votes ·
Beta Was this translation helpful? Give feedback.
All reactions