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

Fix generated docs compilation check #171

Merged
merged 1 commit into from
Jan 19, 2024
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
4 changes: 2 additions & 2 deletions .web-docs/components/provisioner/cnspec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Optional Parameters:
If `score_threshold` is set to a value, and `on_failure = "continue"`
builds will continue regardless of what score is returned.

- `labels` (map[string]string) - Configure an optional map of labels for the asset data in Mondoo Platform.
- `labels` (map[string]string) - Configure an optional map of labels for the asset data.

- `annotations` (map[string]string) - Configure an optional map of `key/val` annotations for the asset data in
Mondoo Platform.
Expand All @@ -81,7 +81,7 @@ Optional Parameters:
- `score_threshold` (int) - An integer value to set the `score_threshold` of mondoo scans. Defaults to `0` which results in
a passing score regardless of what scan results are returned.

- `mondoo_config_path` (string) - The path to the Mondoo client config. Defaults to `$HOME/.config/mondoo/mondoo.yml`
- `mondoo_config_path` (string) - The path to the mondoo client config. Defaults to `$HOME/.config/mondoo/mondoo.yml`

<!-- End of code generated from the comments of the Config struct in provisioner/provisioner.go; -->

Expand Down
2 changes: 1 addition & 1 deletion .web-docs/components/provisioner/mondoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Optional Parameters:
If `score_threshold` is set to a value, and `on_failure = "continue"`
builds will continue regardless of what score is returned.

- `labels` (map[string]string) - Configure an optional map of labels for the asset data in Mondoo Platform.
- `labels` (map[string]string) - Configure an optional map of labels for the asset data.

- `annotations` (map[string]string) - Configure an optional map of `key/val` annotations for the asset data in
Mondoo Platform.
Expand Down
4 changes: 2 additions & 2 deletions docs-partials/provisioner/Config-not-required.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
If `score_threshold` is set to a value, and `on_failure = "continue"`
builds will continue regardless of what score is returned.

- `labels` (map[string]string) - Configure an optional map of labels for the asset data in Mondoo Platform.
- `labels` (map[string]string) - Configure an optional map of labels for the asset data.

- `annotations` (map[string]string) - Configure an optional map of `key/val` annotations for the asset data in
Mondoo Platform.

- `incognito` (bool) - Configures incognito mode. Defaults to `true`. When set to false, scan results
will not be sent to the Mondoo Platform.
will not be sent to Mondoo Platform.

- `policies` ([]string) - A list of policies to be executed (requires incognito mode).

Expand Down
2 changes: 1 addition & 1 deletion provisioner/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type Config struct {
// If `score_threshold` is set to a value, and `on_failure = "continue"`
// builds will continue regardless of what score is returned.
OnFailure string `mapstructure:"on_failure"`
// Configure an optional map of labels for the asset data in Mondoo Platform.
// Configure an optional map of labels for the asset data.
Labels map[string]string `mapstructure:"labels"`
// Configure an optional map of `key/val` annotations for the asset data in
// Mondoo Platform.
Expand Down