Skip to content
Merged
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
8 changes: 4 additions & 4 deletions client_reference/kosli_assert_pullrequest_gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Outside a supported CI, set `--commit` to a full commit SHA: its `HEAD` default
| `-D`, `--dry-run` | bool | [optional] Run in dry-run mode. When enabled, no data is sent to Kosli and the CLI exits with 0 exit code regardless of any errors. |
| `--gitlab-base-url` | string | [optional] Gitlab base URL (only needed for on-prem Gitlab installations). |
| `--gitlab-org` | string | Gitlab organization. (defaulted if you are running in Gitlab Pipelines: [docs](/integrations/ci_cd) ). |
| `--gitlab-token` | string | Gitlab token. |
| `--gitlab-token` | string | Gitlab token. Needs the read_api scope. |
| `-h`, `--help` | bool | help for gitlab |
| `--repository` | string | Git repository. (defaulted in some CIs: [docs](/integrations/ci_cd) ). |

Expand All @@ -46,9 +46,9 @@ These examples all assume that the flags `--api-token`, `--org`, `--host`, (and

```shell
kosli assert mergerequest gitlab \
--github-token yourGithubToken \
--github-org yourGithubOrg \
--gitlab-token yourGitlabToken \
--gitlab-org yourGitlabOrg \
--commit yourGitCommit \
--repository yourGithubGitRepository
--repository yourGitlabGitRepository
```

14 changes: 7 additions & 7 deletions client_reference/kosli_attest_pullrequest_gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The commit is read from the git repository at `--repo-root`, which must be the r
| `-f`, `--flow` | string | The Kosli flow name. |
| `--gitlab-base-url` | string | [optional] Gitlab base URL (only needed for on-prem Gitlab installations). |
| `--gitlab-org` | string | Gitlab organization. (defaulted if you are running in Gitlab Pipelines: [docs](/integrations/ci_cd) ). |
| `--gitlab-token` | string | Gitlab token. |
| `--gitlab-token` | string | Gitlab token. Needs the read_api scope. |
| `-h`, `--help` | bool | help for gitlab |
| `-n`, `--name` | string | The name of the attestation as declared in the flow or trail yaml template. |
| `-o`, `--origin-url` | string | [optional] The url pointing to where the attestation came from or is related. (defaulted to the CI url in some CIs: [docs](/integrations/ci_cd/#defaulted-kosli-command-flags-from-ci-variables) ). |
Expand Down Expand Up @@ -98,7 +98,7 @@ kosli attest pullrequest gitlab yourDockerImageName
--gitlab-token yourGitlabToken
--gitlab-org yourGitlabOrg
--commit yourArtifactGitCommit
--repository yourGithubGitRepository
--repository yourGitlabGitRepository

```
</Accordion>
Expand All @@ -110,7 +110,7 @@ kosli attest pullrequest gitlab
--gitlab-token yourGitlabToken
--gitlab-org yourGitlabOrg
--commit yourArtifactGitCommit
--repository yourGithubGitRepository
--repository yourGitlabGitRepository

```
</Accordion>
Expand All @@ -121,7 +121,7 @@ kosli attest pullrequest gitlab
--gitlab-token yourGitlabToken
--gitlab-org yourGitlabOrg
--commit yourArtifactGitCommit
--repository yourGithubGitRepository
--repository yourGitlabGitRepository

```
</Accordion>
Expand All @@ -132,7 +132,7 @@ kosli attest pullrequest gitlab
--gitlab-token yourGitlabToken
--gitlab-org yourGitlabOrg
--commit yourArtifactGitCommit
--repository yourGithubGitRepository
--repository yourGitlabGitRepository

```
</Accordion>
Expand All @@ -143,7 +143,7 @@ kosli attest pullrequest gitlab
--gitlab-token yourGitlabToken
--gitlab-org yourGitlabOrg
--commit yourArtifactGitCommit
--repository yourGithubGitRepository
--repository yourGitlabGitRepository
--attachments=yourAttachmentPathName

```
Expand All @@ -155,7 +155,7 @@ kosli attest pullrequest gitlab
--gitlab-token yourGitlabToken
--gitlab-org yourGitlabOrg
--commit yourArtifactGitCommit
--repository yourGithubGitRepository
--repository yourGitlabGitRepository
--assert
```
</Accordion>
Expand Down
4 changes: 2 additions & 2 deletions client_reference/kosli_diff_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ kosli diff snapshots aws-beta aws-prod --output=json
```json
{
"snappish1": {
"snapshot_id": "aws-beta#8849",
"snapshot_id": "aws-beta#8854",
"artifacts": []
},
"snappish2": {
"snapshot_id": "aws-prod#5582",
"snapshot_id": "aws-prod#5588",
"artifacts": []
},
"changed": {
Expand Down
6 changes: 3 additions & 3 deletions client_reference/kosli_get_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ kosli get environment aws-prod --output=json
"name": "aws-prod",
"type": "ECS",
"description": "The ECS cluster for production cyber-dojo",
"last_modified_at": 1794251578.4586816,
"last_reported_at": 1794251578.4586816,
"last_changed_at": 1794213778.5473795,
"last_modified_at": 1794401938.321408,
"last_reported_at": 1794401938.321408,
"last_changed_at": 1794385498.3975194,
"state": true,
"include_scaling": false,
"tags": {
Expand Down
Loading
Loading