-
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
Localization and policies #338
Comments
Allow the following optional properties:
|
Microsoft post-ballot recommendation
|
* first cut of the schema changes * undo typo * fixing spacing issue in toolcomponent * space alignment * new localization mechanism * updating md file * post merger manual fixes * cleanup + typo fix * rc++++
E-BALLOT #3 PROPOSALWe introduce a new localization mechanism that allows a log file to include translations into multiple languages. We overload the Rather than having all these different kinds of tool components exist in a single, flat list in We take the opportunity to introduce one more type of tool component, the "post-processing configuration override". The scenario here is that you've run a tool and produced a log file, relying on the tool's default set of rule severities (possibly modified with command line switches). But now you need to view the results through the lens of compliance with some corporate policy, which might (for example) require you to treat as errors certain conditions that the tool classifies as warnings. To accomplish this, a post-processing tool can introduce into the log file a Finally, we simplify some property names, for example, SCHEMA CHANGES
|
Approved in e-ballot-3. |
EBALLOT PROPOSAL
Introduce a new localization mechanism that meets the following requirements:
sarifLog.inlineExternalPropertyFiles
property, should Provide mechanism for inlining externalized properties data into the root log #321 be approved).API IMPACT
toolComponent
object:guid
property of typestring
in GUID format.reportingDescriptor
object:guid
property of typestring
in GUID format.run
object:translations
property of type array oftranslation
objects, which can be externalized.translation
object with the following properties:language
of type string in ISO 639 format, e.g.,"en-US"
.toolComponentTranslations
of type array oftoolComponentTranslation
objects.toolComponentTranslation
object with the following properties:toolComponentGuid
of type string in GUID format: matchestoolComponent.guid
.location
of typeartifactLocation
: where the translation can be obtained.semanticVersion
of typestring
: the semantic version of the tool component for which the translation was made.partialTranslation
of typebool
:true
if this object contains a subset of the strings defined by the tool component.globalMessageStrings
of typeobject
withmultiformatMessageString
-valued properties: its property names are a subset of the names intoolComponent.globalMessageStrings
.reportingDescriptors
of type array ofreportingDescriptorTranslation
objects.notificationDescriptors
of type array ofreportingDescriptorTranslation
objects.reportingDescriptorTranslation
object with the following properties:id
of typestring
: matchesreportingDescriptor.id
.guid
of typestring
in GUID format: matchesreportingDescriptor.guid
.shortDescription
of typemultiformatMessageString
.fullDescription
of typemultiformatMessageString
.messageStrings
of type object withmultiformatMessageString
-valued properties: its property names are a subset of the names inreportingDescriptor.messageStrings
.NOTES
SAMPLE SARIF
The text was updated successfully, but these errors were encountered: