PrincipalResponse

data class PrincipalResponse(val condition: String, val groups: List<String>, val ips: List<String>, val namespaces: List<String>, val notGroups: List<String>, val notIps: List<String>, val notNamespaces: List<String>, val notUsers: List<String>, val properties: Map<String, String>, val users: List<String>)

Deprecated All fields defined in a principal are ANDed.

Constructors

Link copied to clipboard
fun PrincipalResponse(condition: String, groups: List<String>, ips: List<String>, namespaces: List<String>, notGroups: List<String>, notIps: List<String>, notNamespaces: List<String>, notUsers: List<String>, properties: Map<String, String>, users: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An expression to specify custom condition.

Link copied to clipboard

The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.

Link copied to clipboard

IPv4 or IPv6 address or range (In CIDR format)

Link copied to clipboard

The namespaces. Exact match, prefix match, and suffix match are supported.

Link copied to clipboard

Negate of groups. Specifies exclusions.

Link copied to clipboard

Negate of IPs. Specifies exclusions.

Link copied to clipboard

Negate of namespaces. Specifies exclusions.

Link copied to clipboard

Negate of users. Specifies exclusions.

Link copied to clipboard

A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example, request.headers[version]: "v1". The properties are ANDed together.

Link copied to clipboard

The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.