Skip to content

Commit a583759

Browse files
committed
Add parameters to control different role.
1 parent ac45f01 commit a583759

21 files changed

+251
-296
lines changed

aliyun-java-sdk-cloud-siem/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-12-10 Version: 1.0.9
2+
- Add parameters to control different role.
3+
14
2025-05-13 Version: 1.0.8
25
- Add parameters to control different role.
36

aliyun-java-sdk-cloud-siem/pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-cloud-siem</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.8</version>
7+
<version>1.0.9</version>
88
<name>aliyun-java-sdk-cloud-siem</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -103,14 +103,13 @@ http://www.aliyun.com</description>
103103
</executions>
104104
</plugin>
105105
<plugin>
106-
<groupId>org.sonatype.plugins</groupId>
107-
<artifactId>nexus-staging-maven-plugin</artifactId>
108-
<version>1.6.3</version>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.9.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111-
<serverId>sonatype-nexus-staging</serverId>
112-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
113-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
114113
</configuration>
115114
</plugin>
116115
</plugins>

aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public class DescribeAlertsRequest extends RpcAcsRequest<DescribeAlertsResponse>
2929

3030
private String alertName;
3131

32+
private List<String> alertStatuss;
33+
3234
private String entityName;
3335

3436
private String assetName;
@@ -89,6 +91,19 @@ public void setAlertName(String alertName) {
8991
}
9092
}
9193

94+
public List<String> getAlertStatuss() {
95+
return this.alertStatuss;
96+
}
97+
98+
public void setAlertStatuss(List<String> alertStatuss) {
99+
this.alertStatuss = alertStatuss;
100+
if (alertStatuss != null) {
101+
for (int i = 0; i < alertStatuss.size(); i++) {
102+
putBodyParameter("AlertStatus." + (i + 1) , alertStatuss.get(i));
103+
}
104+
}
105+
}
106+
92107
public String getEntityName() {
93108
return this.entityName;
94109
}

aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,20 @@ public static class ResponseDataItem {
161161

162162
private String subUserName;
163163

164-
private String cloudCode;
164+
private String vendorId;
165165

166166
private String isDefend;
167167

168168
private String extendContent;
169169

170+
private String productId;
171+
172+
private String cloudCode;
173+
174+
private String detectionRuleId;
175+
176+
private String alertStatus;
177+
170178
private List<AlertInfoListItem> alertInfoList;
171179

172180
public Long getId() {
@@ -417,12 +425,12 @@ public void setSubUserName(String subUserName) {
417425
this.subUserName = subUserName;
418426
}
419427

420-
public String getCloudCode() {
421-
return this.cloudCode;
428+
public String getVendorId() {
429+
return this.vendorId;
422430
}
423431

424-
public void setCloudCode(String cloudCode) {
425-
this.cloudCode = cloudCode;
432+
public void setVendorId(String vendorId) {
433+
this.vendorId = vendorId;
426434
}
427435

428436
public String getIsDefend() {
@@ -441,6 +449,38 @@ public void setExtendContent(String extendContent) {
441449
this.extendContent = extendContent;
442450
}
443451

452+
public String getProductId() {
453+
return this.productId;
454+
}
455+
456+
public void setProductId(String productId) {
457+
this.productId = productId;
458+
}
459+
460+
public String getCloudCode() {
461+
return this.cloudCode;
462+
}
463+
464+
public void setCloudCode(String cloudCode) {
465+
this.cloudCode = cloudCode;
466+
}
467+
468+
public String getDetectionRuleId() {
469+
return this.detectionRuleId;
470+
}
471+
472+
public void setDetectionRuleId(String detectionRuleId) {
473+
this.detectionRuleId = detectionRuleId;
474+
}
475+
476+
public String getAlertStatus() {
477+
return this.alertStatus;
478+
}
479+
480+
public void setAlertStatus(String alertStatus) {
481+
this.alertStatus = alertStatus;
482+
}
483+
444484
public List<AlertInfoListItem> getAlertInfoList() {
445485
return this.alertInfoList;
446486
}

aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityResponse.java

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,15 @@ public static class ResponseDataItem {
161161

162162
private String subUserName;
163163

164+
private String isDefend;
165+
164166
private String cloudCode;
165167

166-
private String isDefend;
168+
private String productId;
169+
170+
private String vendorId;
171+
172+
private String detectionRuleId;
167173

168174
private List<AlertInfoListItem> alertInfoList;
169175

@@ -415,6 +421,14 @@ public void setSubUserName(String subUserName) {
415421
this.subUserName = subUserName;
416422
}
417423

424+
public String getIsDefend() {
425+
return this.isDefend;
426+
}
427+
428+
public void setIsDefend(String isDefend) {
429+
this.isDefend = isDefend;
430+
}
431+
418432
public String getCloudCode() {
419433
return this.cloudCode;
420434
}
@@ -423,12 +437,28 @@ public void setCloudCode(String cloudCode) {
423437
this.cloudCode = cloudCode;
424438
}
425439

426-
public String getIsDefend() {
427-
return this.isDefend;
440+
public String getProductId() {
441+
return this.productId;
428442
}
429443

430-
public void setIsDefend(String isDefend) {
431-
this.isDefend = isDefend;
444+
public void setProductId(String productId) {
445+
this.productId = productId;
446+
}
447+
448+
public String getVendorId() {
449+
return this.vendorId;
450+
}
451+
452+
public void setVendorId(String vendorId) {
453+
this.vendorId = vendorId;
454+
}
455+
456+
public String getDetectionRuleId() {
457+
return this.detectionRuleId;
458+
}
459+
460+
public void setDetectionRuleId(String detectionRuleId) {
461+
this.detectionRuleId = detectionRuleId;
432462
}
433463

434464
public List<AlertInfoListItem> getAlertInfoList() {

aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ public static class ResponseDataItem {
167167

168168
private String extendContent;
169169

170+
private String productId;
171+
172+
private String vendorId;
173+
174+
private String detectionRuleId;
175+
170176
private List<AlertInfoListItem> alertInfoList;
171177

172178
public Long getId() {
@@ -441,6 +447,30 @@ public void setExtendContent(String extendContent) {
441447
this.extendContent = extendContent;
442448
}
443449

450+
public String getProductId() {
451+
return this.productId;
452+
}
453+
454+
public void setProductId(String productId) {
455+
this.productId = productId;
456+
}
457+
458+
public String getVendorId() {
459+
return this.vendorId;
460+
}
461+
462+
public void setVendorId(String vendorId) {
463+
this.vendorId = vendorId;
464+
}
465+
466+
public String getDetectionRuleId() {
467+
return this.detectionRuleId;
468+
}
469+
470+
public void setDetectionRuleId(String detectionRuleId) {
471+
this.detectionRuleId = detectionRuleId;
472+
}
473+
444474
public List<AlertInfoListItem> getAlertInfoList() {
445475
return this.alertInfoList;
446476
}

aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAutomateResponseConfigPlayBooksRequest.java

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)