aserto-grpc-authz 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/README.md +76 -0
- data/VERSION +1 -0
- data/lib/aserto/api/v1/account_pb.rb +27 -0
- data/lib/aserto/api/v1/change_pb.rb +23 -0
- data/lib/aserto/api/v1/connection_pb.rb +97 -0
- data/lib/aserto/api/v1/fields_pb.rb +22 -0
- data/lib/aserto/api/v1/identity_context_pb.rb +28 -0
- data/lib/aserto/api/v1/invite_pb.rb +37 -0
- data/lib/aserto/api/v1/log_pb.rb +27 -0
- data/lib/aserto/api/v1/metadata_pb.rb +26 -0
- data/lib/aserto/api/v1/name_availability_pb.rb +25 -0
- data/lib/aserto/api/v1/nats_pb.rb +23 -0
- data/lib/aserto/api/v1/pagination_pb.rb +27 -0
- data/lib/aserto/api/v1/policy_builder_pb.rb +28 -0
- data/lib/aserto/api/v1/policy_context_pb.rb +24 -0
- data/lib/aserto/api/v1/policy_image_pb.rb +21 -0
- data/lib/aserto/api/v1/policy_repo_pb.rb +24 -0
- data/lib/aserto/api/v1/policyref_pb.rb +31 -0
- data/lib/aserto/api/v1/registry_org_pb.rb +20 -0
- data/lib/aserto/api/v1/registry_pb.rb +42 -0
- data/lib/aserto/api/v1/scc_org_pb.rb +21 -0
- data/lib/aserto/api/v1/tenant_pb.rb +32 -0
- data/lib/aserto/api/v1/user_pb.rb +98 -0
- data/lib/aserto/api/v2/instance_pb.rb +36 -0
- data/lib/aserto/api/v2/management_pb.rb +40 -0
- data/lib/aserto/api/v2/policy_pb.rb +27 -0
- data/lib/aserto/api/v2/repository_pb.rb +29 -0
- data/lib/aserto/api/v2/source_pb.rb +29 -0
- data/lib/aserto/api/v2/user_pb.rb +31 -0
- data/lib/aserto/authorizer/authorizer/v1/authorizer_pb.rb +92 -0
- data/lib/aserto/authorizer/authorizer/v1/authorizer_services_pb.rb +30 -0
- data/lib/aserto/options/v1/ids_pb.rb +32 -0
- data/lib/google/api/annotations_pb.rb +17 -0
- data/lib/google/api/http_pb.rb +39 -0
- data/lib/protoc-gen-openapiv2/options/annotations_pb.rb +21 -0
- data/lib/protoc-gen-openapiv2/options/openapiv2_pb.rb +206 -0
- metadata +161 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/policy_builder.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("aserto/api/v1/policy_builder.proto", :syntax => :proto3) do
|
10
|
+
add_message "aserto.api.v1.PolicyBuilder" do
|
11
|
+
optional :id, :string, 1, json_name: "id"
|
12
|
+
optional :scc_connection_id, :string, 2, json_name: "sccConnectionId"
|
13
|
+
optional :scc_repo, :string, 3, json_name: "sccRepo"
|
14
|
+
optional :scc_org, :string, 4, json_name: "sccOrg"
|
15
|
+
optional :registry_connection_id, :string, 5, json_name: "registryConnectionId"
|
16
|
+
optional :registry_repo, :string, 6, json_name: "registryRepo"
|
17
|
+
optional :registry_org, :string, 7, json_name: "registryOrg"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module Aserto
|
23
|
+
module Api
|
24
|
+
module V1
|
25
|
+
PolicyBuilder = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.PolicyBuilder").msgclass
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/policy_context.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("aserto/api/v1/policy_context.proto", :syntax => :proto3) do
|
10
|
+
add_message "aserto.api.v1.PolicyContext" do
|
11
|
+
optional :id, :string, 1, json_name: "id"
|
12
|
+
optional :path, :string, 2, json_name: "path"
|
13
|
+
repeated :decisions, :string, 3, json_name: "decisions"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Aserto
|
19
|
+
module Api
|
20
|
+
module V1
|
21
|
+
PolicyContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.PolicyContext").msgclass
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/policy_image.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("aserto/api/v1/policy_image.proto", :syntax => :proto3) do
|
8
|
+
add_message "aserto.api.v1.PolicyImage" do
|
9
|
+
optional :name, :string, 1, json_name: "name"
|
10
|
+
optional :public, :bool, 2, json_name: "public"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Aserto
|
16
|
+
module Api
|
17
|
+
module V1
|
18
|
+
PolicyImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.PolicyImage").msgclass
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/policy_repo.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("aserto/api/v1/policy_repo.proto", :syntax => :proto3) do
|
10
|
+
add_message "aserto.api.v1.PolicyRepo" do
|
11
|
+
optional :id, :string, 1, json_name: "id"
|
12
|
+
optional :name, :string, 2, json_name: "name"
|
13
|
+
optional :public, :bool, 3, json_name: "public"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Aserto
|
19
|
+
module Api
|
20
|
+
module V1
|
21
|
+
PolicyRepo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.PolicyRepo").msgclass
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/policyref.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("aserto/api/v1/policyref.proto", :syntax => :proto3) do
|
10
|
+
add_message "aserto.api.v1.PolicyRef" do
|
11
|
+
optional :id, :string, 1, json_name: "id"
|
12
|
+
optional :name, :string, 2, json_name: "name"
|
13
|
+
optional :source_url, :string, 3, json_name: "sourceUrl"
|
14
|
+
optional :connection_id, :string, 4, json_name: "connectionId"
|
15
|
+
optional :source_name, :string, 5, json_name: "sourceName"
|
16
|
+
proto3_optional :decision_logging, :bool, 6, json_name: "decisionLogging"
|
17
|
+
optional :registry_connection_id, :string, 7, json_name: "registryConnectionId"
|
18
|
+
optional :registry_image, :string, 8, json_name: "registryImage"
|
19
|
+
optional :registry_tag, :string, 9, json_name: "registryTag"
|
20
|
+
optional :registry_org, :string, 10, json_name: "registryOrg"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Aserto
|
26
|
+
module Api
|
27
|
+
module V1
|
28
|
+
PolicyRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.PolicyRef").msgclass
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/registry_org.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("aserto/api/v1/registry_org.proto", :syntax => :proto3) do
|
8
|
+
add_message "aserto.api.v1.RegistryOrg" do
|
9
|
+
optional :name, :string, 1, json_name: "name"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Aserto
|
15
|
+
module Api
|
16
|
+
module V1
|
17
|
+
RegistryOrg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.RegistryOrg").msgclass
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/registry.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("aserto/api/v1/registry.proto", :syntax => :proto3) do
|
10
|
+
add_message "aserto.api.v1.RegistryRepo" do
|
11
|
+
optional :name, :string, 1, json_name: "name"
|
12
|
+
optional :org, :string, 2, json_name: "org"
|
13
|
+
end
|
14
|
+
add_message "aserto.api.v1.RegistryRepoTag" do
|
15
|
+
optional :name, :string, 1, json_name: "name"
|
16
|
+
optional :digest, :string, 2, json_name: "digest"
|
17
|
+
optional :size, :int64, 3, json_name: "size"
|
18
|
+
optional :created_at, :message, 4, "google.protobuf.Timestamp", json_name: "createdAt"
|
19
|
+
repeated :annotations, :message, 5, "aserto.api.v1.RegistryRepoAnnotation", json_name: "annotations"
|
20
|
+
end
|
21
|
+
add_message "aserto.api.v1.RegistryRepoAnnotation" do
|
22
|
+
optional :key, :string, 1, json_name: "key"
|
23
|
+
optional :value, :string, 2, json_name: "value"
|
24
|
+
end
|
25
|
+
add_message "aserto.api.v1.RegistryRepoDigest" do
|
26
|
+
optional :digest, :string, 1, json_name: "digest"
|
27
|
+
repeated :tags, :string, 2, json_name: "tags"
|
28
|
+
optional :created_at, :message, 3, "google.protobuf.Timestamp", json_name: "createdAt"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Aserto
|
34
|
+
module Api
|
35
|
+
module V1
|
36
|
+
RegistryRepo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.RegistryRepo").msgclass
|
37
|
+
RegistryRepoTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.RegistryRepoTag").msgclass
|
38
|
+
RegistryRepoAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.RegistryRepoAnnotation").msgclass
|
39
|
+
RegistryRepoDigest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.RegistryRepoDigest").msgclass
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/scc_org.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("aserto/api/v1/scc_org.proto", :syntax => :proto3) do
|
8
|
+
add_message "aserto.api.v1.SccOrg" do
|
9
|
+
optional :name, :string, 1, json_name: "name"
|
10
|
+
optional :id, :string, 2, json_name: "id"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Aserto
|
16
|
+
module Api
|
17
|
+
module V1
|
18
|
+
SccOrg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.SccOrg").msgclass
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/tenant.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/api/v1/connection_pb'
|
7
|
+
require 'aserto/options/v1/ids_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("aserto/api/v1/tenant.proto", :syntax => :proto3) do
|
11
|
+
add_message "aserto.api.v1.TenantMember" do
|
12
|
+
optional :id, :string, 1, json_name: "id"
|
13
|
+
end
|
14
|
+
add_message "aserto.api.v1.Tenant" do
|
15
|
+
optional :id, :string, 1, json_name: "id"
|
16
|
+
optional :name, :string, 2, json_name: "name"
|
17
|
+
repeated :members, :message, 3, "aserto.api.v1.TenantMember", json_name: "members"
|
18
|
+
repeated :connections, :message, 4, "aserto.api.v1.Connection", json_name: "connections"
|
19
|
+
optional :personal, :bool, 5, json_name: "personal"
|
20
|
+
optional :max_hosted_instances, :int32, 6, json_name: "maxHostedInstances"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Aserto
|
26
|
+
module Api
|
27
|
+
module V1
|
28
|
+
TenantMember = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.TenantMember").msgclass
|
29
|
+
Tenant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.Tenant").msgclass
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v1/user.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/struct_pb'
|
7
|
+
require 'aserto/api/v1/metadata_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("aserto/api/v1/user.proto", :syntax => :proto3) do
|
11
|
+
add_message "aserto.api.v1.User" do
|
12
|
+
optional :id, :string, 1, json_name: "id"
|
13
|
+
proto3_optional :enabled, :bool, 2, json_name: "enabled"
|
14
|
+
optional :display_name, :string, 3, json_name: "displayName"
|
15
|
+
optional :email, :string, 4, json_name: "email"
|
16
|
+
optional :picture, :string, 5, json_name: "picture"
|
17
|
+
map :identities, :string, :message, 6, "aserto.api.v1.IdentitySource"
|
18
|
+
optional :attributes, :message, 7, "aserto.api.v1.AttrSet", json_name: "attributes"
|
19
|
+
map :applications, :string, :message, 8, "aserto.api.v1.AttrSet"
|
20
|
+
optional :metadata, :message, 9, "aserto.api.v1.Metadata", json_name: "metadata"
|
21
|
+
optional :deleted, :bool, 10, json_name: "deleted"
|
22
|
+
end
|
23
|
+
add_message "aserto.api.v1.UserExt" do
|
24
|
+
optional :id, :string, 1, json_name: "id"
|
25
|
+
optional :attributes, :message, 7, "aserto.api.v1.AttrSet", json_name: "attributes"
|
26
|
+
map :applications, :string, :message, 8, "aserto.api.v1.AttrSet"
|
27
|
+
end
|
28
|
+
add_message "aserto.api.v1.DeleteUser" do
|
29
|
+
optional :id, :string, 1, json_name: "id"
|
30
|
+
end
|
31
|
+
add_message "aserto.api.v1.DeleteConnection" do
|
32
|
+
optional :connection_id, :string, 1, json_name: "connectionId"
|
33
|
+
end
|
34
|
+
add_message "aserto.api.v1.AttrSet" do
|
35
|
+
optional :properties, :message, 1, "google.protobuf.Struct", json_name: "properties"
|
36
|
+
repeated :roles, :string, 2, json_name: "roles"
|
37
|
+
repeated :permissions, :string, 4, json_name: "permissions"
|
38
|
+
end
|
39
|
+
add_message "aserto.api.v1.ApplExt" do
|
40
|
+
map :applications, :string, :message, 1, "aserto.api.v1.AttrSet"
|
41
|
+
end
|
42
|
+
add_message "aserto.api.v1.IdentitySource" do
|
43
|
+
optional :kind, :enum, 1, "aserto.api.v1.IdentityKind", json_name: "kind"
|
44
|
+
optional :provider, :string, 2, json_name: "provider"
|
45
|
+
optional :verified, :bool, 3, json_name: "verified"
|
46
|
+
proto3_optional :connection_id, :string, 4, json_name: "connectionId"
|
47
|
+
proto3_optional :case_insensitive, :bool, 5, json_name: "caseInsensitive"
|
48
|
+
end
|
49
|
+
add_message "aserto.api.v1.UserProcessStats" do
|
50
|
+
optional :received, :int32, 1, json_name: "received"
|
51
|
+
optional :created, :int32, 2, json_name: "created"
|
52
|
+
optional :updated, :int32, 3, json_name: "updated"
|
53
|
+
optional :deleted, :int32, 4, json_name: "deleted"
|
54
|
+
optional :errors, :int32, 5, json_name: "errors"
|
55
|
+
end
|
56
|
+
add_enum "aserto.api.v1.IdentityKind" do
|
57
|
+
value :IDENTITY_KIND_UNKNOWN, 0
|
58
|
+
value :IDENTITY_KIND_PID, 1
|
59
|
+
value :IDENTITY_KIND_EMAIL, 2
|
60
|
+
value :IDENTITY_KIND_USERNAME, 3
|
61
|
+
value :IDENTITY_KIND_DN, 4
|
62
|
+
value :IDENTITY_KIND_PHONE, 5
|
63
|
+
value :IDENTITY_KIND_EMPID, 6
|
64
|
+
end
|
65
|
+
add_enum "aserto.api.v1.AttrKind" do
|
66
|
+
value :ATTR_KIND_UNKNOWN, 0
|
67
|
+
value :ATTR_KIND_TITLE, 1
|
68
|
+
value :ATTR_KIND_DEPARTMENT, 2
|
69
|
+
value :ATTR_KIND_DIVSION, 3
|
70
|
+
value :ATTR_KIND_COMPANY, 4
|
71
|
+
value :ATTR_KIND_EMPLOYEE_ID, 5
|
72
|
+
value :ATTR_KIND_EMPLOYEE_TYPE, 6
|
73
|
+
value :ATTR_KIND_EMPLOYEE_NUMBER, 7
|
74
|
+
value :ATTR_KIND_MANAGER, 8
|
75
|
+
value :ATTR_KIND_FIRST_NAME, 9
|
76
|
+
value :ATTR_KIND_INITIALS, 10
|
77
|
+
value :ATTR_KIND_LAST_NAME, 11
|
78
|
+
value :ATTR_KIND_COMMON_NAME, 12
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
module Aserto
|
84
|
+
module Api
|
85
|
+
module V1
|
86
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.User").msgclass
|
87
|
+
UserExt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.UserExt").msgclass
|
88
|
+
DeleteUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.DeleteUser").msgclass
|
89
|
+
DeleteConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.DeleteConnection").msgclass
|
90
|
+
AttrSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.AttrSet").msgclass
|
91
|
+
ApplExt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.ApplExt").msgclass
|
92
|
+
IdentitySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.IdentitySource").msgclass
|
93
|
+
UserProcessStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.UserProcessStats").msgclass
|
94
|
+
IdentityKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.IdentityKind").enummodule
|
95
|
+
AttrKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v1.AttrKind").enummodule
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v2/instance.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("aserto/api/v2/instance.proto", :syntax => :proto3) do
|
12
|
+
add_message "aserto.api.v2.Instance" do
|
13
|
+
optional :policy_id, :string, 1, json_name: "policyId"
|
14
|
+
optional :label, :string, 2, json_name: "label"
|
15
|
+
optional :tag, :string, 3, json_name: "tag"
|
16
|
+
optional :created_at, :message, 4, "google.protobuf.Timestamp", json_name: "createdAt"
|
17
|
+
optional :updated_at, :message, 5, "google.protobuf.Timestamp", json_name: "updatedAt"
|
18
|
+
optional :instance_type, :enum, 6, "aserto.api.v2.InstanceType", json_name: "instanceType"
|
19
|
+
proto3_optional :decision_logging, :bool, 7, json_name: "decisionLogging"
|
20
|
+
end
|
21
|
+
add_enum "aserto.api.v2.InstanceType" do
|
22
|
+
value :INSTANCE_TYPE_UNKNOWN, 0
|
23
|
+
value :INSTANCE_TYPE_HOSTED, 1
|
24
|
+
value :INSTANCE_TYPE_SATELLITE, 2
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
module Aserto
|
30
|
+
module Api
|
31
|
+
module V2
|
32
|
+
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.Instance").msgclass
|
33
|
+
InstanceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.InstanceType").enummodule
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v2/management.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("aserto/api/v2/management.proto", :syntax => :proto3) do
|
8
|
+
add_message "aserto.api.v2.InstanceInfo" do
|
9
|
+
optional :policy_id, :string, 1, json_name: "policyId"
|
10
|
+
optional :policy_label, :string, 2, json_name: "policyLabel"
|
11
|
+
optional :remote_host, :string, 3, json_name: "remoteHost"
|
12
|
+
end
|
13
|
+
add_message "aserto.api.v2.InstanceRegistration" do
|
14
|
+
optional :id, :string, 1, json_name: "id"
|
15
|
+
optional :info, :message, 2, "aserto.api.v2.InstanceInfo", json_name: "info"
|
16
|
+
end
|
17
|
+
add_message "aserto.api.v2.Command" do
|
18
|
+
oneof :data do
|
19
|
+
optional :discovery, :message, 1, "aserto.api.v2.DiscoveryCommand", json_name: "discovery"
|
20
|
+
optional :sync_edge_directory, :message, 2, "aserto.api.v2.SyncEdgeDirectoryCommand", json_name: "syncEdgeDirectory"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
add_message "aserto.api.v2.DiscoveryCommand" do
|
24
|
+
end
|
25
|
+
add_message "aserto.api.v2.SyncEdgeDirectoryCommand" do
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
module Aserto
|
31
|
+
module Api
|
32
|
+
module V2
|
33
|
+
InstanceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.InstanceInfo").msgclass
|
34
|
+
InstanceRegistration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.InstanceRegistration").msgclass
|
35
|
+
Command = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.Command").msgclass
|
36
|
+
DiscoveryCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.DiscoveryCommand").msgclass
|
37
|
+
SyncEdgeDirectoryCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.SyncEdgeDirectoryCommand").msgclass
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v2/policy.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("aserto/api/v2/policy.proto", :syntax => :proto3) do
|
12
|
+
add_message "aserto.api.v2.Policy" do
|
13
|
+
optional :id, :string, 1, json_name: "id"
|
14
|
+
optional :name, :string, 2, json_name: "name"
|
15
|
+
optional :created_at, :message, 4, "google.protobuf.Timestamp", json_name: "createdAt"
|
16
|
+
optional :updated_at, :message, 5, "google.protobuf.Timestamp", json_name: "updatedAt"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Aserto
|
22
|
+
module Api
|
23
|
+
module V2
|
24
|
+
Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.Policy").msgclass
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v2/repository.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("aserto/api/v2/repository.proto", :syntax => :proto3) do
|
12
|
+
add_message "aserto.api.v2.Repository" do
|
13
|
+
optional :policy_id, :string, 1, json_name: "policyId"
|
14
|
+
optional :connection_id, :string, 2, json_name: "connectionId"
|
15
|
+
optional :org, :string, 3, json_name: "org"
|
16
|
+
optional :repo, :string, 4, json_name: "repo"
|
17
|
+
optional :created_at, :message, 5, "google.protobuf.Timestamp", json_name: "createdAt"
|
18
|
+
optional :updated_at, :message, 6, "google.protobuf.Timestamp", json_name: "updatedAt"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Aserto
|
24
|
+
module Api
|
25
|
+
module V2
|
26
|
+
Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.Repository").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v2/source.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'aserto/options/v1/ids_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("aserto/api/v2/source.proto", :syntax => :proto3) do
|
12
|
+
add_message "aserto.api.v2.Source" do
|
13
|
+
optional :policy_id, :string, 1, json_name: "policyId"
|
14
|
+
optional :connection_id, :string, 2, json_name: "connectionId"
|
15
|
+
optional :org, :string, 3, json_name: "org"
|
16
|
+
optional :repo, :string, 4, json_name: "repo"
|
17
|
+
optional :created_at, :message, 5, "google.protobuf.Timestamp", json_name: "createdAt"
|
18
|
+
optional :updated_at, :message, 6, "google.protobuf.Timestamp", json_name: "updatedAt"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Aserto
|
24
|
+
module Api
|
25
|
+
module V2
|
26
|
+
Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.Source").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/api/v2/user.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/struct_pb'
|
7
|
+
require 'aserto/api/v1/metadata_pb'
|
8
|
+
require 'aserto/api/v1/user_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("aserto/api/v2/user.proto", :syntax => :proto3) do
|
12
|
+
add_message "aserto.api.v2.User" do
|
13
|
+
optional :id, :string, 1, json_name: "id"
|
14
|
+
optional :enabled, :bool, 2, json_name: "enabled"
|
15
|
+
optional :display_name, :string, 3, json_name: "displayName"
|
16
|
+
optional :email, :string, 4, json_name: "email"
|
17
|
+
map :identities, :string, :message, 6, "aserto.api.v1.IdentitySource"
|
18
|
+
optional :metadata, :message, 9, "aserto.api.v1.Metadata", json_name: "metadata"
|
19
|
+
optional :deleted, :bool, 10, json_name: "deleted"
|
20
|
+
optional :properties, :message, 11, "google.protobuf.Struct", json_name: "properties"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
module Aserto
|
26
|
+
module Api
|
27
|
+
module V2
|
28
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.api.v2.User").msgclass
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: aserto/authorizer/authorizer/v1/authorizer.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
8
|
+
require 'google/protobuf/struct_pb'
|
9
|
+
require 'aserto/api/v1/policy_context_pb'
|
10
|
+
require 'aserto/api/v1/identity_context_pb'
|
11
|
+
|
12
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
|
+
add_file("aserto/authorizer/authorizer/v1/authorizer.proto", :syntax => :proto3) do
|
14
|
+
add_message "aserto.authorizer.authorizer.v1.DecisionTreeRequest" do
|
15
|
+
optional :policy_context, :message, 1, "aserto.api.v1.PolicyContext", json_name: "policyContext"
|
16
|
+
optional :identity_context, :message, 2, "aserto.api.v1.IdentityContext", json_name: "identityContext"
|
17
|
+
optional :options, :message, 3, "aserto.authorizer.authorizer.v1.DecisionTreeOptions", json_name: "options"
|
18
|
+
optional :resource_context, :message, 4, "google.protobuf.Struct", json_name: "resourceContext"
|
19
|
+
end
|
20
|
+
add_message "aserto.authorizer.authorizer.v1.DecisionTreeOptions" do
|
21
|
+
optional :path_separator, :enum, 1, "aserto.authorizer.authorizer.v1.PathSeparator", json_name: "pathSeparator"
|
22
|
+
end
|
23
|
+
add_message "aserto.authorizer.authorizer.v1.DecisionTreeResponse" do
|
24
|
+
optional :path_root, :string, 1, json_name: "pathRoot"
|
25
|
+
optional :path, :message, 3, "google.protobuf.Struct", json_name: "path"
|
26
|
+
end
|
27
|
+
add_message "aserto.authorizer.authorizer.v1.IsRequest" do
|
28
|
+
optional :policy_context, :message, 1, "aserto.api.v1.PolicyContext", json_name: "policyContext"
|
29
|
+
optional :identity_context, :message, 2, "aserto.api.v1.IdentityContext", json_name: "identityContext"
|
30
|
+
optional :resource_context, :message, 3, "google.protobuf.Struct", json_name: "resourceContext"
|
31
|
+
end
|
32
|
+
add_message "aserto.authorizer.authorizer.v1.Decision" do
|
33
|
+
optional :decision, :string, 1, json_name: "decision"
|
34
|
+
optional :is, :bool, 2, json_name: "is"
|
35
|
+
end
|
36
|
+
add_message "aserto.authorizer.authorizer.v1.IsResponse" do
|
37
|
+
repeated :decisions, :message, 1, "aserto.authorizer.authorizer.v1.Decision", json_name: "decisions"
|
38
|
+
end
|
39
|
+
add_message "aserto.authorizer.authorizer.v1.QueryOptions" do
|
40
|
+
optional :metrics, :bool, 1, json_name: "metrics"
|
41
|
+
optional :instrument, :bool, 2, json_name: "instrument"
|
42
|
+
optional :trace, :enum, 3, "aserto.authorizer.authorizer.v1.TraceLevel", json_name: "trace"
|
43
|
+
optional :trace_summary, :bool, 4, json_name: "traceSummary"
|
44
|
+
end
|
45
|
+
add_message "aserto.authorizer.authorizer.v1.QueryRequest" do
|
46
|
+
optional :identity_context, :message, 1, "aserto.api.v1.IdentityContext", json_name: "identityContext"
|
47
|
+
optional :query, :string, 2, json_name: "query"
|
48
|
+
optional :input, :string, 3, json_name: "input"
|
49
|
+
optional :options, :message, 4, "aserto.authorizer.authorizer.v1.QueryOptions", json_name: "options"
|
50
|
+
optional :policy_context, :message, 5, "aserto.api.v1.PolicyContext", json_name: "policyContext"
|
51
|
+
optional :resource_context, :message, 6, "google.protobuf.Struct", json_name: "resourceContext"
|
52
|
+
end
|
53
|
+
add_message "aserto.authorizer.authorizer.v1.QueryResponse" do
|
54
|
+
repeated :results, :message, 1, "google.protobuf.Struct", json_name: "results"
|
55
|
+
optional :metrics, :message, 2, "google.protobuf.Struct", json_name: "metrics"
|
56
|
+
repeated :trace, :message, 3, "google.protobuf.Struct", json_name: "trace"
|
57
|
+
repeated :trace_summary, :string, 4, json_name: "traceSummary"
|
58
|
+
end
|
59
|
+
add_enum "aserto.authorizer.authorizer.v1.PathSeparator" do
|
60
|
+
value :PATH_SEPARATOR_UNKNOWN, 0
|
61
|
+
value :PATH_SEPARATOR_DOT, 1
|
62
|
+
value :PATH_SEPARATOR_SLASH, 2
|
63
|
+
end
|
64
|
+
add_enum "aserto.authorizer.authorizer.v1.TraceLevel" do
|
65
|
+
value :TRACE_LEVEL_UNKNOWN, 0
|
66
|
+
value :TRACE_LEVEL_OFF, 1
|
67
|
+
value :TRACE_LEVEL_FULL, 2
|
68
|
+
value :TRACE_LEVEL_NOTES, 3
|
69
|
+
value :TRACE_LEVEL_FAILS, 4
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
module Aserto
|
75
|
+
module Authorizer
|
76
|
+
module Authorizer
|
77
|
+
module V1
|
78
|
+
DecisionTreeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.DecisionTreeRequest").msgclass
|
79
|
+
DecisionTreeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.DecisionTreeOptions").msgclass
|
80
|
+
DecisionTreeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.DecisionTreeResponse").msgclass
|
81
|
+
IsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.IsRequest").msgclass
|
82
|
+
Decision = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.Decision").msgclass
|
83
|
+
IsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.IsResponse").msgclass
|
84
|
+
QueryOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.QueryOptions").msgclass
|
85
|
+
QueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.QueryRequest").msgclass
|
86
|
+
QueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.QueryResponse").msgclass
|
87
|
+
PathSeparator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.PathSeparator").enummodule
|
88
|
+
TraceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.authorizer.authorizer.v1.TraceLevel").enummodule
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|