Software Secure Workload
Activity Configure

Policy object

The policy object attributes are described below:

Attribute

Type

Description

id

string

Unique identifier for the policy.

application_id

string

The id for the workspace to which the policy belongs.

consumer_filter_id

string

ID of a defined filter. Currently, any cluster, user defined filter or scope can be used as the consumer of a policy.

provider_filter_id

string

ID of a defined filter. Currently, any cluster, user defined filter or scope can be used as the provider of a policy.

version

string

Indicates the version of the workspace to which the policy belongs.

rank

string

Policy rank, possible values: DEFAULT, ABSOLUTE or CATCHALL.

policy_action

string

Possible values can be ALLOW or DENY. Indicates whether traffic should be al- lowed or dropped for the given service port/protocol between the consumer and provider.

priority

integer

Used to sort policy.

l4_params

array of l4params

List of allowed ports and protocols.

L4Params object attributes:

Name

Type

Description

proto

integer

Protocol Integer value (NULL means all protocols).

port

array

Inclusive range of ports. eg [80, 80] or [5000, 6000].

description

string

Short string about this proto and port.

approved

boolean

If the policy has been approved by the user.