You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Invocation`: Identifies the event that kicked off the build. This describes the workflow run and includes GitHub workflow event information, entrypoint, and parameters from trigger events.
16
+
`Invocation.configSource`: This describes the calling workflow's source and the entrypoint of the build.
`Invocation.parameters`: This describes any parameters from trigger events.
27
+
28
+
`Invocation.environment`: This describes the GitHub workflow builder-controlled environment variables, including the event information, required to reproduce the build. See `github` content [documentation](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context) for more information.
|`github_event_name`|`workflow_dispatch`, `schedule`, `push`, etc | Name of the [event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#available-events) that initiated the workflow run. |
34
+
|`github_event_payload`|`"{"inputs": null, "repository": { ... }}"`| The full [event payload](https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads), including workflow inputs and repository information. |
35
+
|`github_ref_type`|`"branch"`| The type of ref that triggered the workflow run. |
36
+
|`github_ref`|`"refs/heads/main"`| The ref that triggered the workflow run. |
37
+
|`github_base_ref`|`"feat/feat-branch"`| The ref or source branch of the pull request in a workflow run. Only populated on pull requests. |
38
+
|`github_head_ref`|`"feat/feat-branch"`| The is ref or source branch of the pull request in a workflow run. |
39
+
|`github_actor`|`"laurentsimon"`| The username of the user that initiated the workflow run. |
40
+
|`github_sha1`|`"b54fb2ec8807a93b58d5f298b7e6b785ea7078bb"`| The is the commit SHA that triggered the workflow run. |
41
+
|`github_repository_owner`|`"slsa-framework"`| The owner of the repository. |
42
+
|`github_repository_id`|`"8923542"`| The is the unique ID of the repository. |
43
+
|`github_actor_id`|`"973615"`| The is the unique ID of the actor that triggered the workflow run. |
44
+
|`github_repository_owner_id`|`"123456"`| The is the unique ID of the owner of the repository. |
45
+
|`github_run_attempt`|`"1"`| The is run attempt of the workflow run. |
46
+
|`github_run_id`|`"2436960022"`| The is the run ID for the workflow run. |
47
+
|`github_run_number`|`"32"`| The is the run number of the workflow run. |
`Invocation`: Identifies the event that kicked off the build. This describes the workflow run and includes GitHub workflow event information, entrypoint, and parameters from trigger events.
53
-
`Invocation.configSource`: This describes the calling workflow's source and the entrypoint of the build.
`Invocation.parameters`: This describes any parameters from trigger events.
64
-
65
-
`Invocation.environment`: This describes the GitHub workflow builder-controlled environment variables, including the event information, required to reproduce the build. See `github` content [documentation](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context) for more information.
|`github_event_name`|`workflow_dispatch`| Name of the [event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#available-events) that initiated the workflow run. |
71
-
|`github_event_payload`|`"{"inputs": null,"ref": "refs/heads/main", "repository": { ... }}"`| The full event payload, including workflow inputs and repository information. |
72
-
|`github_ref_type`|`"branch"`| The type of ref that triggered the workflow run. |
73
-
|`github_ref`|`"refs/pull/169/merge"`| The ref that triggered the workflow run. |
74
-
|`github_base_ref`|`"feat/feat-branch"`| The ref or source branch of the pull request in a workflow run. Only populated on pull requests. |
75
-
|`github_head_ref`|`"feat/feat-branch"`| The is ref or source branch of the pull request in a workflow run. |
76
-
|`github_actor`|`"laurentsimon"`| The username of the user that initiated the workflow run. |
77
-
|`github_sha1`|`"b54fb2ec8807a93b58d5f298b7e6b785ea7078bb"`| The is the commit SHA that triggered the workflow run. |
78
-
|`github_repository_owner`|`"slsa-framework"`| The owner of the repository. |
79
-
|`github_repository_id`|`"8923542"`| The is the unique ID of the repository. |
80
-
|`github_actor_id`|`"branch"`| The is the unique ID of the actor that triggered the workflow run. |
81
-
|`github_repository_owner_id`|`"123456"`| The is the unique ID of the owner of the repository. |
82
-
|`github_run_attempt`|`"1"`| The is run attempt of the workflow run. |
83
-
|`github_run_id`|`"2436960022"`| The is the run ID for the workflow run. |
84
-
|`github_run_number`|`"32"`| The is the run number of the workflow run. |
`BuildConfig`: This contains information on the steps of the build. The default is nil, specific builders implement their own. See [BuildConfig Format](https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/go/README.md#buildconfig-format) in the Golang builder for an example.
111
-
112
-
`Materials`: List of materials that influenced the build, including the repository that triggered the GitHub Actions workflow.
expected branch the binary was compiled from (default "main")
294
-
-provenance string
295
-
path to a provenance file
296
-
-source string
297
-
expected source repository that should have produced the binary, e.g. github.com/some/repo
298
-
-tag string
299
-
[optional] expected tag the binary was compiled from
300
-
-versioned-tag string
301
-
[optional] expected version the binary was compiled from. Uses semantic version to match the tag
302
-
```
291
+
The inputs of the verifier are described in [slsa-framework/slsa-verifier#available-options](https://github.com/slsa-framework/slsa-verifier#available-options).
303
292
304
293
### Command line examples
305
294
306
-
```shell
307
-
$ go run . --binary ~/Downloads/binary-linux-amd64 --provenance ~/Downloads/binary-linux-amd64.intoto.jsonl --source github.com/origin/repo
0 commit comments