@lansweeper/asserver-grpc 0.0.1
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 +18 -0
- package/grpc/asserver.proto +166 -0
- package/package.json +12 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## 0.0.1 (2020-12-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* moved asserver to dedicated package ([401de44](https://github.com/Lansweeper/lansweeperapis/commit/401de44f5ce8eaa2eb135e397e6563a4fd5c6984))
|
|
12
|
+
* moved asserver to dedicated package ([e857766](https://github.com/Lansweeper/lansweeperapis/commit/e8577666a2dad86aa077634edb346e8ebc846603))
|
|
13
|
+
* moved asserver to dedicated package ([f8d85b8](https://github.com/Lansweeper/lansweeperapis/commit/f8d85b86721a280cee642e41e81c94f56ffb51ba))
|
|
14
|
+
* new casing for scanning, asserver, roundtrip ([208a0d1](https://github.com/Lansweeper/lansweeperapis/commit/208a0d1e32705ef421c9a119f7b55b05199261ef))
|
|
15
|
+
* new casing for scanning, asserver, roundtrip ([962f418](https://github.com/Lansweeper/lansweeperapis/commit/962f418e077bf8d9cc623d471a9db839e0b6dd6f))
|
|
16
|
+
* new casing for scanning, asserver, roundtrip ([ccebf39](https://github.com/Lansweeper/lansweeperapis/commit/ccebf392aa110a663bff87d69e0f4ad3bdefd0c6))
|
|
17
|
+
* new casing for scanning, asserver, roundtrip ([d3072ac](https://github.com/Lansweeper/lansweeperapis/commit/d3072ac4545d12d18f77c37b4b1e284cab242d3c))
|
|
18
|
+
* removed clientkey/installkey from scanning and asserver proto ([bb73e99](https://github.com/Lansweeper/lansweeperapis/commit/bb73e99c72351f8c26214a1be39a73b040bb9e82))
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package lansweeper.asserver.v1;
|
|
4
|
+
|
|
5
|
+
option csharp_namespace = "Lansweeper.AsServer.GRPC";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
message NullableString {
|
|
9
|
+
oneof kind {
|
|
10
|
+
string data = 1;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message NullableInt32 {
|
|
15
|
+
oneof kind {
|
|
16
|
+
int32 data = 1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message NullableInt64 {
|
|
21
|
+
oneof kind {
|
|
22
|
+
int64 data = 1;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message NullableBoolean {
|
|
27
|
+
oneof kind {
|
|
28
|
+
bool data = 1;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
message AsServer {
|
|
34
|
+
string as_server_id = 1;
|
|
35
|
+
NullableString service_started = 2;
|
|
36
|
+
NullableString service_last_polled = 3;
|
|
37
|
+
NullableString computer_scanned = 4;
|
|
38
|
+
bool active_scanning = 5;
|
|
39
|
+
NullableBoolean work_group_scanning = 6;
|
|
40
|
+
NullableString version = 7;
|
|
41
|
+
string listen_port = 8;
|
|
42
|
+
string concurrent_threads = 9;
|
|
43
|
+
string i_pscan_threads = 10;
|
|
44
|
+
bool rm_ad_comp = 11;
|
|
45
|
+
bool naad_comp = 12;
|
|
46
|
+
bool rm_ad_user = 13;
|
|
47
|
+
bool make_active = 14;
|
|
48
|
+
bool del_hist = 15;
|
|
49
|
+
string del_hist_days = 16;
|
|
50
|
+
bool del_comp = 17;
|
|
51
|
+
string del_comp_days = 18;
|
|
52
|
+
bool na_comp = 19;
|
|
53
|
+
string na_comp_days = 20;
|
|
54
|
+
string delevent_days = 21;
|
|
55
|
+
string delsys_log_days = 22;
|
|
56
|
+
bool refrad_comp = 23;
|
|
57
|
+
bool refrad_users = 24;
|
|
58
|
+
NullableString smtp_server = 25;
|
|
59
|
+
NullableString smtp_port = 26;
|
|
60
|
+
NullableString smtpfrom = 27;
|
|
61
|
+
NullableString smtp_from_display = 28;
|
|
62
|
+
NullableBoolean smtp_authenticate = 29;
|
|
63
|
+
NullableString smtp_user_name = 30;
|
|
64
|
+
bool send_alert_reports = 31;
|
|
65
|
+
bool send_event_alerts = 32;
|
|
66
|
+
bool mail_now = 33;
|
|
67
|
+
bool ip_scan_now = 34;
|
|
68
|
+
bool day1_rep = 35;
|
|
69
|
+
bool day2_rep = 36;
|
|
70
|
+
bool day3_rep = 37;
|
|
71
|
+
bool day4_rep = 38;
|
|
72
|
+
bool day5_rep = 39;
|
|
73
|
+
bool day6_rep = 40;
|
|
74
|
+
bool day7_rep = 41;
|
|
75
|
+
string day1_time_rep = 42;
|
|
76
|
+
string day2_time_rep = 43;
|
|
77
|
+
string day3_time_rep = 44;
|
|
78
|
+
string day4_time_rep = 45;
|
|
79
|
+
string day5_time_rep = 46;
|
|
80
|
+
string day6_time_rep = 47;
|
|
81
|
+
string day7_time_rep = 48;
|
|
82
|
+
NullableString last_mailed = 49;
|
|
83
|
+
bool rmdi_user = 50;
|
|
84
|
+
bool rmdi_comp = 51;
|
|
85
|
+
bool nadicomp = 52;
|
|
86
|
+
NullableString scan_user = 53;
|
|
87
|
+
bool ev_info = 54;
|
|
88
|
+
bool e_vsuccess = 55;
|
|
89
|
+
bool ev_up_time = 56;
|
|
90
|
+
int32 del_up_time_days = 57;
|
|
91
|
+
bool ev_warning = 58;
|
|
92
|
+
bool ev_failure = 59;
|
|
93
|
+
int32 del_logon_info = 60;
|
|
94
|
+
bool is_domain = 61;
|
|
95
|
+
NullableString domain_name = 62;
|
|
96
|
+
NullableString dns_name = 63;
|
|
97
|
+
NullableString start_ip = 64;
|
|
98
|
+
NullableString end_ip = 65;
|
|
99
|
+
bool smtp_use_ssl = 66;
|
|
100
|
+
bool enable_proxy = 67;
|
|
101
|
+
NullableString proxy_name = 68;
|
|
102
|
+
bool enable_proxy_auth = 69;
|
|
103
|
+
NullableString proxy_login = 70;
|
|
104
|
+
NullableString proxy_domain = 71;
|
|
105
|
+
bool enable_warran_ty_scanning = 72;
|
|
106
|
+
string current_user = 73;
|
|
107
|
+
NullableBoolean asset_group_sscannow = 74;
|
|
108
|
+
bool renamed_computer_detection = 75;
|
|
109
|
+
string last_active_scan = 76;
|
|
110
|
+
NullableInt32 max_deployment_threads = 77;
|
|
111
|
+
string del_deployment_log_days = 78;
|
|
112
|
+
int32 scan_history_days = 79;
|
|
113
|
+
int32 active_scanning_maxrescan_time = 80;
|
|
114
|
+
int32 active_scanning_min_rescan_time = 81;
|
|
115
|
+
int32 active_scanning_inter_val = 82;
|
|
116
|
+
bool clear_queue = 83;
|
|
117
|
+
bool mail_server = 84;
|
|
118
|
+
NullableInt32 encryption_key_hash = 85;
|
|
119
|
+
int32 del_configuration_log_days = 86;
|
|
120
|
+
int32 del_login_log_days = 87;
|
|
121
|
+
int32 proxy_timeout = 88;
|
|
122
|
+
bool do_fallback_scanning = 89;
|
|
123
|
+
int32 del_performance_counter_days = 90;
|
|
124
|
+
NullableBoolean is64_bit = 91;
|
|
125
|
+
bool is_performance_counter_target_created = 92;
|
|
126
|
+
bool s_a_d_d_c_o_m_p = 93;
|
|
127
|
+
bool s_a_d_d_u_s_e_r = 94;
|
|
128
|
+
int32 del_windows_cluster_logs_days = 95;
|
|
129
|
+
int32 del_hyper_v_logs_days = 96;
|
|
130
|
+
int32 del_sccm_data_days = 97;
|
|
131
|
+
bool d_e_l_s_c_c_m_c_o_m_p = 98;
|
|
132
|
+
bool scan_last_logon = 99;
|
|
133
|
+
NullableInt32 proxy_port = 100;
|
|
134
|
+
bool is_asset_radar_compatible = 101;
|
|
135
|
+
NullableString asset_radar_compatible_last_scanned = 102;
|
|
136
|
+
bool check_asset_radar_compatibility_now = 103;
|
|
137
|
+
bool install_asset_radar_driver_now = 104;
|
|
138
|
+
int32 is_asset_radar_enabled = 105;
|
|
139
|
+
bool del_asset_radar_comp = 106;
|
|
140
|
+
bool del_asset_radar_comp_unknown_only = 107;
|
|
141
|
+
int32 del_asset_radar_days = 108;
|
|
142
|
+
bool del_asset_radar_log_comp = 109;
|
|
143
|
+
int32 del_asset_radar_log_days = 110;
|
|
144
|
+
bool non_active_asset_radar_comp = 111;
|
|
145
|
+
int32 non_active_asset_radar_comp_days = 112;
|
|
146
|
+
bool non_active_asset_radar_comp_unknown_only = 113;
|
|
147
|
+
int32 non_active_asset_radar_comp_unknown_only_days = 114;
|
|
148
|
+
int32 del_asset_radar_comp_unknown_only_days = 115;
|
|
149
|
+
NullableString cloud_id = 116;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
message SyncAsServerServiceSendOneResponse {
|
|
153
|
+
string message = 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
message SyncAsServerServiceSendOneRequest {
|
|
158
|
+
oneof entity {
|
|
159
|
+
AsServer asServer = 1;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
service SyncAsServerService {
|
|
164
|
+
rpc SendOne (SyncAsServerServiceSendOneRequest) returns (SyncAsServerServiceSendOneResponse) {}
|
|
165
|
+
}
|
|
166
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lansweeper/asserver-grpc",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"main": "gen-proto/index.js",
|
|
5
|
+
"types": "gen-proto/index.d.ts",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"google-protobuf": "^3.12.4",
|
|
9
|
+
"grpc": "^1.24.3"
|
|
10
|
+
},
|
|
11
|
+
"gitHead": "04b7b1f263b7a36a5a6babe1ad8fd34e10d1ee18"
|
|
12
|
+
}
|