-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define result taxonomies #314
Comments
Driving scenario: taxonomy: I detect CWE/851 tags are hierarchical |
The TC thinks this proposal makes sense as it stands. But it suggests the possibility of expanding this idea so that the CWE tag references can provide linkage to comprehensive metadata on the related CWE/other classification. It would be helpful to review this broader issue. Please review #3 and take look. |
Let's commit to having this closed by TC#32. |
We propose to create a set of reporting descriptors at the sarif log level 'taxonomies'. The tags associated with a result or a rule would be an array of objects that locate data in the taxonomies array. Each item would consist of an id and an index into the taxonomies data, if it exists. The array index would be optional, so that users could simply mark items with the readable id. |
TC accepts this change. |
EBALLOT PROPOSAL: provide a mechanism for persisting arbitrary categorization (i.e., 'taxonomies') metadata to log files. Rules and notifications can describe all tags that are consistently and/or optionally reported by each. API IMPACT
NOTES
|
The design for result and reportingDescriptor is good, but I think how the taxonomy data is stored needs changes that are going to be discuss soon with Michael and Larry. I also think that the toolComponent should declare the taxonomies that it uses. |
Per offline discussion, result.ruleExtensionIndex s/be renamed to ruleComponent, the type of which is a componentIdentity. |
E-BALLOT #3 PROPOSALRepresent standard taxonomies by reusing the existing Allow tool components to define their own custom taxonomies by including SCHEMA CHANGES
NOTE: Unlike in the previous proposal, it is not necessary to explicitly declare "taxonomies" as externalizable, since they are |
Approved in e-ballot-3 (as modified by #338). |
No description provided.
The text was updated successfully, but these errors were encountered: