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

com.aliyun.sas20181203.models.UpdateMaliciousFileWhitelistConfigRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class UpdateMaliciousFileWhitelistConfigRequest extends TeaModel {
    /**
     * 

The ID of the whitelist rule. If you do not specify this parameter, a whitelist rule is created.

* * example: *

1

*/ @NameInMap("ConfigId") public Long configId; /** *

The name of the alert.

*
    *
  • Set the value to ALL, which indicates all alert types.
  • *
* * example: *

ALL

*/ @NameInMap("EventName") public String eventName; /** *

The field that you want to use in the whitelist rule.

* * example: *

fileMd5

*/ @NameInMap("Field") public String field; /** *

The value of the field that you want to use in the whitelist rule.

* * example: *

b2cf9747ee49d8d9b105cf16e078cc16

*/ @NameInMap("FieldValue") public String fieldValue; /** *

The logical operator that you want to use in the whitelist rule.

*
    *
  • Set the value to strEqual, which indicates the equality operator (=).
  • *
* * example: *

strEqual

*/ @NameInMap("Operator") public String operator; /** *

The feature to which this operation belongs.

*
    *
  • Set the value to agentless, which indicates the agentless detection feature.
  • *
* * example: *

agentless

*/ @NameInMap("Source") public String source; /** *

The type of the assets on which you want the whitelist rule to take effect. Valid values:

*
    *
  • ALL: all assets
  • *
  • SELECTION_KEY: selected assets
  • *
* * example: *

ALL

*/ @NameInMap("TargetType") public String targetType; /** *

The assets on which you want the whitelist rule to take effect. Valid values:

*
    *
  • ALL: all assets
  • *
  • Others: selected assets
  • *
* * example: *

ALL

*/ @NameInMap("TargetValue") public String targetValue; public static UpdateMaliciousFileWhitelistConfigRequest build(java.util.Map map) throws Exception { UpdateMaliciousFileWhitelistConfigRequest self = new UpdateMaliciousFileWhitelistConfigRequest(); return TeaModel.build(map, self); } public UpdateMaliciousFileWhitelistConfigRequest setConfigId(Long configId) { this.configId = configId; return this; } public Long getConfigId() { return this.configId; } public UpdateMaliciousFileWhitelistConfigRequest setEventName(String eventName) { this.eventName = eventName; return this; } public String getEventName() { return this.eventName; } public UpdateMaliciousFileWhitelistConfigRequest setField(String field) { this.field = field; return this; } public String getField() { return this.field; } public UpdateMaliciousFileWhitelistConfigRequest setFieldValue(String fieldValue) { this.fieldValue = fieldValue; return this; } public String getFieldValue() { return this.fieldValue; } public UpdateMaliciousFileWhitelistConfigRequest setOperator(String operator) { this.operator = operator; return this; } public String getOperator() { return this.operator; } public UpdateMaliciousFileWhitelistConfigRequest setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public UpdateMaliciousFileWhitelistConfigRequest setTargetType(String targetType) { this.targetType = targetType; return this; } public String getTargetType() { return this.targetType; } public UpdateMaliciousFileWhitelistConfigRequest setTargetValue(String targetValue) { this.targetValue = targetValue; return this; } public String getTargetValue() { return this.targetValue; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy