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
2 changes: 1 addition & 1 deletion client_reference/kosli.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Setting the API token to DRY_RUN sets the --dry-run flag.
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-h`, `--help` | bool | help for kosli |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_allow_artifact.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ To drop the file from the fingerprint safely, move its entries to `--exclude` an
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_archive_attestation-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ New custom attestations using this type cannot be made, but existing attestation
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_archive_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ via `kosli list controls --archived`, and can be restored with `kosli unarchive
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_archive_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The environment will no longer be visible in list of environments, data is still
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_archive_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The flow will no longer be visible in list of flows, data is still stored in the
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_archive_rego-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Restore it with `kosli unarchive rego-policy`.
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
4 changes: 2 additions & 2 deletions client_reference/kosli_assert_artifact.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To drop the file from the fingerprint safely, move its entries to `--exclude` an
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand All @@ -80,7 +80,7 @@ With `--output json`, this command prints the response of the [Assert artifact](
<Tab title="GitHub">
View an example of the `kosli assert artifact` command in GitHub.

In [this YAML file](https://github.com/cyber-dojo/differ/blob/837321fea394a756ed04e95f1ddb2023f4c12c57/.github/workflows/main.yml#L377)
In [this YAML file](https://github.com/cyber-dojo/differ/blob/fef125685db7b8031c7b5b49280bbf9051abd74e/.github/workflows/main.yml#L377)
</Tab>
<Tab title="GitLab">
View an example of the `kosli assert artifact` command in GitLab.
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_assert_pullrequest_azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Outside a supported CI, set `--commit` to a full commit SHA: its `HEAD` default
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_assert_pullrequest_bitbucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Outside a supported CI, set `--commit` to a full commit SHA: its `HEAD` default
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_assert_pullrequest_github.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Outside a supported CI, set `--commit` to a full commit SHA: its `HEAD` default
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_assert_pullrequest_gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Outside a supported CI, set `--commit` to a full commit SHA: its `HEAD` default
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_assert_snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Examples of valid expressions are:
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_assert_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Exits with non-zero code if the Kosli server down.
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
2 changes: 1 addition & 1 deletion client_reference/kosli_attach-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Attach a policy to one or more Kosli environments.
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand Down
6 changes: 3 additions & 3 deletions client_reference/kosli_attest_artifact.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ a successful build prints a warning and exits 0; any other 4xx response, such as
| `-a`, `--api-token` | string | The Kosli API token. |
| `-c`, `--config-file` | string | [optional] The Kosli config file path. Config is read from this path or the default only, never implicitly from the current directory. (default "$HOME/.kosli.yml") |
| `--debug` | bool | [optional] Print debug logs to stdout. |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. (default "https://app.kosli.com") |
| `-H`, `--host` | string | [defaulted] The Kosli endpoint. Must start with https://, unless it is localhost or a loopback address such as 127.0.0.1. (default "https://app.kosli.com") |
| `--http-proxy` | string | [optional] The HTTP proxy URL including protocol and port number. e.g. `http://proxy-server-ip:proxy-port` |
| `-r`, `--max-api-retries` | int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| `--org` | string | The Kosli organization. |
Expand All @@ -111,12 +111,12 @@ a successful build prints a warning and exits 0; any other 4xx response, such as
<Tab title="GitHub">
View an example of the `kosli attest artifact` command in GitHub.

In [this YAML file](https://github.com/cyber-dojo/reusable-actions-workflows/blob/25f0b797c18403de1c8490a9a71bbe9789c809a9/.github/workflows/secure-docker-build.yml#L210), which created [this Kosli Event](https://app.kosli.com/cyber-dojo/flows/differ-ci/trails/0191adf5ea7d0698482162d4eaa8b41d2c5aa7c6?attestation_id=11cf8b7e-ae89-4065-ac14-29fca4fa).
In [this YAML file](https://github.com/cyber-dojo/reusable-actions-workflows/blob/25f0b797c18403de1c8490a9a71bbe9789c809a9/.github/workflows/secure-docker-build.yml#L210), which created [this Kosli Event](https://app.kosli.com/cyber-dojo/flows/differ-ci/trails/fef125685db7b8031c7b5b49280bbf9051abd74e?attestation_id=2033353f-b6ee-46a0-9bb7-29fee8d5).
</Tab>
<Tab title="GitLab">
View an example of the `kosli attest artifact` command in GitLab.

In [this YAML file](https://gitlab.com/cyber-dojo/creator/-/blob/65fd2bfa2478534ea4bc5ccf30f6bfc6aab7550c/.gitlab/workflows/main.yml#L111), which created [this Kosli Event](https://app.kosli.com/cyber-dojo/flows/creator-ci/trails/2bf36429ac734ade22e72033fa3d663080b53b82?attestation_id=d5b49703-6e49-4c2b-a26e-09f227c9).
In [this YAML file](https://gitlab.com/cyber-dojo/creator/-/blob/65fd2bfa2478534ea4bc5ccf30f6bfc6aab7550c/.gitlab/workflows/main.yml#L111), which created [this Kosli Event](https://app.kosli.com/cyber-dojo/flows/creator-ci/trails/f1e01c293f3dd898c4abdcd6ac80612fe643eb6e?attestation_id=6b246ed9-1e98-440a-a5cb-71d87e4e).
</Tab>
</Tabs>

Expand Down
Loading
Loading