go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/shared/proto/cnquery.proto (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  syntax = "proto3";
     5  package proto;
     6  option go_package = "go.mondoo.com/cnquery/shared/proto";
     7  
     8  import "providers-sdk/v1/inventory/inventory.proto";
     9  
    10  message RunQueryConfig {
    11    string command = 1;
    12    uint32 callback_server = 2;
    13  
    14    cnquery.providers.v1.Inventory inventory = 3;
    15    bytes features = 4;
    16  
    17    bool do_parse = 5;
    18    bool do_ast = 6;
    19    bool do_record = 7;
    20    string format = 8;
    21    string platform_id = 9;
    22    bool incognito = 10;
    23    string output = 11;
    24    string input = 12;
    25  }
    26  
    27  message Empty {}
    28  
    29  message String {
    30    string data = 1;
    31  }
    32  
    33  service CNQuery {
    34    rpc RunQuery(RunQueryConfig) returns (Empty);
    35  }
    36  
    37  service OutputHelper {
    38    rpc Write(String) returns (Empty);
    39  }