All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.cloud_siem20220616.models.PostEventWhiteruleListRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cloud_siem20220616.models;

import com.aliyun.tea.*;

public class PostEventWhiteruleListRequest extends TeaModel {
    /**
     * 

The UUID of the event.

* * example: *

85ea4241-798f-4684-a876-65d4f0c3****

*/ @NameInMap("IncidentUuid") public String incidentUuid; /** *

The region in which the data management center of the threat analysis feature resides. Specify this parameter based on the regions in which your assets reside. Valid values:

*
    *
  • cn-hangzhou: Your assets reside in regions in China.
  • *
  • ap-southeast-1: Your assets reside in regions outside China.
  • *
* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

The ID of the account that you switch from the management account.

* * example: *

113091674488****

*/ @NameInMap("RoleFor") public Long roleFor; /** *

The type of the view. Valid values:

*
    *
  • 0: the current Alibaba Cloud account
  • *
  • 1: the global account
  • *
* * example: *

1

*/ @NameInMap("RoleType") public Integer roleType; /** *

The alert whitelist rule. The value is a JSON object.

*

This parameter is required.

* * example: *

[ * { * "alertName": "webshell", * "alertNameId": "webshell", * "alertType": "command", * "alertTypeId": "command", * "expression": { * "status": 1, * "conditions": [ * { * "isNot": false, * "left": { * "value": "file_path" * }, * "operator": "gt", * "right": { * "value": "cp" * } * } * ] * } * } * ]

*/ @NameInMap("WhiteruleList") public String whiteruleList; public static PostEventWhiteruleListRequest build(java.util.Map map) throws Exception { PostEventWhiteruleListRequest self = new PostEventWhiteruleListRequest(); return TeaModel.build(map, self); } public PostEventWhiteruleListRequest setIncidentUuid(String incidentUuid) { this.incidentUuid = incidentUuid; return this; } public String getIncidentUuid() { return this.incidentUuid; } public PostEventWhiteruleListRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public PostEventWhiteruleListRequest setRoleFor(Long roleFor) { this.roleFor = roleFor; return this; } public Long getRoleFor() { return this.roleFor; } public PostEventWhiteruleListRequest setRoleType(Integer roleType) { this.roleType = roleType; return this; } public Integer getRoleType() { return this.roleType; } public PostEventWhiteruleListRequest setWhiteruleList(String whiteruleList) { this.whiteruleList = whiteruleList; return this; } public String getWhiteruleList() { return this.whiteruleList; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy