Skip to content

Commit

Permalink
Fix typo in os-pack and pull in updated CLI flags (#49)
Browse files Browse the repository at this point in the history
This all shipped

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Mar 16, 2024
1 parent 4dcd294 commit b2532c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
28 changes: 14 additions & 14 deletions docs/cnquery/cli/cnquery_scan.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions docs/mql/resources/os-pack/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | &#91;&#93;[windows.hotfix](windows.hotfix.md) | Hotfixes installed on the computer |
| features | &#91;&#93;[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 | &#91;&#93;[windows.hotfix](windows.hotfix.md) | Hotfixes installed on the computer |
| features | &#91;&#93;[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. |

0 comments on commit b2532c8

Please sign in to comment.