Skip to content
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

docs: update witness repo links #560

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:keywords: CI/CD, SLSA, supply-chain security

.. References/links
.. _Witness: https://github.com/testifysec/witness
.. _Witness: https://github.com/in-toto/witness
.. _SLSA: https://slsa.dev

=====================
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/supported_technologies/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Provenances
* `SLSA provenance version 0.2 <https://slsa.dev/spec/v0.2/provenance>`_.
* The provenance should be published as a GitHub release asset
- :doc:`page </pages/supported_technologies/jfrog>`
* - `Witness <https://github.com/testifysec/witness>`_
* - `Witness <https://github.com/in-toto/witness>`_
-
* Witness provenance version 0.1
* Projects built with Gradle on GitLab CI
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/tutorials/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

.. References/links
.. _Witness: https://github.com/testifysec/witness
.. _Witness: https://github.com/in-toto/witness
.. _SLSA: https://slsa.dev


Expand Down
2 changes: 1 addition & 1 deletion src/macaron/config/defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ max_download_size = 70000000
# This is the timeout (in seconds) to run the SLSA verifier.
timeout = 120

# Witness provenance. See: https://github.com/testifysec/witness.
# Witness provenance. See: https://github.com/in-toto/witness.
[provenance.witness]
# The allowed values of the `predicateType` field in the provenance (data type: list).
# For more details, see:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2023 - 2023, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

"""This check examines a witness provenance (https://github.com/testifysec/witness)."""
"""This check examines a witness provenance (https://github.com/in-toto/witness)."""

import logging

Expand Down Expand Up @@ -95,7 +95,7 @@ class ProvenanceWitnessL1Table(CheckFacts, ORMBase):


class ProvenanceWitnessL1Check(BaseCheck):
"""This check examines a Witness provenance (https://github.com/testifysec/witness).
"""This check examines a Witness provenance (https://github.com/in-toto/witness).

At the moment, we are only checking the actual digests of the artifacts
against the digests in the provenance.
Expand Down
2 changes: 1 addition & 1 deletion src/macaron/slsa_analyzer/provenance/witness/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2023 - 2023, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

"""Witness provenance (https://github.com/testifysec/witness)."""
"""Witness provenance (https://github.com/in-toto/witness)."""

import logging
from typing import NamedTuple
Expand Down
2 changes: 1 addition & 1 deletion src/macaron/slsa_analyzer/provenance/witness/attestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class GitLabWitnessAttestor:
"""Witness attestor for GitLab.

In the payload of a witness provenance, each subject corresponds to an attestor.
Docs: https://github.com/testifysec/witness/blob/main/docs/attestors/gitlab.md
Docs: https://github.com/in-toto/witness/blob/main/docs/attestors/gitlab.md
"""

def extract_repo_url(self, payload: InTotoPayload) -> str | None:
Expand Down
Loading