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";
|
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;
|
2023-09-14 17:40:54 +00:00
|
|
|
}
|