You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider a file named MyOutput.sarif. On opening this file, a consumer could search for MyOutput.files.sarif in order to locate a 'files' table that is associated with MyOutput.sarif.
This approach would prevent the need to have SARIF properties have two types (either a URI or the property itself). We might to consider a mechanism to allow retrieving this content from the web.
Merging this idea with #210, we could also simply consider allowing the 'master' file to include a set of URLs to consult for populating the data rather than inlining the URLs:
@michaelcfanning As we discussed on the phone, this "configuration by convention" is an unnecessary complication. It also burdens consumers to probe for a conventionally named file -- which frequently won't be there -- whenever an optional, "externalizable" property is missing from a log file.
Without the configuration by convention feature, the lookup is the same as in my comment above, but without Step 3.
Consider a file named MyOutput.sarif. On opening this file, a consumer could search for MyOutput.files.sarif in order to locate a 'files' table that is associated with MyOutput.sarif.
This approach would prevent the need to have SARIF properties have two types (either a URI or the property itself). We might to consider a mechanism to allow retrieving this content from the web.
Merging this idea with #210, we could also simply consider allowing the 'master' file to include a set of URLs to consult for populating the data rather than inlining the URLs:
indirectSarifDataSources
{
"files" : [ { "file:///e:/MySarif.files.sarif"}
}
The text was updated successfully, but these errors were encountered: