package cnquery.explorer

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service QueryConductor

cnquery_explorer.proto:346

service QueryHub

cnquery_explorer.proto:303

enum Action

cnquery_explorer.proto:124

protolint:disable ENUM_FIELD_NAMES_PREFIX protolint:disable ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH

Used in: Impact, Mquery

message Asset

cnquery_explorer.proto:421

Asset is a lean layer of information about an asset

Used in: ReportCollection

message Assignment

cnquery_explorer.proto:358

Assign a number of packs to an asset. All of these are identified by MRN. Generally query packs are assigned (via MRN).

Used as request type in: QueryConductor.Assign, QueryConductor.Unassign

message AssignmentDelta

cnquery_explorer.proto:445

Used in: BundleMutationDelta

enum AssignmentDelta.Action

cnquery_explorer.proto:449

protolint:disable ENUM_FIELD_NAMES_PREFIX protolint:disable ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH

Used in: AssignmentDelta

message Author

cnquery_explorer.proto:253

Author is used to identify the author of a query

Used in: QueryPack

message Bundle

cnquery_explorer.proto:14

Used as request type in: QueryHub.SetBundle, QueryHub.ValidateBundle

Used as response type in: QueryHub.GetBundle

Used as field type in: ReportCollection, scan.Job

message BundleMutationDelta

cnquery_explorer.proto:457

message DataQueryInfo

cnquery_explorer.proto:282

Used in: ExecutionJob

message Docs

cnquery_explorer.proto:94

message Empty

cnquery_explorer.proto:314

Used as response type in: QueryConductor.Assign, QueryConductor.SetProps, QueryConductor.StoreResults, QueryConductor.Unassign, QueryHub.DeleteQueryPack, QueryHub.SetBundle, QueryHub.ValidateBundle

(message has no fields)

message ErrorStatus

cnquery_explorer.proto:436

Used in: ReportCollection

message ExecutionJob

cnquery_explorer.proto:274

The list of queries that an asset needs to execute May be identical amongst multiple packs

Used in: ResolvedPack

message ExecutionQuery

cnquery_explorer.proto:291

A query which is part of an ExecutionJob Reduced to the bare minimum for the execution

Used in: ExecutionJob

message Filters

cnquery_explorer.proto:86

User-defined and internal filters. Users may use: 1. filters: asset.name == /sth/ 2. filters: - mql: asset.name == /sth/ Internally we use: 3. filters: items: <checksum>: { ..mquery.. }

Used in: Mquery, QueryGroup, QueryPack

message Impact

cnquery_explorer.proto:200

Impact explains how important certain queries are. They are especially useful in weighted testing where results need to be prioritized. They can also serve as a priority list for data that is collected.

Used in: Mquery

message ImpactValue

cnquery_explorer.proto:477

Used in: Impact

message Mquery

cnquery_explorer.proto:134

Mquery represents the MQL and metadata that form a query

Used in: Bundle, Filters, Mqueries, QueryGroup, QueryPack, ResolveReq, ResolvedPack, UpdateAssetJobsReq

message MqueryDocs

cnquery_explorer.proto:217

Documentation for Mquery

Used in: Mquery

message MqueryRef

cnquery_explorer.proto:261

MqueryRef is used to reference external sources

Used in: Docs, Mquery, MqueryDocs

message Mrn

cnquery_explorer.proto:319

MRNs are used to uniquely identify resources. They are globally unique.

Used as request type in: QueryHub.DeleteQueryPack, QueryHub.GetBundle, QueryHub.GetFilters, QueryHub.GetQueryPack

message ObjectRef

cnquery_explorer.proto:71

Used in: Mquery, Property

message Property

cnquery_explorer.proto:106

Properties allow users to configure queries and bundles in pre-defined ways. They return one value only, have a type, and may specify which query they target, while used in querypacks (or other groupings like policies). They may contain additional metadata to provide more information. Note: At the time of writing properties do not pull from other properties. They may do that later.

Used in: Bundle, Mquery, PropsReq, QueryPack

message QueryGroup

cnquery_explorer.proto:21

Used in: QueryPack

message QueryPack

cnquery_explorer.proto:34

Used as response type in: QueryHub.GetQueryPack

Used as field type in: Bundle, QueryPacks

message QueryPackDocs

cnquery_explorer.proto:212

Used in: QueryPack

message Remediation

cnquery_explorer.proto:230

Remediation is used to provide a fix for a check.

Used in: MqueryDocs

message Report

cnquery_explorer.proto:409

The report of all the things collected for an entity (typically asset). The provided pack is used as the root to decide what data fields will be returned.

Used as response type in: QueryConductor.GetReport

Used as field type in: ReportCollection

message ReportCollection

cnquery_explorer.proto:428

message ResolvedPack

cnquery_explorer.proto:378

ResolvedPack is returned from a resolve request. It includes the execution job with all things that need to be run.

Used as response type in: QueryConductor.Resolve

Used as field type in: ReportCollection

enum ScoringSystem

cnquery_explorer.proto:166

protolint:disable ENUM_FIELD_NAMES_PREFIX protolint:disable ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH

Used in: Impact

message SynchronizeAssetsRespAssetDetail

cnquery_explorer.proto:467

Used in: SynchronizeAssetsResp

message TypedDoc

cnquery_explorer.proto:237

A typed documentation for a remediation

Used in: Remediation

message UpdateAssetJobsReq

cnquery_explorer.proto:386

Update asset jobs forces all jobs for a given asset to get refreshed.