From b2532c8b7700fa1605276dd426a8d5ca7da0d83d Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 15 Mar 2024 18:35:47 -0700 Subject: [PATCH] Fix typo in os-pack and pull in updated CLI flags (#49) This all shipped Signed-off-by: Tim Smith --- docs/cnquery/cli/cnquery_scan.md | 28 +++++++++++++-------------- docs/mql/resources/os-pack/windows.md | 10 +++++----- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/cnquery/cli/cnquery_scan.md b/docs/cnquery/cli/cnquery_scan.md index 30ede879e..7b36ce134 100644 --- a/docs/cnquery/cli/cnquery_scan.md +++ b/docs/cnquery/cli/cnquery_scan.md @@ -23,20 +23,20 @@ cnquery scan [flags] ### Options ``` - --annotation stringToString Add an annotation to the asset. (default []) - --asset-name string User-override for the asset name - --detect-cicd Try to detect CI/CD environments. If detected, set the asset category to 'cicd'. (default true) - -h, --help help for scan - --incognito Run in incognito mode. Do not report scan results to Mondoo Platform. - --inventory-ansible Set the inventory format to Ansible. - --inventory-domainlist Set the inventory format to domain list. - --inventory-file string Set the path to the inventory file. - -j, --json Run the query and return the object in a JSON structure. - -o, --output string Set output format: compact, csv, full, json, summary, yaml (default "compact") - --platform-id string Select a specific target asset by providing its platform ID. - --props stringToString Custom values for properties (default []) - --querypack querypack-bundle Set the query packs to execute. This requires querypack-bundle. You can specify multiple UIDs. - -f, --querypack-bundle strings Path to local query pack file + --annotation stringToString Add an annotation to the asset. (default []) + --asset-name string User-override for the asset name + --detect-cicd Try to detect CI/CD environments. If detected, set the asset category to 'cicd'. (default true) + -h, --help help for scan + --incognito Run in incognito mode. Do not report scan results to Mondoo Platform. + --inventory-file string Set the path to the inventory file. + --inventory-format-ansible Set the inventory format to Ansible. + --inventory-format-domainlist Set the inventory format to domain list. + -j, --json Run the query and return the object in a JSON structure. + -o, --output string Set output format: compact, csv, full, json, summary, yaml (default "compact") + --platform-id string Select a specific target asset by providing its platform ID. + --props stringToString Custom values for properties (default []) + --querypack querypack-bundle Set the query packs to execute. This requires querypack-bundle. You can specify multiple UIDs. + -f, --querypack-bundle strings Path to local query pack file ``` ### Options inherited from parent commands diff --git a/docs/mql/resources/os-pack/windows.md b/docs/mql/resources/os-pack/windows.md index 1fd997b35..76d495270 100644 --- a/docs/mql/resources/os-pack/windows.md +++ b/docs/mql/resources/os-pack/windows.md @@ -14,8 +14,8 @@ Windows-specific resource to get operating system details **Fields** -| ID | TYPE | DESCRIPTION | -| ------------ | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| computerInfo | dict | A consolidated object of system and operating system properties, , see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.computerinfo?view=powershellsdk-1.1.0 for more information | -| hotfixes | [][windows.hotfix](windows.hotfix.md) | Hotfixes installed on the computer | -| features | [][windows.feature](windows.feature.md) | Information about Windows Server roles, role services, and features that are available for installation and installed on a specified server. | +| ID | TYPE | DESCRIPTION | +| ------------ | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| computerInfo | dict | A consolidated object of system and operating system properties, see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.computerinfo?view=powershellsdk-1.1.0 for more information | +| hotfixes | [][windows.hotfix](windows.hotfix.md) | Hotfixes installed on the computer | +| features | [][windows.feature](windows.feature.md) | Information about Windows Server roles, role services, and features that are available for installation and installed on a specified server. |