Allow the artifactIndex property to be absent when the artifactLocation is within an artifact #363
Labels
2.1.0-CSD.1
Will be fixed in SARIF v2.1.0 CSD.1.
bug
impact-non-breaking-change
merged
Changes merged into provisional draft.
resolved-fixed
Regarding the
artifactIndex
property of theartifactLocation
object, the spec (section 3.4.5 on the eballot 3 draft) currently says:However, the
artifactLocation
is also used in theartifact
object itself, where it would seem we should be able to omit theartifactIndex
, as it is not required for lookup. In fact, the example in theartifactIndex
section omits theartifactIndex
in this way.We could prohibit the use of
artifactIndex
inartifactLocation
s inartifact
all together, but I think it might be useful to optionally allow it. This is because it would allow the use of the same in memory object forartifactLocation
s in both theartifact
and places that reference the artifact.The text was updated successfully, but these errors were encountered: