@lansweeper/scanningconfig-grpc 0.4.1 → 0.4.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 +4 -0
- package/Lansweeper.ScanningConfig.GRPC.csproj +3 -3
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/bin/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/scanningconfig_pb.d.ts +6 -0
- package/gen-proto/scanningconfig_pb.js +49 -1
- package/generated-go/scanningconfig.pb.go +526 -516
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/scanningconfig.proto +3 -2
- package/model/target/classes/lansweeper/scanningconfig/v1/ActionDefinition$1.class +0 -0
- package/model/target/classes/lansweeper/scanningconfig/v1/ActionDefinition$Builder.class +0 -0
- package/model/target/classes/lansweeper/scanningconfig/v1/ActionDefinition.class +0 -0
- package/model/target/classes/lansweeper/scanningconfig/v1/ActionDefinitionOrBuilder.class +0 -0
- package/model/target/classes/lansweeper/scanningconfig/v1/Scanningconfig.class +0 -0
- package/model/target/classes/scanningconfig.proto +3 -2
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/ActionDefinition.java +89 -0
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/ActionDefinitionOrBuilder.java +11 -0
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/Credential.java +7 -7
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/CredentialOrBuilder.java +2 -2
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/Scanningconfig.java +185 -185
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/TargetData.java +9 -9
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/TargetDataOrBuilder.java +3 -3
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/UpdateWindowSettings.java +12 -12
- package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/UpdateWindowSettingsOrBuilder.java +3 -3
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/{scanningconfig-model-0.4.0-sources.jar → scanningconfig-model-0.4.1-sources.jar} +0 -0
- package/model/target/{scanningconfig-model-0.4.0.jar → scanningconfig-model-0.4.1.jar} +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Scanningconfig.cs +217 -166
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +1 -1
- package/obj/project.assets.json +1 -1
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/scanningconfig.proto +3 -2
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{scanningconfig-service-0.4.0-sources.jar → scanningconfig-service-0.4.1-sources.jar} +0 -0
- package/service/target/{scanningconfig-service-0.4.0.jar → scanningconfig-service-0.4.1.jar} +0 -0
package/java.json
CHANGED
package/model/pom.xml
CHANGED
|
@@ -142,6 +142,7 @@ message ActionDefinition
|
|
|
142
142
|
repeated string targets = 2 [deprecated=true];
|
|
143
143
|
repeated string exclusions = 3;
|
|
144
144
|
repeated TargetData targets_data = 4;
|
|
145
|
+
optional bool ai_scan = 5;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
enum IPScanType {
|
|
@@ -276,7 +277,7 @@ message NetworkConfigurationSettings {
|
|
|
276
277
|
}
|
|
277
278
|
|
|
278
279
|
message ParallelismSettings {
|
|
279
|
-
google.protobuf.Int32Value max_parallelism = 1;
|
|
280
|
+
google.protobuf.Int32Value max_parallelism = 1; // default 100
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
message ExclusionSettings {
|
|
@@ -328,7 +329,7 @@ message UpdateSettings {
|
|
|
328
329
|
|
|
329
330
|
message UpdateWindowSettings {
|
|
330
331
|
google.protobuf.BoolValue enabled = 1;
|
|
331
|
-
google.protobuf.StringValue update_window = 2; // cron expression
|
|
332
|
+
google.protobuf.StringValue update_window = 2; // cron expression
|
|
332
333
|
}
|
|
333
334
|
|
|
334
335
|
message BackupSettings {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -142,6 +142,7 @@ message ActionDefinition
|
|
|
142
142
|
repeated string targets = 2 [deprecated=true];
|
|
143
143
|
repeated string exclusions = 3;
|
|
144
144
|
repeated TargetData targets_data = 4;
|
|
145
|
+
optional bool ai_scan = 5;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
enum IPScanType {
|
|
@@ -276,7 +277,7 @@ message NetworkConfigurationSettings {
|
|
|
276
277
|
}
|
|
277
278
|
|
|
278
279
|
message ParallelismSettings {
|
|
279
|
-
google.protobuf.Int32Value max_parallelism = 1;
|
|
280
|
+
google.protobuf.Int32Value max_parallelism = 1; // default 100
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
message ExclusionSettings {
|
|
@@ -328,7 +329,7 @@ message UpdateSettings {
|
|
|
328
329
|
|
|
329
330
|
message UpdateWindowSettings {
|
|
330
331
|
google.protobuf.BoolValue enabled = 1;
|
|
331
|
-
google.protobuf.StringValue update_window = 2; // cron expression
|
|
332
|
+
google.protobuf.StringValue update_window = 2; // cron expression
|
|
332
333
|
}
|
|
333
334
|
|
|
334
335
|
message BackupSettings {
|
|
@@ -311,6 +311,25 @@ private static final long serialVersionUID = 0L;
|
|
|
311
311
|
return targetsData_.get(index);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
+
public static final int AI_SCAN_FIELD_NUMBER = 5;
|
|
315
|
+
private boolean aiScan_ = false;
|
|
316
|
+
/**
|
|
317
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
318
|
+
* @return Whether the aiScan field is set.
|
|
319
|
+
*/
|
|
320
|
+
@java.lang.Override
|
|
321
|
+
public boolean hasAiScan() {
|
|
322
|
+
return ((bitField0_ & 0x00000002) != 0);
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
326
|
+
* @return The aiScan.
|
|
327
|
+
*/
|
|
328
|
+
@java.lang.Override
|
|
329
|
+
public boolean getAiScan() {
|
|
330
|
+
return aiScan_;
|
|
331
|
+
}
|
|
332
|
+
|
|
314
333
|
private byte memoizedIsInitialized = -1;
|
|
315
334
|
@java.lang.Override
|
|
316
335
|
public final boolean isInitialized() {
|
|
@@ -337,6 +356,9 @@ private static final long serialVersionUID = 0L;
|
|
|
337
356
|
for (int i = 0; i < targetsData_.size(); i++) {
|
|
338
357
|
output.writeMessage(4, targetsData_.get(i));
|
|
339
358
|
}
|
|
359
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
360
|
+
output.writeBool(5, aiScan_);
|
|
361
|
+
}
|
|
340
362
|
getUnknownFields().writeTo(output);
|
|
341
363
|
}
|
|
342
364
|
|
|
@@ -370,6 +392,10 @@ private static final long serialVersionUID = 0L;
|
|
|
370
392
|
size += com.google.protobuf.CodedOutputStream
|
|
371
393
|
.computeMessageSize(4, targetsData_.get(i));
|
|
372
394
|
}
|
|
395
|
+
if (((bitField0_ & 0x00000002) != 0)) {
|
|
396
|
+
size += com.google.protobuf.CodedOutputStream
|
|
397
|
+
.computeBoolSize(5, aiScan_);
|
|
398
|
+
}
|
|
373
399
|
size += getUnknownFields().getSerializedSize();
|
|
374
400
|
memoizedSize = size;
|
|
375
401
|
return size;
|
|
@@ -395,6 +421,11 @@ private static final long serialVersionUID = 0L;
|
|
|
395
421
|
.equals(other.getExclusionsList())) return false;
|
|
396
422
|
if (!getTargetsDataList()
|
|
397
423
|
.equals(other.getTargetsDataList())) return false;
|
|
424
|
+
if (hasAiScan() != other.hasAiScan()) return false;
|
|
425
|
+
if (hasAiScan()) {
|
|
426
|
+
if (getAiScan()
|
|
427
|
+
!= other.getAiScan()) return false;
|
|
428
|
+
}
|
|
398
429
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
|
399
430
|
return true;
|
|
400
431
|
}
|
|
@@ -422,6 +453,11 @@ private static final long serialVersionUID = 0L;
|
|
|
422
453
|
hash = (37 * hash) + TARGETS_DATA_FIELD_NUMBER;
|
|
423
454
|
hash = (53 * hash) + getTargetsDataList().hashCode();
|
|
424
455
|
}
|
|
456
|
+
if (hasAiScan()) {
|
|
457
|
+
hash = (37 * hash) + AI_SCAN_FIELD_NUMBER;
|
|
458
|
+
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
459
|
+
getAiScan());
|
|
460
|
+
}
|
|
425
461
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
|
426
462
|
memoizedHashCode = hash;
|
|
427
463
|
return hash;
|
|
@@ -565,6 +601,7 @@ private static final long serialVersionUID = 0L;
|
|
|
565
601
|
targetsDataBuilder_.clear();
|
|
566
602
|
}
|
|
567
603
|
bitField0_ = (bitField0_ & ~0x00000008);
|
|
604
|
+
aiScan_ = false;
|
|
568
605
|
return this;
|
|
569
606
|
}
|
|
570
607
|
|
|
@@ -624,6 +661,10 @@ private static final long serialVersionUID = 0L;
|
|
|
624
661
|
exclusions_.makeImmutable();
|
|
625
662
|
result.exclusions_ = exclusions_;
|
|
626
663
|
}
|
|
664
|
+
if (((from_bitField0_ & 0x00000010) != 0)) {
|
|
665
|
+
result.aiScan_ = aiScan_;
|
|
666
|
+
to_bitField0_ |= 0x00000002;
|
|
667
|
+
}
|
|
627
668
|
result.bitField0_ |= to_bitField0_;
|
|
628
669
|
}
|
|
629
670
|
|
|
@@ -720,6 +761,9 @@ private static final long serialVersionUID = 0L;
|
|
|
720
761
|
}
|
|
721
762
|
}
|
|
722
763
|
}
|
|
764
|
+
if (other.hasAiScan()) {
|
|
765
|
+
setAiScan(other.getAiScan());
|
|
766
|
+
}
|
|
723
767
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
724
768
|
onChanged();
|
|
725
769
|
return this;
|
|
@@ -776,6 +820,11 @@ private static final long serialVersionUID = 0L;
|
|
|
776
820
|
}
|
|
777
821
|
break;
|
|
778
822
|
} // case 34
|
|
823
|
+
case 40: {
|
|
824
|
+
aiScan_ = input.readBool();
|
|
825
|
+
bitField0_ |= 0x00000010;
|
|
826
|
+
break;
|
|
827
|
+
} // case 40
|
|
779
828
|
default: {
|
|
780
829
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
|
781
830
|
done = true; // was an endgroup tag
|
|
@@ -1332,6 +1381,46 @@ private static final long serialVersionUID = 0L;
|
|
|
1332
1381
|
}
|
|
1333
1382
|
return targetsDataBuilder_;
|
|
1334
1383
|
}
|
|
1384
|
+
|
|
1385
|
+
private boolean aiScan_ ;
|
|
1386
|
+
/**
|
|
1387
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
1388
|
+
* @return Whether the aiScan field is set.
|
|
1389
|
+
*/
|
|
1390
|
+
@java.lang.Override
|
|
1391
|
+
public boolean hasAiScan() {
|
|
1392
|
+
return ((bitField0_ & 0x00000010) != 0);
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
1396
|
+
* @return The aiScan.
|
|
1397
|
+
*/
|
|
1398
|
+
@java.lang.Override
|
|
1399
|
+
public boolean getAiScan() {
|
|
1400
|
+
return aiScan_;
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
1404
|
+
* @param value The aiScan to set.
|
|
1405
|
+
* @return This builder for chaining.
|
|
1406
|
+
*/
|
|
1407
|
+
public Builder setAiScan(boolean value) {
|
|
1408
|
+
|
|
1409
|
+
aiScan_ = value;
|
|
1410
|
+
bitField0_ |= 0x00000010;
|
|
1411
|
+
onChanged();
|
|
1412
|
+
return this;
|
|
1413
|
+
}
|
|
1414
|
+
/**
|
|
1415
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
1416
|
+
* @return This builder for chaining.
|
|
1417
|
+
*/
|
|
1418
|
+
public Builder clearAiScan() {
|
|
1419
|
+
bitField0_ = (bitField0_ & ~0x00000010);
|
|
1420
|
+
aiScan_ = false;
|
|
1421
|
+
onChanged();
|
|
1422
|
+
return this;
|
|
1423
|
+
}
|
|
1335
1424
|
@java.lang.Override
|
|
1336
1425
|
public final Builder setUnknownFields(
|
|
1337
1426
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
@@ -105,4 +105,15 @@ public interface ActionDefinitionOrBuilder extends
|
|
|
105
105
|
*/
|
|
106
106
|
lansweeper.scanningconfig.v1.TargetDataOrBuilder getTargetsDataOrBuilder(
|
|
107
107
|
int index);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
111
|
+
* @return Whether the aiScan field is set.
|
|
112
|
+
*/
|
|
113
|
+
boolean hasAiScan();
|
|
114
|
+
/**
|
|
115
|
+
* <code>optional bool ai_scan = 5;</code>
|
|
116
|
+
* @return The aiScan.
|
|
117
|
+
*/
|
|
118
|
+
boolean getAiScan();
|
|
108
119
|
}
|
package/model/target/generated-sources/protobuf/java/lansweeper/scanningconfig/v1/Credential.java
CHANGED
|
@@ -145,7 +145,7 @@ private static final long serialVersionUID = 0L;
|
|
|
145
145
|
/**
|
|
146
146
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
147
147
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
148
|
-
* See scanningconfig.proto;l=
|
|
148
|
+
* See scanningconfig.proto;l=217
|
|
149
149
|
* @return The enum numeric value on the wire for type.
|
|
150
150
|
*/
|
|
151
151
|
@java.lang.Override @java.lang.Deprecated public int getTypeValue() {
|
|
@@ -154,7 +154,7 @@ private static final long serialVersionUID = 0L;
|
|
|
154
154
|
/**
|
|
155
155
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
156
156
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
157
|
-
* See scanningconfig.proto;l=
|
|
157
|
+
* See scanningconfig.proto;l=217
|
|
158
158
|
* @return The type.
|
|
159
159
|
*/
|
|
160
160
|
@java.lang.Override @java.lang.Deprecated public lansweeper.scanningconfig.v1.Credential.CredentialType getType() {
|
|
@@ -587,7 +587,7 @@ private static final long serialVersionUID = 0L;
|
|
|
587
587
|
/**
|
|
588
588
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
589
589
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
590
|
-
* See scanningconfig.proto;l=
|
|
590
|
+
* See scanningconfig.proto;l=217
|
|
591
591
|
* @return The enum numeric value on the wire for type.
|
|
592
592
|
*/
|
|
593
593
|
@java.lang.Override @java.lang.Deprecated public int getTypeValue() {
|
|
@@ -596,7 +596,7 @@ private static final long serialVersionUID = 0L;
|
|
|
596
596
|
/**
|
|
597
597
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
598
598
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
599
|
-
* See scanningconfig.proto;l=
|
|
599
|
+
* See scanningconfig.proto;l=217
|
|
600
600
|
* @param value The enum numeric value on the wire for type to set.
|
|
601
601
|
* @return This builder for chaining.
|
|
602
602
|
*/
|
|
@@ -609,7 +609,7 @@ private static final long serialVersionUID = 0L;
|
|
|
609
609
|
/**
|
|
610
610
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
611
611
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
612
|
-
* See scanningconfig.proto;l=
|
|
612
|
+
* See scanningconfig.proto;l=217
|
|
613
613
|
* @return The type.
|
|
614
614
|
*/
|
|
615
615
|
@java.lang.Override
|
|
@@ -620,7 +620,7 @@ private static final long serialVersionUID = 0L;
|
|
|
620
620
|
/**
|
|
621
621
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
622
622
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
623
|
-
* See scanningconfig.proto;l=
|
|
623
|
+
* See scanningconfig.proto;l=217
|
|
624
624
|
* @param value The type to set.
|
|
625
625
|
* @return This builder for chaining.
|
|
626
626
|
*/
|
|
@@ -636,7 +636,7 @@ private static final long serialVersionUID = 0L;
|
|
|
636
636
|
/**
|
|
637
637
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
638
638
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
639
|
-
* See scanningconfig.proto;l=
|
|
639
|
+
* See scanningconfig.proto;l=217
|
|
640
640
|
* @return This builder for chaining.
|
|
641
641
|
*/
|
|
642
642
|
@java.lang.Deprecated public Builder clearType() {
|
|
@@ -11,14 +11,14 @@ public interface CredentialOrBuilder extends
|
|
|
11
11
|
/**
|
|
12
12
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
13
13
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
14
|
-
* See scanningconfig.proto;l=
|
|
14
|
+
* See scanningconfig.proto;l=217
|
|
15
15
|
* @return The enum numeric value on the wire for type.
|
|
16
16
|
*/
|
|
17
17
|
@java.lang.Deprecated int getTypeValue();
|
|
18
18
|
/**
|
|
19
19
|
* <code>.lansweeper.scanningconfig.v1.Credential.CredentialType type = 1 [deprecated = true];</code>
|
|
20
20
|
* @deprecated lansweeper.scanningconfig.v1.Credential.type is deprecated.
|
|
21
|
-
* See scanningconfig.proto;l=
|
|
21
|
+
* See scanningconfig.proto;l=217
|
|
22
22
|
* @return The type.
|
|
23
23
|
*/
|
|
24
24
|
@java.lang.Deprecated lansweeper.scanningconfig.v1.Credential.CredentialType getType();
|