Skip to content

Commit

Permalink
Fix the display of codeblocks (#515)
Browse files Browse the repository at this point in the history
If you don't put the title in quotes it doesn't actually display.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Dec 24, 2024
1 parent 01a6b8c commit bf3a33d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions docs/cnspec/cnspec-adv-install/service.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Common cnspec service configuration options:
| `space_mrn` | Space Mondoo resource name, identifies the space that the client belongs to |
| `annotations` | Annotations that display in the Mondoo Console `condole.mondoo.com` |

```yaml title=mondoo.yml
```yaml title="mondoo.yml"
# service account mrn
mrn: //agents.api.mondoo.app/spaces/spacex/serviceaccounts/1utIs5XUQ8XayfB6yiQNTLOqPlD
# agent mrn
Expand Down Expand Up @@ -224,7 +224,7 @@ annotations:
cnspec inventory configuration defines a list of targets for cnspec to scan. This example contains an ssh-based scan with annotations:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -248,7 +248,7 @@ spec:
This example scans the local machine and all running containers:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -267,7 +267,7 @@ spec:
This example scans the local machine and all container images:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -286,7 +286,7 @@ spec:
This example scans the vSphere environment with embedded credentials:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -310,7 +310,7 @@ spec:
This example scans the vSphere environment with extracted credentials and reference:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -337,7 +337,7 @@ spec:
This example scans the vSphere environment with credentials from HashiCorp Vault:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand Down Expand Up @@ -368,7 +368,7 @@ spec:
Example to scan a Microsoft 365 account:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -394,7 +394,7 @@ spec:
Example to scan an Azure tenant including all subscriptions:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand All @@ -419,7 +419,7 @@ spec:
Example to scan a Google Workspace account:
```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand Down
2 changes: 1 addition & 1 deletion docs/platform/infra/opsys/automation/vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ vault kv put secret/vcenter/mondoo-read password="< password >" type="password"

Create an inventory yaml file with HashiCorp Vault:

```yaml title=inventory.yml
```yaml title="inventory.yml"
apiVersion: v1
kind: Inventory
metadata:
Expand Down

0 comments on commit bf3a33d

Please sign in to comment.