Commit 92e9032
authored
docs: update provenance tutorial (#1110)
This PR updates the npm provenance discovery tutorial to include the newer discovery methods: PyPI and GitHub. The tutorial is updated to provide examples of provenance discovery for PyPI and GitHub using the toga PyPI library, which has provenance of either type available for discovery depending on the exact version specified. For GitHub attestation, a small code update is included to allow the repository URL and commit digest to be found from provenance. Also, the verify-provenance command line argument has been removed, making this action occur by default once again.
Signed-off-by: Ben Selwyn-Smith <[email protected]>1 parent 8df2f50 commit 92e9032
File tree
38 files changed
+769
-541
lines changed- docs/source
- _static/images
- pages/tutorials
- src/macaron
- config
- malware_analyzer/pypi_heuristics/sourcecode
- provenance
- slsa_analyzer
- git_service
- package_registry
- provenance
- tests/integration/cases
- django_with_dep_resolution_virtual_env_as_input
- micronaut-projects_micronaut-test
- ossf_scorecard
- semver
- sigstore_mock
- tutorial_npm_verify_provenance_semver
- tutorial_toga_provenance
- urllib3_expectation_dir
- urllib3_expectation_file
- urllib3_invalid_expectation
38 files changed
+769
-541
lines changedLoading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
This file was deleted.
0 commit comments