Skip to main content

Create Security Policy Rule (v2.0)

POST 

/v2.0/api/tenants/:tenant_id/securitypolicysets/:policy_set_id/securitypolicyrules

Create a new tenant security policy rule.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

    policy_set_id stringrequired

    ID of the security policy set.

Body

Details of the policy rule to be created

    action string

    The action taken for traffic matching this rule. It determine how the traffic from the specified source zone to the specified destination zone should respond.

    application_ids string[]required

    The security policy rule application ID.

    description

    The description of the security policy rule. Max size = 256.

    destination_filter_ids string[]

    The destination filter IDs. Max list of prefix IDs is 16.

    destination_zone_ids string[]required

    The destination zone IDs. Max list of zone IDs is 16.

    disabled_flag boolean

    The security policy rule, if disabled.

    id string

    The security policy rule ID.

    name stringrequired

    The name of the security policy rule. Max size = 128.

    source_filter_ids string[]

    The source filter IDs. Max list of IDs is 16.

    source_zone_ids string[]required

    The source zone IDs. Max list of IDs is 16.

Responses

Successful Operation

Schema
    action string

    The action taken for traffic matching this rule. It determine how the traffic from the specified source zone to the specified destination zone should respond.

    application_ids string[]required

    The security policy rule application ID.

    description

    The description of the security policy rule. Max size = 256.

    destination_filter_ids string[]

    The destination filter IDs. Max list of prefix IDs is 16.

    destination_zone_ids string[]required

    The destination zone IDs. Max list of zone IDs is 16.

    disabled_flag boolean

    The security policy rule, if disabled.

    id string

    The security policy rule ID.

    name stringrequired

    The name of the security policy rule. Max size = 128.

    source_filter_ids string[]

    The source filter IDs. Max list of IDs is 16.

    source_zone_ids string[]required

    The source zone IDs. Max list of IDs is 16.

Loading...