generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix integration tests and improve check tree display in the HT…
…ML report
- Loading branch information
Showing
4 changed files
with
67 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"metadata": { | ||
"timestamps": "2024-02-10 12:49:17", | ||
"timestamps": "2024-02-11 15:51:21", | ||
"has_passing_check": true, | ||
"run_checks": [ | ||
"mcn_infer_artifact_pipeline_1", | ||
"mcn_trusted_builder_level_three_1", | ||
"mcn_build_as_code_1", | ||
"mcn_version_control_system_1", | ||
"mcn_build_service_1", | ||
"mcn_build_script_1", | ||
"mcn_build_as_code_1" | ||
"mcn_trusted_builder_level_three_1" | ||
], | ||
"check_tree": { | ||
"mcn_version_control_system_1": { | ||
|
@@ -30,12 +30,12 @@ | |
}, | ||
"target": { | ||
"info": { | ||
"full_name": "pkg:github.com/slsa-framework/slsa-verifier@fc50b662fcfeeeb0e97243554b47d9b20b14efac", | ||
"local_cloned_path": "git_repos/github_com/slsa-framework/slsa-verifier", | ||
"remote_path": "https://github.com/slsa-framework/slsa-verifier", | ||
"branch": "main", | ||
"commit_hash": "fc50b662fcfeeeb0e97243554b47d9b20b14efac", | ||
"commit_date": "2022-10-04T01:00:02+00:00" | ||
"full_name": "pkg:github.com/micronaut-projects/micronaut-test@7679d10b4073a3b842b6c56877c35fa8cd10acff", | ||
"local_cloned_path": "git_repos/github_com/micronaut-projects/micronaut-test", | ||
"remote_path": "https://github.com/micronaut-projects/micronaut-test", | ||
"branch": null, | ||
"commit_hash": "7679d10b4073a3b842b6c56877c35fa8cd10acff", | ||
"commit_date": "2023-11-07T06:43:31+01:00" | ||
}, | ||
"provenances": { | ||
"is_inferred": true, | ||
|
@@ -47,23 +47,23 @@ | |
"predicateType": "https://slsa.dev/provenance/v0.2", | ||
"predicate": { | ||
"builder": { | ||
"id": "slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.2.0" | ||
"id": "https://github.com/micronaut-projects/micronaut-test/blob/7679d10b4073a3b842b6c56877c35fa8cd10acff/.github/workflows/gradle.yml" | ||
}, | ||
"buildType": "Trusted github_actions", | ||
"buildType": "Custom github_actions", | ||
"invocation": { | ||
"configSource": { | ||
"uri": "https://github.com/slsa-framework/slsa-verifier@refs/heads/main", | ||
"uri": "https://github.com/micronaut-projects/micronaut-test@refs/heads/None", | ||
"digest": { | ||
"sha1": "fc50b662fcfeeeb0e97243554b47d9b20b14efac" | ||
"sha1": "7679d10b4073a3b842b6c56877c35fa8cd10acff" | ||
}, | ||
"entryPoint": "https://github.com/slsa-framework/slsa-verifier/blob/fc50b662fcfeeeb0e97243554b47d9b20b14efac/.github/workflows/release.yml" | ||
"entryPoint": "https://github.com/micronaut-projects/micronaut-test/blob/7679d10b4073a3b842b6c56877c35fa8cd10acff/.github/workflows/gradle.yml" | ||
}, | ||
"parameters": {}, | ||
"environment": {} | ||
}, | ||
"buildConfig": { | ||
"jobID": "<STRING>", | ||
"stepID": "<STRING>" | ||
"jobID": "build", | ||
"stepID": "\ud83d\udce6 Publish to Sonatype Snapshots" | ||
}, | ||
"metadata": { | ||
"buildInvocationId": "", | ||
|
@@ -85,14 +85,14 @@ | |
} | ||
} | ||
], | ||
"npm Registry": [] | ||
"Maven Central Registry": [] | ||
} | ||
}, | ||
"checks": { | ||
"summary": { | ||
"DISABLED": 0, | ||
"FAILED": 1, | ||
"PASSED": 5, | ||
"FAILED": 2, | ||
"PASSED": 4, | ||
"SKIPPED": 0, | ||
"UNKNOWN": 0 | ||
}, | ||
|
@@ -104,7 +104,12 @@ | |
"Build as code - SLSA Level 3" | ||
], | ||
"justification": [ | ||
"Check mcn_build_as_code_1 is set to PASSED because mcn_trusted_builder_level_three_1 PASSED." | ||
{ | ||
"The target repository uses build tool gradle to deploy": "https://github.com/micronaut-projects/micronaut-test/blob/7679d10b4073a3b842b6c56877c35fa8cd10acff/.github/workflows/gradle.yml", | ||
"The build is triggered by": "https://github.com/micronaut-projects/micronaut-test/blob/7679d10b4073a3b842b6c56877c35fa8cd10acff/.github/workflows/gradle.yml" | ||
}, | ||
"Deploy command: ['./gradlew', 'publishToSonatype', 'docs', '--no-daemon']", | ||
"However, could not find a passing workflow run." | ||
], | ||
"result_type": "PASSED" | ||
}, | ||
|
@@ -130,23 +135,6 @@ | |
], | ||
"result_type": "PASSED" | ||
}, | ||
{ | ||
"check_id": "mcn_trusted_builder_level_three_1", | ||
"check_description": "Check whether the target uses a trusted SLSA level 3 builder.", | ||
"slsa_requirements": [ | ||
"Hermetic - SLSA Level 4", | ||
"Isolated - SLSA Level 3", | ||
"Parameterless - SLSA Level 4", | ||
"Ephemeral environment - SLSA Level 3" | ||
], | ||
"justification": [ | ||
{ | ||
"Found trusted builder GitHub Actions: slsa-framework/slsa-github-generator/.github/workflows/[email protected] triggered by": "https://github.com/slsa-framework/slsa-verifier/blob/fc50b662fcfeeeb0e97243554b47d9b20b14efac/.github/workflows/release.yml" | ||
}, | ||
"However, could not find a passing workflow run." | ||
], | ||
"result_type": "PASSED" | ||
}, | ||
{ | ||
"check_id": "mcn_version_control_system_1", | ||
"check_description": "Check whether the target repo uses a version control system.", | ||
|
@@ -155,7 +143,7 @@ | |
], | ||
"justification": [ | ||
{ | ||
"This is a Git repository": "https://github.com/slsa-framework/slsa-verifier" | ||
"This is a Git repository": "https://github.com/micronaut-projects/micronaut-test" | ||
} | ||
], | ||
"result_type": "PASSED" | ||
|
@@ -170,6 +158,20 @@ | |
"Unable to find a publishing timestamp for the artifact." | ||
], | ||
"result_type": "FAILED" | ||
}, | ||
{ | ||
"check_id": "mcn_trusted_builder_level_three_1", | ||
"check_description": "Check whether the target uses a trusted SLSA level 3 builder.", | ||
"slsa_requirements": [ | ||
"Hermetic - SLSA Level 4", | ||
"Isolated - SLSA Level 3", | ||
"Parameterless - SLSA Level 4", | ||
"Ephemeral environment - SLSA Level 3" | ||
], | ||
"justification": [ | ||
"Could not find a trusted level 3 builder as a GitHub Actions workflow." | ||
], | ||
"result_type": "FAILED" | ||
} | ||
] | ||
} | ||
|