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 typo in os-pack and pull in updated CLI flags #49

Merged
merged 1 commit into from
Mar 16, 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
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 | [][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. |
Loading