Skip to content

Commit af25794

Browse files
committed
chore: include provenance table values in new integration test
Signed-off-by: Ben Selwyn-Smith <[email protected]>
1 parent 1880529 commit af25794

File tree

1 file changed

+5
-1
lines changed
  • tests/integration/cases/provenance_available

1 file changed

+5
-1
lines changed

tests/integration/cases/provenance_available/policy.dl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ Policy("test_policy", component_id, "") :-
77
check_passed(component_id, "mcn_provenance_available_1"),
88
provenance_available_check(_, asset_name, asset_url),
99
asset_name = "toga",
10-
asset_url = "https://pypi.org/integrity/toga/0.5.1/toga-0.5.1-py3-none-any.whl/provenance".
10+
asset_url = "https://pypi.org/integrity/toga/0.5.1/toga-0.5.1-py3-none-any.whl/provenance",
11+
provenance(_, component_id, _, slsa_level, _, repo_url, commit_sha, _, asset_name, asset_url, _),
12+
slsa_level = 2,
13+
repo_url = "https://github.com/beeware/toga",
14+
commit_sha = "ef1912b0a1b5c07793f9aa372409f5b9d36f2604".
1115

1216
apply_policy_to("test_policy", component_id) :-
1317
is_component(component_id, "pkg:pypi/[email protected]").

0 commit comments

Comments
 (0)