@lansweeper/data-platform-outbound-grpc 0.16.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_grpc_pb.d.ts +15 -0
- package/gen-proto/outbound_grpc_pb.js +38 -4
- package/gen-proto/outbound_pb.d.ts +115 -0
- package/gen-proto/outbound_pb.js +964 -119
- package/generated-go/outbound.pb.go +15013 -14591
- package/generated-go/outbound_grpc.pb.go +75 -8
- package/java.json +1 -1
- package/model/src/main/proto/outbound.proto +41 -5
- package/model/target/classes/outbound.proto +41 -5
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/{outbound-model-0.15.1-sources.jar → outbound-model-0.16.1-sources.jar} +0 -0
- package/model/target/{outbound-model-0.15.1.jar → outbound-model-0.16.1.jar} +0 -0
- package/package.json +1 -1
- package/proto/outbound.proto +41 -5
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/outbound-service-0.16.1-sources.jar +0 -0
- package/service/target/outbound-service-0.16.1.jar +0 -0
- package/service/target/outbound-service-0.15.1-sources.jar +0 -0
- package/service/target/outbound-service-0.15.1.jar +0 -0
|
@@ -26,12 +26,13 @@ import (
|
|
|
26
26
|
const _ = grpc.SupportPackageIsVersion8
|
|
27
27
|
|
|
28
28
|
const (
|
|
29
|
-
DataCoreOutboundService_GetEntity_FullMethodName
|
|
30
|
-
DataCoreOutboundService_GetEntities_FullMethodName
|
|
31
|
-
DataCoreOutboundService_ListEntities_FullMethodName
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
DataCoreOutboundService_GetEntity_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetEntity"
|
|
30
|
+
DataCoreOutboundService_GetEntities_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetEntities"
|
|
31
|
+
DataCoreOutboundService_ListEntities_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/ListEntities"
|
|
32
|
+
DataCoreOutboundService_GetEntityIdByRawSourceId_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetEntityIdByRawSourceId"
|
|
33
|
+
DataCoreOutboundService_CatalogLookup_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/CatalogLookup"
|
|
34
|
+
DataCoreOutboundService_GetIpLocationConfig_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetIpLocationConfig"
|
|
35
|
+
DataCoreOutboundService_SetIpLocationConfig_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/SetIpLocationConfig"
|
|
35
36
|
)
|
|
36
37
|
|
|
37
38
|
// DataCoreOutboundServiceClient is the client API for DataCoreOutboundService service.
|
|
@@ -47,8 +48,10 @@ type DataCoreOutboundServiceClient interface {
|
|
|
47
48
|
// Retrieve a single entity by site/inst-id/type/id
|
|
48
49
|
GetEntity(ctx context.Context, in *GetEntityRequest, opts ...grpc.CallOption) (*GetEntityResponse, error)
|
|
49
50
|
GetEntities(ctx context.Context, in *GetEntitiesRequest, opts ...grpc.CallOption) (DataCoreOutboundService_GetEntitiesClient, error)
|
|
50
|
-
//
|
|
51
|
+
// Lists entities for a site or site/type
|
|
51
52
|
ListEntities(ctx context.Context, in *ListEntityRequest, opts ...grpc.CallOption) (DataCoreOutboundService_ListEntitiesClient, error)
|
|
53
|
+
// Given a site and a list of raw source id(s), retrieve the corresponding entity id(s).
|
|
54
|
+
GetEntityIdByRawSourceId(ctx context.Context, in *GetEntityIdByRawSourceIdAndEntityTypeRequest, opts ...grpc.CallOption) (DataCoreOutboundService_GetEntityIdByRawSourceIdClient, error)
|
|
52
55
|
// Retrieve a single entity by site/inst-id/type/id
|
|
53
56
|
CatalogLookup(ctx context.Context, in *CatalogLookupRequest, opts ...grpc.CallOption) (*CatalogLookupResponse, error)
|
|
54
57
|
// Get IP Location config (BY SITE)
|
|
@@ -141,6 +144,39 @@ func (x *dataCoreOutboundServiceListEntitiesClient) Recv() (*ListEntityResponse,
|
|
|
141
144
|
return m, nil
|
|
142
145
|
}
|
|
143
146
|
|
|
147
|
+
func (c *dataCoreOutboundServiceClient) GetEntityIdByRawSourceId(ctx context.Context, in *GetEntityIdByRawSourceIdAndEntityTypeRequest, opts ...grpc.CallOption) (DataCoreOutboundService_GetEntityIdByRawSourceIdClient, error) {
|
|
148
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
149
|
+
stream, err := c.cc.NewStream(ctx, &DataCoreOutboundService_ServiceDesc.Streams[2], DataCoreOutboundService_GetEntityIdByRawSourceId_FullMethodName, cOpts...)
|
|
150
|
+
if err != nil {
|
|
151
|
+
return nil, err
|
|
152
|
+
}
|
|
153
|
+
x := &dataCoreOutboundServiceGetEntityIdByRawSourceIdClient{ClientStream: stream}
|
|
154
|
+
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
155
|
+
return nil, err
|
|
156
|
+
}
|
|
157
|
+
if err := x.ClientStream.CloseSend(); err != nil {
|
|
158
|
+
return nil, err
|
|
159
|
+
}
|
|
160
|
+
return x, nil
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
type DataCoreOutboundService_GetEntityIdByRawSourceIdClient interface {
|
|
164
|
+
Recv() (*GetEntityIdByRawSourceIdResponse, error)
|
|
165
|
+
grpc.ClientStream
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
type dataCoreOutboundServiceGetEntityIdByRawSourceIdClient struct {
|
|
169
|
+
grpc.ClientStream
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
func (x *dataCoreOutboundServiceGetEntityIdByRawSourceIdClient) Recv() (*GetEntityIdByRawSourceIdResponse, error) {
|
|
173
|
+
m := new(GetEntityIdByRawSourceIdResponse)
|
|
174
|
+
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
175
|
+
return nil, err
|
|
176
|
+
}
|
|
177
|
+
return m, nil
|
|
178
|
+
}
|
|
179
|
+
|
|
144
180
|
func (c *dataCoreOutboundServiceClient) CatalogLookup(ctx context.Context, in *CatalogLookupRequest, opts ...grpc.CallOption) (*CatalogLookupResponse, error) {
|
|
145
181
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
146
182
|
out := new(CatalogLookupResponse)
|
|
@@ -184,8 +220,10 @@ type DataCoreOutboundServiceServer interface {
|
|
|
184
220
|
// Retrieve a single entity by site/inst-id/type/id
|
|
185
221
|
GetEntity(context.Context, *GetEntityRequest) (*GetEntityResponse, error)
|
|
186
222
|
GetEntities(*GetEntitiesRequest, DataCoreOutboundService_GetEntitiesServer) error
|
|
187
|
-
//
|
|
223
|
+
// Lists entities for a site or site/type
|
|
188
224
|
ListEntities(*ListEntityRequest, DataCoreOutboundService_ListEntitiesServer) error
|
|
225
|
+
// Given a site and a list of raw source id(s), retrieve the corresponding entity id(s).
|
|
226
|
+
GetEntityIdByRawSourceId(*GetEntityIdByRawSourceIdAndEntityTypeRequest, DataCoreOutboundService_GetEntityIdByRawSourceIdServer) error
|
|
189
227
|
// Retrieve a single entity by site/inst-id/type/id
|
|
190
228
|
CatalogLookup(context.Context, *CatalogLookupRequest) (*CatalogLookupResponse, error)
|
|
191
229
|
// Get IP Location config (BY SITE)
|
|
@@ -208,6 +246,9 @@ func (UnimplementedDataCoreOutboundServiceServer) GetEntities(*GetEntitiesReques
|
|
|
208
246
|
func (UnimplementedDataCoreOutboundServiceServer) ListEntities(*ListEntityRequest, DataCoreOutboundService_ListEntitiesServer) error {
|
|
209
247
|
return status.Errorf(codes.Unimplemented, "method ListEntities not implemented")
|
|
210
248
|
}
|
|
249
|
+
func (UnimplementedDataCoreOutboundServiceServer) GetEntityIdByRawSourceId(*GetEntityIdByRawSourceIdAndEntityTypeRequest, DataCoreOutboundService_GetEntityIdByRawSourceIdServer) error {
|
|
250
|
+
return status.Errorf(codes.Unimplemented, "method GetEntityIdByRawSourceId not implemented")
|
|
251
|
+
}
|
|
211
252
|
func (UnimplementedDataCoreOutboundServiceServer) CatalogLookup(context.Context, *CatalogLookupRequest) (*CatalogLookupResponse, error) {
|
|
212
253
|
return nil, status.Errorf(codes.Unimplemented, "method CatalogLookup not implemented")
|
|
213
254
|
}
|
|
@@ -291,6 +332,27 @@ func (x *dataCoreOutboundServiceListEntitiesServer) Send(m *ListEntityResponse)
|
|
|
291
332
|
return x.ServerStream.SendMsg(m)
|
|
292
333
|
}
|
|
293
334
|
|
|
335
|
+
func _DataCoreOutboundService_GetEntityIdByRawSourceId_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
336
|
+
m := new(GetEntityIdByRawSourceIdAndEntityTypeRequest)
|
|
337
|
+
if err := stream.RecvMsg(m); err != nil {
|
|
338
|
+
return err
|
|
339
|
+
}
|
|
340
|
+
return srv.(DataCoreOutboundServiceServer).GetEntityIdByRawSourceId(m, &dataCoreOutboundServiceGetEntityIdByRawSourceIdServer{ServerStream: stream})
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
type DataCoreOutboundService_GetEntityIdByRawSourceIdServer interface {
|
|
344
|
+
Send(*GetEntityIdByRawSourceIdResponse) error
|
|
345
|
+
grpc.ServerStream
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
type dataCoreOutboundServiceGetEntityIdByRawSourceIdServer struct {
|
|
349
|
+
grpc.ServerStream
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
func (x *dataCoreOutboundServiceGetEntityIdByRawSourceIdServer) Send(m *GetEntityIdByRawSourceIdResponse) error {
|
|
353
|
+
return x.ServerStream.SendMsg(m)
|
|
354
|
+
}
|
|
355
|
+
|
|
294
356
|
func _DataCoreOutboundService_CatalogLookup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
295
357
|
in := new(CatalogLookupRequest)
|
|
296
358
|
if err := dec(in); err != nil {
|
|
@@ -380,6 +442,11 @@ var DataCoreOutboundService_ServiceDesc = grpc.ServiceDesc{
|
|
|
380
442
|
Handler: _DataCoreOutboundService_ListEntities_Handler,
|
|
381
443
|
ServerStreams: true,
|
|
382
444
|
},
|
|
445
|
+
{
|
|
446
|
+
StreamName: "GetEntityIdByRawSourceId",
|
|
447
|
+
Handler: _DataCoreOutboundService_GetEntityIdByRawSourceId_Handler,
|
|
448
|
+
ServerStreams: true,
|
|
449
|
+
},
|
|
383
450
|
},
|
|
384
451
|
Metadata: "outbound.proto",
|
|
385
452
|
}
|
package/java.json
CHANGED
|
@@ -17,9 +17,9 @@ import "google/protobuf/any.proto";
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* GRPC Service. Currently supported operation:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
|
|
20
|
+
* - Get Entity
|
|
21
|
+
* - Stream Entities
|
|
22
|
+
* - Deconcile Entity
|
|
23
23
|
*/
|
|
24
24
|
service DataCoreOutboundService {
|
|
25
25
|
|
|
@@ -32,9 +32,12 @@ service DataCoreOutboundService {
|
|
|
32
32
|
|
|
33
33
|
rpc GetEntities (GetEntitiesRequest) returns (stream GetEntityResponse) {}
|
|
34
34
|
|
|
35
|
-
//
|
|
35
|
+
// Lists entities for a site or site/type
|
|
36
36
|
rpc ListEntities(ListEntityRequest) returns (stream ListEntityResponse) {}
|
|
37
37
|
|
|
38
|
+
// Given a site and a list of raw source id(s), retrieve the corresponding entity id(s).
|
|
39
|
+
rpc GetEntityIdByRawSourceId(GetEntityIdByRawSourceIdAndEntityTypeRequest) returns (stream GetEntityIdByRawSourceIdResponse) {}
|
|
40
|
+
|
|
38
41
|
// ----------------------------------------
|
|
39
42
|
// ENRICHMENT API
|
|
40
43
|
// ----------------------------------------
|
|
@@ -51,7 +54,6 @@ service DataCoreOutboundService {
|
|
|
51
54
|
|
|
52
55
|
// Set IP Location Config far a Site
|
|
53
56
|
rpc SetIpLocationConfig(SetIpLocationConfigRequest) returns (SetIpLocationConfigResponse) {}
|
|
54
|
-
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
/**
|
|
@@ -129,6 +131,39 @@ message EntityFilter {
|
|
|
129
131
|
optional VirtualState virtual_state = 4;
|
|
130
132
|
}
|
|
131
133
|
|
|
134
|
+
message GetEntityIdByRawSourceIdAndEntityTypeRequest {
|
|
135
|
+
string site_id = 1;
|
|
136
|
+
repeated SourceEntity source_entity= 2;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message SourceEntity {
|
|
140
|
+
|
|
141
|
+
enum EntityType {
|
|
142
|
+
ASSET = 0;
|
|
143
|
+
USER = 1;
|
|
144
|
+
GROUP = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
string raw_source_id = 1;
|
|
148
|
+
EntityType entity_type = 2;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message GetEntityIdByRawSourceIdResponse {
|
|
152
|
+
|
|
153
|
+
enum ProcessingStatus {
|
|
154
|
+
NOT_FOUND = 0;
|
|
155
|
+
PROCESSED = 1;
|
|
156
|
+
PROCESSING_FAILED = 2;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
string raw_source_id = 1;
|
|
160
|
+
optional string alias_id = 2; // id of the alias directly linked to the raw source id if applicable.
|
|
161
|
+
ProcessingStatus processing_status = 3;
|
|
162
|
+
Tag tag = 4; // Source Tag
|
|
163
|
+
EntityPath entity_path = 5; // entity path asset linked to the raw source id.
|
|
164
|
+
google.protobuf.Timestamp last_updated = 6; // last updated time for the index.
|
|
165
|
+
}
|
|
166
|
+
|
|
132
167
|
/**
|
|
133
168
|
* Retrieve an Entity through his path
|
|
134
169
|
*/
|
|
@@ -788,6 +823,7 @@ message CloudEntity {
|
|
|
788
823
|
reserved 14;
|
|
789
824
|
optional string resource_id = 15;
|
|
790
825
|
optional ScannerType scanner_type = 16;
|
|
826
|
+
optional string cloud_asset_type = 17; // The cloud-specific asset type (e.g. "Azure Virtual Machine"), preserved when a higher-priority source wins the main asset type.
|
|
791
827
|
}
|
|
792
828
|
|
|
793
829
|
message PublicCloudLink {
|
|
@@ -17,9 +17,9 @@ import "google/protobuf/any.proto";
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* GRPC Service. Currently supported operation:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
|
|
20
|
+
* - Get Entity
|
|
21
|
+
* - Stream Entities
|
|
22
|
+
* - Deconcile Entity
|
|
23
23
|
*/
|
|
24
24
|
service DataCoreOutboundService {
|
|
25
25
|
|
|
@@ -32,9 +32,12 @@ service DataCoreOutboundService {
|
|
|
32
32
|
|
|
33
33
|
rpc GetEntities (GetEntitiesRequest) returns (stream GetEntityResponse) {}
|
|
34
34
|
|
|
35
|
-
//
|
|
35
|
+
// Lists entities for a site or site/type
|
|
36
36
|
rpc ListEntities(ListEntityRequest) returns (stream ListEntityResponse) {}
|
|
37
37
|
|
|
38
|
+
// Given a site and a list of raw source id(s), retrieve the corresponding entity id(s).
|
|
39
|
+
rpc GetEntityIdByRawSourceId(GetEntityIdByRawSourceIdAndEntityTypeRequest) returns (stream GetEntityIdByRawSourceIdResponse) {}
|
|
40
|
+
|
|
38
41
|
// ----------------------------------------
|
|
39
42
|
// ENRICHMENT API
|
|
40
43
|
// ----------------------------------------
|
|
@@ -51,7 +54,6 @@ service DataCoreOutboundService {
|
|
|
51
54
|
|
|
52
55
|
// Set IP Location Config far a Site
|
|
53
56
|
rpc SetIpLocationConfig(SetIpLocationConfigRequest) returns (SetIpLocationConfigResponse) {}
|
|
54
|
-
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
/**
|
|
@@ -129,6 +131,39 @@ message EntityFilter {
|
|
|
129
131
|
optional VirtualState virtual_state = 4;
|
|
130
132
|
}
|
|
131
133
|
|
|
134
|
+
message GetEntityIdByRawSourceIdAndEntityTypeRequest {
|
|
135
|
+
string site_id = 1;
|
|
136
|
+
repeated SourceEntity source_entity= 2;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message SourceEntity {
|
|
140
|
+
|
|
141
|
+
enum EntityType {
|
|
142
|
+
ASSET = 0;
|
|
143
|
+
USER = 1;
|
|
144
|
+
GROUP = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
string raw_source_id = 1;
|
|
148
|
+
EntityType entity_type = 2;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message GetEntityIdByRawSourceIdResponse {
|
|
152
|
+
|
|
153
|
+
enum ProcessingStatus {
|
|
154
|
+
NOT_FOUND = 0;
|
|
155
|
+
PROCESSED = 1;
|
|
156
|
+
PROCESSING_FAILED = 2;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
string raw_source_id = 1;
|
|
160
|
+
optional string alias_id = 2; // id of the alias directly linked to the raw source id if applicable.
|
|
161
|
+
ProcessingStatus processing_status = 3;
|
|
162
|
+
Tag tag = 4; // Source Tag
|
|
163
|
+
EntityPath entity_path = 5; // entity path asset linked to the raw source id.
|
|
164
|
+
google.protobuf.Timestamp last_updated = 6; // last updated time for the index.
|
|
165
|
+
}
|
|
166
|
+
|
|
132
167
|
/**
|
|
133
168
|
* Retrieve an Entity through his path
|
|
134
169
|
*/
|
|
@@ -788,6 +823,7 @@ message CloudEntity {
|
|
|
788
823
|
reserved 14;
|
|
789
824
|
optional string resource_id = 15;
|
|
790
825
|
optional ScannerType scanner_type = 16;
|
|
826
|
+
optional string cloud_asset_type = 17; // The cloud-specific asset type (e.g. "Azure Virtual Machine"), preserved when a higher-priority source wins the main asset type.
|
|
791
827
|
}
|
|
792
828
|
|
|
793
829
|
message PublicCloudLink {
|
package/model/target/{outbound-model-0.15.1-sources.jar → outbound-model-0.16.1-sources.jar}
RENAMED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/proto/outbound.proto
CHANGED
|
@@ -17,9 +17,9 @@ import "google/protobuf/any.proto";
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* GRPC Service. Currently supported operation:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
|
|
20
|
+
* - Get Entity
|
|
21
|
+
* - Stream Entities
|
|
22
|
+
* - Deconcile Entity
|
|
23
23
|
*/
|
|
24
24
|
service DataCoreOutboundService {
|
|
25
25
|
|
|
@@ -32,9 +32,12 @@ service DataCoreOutboundService {
|
|
|
32
32
|
|
|
33
33
|
rpc GetEntities (GetEntitiesRequest) returns (stream GetEntityResponse) {}
|
|
34
34
|
|
|
35
|
-
//
|
|
35
|
+
// Lists entities for a site or site/type
|
|
36
36
|
rpc ListEntities(ListEntityRequest) returns (stream ListEntityResponse) {}
|
|
37
37
|
|
|
38
|
+
// Given a site and a list of raw source id(s), retrieve the corresponding entity id(s).
|
|
39
|
+
rpc GetEntityIdByRawSourceId(GetEntityIdByRawSourceIdAndEntityTypeRequest) returns (stream GetEntityIdByRawSourceIdResponse) {}
|
|
40
|
+
|
|
38
41
|
// ----------------------------------------
|
|
39
42
|
// ENRICHMENT API
|
|
40
43
|
// ----------------------------------------
|
|
@@ -51,7 +54,6 @@ service DataCoreOutboundService {
|
|
|
51
54
|
|
|
52
55
|
// Set IP Location Config far a Site
|
|
53
56
|
rpc SetIpLocationConfig(SetIpLocationConfigRequest) returns (SetIpLocationConfigResponse) {}
|
|
54
|
-
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
/**
|
|
@@ -129,6 +131,39 @@ message EntityFilter {
|
|
|
129
131
|
optional VirtualState virtual_state = 4;
|
|
130
132
|
}
|
|
131
133
|
|
|
134
|
+
message GetEntityIdByRawSourceIdAndEntityTypeRequest {
|
|
135
|
+
string site_id = 1;
|
|
136
|
+
repeated SourceEntity source_entity= 2;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message SourceEntity {
|
|
140
|
+
|
|
141
|
+
enum EntityType {
|
|
142
|
+
ASSET = 0;
|
|
143
|
+
USER = 1;
|
|
144
|
+
GROUP = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
string raw_source_id = 1;
|
|
148
|
+
EntityType entity_type = 2;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message GetEntityIdByRawSourceIdResponse {
|
|
152
|
+
|
|
153
|
+
enum ProcessingStatus {
|
|
154
|
+
NOT_FOUND = 0;
|
|
155
|
+
PROCESSED = 1;
|
|
156
|
+
PROCESSING_FAILED = 2;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
string raw_source_id = 1;
|
|
160
|
+
optional string alias_id = 2; // id of the alias directly linked to the raw source id if applicable.
|
|
161
|
+
ProcessingStatus processing_status = 3;
|
|
162
|
+
Tag tag = 4; // Source Tag
|
|
163
|
+
EntityPath entity_path = 5; // entity path asset linked to the raw source id.
|
|
164
|
+
google.protobuf.Timestamp last_updated = 6; // last updated time for the index.
|
|
165
|
+
}
|
|
166
|
+
|
|
132
167
|
/**
|
|
133
168
|
* Retrieve an Entity through his path
|
|
134
169
|
*/
|
|
@@ -788,6 +823,7 @@ message CloudEntity {
|
|
|
788
823
|
reserved 14;
|
|
789
824
|
optional string resource_id = 15;
|
|
790
825
|
optional ScannerType scanner_type = 16;
|
|
826
|
+
optional string cloud_asset_type = 17; // The cloud-specific asset type (e.g. "Azure Virtual Machine"), preserved when a higher-priority source wins the main asset type.
|
|
791
827
|
}
|
|
792
828
|
|
|
793
829
|
message PublicCloudLink {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|