InlineDSRule1
{
"is_default": false,
"direction": "string",
"rule_tag": "string",
"ip_protocol": "string",
"notes": "string",
"applied_tos": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"logged": false,
"disabled": false,
"sources": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"services": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string",
"service": {
"resource_type": "string"
}
}
],
"action": "string",
"sources_excluded": false,
"destinations_excluded": false,
"destinations": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
]
}
Flag to indicate whether rule is default.
Rule direction in case of stateless distributed service rules. This will only considered if section level parameter is set to stateless. Default to IN_OUT if not specified.
User level field which will be printed in CLI and packet logs.
Type of IP packet that should be matched while enforcing the rule.
User notes specific to the rule.
List of object where rule will be enforced. The section level field overrides this one. Null will be treated as any.
Flag to enable packet logging. Default is disabled.
Flag to disable rule. Disabled will only be persisted but never provisioned/realized.
Action enforced on the packets which matches the distributed service rule. Currently DS Layer supports below actions. ALLOW - Forward any packet when a rule with this action gets a match (Used by Firewall). DROP - Drop any packet when a rule with this action gets a match. Packets won't go further(Used by Firewall). REJECT - Terminate TCP connection by sending TCP reset for a packet when a rule with this action gets a match (Used by Firewall). REDIRECT - Redirect any packet to a partner appliance when a rule with this action gets a match (Used by Service Insertion). DO_NOT_REDIRECT - Do not redirect any packet to a partner appliance when a rule with this action gets a match (Used by Service Insertion).
Negation of the source.
Negation of the destination.
List of the destinations. Null will be treated as any.