2466ce876e
Change proto package path. Signed-off-by: Ori Bruk <o.bruk@yadro.com>
31 lines
510 B
Protocol Buffer
31 lines
510 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package frost.fs.ape;
|
|
|
|
// TargetType is a type target to which a rule chain is defined.
|
|
enum TargetType {
|
|
UNDEFINED = 0;
|
|
|
|
NAMESPACE = 1;
|
|
|
|
CONTAINER = 2;
|
|
|
|
USER = 3;
|
|
|
|
GROUP = 4;
|
|
}
|
|
|
|
// ChainTarget is an object to which a rule chain is defined.
|
|
message ChainTarget {
|
|
TargetType type = 1;
|
|
|
|
string name = 2;
|
|
}
|
|
|
|
// Chain is a chain of rules defined for a specific target.
|
|
message Chain {
|
|
oneof kind {
|
|
// Raw representation of a serizalized rule chain.
|
|
bytes raw = 1;
|
|
}
|
|
}
|