Skip to content

πŸ› fix for users { * }: check for nil file data before returning path … #780

πŸ› fix for users { * }: check for nil file data before returning path …

πŸ› fix for users { * }: check for nil file data before returning path … #780

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Report test results succeeded Sep 22, 2023 in 0s

Report test results βœ…

Tests passed successfully

βœ…Β report.xml

689 tests were completed in 17s with 689 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/cnquery 1βœ… 0ms
go.mondoo.com/cnquery/apps/cnquery 0ms
go.mondoo.com/cnquery/apps/cnquery/cmd 0ms
go.mondoo.com/cnquery/apps/gen-docs 0ms
go.mondoo.com/cnquery/apps/provider-scaffold 1βœ… 6ms
go.mondoo.com/cnquery/checksums 1βœ… 0ms
go.mondoo.com/cnquery/checksums/bench 0ms
go.mondoo.com/cnquery/cli/components 0ms
go.mondoo.com/cnquery/cli/config 12βœ… 0ms
go.mondoo.com/cnquery/cli/execruntime 7βœ… 5ms
go.mondoo.com/cnquery/cli/inventoryloader 0ms
go.mondoo.com/cnquery/cli/printer 32βœ… 91ms
go.mondoo.com/cnquery/cli/prof 7βœ… 0ms
go.mondoo.com/cnquery/cli/progress 10βœ… 0ms
go.mondoo.com/cnquery/cli/providers 0ms
go.mondoo.com/cnquery/cli/reporter 3βœ… 143ms
go.mondoo.com/cnquery/cli/shell 3βœ… 125ms
go.mondoo.com/cnquery/cli/sysinfo 0ms
go.mondoo.com/cnquery/cli/theme 0ms
go.mondoo.com/cnquery/cli/theme/colors 0ms
go.mondoo.com/cnquery/explorer 35βœ… 122ms
go.mondoo.com/cnquery/explorer/executor 1βœ… 0ms
go.mondoo.com/cnquery/explorer/scan 1βœ… 0ms
go.mondoo.com/cnquery/internal/datalakes/inmemory 0ms
go.mondoo.com/cnquery/llx 97βœ… 3ms
go.mondoo.com/cnquery/logger 3βœ… 1ms
go.mondoo.com/cnquery/logger/stackdriver 0ms
go.mondoo.com/cnquery/mql 16βœ… 385ms
go.mondoo.com/cnquery/mql/internal 43βœ… 1ms
go.mondoo.com/cnquery/mqlc 267βœ… 3s
go.mondoo.com/cnquery/mqlc/parser 52βœ… 1ms
go.mondoo.com/cnquery/mrn 4βœ… 0ms
go.mondoo.com/cnquery/providers 0ms
go.mondoo.com/cnquery/providers-sdk/v1/inventory 14βœ… 22ms
go.mondoo.com/cnquery/providers-sdk/v1/inventory/ansibleinventory 12βœ… 20ms
go.mondoo.com/cnquery/providers-sdk/v1/inventory/domainlist 1βœ… 9ms
go.mondoo.com/cnquery/providers-sdk/v1/inventory/manager 3βœ… 2ms
go.mondoo.com/cnquery/providers-sdk/v1/lr 23βœ… 201ms
go.mondoo.com/cnquery/providers-sdk/v1/lr/cli 0ms
go.mondoo.com/cnquery/providers-sdk/v1/lr/cli/cmd 0ms
go.mondoo.com/cnquery/providers-sdk/v1/lr/docs 0ms
go.mondoo.com/cnquery/providers-sdk/v1/plugin 0ms
go.mondoo.com/cnquery/providers-sdk/v1/plugin/gen 0ms
go.mondoo.com/cnquery/providers-sdk/v1/resources 0ms
go.mondoo.com/cnquery/providers-sdk/v1/testutils 0ms
go.mondoo.com/cnquery/providers-sdk/v1/testutils/mockprovider 0ms
go.mondoo.com/cnquery/providers-sdk/v1/testutils/mockprovider/resources 0ms
go.mondoo.com/cnquery/providers-sdk/v1/upstream 1βœ… 0ms
go.mondoo.com/cnquery/providers-sdk/v1/upstream/health 0ms
go.mondoo.com/cnquery/providers-sdk/v1/upstream/mvd 0ms
go.mondoo.com/cnquery/providers-sdk/v1/upstream/mvd/cvss 15βœ… 0ms
go.mondoo.com/cnquery/providers-sdk/v1/util/configure 0ms
go.mondoo.com/cnquery/providers-sdk/v1/util/convert 0ms
go.mondoo.com/cnquery/providers-sdk/v1/util/jobpool 0ms
go.mondoo.com/cnquery/providers-sdk/v1/util/linefeed 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault 6βœ… 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/awsparameterstore 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/awssecretsmanager 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/cache 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/config 1βœ… 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/credentials_resolver 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/gcpberglas 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/gcpsecretmanager 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/hashivault 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/inmemory 1βœ… 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/keyring 1βœ… 22ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/mock 0ms
go.mondoo.com/cnquery/providers-sdk/v1/vault/multivault 1βœ… 0ms
go.mondoo.com/cnquery/shared 0ms
go.mondoo.com/cnquery/shared/proto 0ms
go.mondoo.com/cnquery/types 7βœ… 0ms
go.mondoo.com/cnquery/utils/multierr 0ms
go.mondoo.com/cnquery/utils/sortx 0ms
go.mondoo.com/cnquery/utils/stringx 7βœ… 0ms
go.mondoo.com/cnquery/utils/syncx 0ms

βœ…Β go.mondoo.com/cnquery

βœ… TestFeatureFlags

βœ…Β go.mondoo.com/cnquery/apps/provider-scaffold

βœ… TestGenerator

βœ…Β go.mondoo.com/cnquery/checksums

βœ… TestChecksums

βœ…Β go.mondoo.com/cnquery/cli/config

βœ… TestNewSSMParameter
βœ… TestParseSSMParameterPath
βœ… TestNewSSMParameterPathReturnsErrWhenNoRegion
βœ… TestParseSSMParameterPathBadPathReturnsError
βœ… Test_autodetectConfig/test_homeConfig_returned_if_exists
βœ… Test_autodetectConfig/test_homeConfig_returned_even_if_systemConfig_exists
βœ… Test_autodetectConfig/test_systemConfig_returned
βœ… Test_autodetectConfig
βœ… Test_probeConfigMemFs
βœ… Test_probeConfigOsFs
βœ… Test_inventoryPath
βœ… TestConfigParsing

βœ…Β go.mondoo.com/cnquery/cli/execruntime

βœ… TestAzureRuntimeEnv
βœ… TestCircleCIRuntimeEnv
βœ… TestGithubRuntimeEnv
βœ… TestGitlabRuntimeEnv
βœ… TestJenkinsRuntimeEnv
βœ… TestMondooOperatorRuntimeEnv
βœ… TestDetectGitlab

βœ…Β go.mondoo.com/cnquery/cli/printer

βœ… TestPrinter/if_(_mondoo.version_!=_null_)_{_mondoo.build_}
βœ… TestPrinter/file('zzz')_{_content_}
βœ… TestPrinter/[]
βœ… TestPrinter/{}
βœ… TestPrinter/['1-2']_{__.split('-')_}
βœ… TestPrinter/mondoo_{_version_}
βœ… TestPrinter/mondoo_{__.version_}
βœ… TestPrinter/[1].where(___>_0_)
βœ… TestPrinter/a_=_3__if(true)_{__a_==_3__}
βœ… TestPrinter/mondoo
βœ… TestPrinter/users
βœ… TestPrinter
βœ… TestPrinter_Assessment/mondoo.build_==_1;_user(name:_'notthere').authorizedkeys.file
βœ… TestPrinter_Assessment/mondoo.build_==_1;_mondoo.version
βœ… TestPrinter_Assessment/[1,2,3]._#_@msg_Found_${length}_numbers_none(___>_1_)
βœ… TestPrinter_Assessment/#_@msg_Expected_${$expected.length}_users_but_got_${length}_users.none(_uid_==_0_)
βœ… TestPrinter_Assessment/mondoo.build_==_1
βœ… TestPrinter_Assessment/sshd.config_{_params['test']_}
βœ… TestPrinter_Assessment/mondoo.build_==_1;mondoo.version_=='unstable';
βœ… TestPrinter_Assessment/if(true)_{___#_@msg_Expected_${$expected.length}_users_but_got_${length}___users.none(_uid_==_0_)_}
βœ… TestPrinter_Assessment/users.list.duplicates(gid).none()_
βœ… TestPrinter_Assessment/users.all(_uid_<_1000_)_
βœ… TestPrinter_Assessment/users.all(_1000_>_uid_)_
βœ… TestPrinter_Assessment/users.all(_uid_==_0_&&_enabled_==_true_)_
βœ… TestPrinter_Assessment/users.none(_'/root'_==_home_);_users.all(_name_!=_'root'_)_
βœ… TestPrinter_Assessment/users.all(sshkeys.length_>_2)_
βœ… TestPrinter_Assessment
βœ… TestPrinter_Blocks/['a',_'b']_{_x=____x_}
βœ… TestPrinter_Blocks/['a',_'b']_{_x=____x_==_'a'_}
βœ… TestPrinter_Blocks
βœ… TestPrinter_Buggy/mondoo
βœ… TestPrinter_Buggy

βœ…Β go.mondoo.com/cnquery/cli/prof

βœ… TestParse/no_options_provided
βœ… TestParse/enable
βœ… TestParse/enabled
βœ… TestParse/listen
βœ… TestParse/memprofilerate
βœ… TestParse/all_together
βœ… TestParse

βœ…Β go.mondoo.com/cnquery/cli/progress

βœ… TestMultiProgressBar
βœ… TestMultiProgressBarSingleAsset
βœ… TestMultiProgressBarFinished
βœ… TestMultiProgressBarErrored
βœ… TestMultiProgressBarLastErrored
βœ… TestMultiProgressBarOnlyOneErrored
βœ… TestMultiProgressBarLimitedOneMore
βœ… TestMultiProgressBarError
βœ… TestMultiProgressBarOrdering
βœ… TestMultiProgressBarNotApplicable

βœ…Β go.mondoo.com/cnquery/cli/reporter

βœ… TestCSVExport
βœ… TestJsonReporter/users.where(uid==0)
βœ… TestJsonReporter

βœ…Β go.mondoo.com/cnquery/cli/shell

βœ… TestShell_RunOnce
βœ… TestShell_Help
βœ… TestShell_Centos8

βœ…Β go.mondoo.com/cnquery/explorer

βœ… TestBundleLoad/load_bundle_from_file
βœ… TestBundleLoad/load_bundle_from_memory
βœ… TestBundleLoad
βœ… TestParsing/simple_number
βœ… TestParsing/complex_definition
βœ… TestParsing/invalid_low_impact
βœ… TestParsing/invalid_high_impact
βœ… TestParsing/invalid_low_impact_in_complex_struct
βœ… TestParsing/invalid_high_impact_in_complex_struct
βœ… TestParsing
βœ… TestMerging/nil_base
βœ… TestMerging/empty_base
βœ… TestMerging/empty_main
βœ… TestMerging/inherit_value
βœ… TestMerging/inherit_scoring_(explicit)
βœ… TestMerging
βœ… TestMquery_Refresh
βœ… TestMqueryMerge
βœ… TestMquery_Remediation/parse_default_remediation,_string-only
βœ… TestMquery_Remediation/parse_multiple_remediation_via_array
βœ… TestMquery_Remediation/parse_internal_structure,_which_uses_items
βœ… TestMquery_Remediation/marshal_remediation_to_json
βœ… TestMquery_Remediation
βœ… TestMatchFilters/one_matching_filter
βœ… TestMatchFilters/no_matching_filter_(matching_is_provided)
βœ… TestMatchFilters/no_matching_filter_(matching_is_empty)
βœ… TestMatchFilters
βœ… TestQueryPackMrn
βœ… TestNewFilters/empty
βœ… TestNewFilters/two_filters
βœ… TestNewFilters
βœ… TestSummarize/with_NewFilters_initialization
βœ… TestSummarize/with_mixed_filters
βœ… TestSummarize
βœ… TestBundleAssetFilter

βœ…Β go.mondoo.com/cnquery/explorer/executor

βœ… TestMustCompile

βœ…Β go.mondoo.com/cnquery/explorer/scan

βœ… TestFilterPreprocess

βœ…Β go.mondoo.com/cnquery/llx

βœ… TestPrimitiveBool
βœ… TestPrimitiveFloat
βœ… TestPrimitiveInt
βœ… TestPrimitiveString
βœ… TestPrimitiveRegex
βœ… TestPrimitiveTime
βœ… TestPrimitiveArray
βœ… TestPrimitiveMap
βœ… TestPrimitiveFunction
βœ… TestPrimitiveNil/nil_type
βœ… TestPrimitiveNil/string_without_value_is_an_empty_string_(not_nil)
βœ… TestPrimitiveNil/string_with_value_is_not_nil
βœ… TestPrimitiveNil/map_type_without_value_is_empty_map_(not_nil)
βœ… TestPrimitiveNil/map_type_with_empty_value_is_not_nil
βœ… TestPrimitiveNil/array_type_without_value_is_empty_array_(not_nil)
βœ… TestPrimitiveNil/array_type_with_empty_value_is_not_nil
βœ… TestPrimitiveNil
βœ… TestRange/single_line
βœ… TestRange/line_range
βœ… TestRange/column_range
βœ… TestRange/line_and_column_range
βœ… TestRange
βœ… TestRawDataJson_removeUnderscoreKeys/no_underscores
βœ… TestRawDataJson_removeUnderscoreKeys/trailing_underscore
βœ… TestRawDataJson_removeUnderscoreKeys/leading_underscore
βœ… TestRawDataJson_removeUnderscoreKeys/alternating_underscores
βœ… TestRawDataJson_removeUnderscoreKeys/all_underscores
βœ… TestRawDataJson_removeUnderscoreKeys
βœ… TestRawData_String
βœ… TestTruthy/<null>
βœ… TestTruthy/true
βœ… TestTruthy/false
βœ… TestTruthy/0
βœ… TestTruthy/123
βœ… TestTruthy/0#01
βœ… TestTruthy/1.23
βœ… TestTruthy/""
βœ… TestTruthy/"b"
βœ… TestTruthy/<null>#01
βœ… TestTruthy/"yo"
βœ… TestTruthy///
βœ… TestTruthy//r/
βœ… TestTruthy/0001-01-01_00:00:00_+0000_UTC
βœ… TestTruthy/2023-09-21_03:04:39.688154597_+0000_UTC_m=+0.000666200
βœ… TestTruthy/<null>#02
βœ… TestTruthy/2023-09-21_03:04:39.688154597_+0000_UTC_m=+0.000666200#01
βœ… TestTruthy/[]
βœ… TestTruthy/[false]
βœ… TestTruthy/[true]
βœ… TestTruthy/{}
βœ… TestTruthy/{"a":false}
βœ… TestTruthy/{"a":true}
βœ… TestTruthy/<null>#03
βœ… TestTruthy/<null>#04
βœ… TestTruthy
βœ… TestSuccess/<null>
βœ… TestSuccess/true
βœ… TestSuccess/false
βœ… TestSuccess/0
βœ… TestSuccess/123
βœ… TestSuccess/0#01
βœ… TestSuccess/1.23
βœ… TestSuccess/""
βœ… TestSuccess/"b"
βœ… TestSuccess///
βœ… TestSuccess//r/
βœ… TestSuccess/0001-01-01_00:00:00_+0000_UTC
βœ… TestSuccess/<null>#01
βœ… TestSuccess/2023-09-21_03:04:39.688154597_+0000_UTC_m=+0.000666200
βœ… TestSuccess/[]
βœ… TestSuccess/[true,false,true]
βœ… TestSuccess/[true,true]
βœ… TestSuccess/<null>#02
βœ… TestSuccess/?value?_(typ:block)
βœ… TestSuccess/?value?_(typ:block)#01
βœ… TestSuccess/?value?_(typ:block)#02
βœ… TestSuccess/?value?_(typ:block)#03
βœ… TestSuccess/<null>#03
βœ… TestSuccess
βœ… TestRawData_JSON/<null>
βœ… TestRawData_JSON/true
βœ… TestRawData_JSON/false
βœ… TestRawData_JSON/0
βœ… TestRawData_JSON/123
βœ… TestRawData_JSON/0#01
βœ… TestRawData_JSON/1.23
βœ… TestRawData_JSON/""
βœ… TestRawData_JSON/"b"
βœ… TestRawData_JSON///
βœ… TestRawData_JSON//r/
βœ… TestRawData_JSON/0001-01-01_00:00:00_+0000_UTC
βœ… TestRawData_JSON/292277026596-12-04_15:30:07_+0000_UTC
βœ… TestRawData_JSON/292277026596-12-04_15:30:09_+0000_UTC
βœ… TestRawData_JSON/["a","b"]
βœ… TestRawData_JSON/{"a":"b"}
βœ… TestRawData_JSON/<null>#01
βœ… TestRawData_JSON

βœ…Β go.mondoo.com/cnquery/logger

βœ… TestRequestIDLoggingContext/outputs_the_provided_request_id_with_the_log_message
βœ… TestRequestIDLoggingContext/generates_a_request_id_if_one_is_not_provided
βœ… TestRequestIDLoggingContext

βœ…Β go.mondoo.com/cnquery/mql

βœ… TestMqlSimple/asset.platform
βœ… TestMqlSimple/asset_{_platform_version_}
βœ… TestMqlSimple/users_{_name_uid_}
βœ… TestMqlSimple
βœ… TestCustomData
βœ… TestMqlProps
βœ… TestMqlIfElseProps
βœ… TestMqlIfAndProps
βœ… TestResourceAliases/os.unix.sshd.config.file.path
βœ… TestResourceAliases/os.unix.sshd_{_config.file.path_}
βœ… TestResourceAliases
βœ… TestNullResources/muser.group
βœ… TestNullResources/muser.nullgroup
βœ… TestNullResources/muser.groups
βœ… TestNullResources/muser_{_nullgroup_}
βœ… TestNullResources

βœ…Β go.mondoo.com/cnquery/mql/internal

βœ… TestPrioritizeNode
βœ… TestBuilder
βœ… TestDatapointNode/initialize/recalculate/does_not_recalculate_if_data_is_not_provided
βœ… TestDatapointNode/initialize/recalculate/recalculates_if_data_is_provided
βœ… TestDatapointNode/initialize/recalculate/casts_if_required_type_is_provided
βœ… TestDatapointNode/initialize/recalculate
βœ… TestDatapointNode/consume/recalculate/ignores_nils
βœ… TestDatapointNode/consume/recalculate/recalculate_when_data_arrives
βœ… TestDatapointNode/consume/recalculate/doesn't_recalculate_multiple_times
βœ… TestDatapointNode/consume/recalculate/casts_if_required_type_is_provided
βœ… TestDatapointNode/consume/recalculate/skips_cast_if_required_type_are_same
βœ… TestDatapointNode/consume/recalculate/skips_cast_if_datapoint_is_error
βœ… TestDatapointNode/consume/recalculate/skips_cast_if_expected_type_is_unset
βœ… TestDatapointNode/consume/recalculate
βœ… TestDatapointNode
βœ… TestExecutionQueryNode/initialize/recalculate/does_not_recalculate_if_dependencies_not_satisfied
βœ… TestExecutionQueryNode/initialize/recalculate/recalculates_if_dependencies_are_satisfied
βœ… TestExecutionQueryNode/initialize/recalculate
βœ… TestExecutionQueryNode/consume/recalculate/does_not_recalculate_if_dependencies_not_satisfied
βœ… TestExecutionQueryNode/consume/recalculate/only_recalculates_once
βœ… TestExecutionQueryNode/consume/recalculate/recalculates_after_all_dependencies_are_satisfied
βœ… TestExecutionQueryNode/consume/recalculate
βœ… TestExecutionQueryNode
βœ… TestCollectionFinisherNode/initialize/recalculate/recalculates_if_there_are_no_remaining_datapoints
βœ… TestCollectionFinisherNode/initialize/recalculate/does_not_recalculate_if_there_are_remaining_datapoints
βœ… TestCollectionFinisherNode/initialize/recalculate
βœ… TestCollectionFinisherNode/consume/recalculate/notifies_progress_when_partially_complete
βœ… TestCollectionFinisherNode/consume/recalculate/notifies_progress_and_signals_finish_when_fully_complete
βœ… TestCollectionFinisherNode/consume/recalculate
βœ… TestCollectionFinisherNode
βœ… TestDatapointCollectorNode/initialize/recalculate/recalculates_if_unreported_datapoints_are_available
βœ… TestDatapointCollectorNode/initialize/recalculate/does_not_recalculate_if_no_unreported_data
βœ… TestDatapointCollectorNode/initialize/recalculate
βœ… TestDatapointCollectorNode/consume/recalculate/recalculates_if_unreported_datapoints_are_available
βœ… TestDatapointCollectorNode/consume/recalculate
βœ… TestDatapointCollectorNode
βœ… TestWaitGroupInvalidUsage/calling_Add_with_an_active_workID_panics
βœ… TestWaitGroupInvalidUsage/calling_Done_with_an_id_that_was_never_added_panics
βœ… TestWaitGroupInvalidUsage
βœ… TestWaitGroup/finishing_completed_workIDs_unblocks_Wait
βœ… TestWaitGroup/decommissioning_unblocks_Wait
βœ… TestWaitGroup/usable_after_decommission
βœ… TestWaitGroup

βœ…Β go.mondoo.com/cnquery/mqlc

βœ… TestDedent
βœ… TestIfChecksumming
βœ… TestSwitchChecksumming
βœ… TestLabels/mondoo.version_==_'yo'
βœ… TestLabels/true
βœ… TestLabels/1
βœ… TestLabels/1.23
βœ… TestLabels/"string"
βœ… TestLabels/sshd
βœ… TestLabels/sshd.config
βœ… TestLabels/sshd.config.params
βœ… TestLabels/sshd.config("/my/path").params
βœ… TestLabels/asset.name_asset.version
βœ… TestLabels/asset_{_name_version_}
βœ… TestLabels/users.list_{_uid_}
βœ… TestLabels/users.list[0]
βœ… TestLabels/users.list[0]_{_uid_}
βœ… TestLabels/sshd.config.params["UsePAM"]
βœ… TestLabels/sshd.config_{_file_{_path_}_}
βœ… TestLabels/a_=_1;_a
βœ… TestLabels/a_=_1;_b_=_2;_c_=_a+b;_c
βœ… TestLabels
βœ… TestCompiler_Basics/#00
βœ… TestCompiler_Basics///_some_comment
βœ… TestCompiler_Basics///_some_comment_
βœ… TestCompiler_Basics
βœ… TestCompiler_Buggy/parse_parse
βœ… TestCompiler_Buggy/parse_#_mondoo
βœ… TestCompiler_Buggy/parse_}
βœ… TestCompiler_Buggy/parse_]
βœ… TestCompiler_Buggy/parse_)
βœ… TestCompiler_Buggy/mondoo_{_version_}
βœ… TestCompiler_Buggy/#_.._mondoo_{__#_.._version_#_.._}_#_..
βœ… TestCompiler_Buggy/users.list[]
βœ… TestCompiler_Buggy/file(not-there)
βœ… TestCompiler_Buggy/if(true)_{
βœ… TestCompiler_Buggy/if(true)_{_return_1_}_else_{_return_2_}_return_3
βœ… TestCompiler_Buggy/parse.date
βœ… TestCompiler_Buggy/parse.date()
βœ… TestCompiler_Buggy/switch(mondoo)_{_case
βœ… TestCompiler_Buggy
βœ… TestCompiler_Semicolon
βœ… TestCompiler_DeterministicChecksum
βœ… TestCompiler_Simple/null
βœ… TestCompiler_Simple/false
βœ… TestCompiler_Simple/true
βœ… TestCompiler_Simple/123
βœ… TestCompiler_Simple/010
βœ… TestCompiler_Simple/12.3
βœ… TestCompiler_Simple/"hi"
βœ… TestCompiler_Simple//hi/
βœ… TestCompiler_Simple/[true,_false]
βœ… TestCompiler_Simple/[1,_2]
βœ… TestCompiler_Simple/[1.2,3.4]
βœ… TestCompiler_Simple/["a","b"]
βœ… TestCompiler_Simple/[1.2,1]
βœ… TestCompiler_Simple/[___1.2,___1_]
βœ… TestCompiler_Simple/{a:_123}
βœ… TestCompiler_Simple
βœ… TestCompiler_Comparisons/1_==_1
βœ… TestCompiler_Comparisons/1.2_==_1.2
βœ… TestCompiler_Comparisons/"str"_==_"str"
βœ… TestCompiler_Comparisons/1_!=_1
βœ… TestCompiler_Comparisons/1.2_!=_1.2
βœ… TestCompiler_Comparisons/"str"_!=_"str"
βœ… TestCompiler_Comparisons/"str"_>_"str"
βœ… TestCompiler_Comparisons/1_>_1
βœ… TestCompiler_Comparisons/1.2_>_1.2
βœ… TestCompiler_Comparisons/"str"_<_"str"
βœ… TestCompiler_Comparisons/1_<_1
βœ… TestCompiler_Comparisons/1.2_<_1.2
βœ… TestCompiler_Comparisons/1_>=_1
βœ… TestCompiler_Comparisons/1.2_>=_1.2
βœ… TestCompiler_Comparisons/"str"_>=_"str"
βœ… TestCompiler_Comparisons/1.2_<=_1.2
βœ… TestCompiler_Comparisons/"str"_<=_"str"
βœ… TestCompiler_Comparisons/1_<=_1
βœ… TestCompiler_Comparisons
βœ… TestCompiler_LogicalOps/1_&&_1
βœ… TestCompiler_LogicalOps/1_&&_1.2
βœ… TestCompiler_LogicalOps/1_&&_true
βœ… TestCompiler_LogicalOps/1_&&_"str"
βœ… TestCompiler_LogicalOps/1_&&_/str/
βœ… TestCompiler_LogicalOps/1_&&_[]
βœ… TestCompiler_LogicalOps/1_&&_{}
βœ… TestCompiler_LogicalOps/1.2_&&_/str/
βœ… TestCompiler_LogicalOps/1.2_&&_[]
βœ… TestCompiler_LogicalOps/1.2_&&_{}
βœ… TestCompiler_LogicalOps/1.2_&&_1
βœ… TestCompiler_LogicalOps/1.2_&&_1.2
βœ… TestCompiler_LogicalOps/1.2_&&_true
βœ… TestCompiler_LogicalOps/1.2_&&_"str"
βœ… TestCompiler_LogicalOps/true_&&_/str/
βœ… TestCompiler_LogicalOps/true_&&_[]
βœ… TestCompiler_LogicalOps/true_&&_{}
βœ… TestCompiler_LogicalOps/true_&&_1
βœ… TestCompiler_LogicalOps/true_&&_1.2
βœ… TestCompiler_LogicalOps/true_&&_true
βœ… TestCompiler_LogicalOps/true_&&_"str"
βœ… TestCompiler_LogicalOps/"str"_&&_{}
βœ… TestCompiler_LogicalOps/"str"_&&_1
βœ… TestCompiler_LogicalOps/"str"_&&_1.2
βœ… TestCompiler_LogicalOps/"str"_&&_true
βœ… TestCompiler_LogicalOps/"str"_&&_"str"
βœ… TestCompiler_LogicalOps/"str"_&&_/str/
βœ… TestCompiler_LogicalOps/"str"_&&_[]
βœ… TestCompiler_LogicalOps//str/_&&_"str"
βœ… TestCompiler_LogicalOps//str/_&&_/str/
βœ… TestCompiler_LogicalOps//str/_&&_[]
βœ… TestCompiler_LogicalOps//str/_&&_{}
βœ… TestCompiler_LogicalOps//str/_&&_1
βœ… TestCompiler_LogicalOps//str/_&&_1.2
βœ… TestCompiler_LogicalOps//str/_&&_true
βœ… TestCompiler_LogicalOps/[]_&&_"str"
βœ… TestCompiler_LogicalOps/[]_&&_/str/
βœ… TestCompiler_LogicalOps/[]_&&_[]
βœ… TestCompiler_LogicalOps/[]_&&_{}
βœ… TestCompiler_LogicalOps/[]_&&_1
βœ… TestCompiler_LogicalOps/[]_&&_1.2
βœ… TestCompiler_LogicalOps/[]_&&_true
βœ… TestCompiler_LogicalOps/{}_&&_1
βœ… TestCompiler_LogicalOps/{}_&&_1.2
βœ… TestCompiler_LogicalOps/{}_&&_true
βœ… TestCompiler_LogicalOps/{}_&&_"str"
βœ… TestCompiler_LogicalOps/{}_&&_/str/
βœ… TestCompiler_LogicalOps/{}_&&_[]
βœ… TestCompiler_LogicalOps/{}_&&_{}
βœ… TestCompiler_LogicalOps/true_||_{}
βœ… TestCompiler_LogicalOps/true_||_1
βœ… TestCompiler_LogicalOps/true_||_1.2
βœ… TestCompiler_LogicalOps/true_||_true
βœ… TestCompiler_LogicalOps/true_||_"str"
βœ… TestCompiler_LogicalOps/true_||_/str/
βœ… TestCompiler_LogicalOps/true_||_[]
βœ… TestCompiler_LogicalOps/"str"_||_"str"
βœ… TestCompiler_LogicalOps/"str"_||_/str/
βœ… TestCompiler_LogicalOps/"str"_||_[]
βœ… TestCompiler_LogicalOps/"str"_||_{}
βœ… TestCompiler_LogicalOps/"str"_||_1
βœ… TestCompiler_LogicalOps/"str"_||_1.2
βœ… TestCompiler_LogicalOps/"str"_||_true
βœ… TestCompiler_LogicalOps//str/_||_1
βœ… TestCompiler_LogicalOps//str/_||_1.2
βœ… TestCompiler_LogicalOps//str/_||_true
βœ… TestCompiler_LogicalOps//str/_||_"str"
βœ… TestCompiler_LogicalOps//str/_||_/str/
βœ… TestCompiler_LogicalOps//str/_||_[]
βœ… TestCompiler_LogicalOps//str/_||_{}
βœ… TestCompiler_LogicalOps/[]_||_1.2
βœ… TestCompiler_LogicalOps/[]_||_true
βœ… TestCompiler_LogicalOps/[]_||_"str"
βœ… TestCompiler_LogicalOps/[]_||_/str/
βœ… TestCompiler_LogicalOps/[]_||_[]
βœ… TestCompiler_LogicalOps/[]_||_{}
βœ… TestCompiler_LogicalOps/[]_||_1
βœ… TestCompiler_LogicalOps/{}_||_true
βœ… TestCompiler_LogicalOps/{}_||_"str"
βœ… TestCompiler_LogicalOps/{}_||_/str/
βœ… TestCompiler_LogicalOps/{}_||_[]
βœ… TestCompiler_LogicalOps/{}_||_{}
βœ… TestCompiler_LogicalOps/{}_||_1
βœ… TestCompiler_LogicalOps/{}_||_1.2
βœ… TestCompiler_LogicalOps/1_||_1
βœ… TestCompiler_LogicalOps/1_||_1.2
βœ… TestCompiler_LogicalOps/1_||_true
βœ… TestCompiler_LogicalOps/1_||_"str"
βœ… TestCompiler_LogicalOps/1_||_/str/
βœ… TestCompiler_LogicalOps/1_||_[]
βœ… TestCompiler_LogicalOps/1_||_{}
βœ… TestCompiler_LogicalOps/1.2_||_1
βœ… TestCompiler_LogicalOps/1.2_||_1.2
βœ… TestCompiler_LogicalOps/1.2_||_true
βœ… TestCompiler_LogicalOps/1.2_||_"str"
βœ… TestCompiler_LogicalOps/1.2_||_/str/
βœ… TestCompiler_LogicalOps/1.2_||_[]
βœ… TestCompiler_LogicalOps/1.2_||_{}
βœ… TestCompiler_LogicalOps
βœ… TestCompiler_Arithmetics/concat_arrays
βœ… TestCompiler_Arithmetics
βœ… TestCompiler_OperatorPrecedence/1_||_2_&&_3
βœ… TestCompiler_OperatorPrecedence/1_&&_2_||_3
βœ… TestCompiler_OperatorPrecedence
βœ… TestCompiler_Assignment
βœ… TestCompiler_Props
βœ… TestCompiler_Dict
βœ… TestCompiler_If
βœ… TestCompiler_Switch/test_types_fall_back_to_any
βœ… TestCompiler_Switch
βœ… TestCompiler_ArrayEmptyWhere
βœ… TestCompiler_ArrayWhereStatic
βœ… TestCompiler_ArrayContains
βœ… TestCompiler_ArrayOne
βœ… TestCompiler_ArrayAll
βœ… TestCompiler_All_Issue1316
βœ… TestCompiler_Resource
βœ… TestCompiler_Resource_versioning
βœ… TestCompiler_Resource_versioning2
βœ… TestCompiler_ResourceWithCall
βœ… TestCompiler_LongResource
βœ… TestCompiler_ResourceMap
βœ… TestCompiler_ResourceMapLength
βœ… TestCompiler_ResourceExpansion/mondoo
βœ… TestCompiler_ResourceExpansion/users
βœ… TestCompiler_ResourceExpansion/users_{_group_}
βœ… TestCompiler_ResourceExpansion/pam.conf.entries['.']
βœ… TestCompiler_ResourceExpansion
βœ… TestCompiler_ArrayResource/packages[123]
βœ… TestCompiler_ArrayResource/packages.length
βœ… TestCompiler_ArrayResource
βœ… TestCompiler_ResourceFieldGlob
βœ… TestCompiler_ArrayResourceFieldGlob
βœ… TestCompiler_ResourceFieldArrayAccessor
βœ… TestCompiler_ResourceWithUnnamedArgs
βœ… TestCompiler_ResourceWithNamedArgs
βœ… TestCompiler_LongResourceWithUnnamedArgs
βœ… TestCompiler_ExpectSimplest
βœ… TestCompiler_ExpectEq
βœ… TestCompiler_EmptyBlock
βœ… TestCompiler_Block
βœ… TestCompiler_BlockWithSelf
βœ… TestCompiler_ContainsWithResource
βœ… TestCompiler_StringContainsWithInt
βœ… TestCompiler_CallWithResource
βœ… TestCompiler_List
βœ… TestCompiler_ResourceEmptyWhere
βœ… TestCompiler_ResourceWhere
βœ… TestCompiler_ResourceContains
βœ… TestChecksums/no_duplicate_code_IDs/users.list_{_uid_==_1_}_!=_users.list_{_uid_==_2_}
βœ… TestChecksums/no_duplicate_code_IDs/asset.platform_asset.version_!=_asset.platform
βœ… TestChecksums/no_duplicate_code_IDs/asset.platform_asset.version_!=_asset.version
βœ… TestChecksums/no_duplicate_code_IDs/if_(true)_{_2_}_!=_if_(true)_{_3_}
βœ… TestChecksums/no_duplicate_code_IDs/mondoo_{_version_==_'a'}_!=_mondoo_{_version_==_'b'_version_==_'a'}
βœ… TestChecksums/no_duplicate_code_IDs
βœ… TestChecksums
βœ… TestChecksums_block
βœ… TestSuggestions/does_not_get_suggestions
βœ… TestSuggestions/ssh
βœ… TestSuggestions/sshd.
βœ… TestSuggestions/users.
βœ… TestSuggestions/sshd.config.para
βœ… TestSuggestions/sshd.config_{_para_}
βœ… TestSuggestions/sshd.config.params.leng
βœ… TestSuggestions/parse.d
βœ… TestSuggestions/docker.containers[0].hostnam
βœ… TestSuggestions/docker.containers[0].hostnam#01
βœ… TestSuggestions
βœ… TestImplicitSuggestion
βœ… TestCompiler_Error/unknown_term
βœ… TestCompiler_Error
βœ… TestCompiler_Multiline
βœ… TestCompiler_Entrypoints/1
βœ… TestCompiler_Entrypoints/mondoo.version_==_1
βœ… TestCompiler_Entrypoints/mondoo.version_==_mondoo.build
βœ… TestCompiler_Entrypoints/_____a_=_"a"_____b_=_"b"_____a_==_"a"_____b_==_"b"_____c_=_"c"_____c_==_"c"____
βœ… TestCompiler_Entrypoints/_____a_=_"a"_____b_=_"b"_____a_==_"a"_____b_==_"b"_____c_=_a_==_b_____c_==_false____
βœ… TestCompiler_Entrypoints
βœ… TestCompiler_NestedEntrypoints/_____if(true)_{______a_=_"a"______b_=_"b"______a_==_b_____}____
βœ… TestCompiler_NestedEntrypoints/_____if(true)_{______a_=_"a"______b_=_"b"______a_==_b_____}_else_{______x_=_"x"______y_=_"y"______x_==_y_____}____
βœ… TestCompiler_NestedEntrypoints/______z_=_"z"_____if(z_==_"z")_{______a_=_"a"______b_=_"b"______a_==_b_____}_else_if_(z_==_"a")_{______x_=_"x"______y_=_"y"______x_==_y_____}_else_{______j_=_"j"______k_=_"k"______j_==_k_____}____
βœ… TestCompiler_NestedEntrypoints/_____switch_{_____case_"a"_==_"a":______a_=_"a"______b_=_"b"______a_==_b;_____case_"b"_==_"b":______x_=_"x"______y_=_"y"______x_==_y_____}____
βœ… TestCompiler_NestedEntrypoints/_____mondoo_{______a_=_"a"______b_=_"b"______a_==_b_____}____
βœ… TestCompiler_NestedEntrypoints/_____{a:_"a"}_{______x_=_"x"______y_=_"y"______x_==_y_____}____
βœ… TestCompiler_NestedEntrypoints/_____[1,2,3]_{______x_=_"x"______y_=_"y"______x_==_y_____}____
βœ… TestCompiler_NestedEntrypoints/_____mondoo_{____________}____
βœ… TestCompiler_NestedEntrypoints/_____mondoo_{______a_=_true______a_____}____
βœ… TestCompiler_NestedEntrypoints/_____if(true)_{______a_=_true______a_____}____
βœ… TestCompiler_NestedEntrypoints

βœ…Β go.mondoo.com/cnquery/mqlc/parser

βœ… TestParser_Lex
βœ… TestParser_ParseValues/null
βœ… TestParser_ParseValues/NaN
βœ… TestParser_ParseValues/Infinity
βœ… TestParser_ParseValues/Never
βœ… TestParser_ParseValues/true
βœ… TestParser_ParseValues/false
βœ… TestParser_ParseValues/name
βœ… TestParser_ParseValues/1.23
βœ… TestParser_ParseValues/123
βœ… TestParser_ParseValues/'hi'
βœ… TestParser_ParseValues/'h\ni'
βœ… TestParser_ParseValues/'h\i'
βœ… TestParser_ParseValues/"hi"
βœ… TestParser_ParseValues/"h\ni"
βœ… TestParser_ParseValues/"h\i"
βœ… TestParser_ParseValues//hi/
βœ… TestParser_ParseValues/[]
βœ… TestParser_ParseValues/[1]
βœ… TestParser_ParseValues/[1,2.3]
βœ… TestParser_ParseValues/[1,2,]
βœ… TestParser_ParseValues/{}
βœ… TestParser_ParseValues/{'a':_'word'}
βœ… TestParser_ParseValues/{"b":_"there"}
βœ… TestParser_ParseValues/{c:_123}
βœ… TestParser_ParseValues/{a:_1,_b:_2,}
βœ… TestParser_ParseValues/name.last
βœ… TestParser_ParseValues/name[1]
βœ… TestParser_ParseValues/name()
βœ… TestParser_ParseValues/name(1)
βœ… TestParser_ParseValues/name(arg)
βœ… TestParser_ParseValues/name(uid:_1)
βœ… TestParser_ParseValues/a(b(c,d))
βœ… TestParser_ParseValues/a(_b(_c,_d_)_)
βœ… TestParser_ParseValues/user_{_name_uid_}
βœ… TestParser_ParseValues/user_{___name___uid_}
βœ… TestParser_ParseValues/users.list_{_uid_}
βœ… TestParser_ParseValues/users.where()
βœ… TestParser_ParseValues/users.where(uid_>_2).list_{_uid_}
βœ… TestParser_ParseValues/1_+_2_==_3
βœ… TestParser_ParseValues/1_&&_2_||_3
βœ… TestParser_ParseValues/true_+_'some'.length()
βœ… TestParser_ParseValues///_this_//_is_a_comment_'hi'
βœ… TestParser_ParseValues/#_this_#_is_a_comment_'hi'
βœ… TestParser_ParseValues
βœ… TestParser_Comments/#
βœ… TestParser_Comments///
βœ… TestParser_Comments///_1_sshd_//_2__._//_3_config_//_4
βœ… TestParser_Comments/file_//_1_{_//_2_path_//_3_==_//_4_'abc'_//_5_}_//_6
βœ… TestParser_Comments
βœ… TestParser_Multiline/true_1_2_
βœ… TestParser_Multiline

βœ…Β go.mondoo.com/cnquery/mrn

βœ… TestMrnParser
βœ… TestCollectionID
βœ… TestEquals
βœ… TestMrnToPropertyName

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/inventory

βœ… TestInventoryParser
βœ… TestPreprocess/preprocess_empty_inventory
βœ… TestPreprocess/normal_inventory
βœ… TestPreprocess/idempotent_preprocess
βœ… TestPreprocess/preprocess_private_key
βœ… TestPreprocess/preprocess_pkcs12_credential_with_loading_from_file
βœ… TestPreprocess/preprocess_pkcs12_credential_with_loading_from_file#01
βœ… TestPreprocess
βœ… TestParseGCPInventory
βœ… TestParseVsphereInventory
βœ… TestParseSshInventory
βœ… TestParseVaultInventory
βœ… TestNilPointer
βœ… TestMarkInsecure

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/inventory/ansibleinventory

βœ… TestValidInventory
βœ… TestParseInventory
βœ… TestParseInventoryUngrouped
βœ… TestFullInventory
βœ… TestHostExtraction
βœ… TestHostConnectionLocal
βœ… TestHostConnectionLocalYaml
βœ… TestHostConnectionWinrm
βœ… TestHostSSHPrivateKey
βœ… TestInventoryConversion
βœ… TestInventoryWithUsernameConversion
βœ… TestTagsAndGroups

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/inventory/domainlist

βœ… TestParseInventory

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/inventory/manager

βœ… TestSecretKeySimple
βœ… TestSecretKeyIfReturn
βœ… TestSecretKeyIfConditionalReturn

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/lr

βœ… TestParse/empty
βœ… TestParse/empty_resource
βœ… TestParse/empty_resources
βœ… TestParse/defaults
βœ… TestParse/resource_with_a_static_field
βœ… TestParse/resource_with_a_list_type
βœ… TestParse/resource_with_a_map_type
βœ… TestParse/resource_with_a_dependent_field,_no_args
βœ… TestParse/resource_with_a_dependent_field,_with_args
βœ… TestParse/resource_with_init,_with_args
βœ… TestParse/resource_which_is_a_list_type
βœ… TestParse/resource_which_is_a_list_type,_with_args
βœ… TestParse/resource_which_is_a_list_type_based_on_resource_chain
βœ… TestParse/embedded_resource
βœ… TestParse/embedded_resource_with_an_alias
βœ… TestParse/complex_resource
βœ… TestParse
βœ… TestParseLR/core/resources/core.lr
βœ… TestParseLR/os/resources/os.lr
βœ… TestParseLR
βœ… TestSchema/empty
βœ… TestSchema/chain_resource_creation
βœ… TestSchema

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/upstream

βœ… TestHash

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/upstream/mvd/cvss

βœ… TestCvss2Parsing
βœ… TestCvss2Parsing2
βœ… TestCvss2Parsing3
βœ… TestCvss30Parsing
βœ… TestCvss30Parsing2
βœ… TestCvss30Parsing3
βœ… TestCvss31Parsing1
βœ… TestCvss3Comparison
βœ… TestCvss3ParseEmpty
βœ… TestCvssNone
βœ… TestCvssVector
βœ… TestCvssVectorWithTrailingSlash
βœ… TestCvssVectorWithTrailingSpace
βœ… TestMaxCvss
βœ… TestMaxCvss2

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/vault

βœ… TestVaultTypeParser
βœ… TestVaultTypeMarshal
βœ… TestCredentialParser
βœ… TestCredentialMarshal
βœ… TestSecretEncoding
βœ… TestSecretCredentialConversion

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/vault/config

βœ… TestVaultConfiguration

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/vault/inmemory

βœ… TestVault

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/vault/keyring

βœ… TestEncryptedFile

βœ…Β go.mondoo.com/cnquery/providers-sdk/v1/vault/multivault

βœ… TestMultiVault

βœ…Β go.mondoo.com/cnquery/types

βœ… TestMaps_StringSet/all_functions
βœ… TestMaps_StringSet/concurrent_runs
βœ… TestMaps_StringSet
βœ… TestMaps_StringToStrings/all_functions
βœ… TestMaps_StringToStrings/concurrent_runs
βœ… TestMaps_StringToStrings
βœ… TestTypes

βœ…Β go.mondoo.com/cnquery/utils/stringx

βœ… TestContains
βœ… TestContainsAnyOf
βœ… TestRemoveEmpty
βœ… TestDedupStringArray
βœ… TestIntersection
βœ… TestIntersectionNoOverlap
βœ… TestMerge