PolicyAttributes (schema)

Policy Attributes data holder

Name Description Type Notes
attribute_source Source of attribute value i.e whether system defined or custom value string Enum: SYSTEM, CUSTOM
Default: "SYSTEM"
datatype Datatype for attribute string Required
Enum: STRING
description Description for attribute value string
isALGType Is the value ALG type

Describes whether the APP_ID value is ALG type or not.
boolean
key Key for attribute

URL_Reputation is currently not available. Please do not use it in Attribute Key while creating context profile
string Required
Enum: APP_ID, DOMAIN_NAME, URL_CATEGORY, URL_REPUTATION
metadata Provide additional meta information about key/values

This is optional part that can hold additional data about the attribute key/values.
Example - For URL CATEGORY key , it specified super category for url category value.
This is generic array and can hold multiple meta information about key/values in future
array of ContextProfileAttributesMetadata
sub_attributes Reference to sub attributes for the attribute array of PolicySubAttributes
value Value for attribute key

Multiple attribute values can be specified as elements of array.
array of string Required
Minimum items: 1