2024-01-10 11:05:12 -06:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2023-09-14 12:40:54 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-09-22 10:51:15 -06:00
|
|
|
package hashicorp.consul.auth.v2beta1;
|
2023-09-14 12:40:54 -05:00
|
|
|
|
2023-09-22 10:51:15 -06:00
|
|
|
import "pbauth/v2beta1/traffic_permissions.proto";
|
2023-09-21 17:18:47 -04:00
|
|
|
import "pbresource/annotations.proto";
|
2024-02-13 12:27:24 -05:00
|
|
|
import "pbresource/resource.proto";
|
2023-09-14 12:40:54 -05:00
|
|
|
|
|
|
|
message ComputedTrafficPermissions {
|
2023-09-21 17:18:47 -04:00
|
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
|
2023-09-14 12:40:54 -05:00
|
|
|
repeated Permission allow_permissions = 1;
|
|
|
|
repeated Permission deny_permissions = 2;
|
2023-10-04 09:58:28 -04:00
|
|
|
bool is_default = 3;
|
2024-02-13 12:27:24 -05: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 12:40:54 -05:00
|
|
|
}
|