2024-01-10 17:05:12 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2023-09-14 17:40:54 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
package hashicorp.consul.auth.v2beta1;
|
2023-09-14 17:40:54 +00:00
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
import "pbauth/v2beta1/traffic_permissions.proto";
|
2023-09-21 21:18:47 +00:00
|
|
|
import "pbresource/annotations.proto";
|
2024-02-13 17:27:24 +00:00
|
|
|
import "pbresource/resource.proto";
|
2023-09-14 17:40:54 +00:00
|
|
|
|
|
|
|
message ComputedTrafficPermissions {
|
2023-09-21 21:18:47 +00:00
|
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
|
2023-09-14 17:40:54 +00:00
|
|
|
repeated Permission allow_permissions = 1;
|
|
|
|
repeated Permission deny_permissions = 2;
|
2023-10-04 13:58:28 +00:00
|
|
|
bool is_default = 3;
|
2024-02-13 17:27:24 +00:00
|
|
|
|
|
|
|
// BoundReferences is a slice of mixed type references of resources that were
|
|
|
|
// involved in the formulation of this resource.
|
|
|
|
repeated hashicorp.consul.resource.Reference bound_references = 4;
|
2023-09-14 17:40:54 +00:00
|
|
|
}
|