-
Notifications
You must be signed in to change notification settings - Fork 25
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
Problem with conflicting rules #41
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a problem that @lukpueh points out in the in-toto/layout-web-tool#49 (comment):
Here is an example of a material rule:
Because we apply both
MATCH
rule andDELETE
rule on the artifact,foo.txt
, the firstMATCH
rule makes the subsequentDELETE
rule moot. However, bothMATCH
rule andDELETE
rule here are meaningful. We needMATCH
rule to guarantee the integrity of artifacts between steps. We also needDELETE
rule to guarantee that deleted artifacts don't appear as products of this step.The text was updated successfully, but these errors were encountered: