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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define a reportingDescriptorReference object #324
Comments
|
introducing a microlanguage where the value of the DescriptorReference determines what the relative URI is relative to unnecessarily complicates things. Just use a prefix of ../.. to get to the tool object. |
|
I think eliminating the pointer all together, along with changing the descriptor arrays to an object with the keys being an the guid for the notification would be a better design. Then you just lookup the id in the driver and extensions for a match. |
|
Based on Jim's feedback, we propose to rework the reportingDescriptorReference as follows:
Notes:
|
|
Closing this issue. We will accept changes to this type in context of the open taxonomies proposal (where it is utilized). #314 |
|
Reopening, as other proposals don't clearly/comprehensively update the `reportingDescriptorReference' type. |
E-BALLOT #3 PROPOSALDefine a SCHEMA CHANGES
|
|
Approved in e-ballot-3. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

EBALLOT PROPOSAL. Define a reporting descriptor reference object that allows notifications to point into reporting metadata that may be persisted to the driver or any of its extensions or to the new taxonomies metadata.
API IMPACT
Schema only PR: microsoft/sarif-sdk#1316
reportingDescriptorReferencetype with these properties.idof typestring: a notification identifierpointerof typestring: a JSON pointer that locates the descriptor for the notification with that identifier.reportingConfigurationOverrideobject:notificationIndex,ruleIndex, andextensionIndexproperties.reportingDescriptorReferenceproperty of typereportingDescriptorReference, which specifies thereportingDescriptorwhose configuration is being overridden.notificationobject:idproperty.notificationDescriptorReferenceproperty of typereportingDescriptorReference.ruleIdandruleIndexproperties.associatedRuleDescriptorReferenceproperty of typereportingDescriptorReference, which locates the descriptor for the rule, if any, with which this notification is associated.invocationobject:reportingConfigurationOverrides(which was defined to hold overrides for both rules and notifications) with separate propertiesruleConfigurationOverridesandnotificationConfigurationOverrides.resultobjectruleIndexandextensionIndexproperties.rulePointerproperty of typestring, containing a JSON pointer that locates the rule descriptor.EXAMPLE
NOTES
ruleDescriptorsarray ornotificationDescriptorsarray, as appropriate. That is, ifnotification.notificationDescriptorReferenceis"driver/notificationDescriptors/42", it can be abbreviated to"42", and ifnotification.associatedRuleDescriptorReferenceis"driver/ruleDescriptors/54", it can be abbreviated to"54".We do not replace
result.ruleIdandresult.rulePointerwith areportingDescriptorReferencein order to minimize churn in SARIF pre-release v2 producers.taxonomieswill also use this mechanism. That is covered in Define result taxonomies聽#314.The text was updated successfully, but these errors were encountered: