Package com.datadog.api.client.v2.model
Class CloudWorkloadSecurityAgentRuleAction
java.lang.Object
com.datadog.api.client.v2.model.CloudWorkloadSecurityAgentRuleAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudWorkloadSecurityAgentRuleAction
extends Object
The action the rule can perform if triggered
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CloudWorkloadSecurityAgentRuleAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The core dump action applied on the process matching the rule.Whether the action is disabledSECL expression used to target the container to apply the action ongetHash()Hash file specified by the field attributegetKill()Kill system call applied on the container matching the rulegetLog()The log action applied when the rule is triggered.The metadata action applied on the scope matching the ruleThe network filter action applied on the network traffic matching the rule.getSet()The set action applied on the scope matching the ruleinthashCode()networkFilter(CloudWorkloadSecurityAgentRuleActionNetworkFilter networkFilter) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetDisabled(Boolean disabled) voidvoidvoidvoidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COREDUMP
- See Also:
-
JSON_PROPERTY_DISABLED
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_HASH
- See Also:
-
JSON_PROPERTY_KILL
- See Also:
-
JSON_PROPERTY_LOG
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_NETWORK_FILTER
- See Also:
-
JSON_PROPERTY_SET
- See Also:
-
-
Constructor Details
-
CloudWorkloadSecurityAgentRuleAction
public CloudWorkloadSecurityAgentRuleAction()
-
-
Method Details
-
coredump
public CloudWorkloadSecurityAgentRuleAction coredump(CloudWorkloadSecurityAgentRuleActionCoreDump coredump) -
getCoredump
The core dump action applied on the process matching the rule.- Returns:
- coredump
-
setCoredump
-
disabled
-
getDisabled
Whether the action is disabled- Returns:
- disabled
-
setDisabled
-
filter
-
getFilter
SECL expression used to target the container to apply the action on- Returns:
- filter
-
setFilter
-
hash
-
getHash
Hash file specified by the field attribute- Returns:
- hash
-
setHash
-
kill
-
getKill
Kill system call applied on the container matching the rule- Returns:
- kill
-
setKill
-
log
-
getLog
The log action applied when the rule is triggered.- Returns:
- log
-
setLog
-
metadata
public CloudWorkloadSecurityAgentRuleAction metadata(CloudWorkloadSecurityAgentRuleActionMetadata metadata) -
getMetadata
The metadata action applied on the scope matching the rule- Returns:
- metadata
-
setMetadata
-
networkFilter
public CloudWorkloadSecurityAgentRuleAction networkFilter(CloudWorkloadSecurityAgentRuleActionNetworkFilter networkFilter) -
getNetworkFilter
The network filter action applied on the network traffic matching the rule.- Returns:
- networkFilter
-
setNetworkFilter
-
set
-
getSet
The set action applied on the scope matching the rule- Returns:
- set
-
setSet
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- CloudWorkloadSecurityAgentRuleAction
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this CloudWorkloadSecurityAgentRuleAction object is equal to o. -
hashCode
public int hashCode() -
toString
-