@metal-stack/api 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/metalstack/admin/v2/audit_pb.d.ts +112 -0
- package/js/metalstack/admin/v2/audit_pb.js +37 -0
- package/js/metalstack/admin/v2/audit_pb.ts +138 -0
- package/js/metalstack/api/v2/audit_pb.d.ts +303 -0
- package/js/metalstack/api/v2/audit_pb.js +78 -0
- package/js/metalstack/api/v2/audit_pb.ts +362 -0
- package/js/metalstack/api/v2/machine_pb.d.ts +28 -1
- package/js/metalstack/api/v2/machine_pb.js +2 -2
- package/js/metalstack/api/v2/machine_pb.ts +33 -2
- package/js/metalstack/api/v2/network_pb.d.ts +1 -0
- package/js/metalstack/api/v2/network_pb.js +1 -0
- package/js/metalstack/api/v2/network_pb.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { AuditPhase, AuditQuery, AuditTrace } from "../../api/v2/audit_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file metalstack/admin/v2/audit.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_metalstack_admin_v2_audit: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* AuditServiceListRequest is the request payload to list audits
|
|
10
|
+
*
|
|
11
|
+
* @generated from message metalstack.admin.v2.AuditServiceListRequest
|
|
12
|
+
*/
|
|
13
|
+
export type AuditServiceListRequest = Message<"metalstack.admin.v2.AuditServiceListRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Query for audit traces
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: metalstack.api.v2.AuditQuery query = 1;
|
|
18
|
+
*/
|
|
19
|
+
query?: AuditQuery;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message metalstack.admin.v2.AuditServiceListRequest.
|
|
23
|
+
* Use `create(AuditServiceListRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const AuditServiceListRequestSchema: GenMessage<AuditServiceListRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* AuditServiceListResponse is the response payload of a audit list request
|
|
28
|
+
*
|
|
29
|
+
* @generated from message metalstack.admin.v2.AuditServiceListResponse
|
|
30
|
+
*/
|
|
31
|
+
export type AuditServiceListResponse = Message<"metalstack.admin.v2.AuditServiceListResponse"> & {
|
|
32
|
+
/**
|
|
33
|
+
* Traces is a list of audit traces
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
|
|
36
|
+
*/
|
|
37
|
+
traces: AuditTrace[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message metalstack.admin.v2.AuditServiceListResponse.
|
|
41
|
+
* Use `create(AuditServiceListResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const AuditServiceListResponseSchema: GenMessage<AuditServiceListResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* AuditServiceGetRequest is the request payload of a audit get request
|
|
46
|
+
*
|
|
47
|
+
* @generated from message metalstack.admin.v2.AuditServiceGetRequest
|
|
48
|
+
*/
|
|
49
|
+
export type AuditServiceGetRequest = Message<"metalstack.admin.v2.AuditServiceGetRequest"> & {
|
|
50
|
+
/**
|
|
51
|
+
* Uuid of the audit trace
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string uuid = 1;
|
|
54
|
+
*/
|
|
55
|
+
uuid: string;
|
|
56
|
+
/**
|
|
57
|
+
* Phase specifies the audit phase. Defaults to request
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 2;
|
|
60
|
+
*/
|
|
61
|
+
phase?: AuditPhase;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message metalstack.admin.v2.AuditServiceGetRequest.
|
|
65
|
+
* Use `create(AuditServiceGetRequestSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetRequest>;
|
|
68
|
+
/**
|
|
69
|
+
* AuditServiceGetResponse is the response payload of a audit get request
|
|
70
|
+
*
|
|
71
|
+
* @generated from message metalstack.admin.v2.AuditServiceGetResponse
|
|
72
|
+
*/
|
|
73
|
+
export type AuditServiceGetResponse = Message<"metalstack.admin.v2.AuditServiceGetResponse"> & {
|
|
74
|
+
/**
|
|
75
|
+
* Trace is the audit trace
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
78
|
+
*/
|
|
79
|
+
trace?: AuditTrace;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message metalstack.admin.v2.AuditServiceGetResponse.
|
|
83
|
+
* Use `create(AuditServiceGetResponseSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const AuditServiceGetResponseSchema: GenMessage<AuditServiceGetResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* AuditService serves audit related functions
|
|
88
|
+
*
|
|
89
|
+
* @generated from service metalstack.admin.v2.AuditService
|
|
90
|
+
*/
|
|
91
|
+
export declare const AuditService: GenService<{
|
|
92
|
+
/**
|
|
93
|
+
* Get an audit trace
|
|
94
|
+
*
|
|
95
|
+
* @generated from rpc metalstack.admin.v2.AuditService.Get
|
|
96
|
+
*/
|
|
97
|
+
get: {
|
|
98
|
+
methodKind: "unary";
|
|
99
|
+
input: typeof AuditServiceGetRequestSchema;
|
|
100
|
+
output: typeof AuditServiceGetResponseSchema;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* List all audit traces
|
|
104
|
+
*
|
|
105
|
+
* @generated from rpc metalstack.admin.v2.AuditService.List
|
|
106
|
+
*/
|
|
107
|
+
list: {
|
|
108
|
+
methodKind: "unary";
|
|
109
|
+
input: typeof AuditServiceListRequestSchema;
|
|
110
|
+
output: typeof AuditServiceListResponseSchema;
|
|
111
|
+
};
|
|
112
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/audit.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_metalstack_api_v2_audit } from "../../api/v2/audit_pb";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file metalstack/admin/v2/audit.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_metalstack_admin_v2_audit = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL2F1ZGl0LnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkcKF0F1ZGl0U2VydmljZUxpc3RSZXF1ZXN0EiwKBXF1ZXJ5GAEgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRRdWVyeSJJChhBdWRpdFNlcnZpY2VMaXN0UmVzcG9uc2USLQoGdHJhY2VzGAEgAygLMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRUcmFjZSJ3ChZBdWRpdFNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEjsKBXBoYXNlGAIgASgOMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRQaGFzZUIIukgFggECEAFIAIgBAUIICgZfcGhhc2UiRwoXQXVkaXRTZXJ2aWNlR2V0UmVzcG9uc2USLAoFdHJhY2UYASABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5BdWRpdFRyYWNlMuUBCgxBdWRpdFNlcnZpY2USaAoDR2V0EisubWV0YWxzdGFjay5hZG1pbi52Mi5BdWRpdFNlcnZpY2VHZXRSZXF1ZXN0GiwubWV0YWxzdGFjay5hZG1pbi52Mi5BdWRpdFNlcnZpY2VHZXRSZXNwb25zZSIG0vMYAgECEmsKBExpc3QSLC5tZXRhbHN0YWNrLmFkbWluLnYyLkF1ZGl0U2VydmljZUxpc3RSZXF1ZXN0Gi0ubWV0YWxzdGFjay5hZG1pbi52Mi5BdWRpdFNlcnZpY2VMaXN0UmVzcG9uc2UiBtLzGAIBAkLOAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCCkF1ZGl0UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hZG1pbi92MjthZG1pbnYyogIDTUFYqgITTWV0YWxzdGFjay5BZG1pbi5WMsoCE01ldGFsc3RhY2tcQWRtaW5cVjLiAh9NZXRhbHN0YWNrXEFkbWluXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6QWRtaW46OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_audit, file_metalstack_api_v2_common]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message metalstack.admin.v2.AuditServiceListRequest.
|
|
14
|
+
* Use `create(AuditServiceListRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const AuditServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_audit, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message metalstack.admin.v2.AuditServiceListResponse.
|
|
19
|
+
* Use `create(AuditServiceListResponseSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const AuditServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_audit, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message metalstack.admin.v2.AuditServiceGetRequest.
|
|
24
|
+
* Use `create(AuditServiceGetRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const AuditServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_audit, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message metalstack.admin.v2.AuditServiceGetResponse.
|
|
29
|
+
* Use `create(AuditServiceGetResponseSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const AuditServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_audit, 3);
|
|
32
|
+
/**
|
|
33
|
+
* AuditService serves audit related functions
|
|
34
|
+
*
|
|
35
|
+
* @generated from service metalstack.admin.v2.AuditService
|
|
36
|
+
*/
|
|
37
|
+
export const AuditService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_audit, 0);
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/audit.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
+
import type { AuditPhase, AuditQuery, AuditTrace } from "../../api/v2/audit_pb";
|
|
9
|
+
import { file_metalstack_api_v2_audit } from "../../api/v2/audit_pb";
|
|
10
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file metalstack/admin/v2/audit.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_metalstack_admin_v2_audit: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL2F1ZGl0LnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIkcKF0F1ZGl0U2VydmljZUxpc3RSZXF1ZXN0EiwKBXF1ZXJ5GAEgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRRdWVyeSJJChhBdWRpdFNlcnZpY2VMaXN0UmVzcG9uc2USLQoGdHJhY2VzGAEgAygLMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRUcmFjZSJ3ChZBdWRpdFNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEjsKBXBoYXNlGAIgASgOMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRQaGFzZUIIukgFggECEAFIAIgBAUIICgZfcGhhc2UiRwoXQXVkaXRTZXJ2aWNlR2V0UmVzcG9uc2USLAoFdHJhY2UYASABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5BdWRpdFRyYWNlMuUBCgxBdWRpdFNlcnZpY2USaAoDR2V0EisubWV0YWxzdGFjay5hZG1pbi52Mi5BdWRpdFNlcnZpY2VHZXRSZXF1ZXN0GiwubWV0YWxzdGFjay5hZG1pbi52Mi5BdWRpdFNlcnZpY2VHZXRSZXNwb25zZSIG0vMYAgECEmsKBExpc3QSLC5tZXRhbHN0YWNrLmFkbWluLnYyLkF1ZGl0U2VydmljZUxpc3RSZXF1ZXN0Gi0ubWV0YWxzdGFjay5hZG1pbi52Mi5BdWRpdFNlcnZpY2VMaXN0UmVzcG9uc2UiBtLzGAIBAkLOAQoXY29tLm1ldGFsc3RhY2suYWRtaW4udjJCCkF1ZGl0UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hZG1pbi92MjthZG1pbnYyogIDTUFYqgITTWV0YWxzdGFjay5BZG1pbi5WMsoCE01ldGFsc3RhY2tcQWRtaW5cVjLiAh9NZXRhbHN0YWNrXEFkbWluXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6QWRtaW46OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_audit, file_metalstack_api_v2_common]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* AuditServiceListRequest is the request payload to list audits
|
|
21
|
+
*
|
|
22
|
+
* @generated from message metalstack.admin.v2.AuditServiceListRequest
|
|
23
|
+
*/
|
|
24
|
+
export type AuditServiceListRequest = Message<"metalstack.admin.v2.AuditServiceListRequest"> & {
|
|
25
|
+
/**
|
|
26
|
+
* Query for audit traces
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: metalstack.api.v2.AuditQuery query = 1;
|
|
29
|
+
*/
|
|
30
|
+
query?: AuditQuery;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message metalstack.admin.v2.AuditServiceListRequest.
|
|
35
|
+
* Use `create(AuditServiceListRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const AuditServiceListRequestSchema: GenMessage<AuditServiceListRequest> = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_metalstack_admin_v2_audit, 0);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* AuditServiceListResponse is the response payload of a audit list request
|
|
42
|
+
*
|
|
43
|
+
* @generated from message metalstack.admin.v2.AuditServiceListResponse
|
|
44
|
+
*/
|
|
45
|
+
export type AuditServiceListResponse = Message<"metalstack.admin.v2.AuditServiceListResponse"> & {
|
|
46
|
+
/**
|
|
47
|
+
* Traces is a list of audit traces
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
|
|
50
|
+
*/
|
|
51
|
+
traces: AuditTrace[];
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message metalstack.admin.v2.AuditServiceListResponse.
|
|
56
|
+
* Use `create(AuditServiceListResponseSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const AuditServiceListResponseSchema: GenMessage<AuditServiceListResponse> = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_metalstack_admin_v2_audit, 1);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* AuditServiceGetRequest is the request payload of a audit get request
|
|
63
|
+
*
|
|
64
|
+
* @generated from message metalstack.admin.v2.AuditServiceGetRequest
|
|
65
|
+
*/
|
|
66
|
+
export type AuditServiceGetRequest = Message<"metalstack.admin.v2.AuditServiceGetRequest"> & {
|
|
67
|
+
/**
|
|
68
|
+
* Uuid of the audit trace
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string uuid = 1;
|
|
71
|
+
*/
|
|
72
|
+
uuid: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Phase specifies the audit phase. Defaults to request
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 2;
|
|
78
|
+
*/
|
|
79
|
+
phase?: AuditPhase;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message metalstack.admin.v2.AuditServiceGetRequest.
|
|
84
|
+
* Use `create(AuditServiceGetRequestSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetRequest> = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_metalstack_admin_v2_audit, 2);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* AuditServiceGetResponse is the response payload of a audit get request
|
|
91
|
+
*
|
|
92
|
+
* @generated from message metalstack.admin.v2.AuditServiceGetResponse
|
|
93
|
+
*/
|
|
94
|
+
export type AuditServiceGetResponse = Message<"metalstack.admin.v2.AuditServiceGetResponse"> & {
|
|
95
|
+
/**
|
|
96
|
+
* Trace is the audit trace
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
99
|
+
*/
|
|
100
|
+
trace?: AuditTrace;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message metalstack.admin.v2.AuditServiceGetResponse.
|
|
105
|
+
* Use `create(AuditServiceGetResponseSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export const AuditServiceGetResponseSchema: GenMessage<AuditServiceGetResponse> = /*@__PURE__*/
|
|
108
|
+
messageDesc(file_metalstack_admin_v2_audit, 3);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* AuditService serves audit related functions
|
|
112
|
+
*
|
|
113
|
+
* @generated from service metalstack.admin.v2.AuditService
|
|
114
|
+
*/
|
|
115
|
+
export const AuditService: GenService<{
|
|
116
|
+
/**
|
|
117
|
+
* Get an audit trace
|
|
118
|
+
*
|
|
119
|
+
* @generated from rpc metalstack.admin.v2.AuditService.Get
|
|
120
|
+
*/
|
|
121
|
+
get: {
|
|
122
|
+
methodKind: "unary";
|
|
123
|
+
input: typeof AuditServiceGetRequestSchema;
|
|
124
|
+
output: typeof AuditServiceGetResponseSchema;
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
* List all audit traces
|
|
128
|
+
*
|
|
129
|
+
* @generated from rpc metalstack.admin.v2.AuditService.List
|
|
130
|
+
*/
|
|
131
|
+
list: {
|
|
132
|
+
methodKind: "unary";
|
|
133
|
+
input: typeof AuditServiceListRequestSchema;
|
|
134
|
+
output: typeof AuditServiceListResponseSchema;
|
|
135
|
+
},
|
|
136
|
+
}> = /*@__PURE__*/
|
|
137
|
+
serviceDesc(file_metalstack_admin_v2_audit, 0);
|
|
138
|
+
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file metalstack/api/v2/audit.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_metalstack_api_v2_audit: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* AuditTrace is an audit trace
|
|
10
|
+
*
|
|
11
|
+
* @generated from message metalstack.api.v2.AuditTrace
|
|
12
|
+
*/
|
|
13
|
+
export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
|
|
14
|
+
/**
|
|
15
|
+
* Uuid of the audit trace
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string uuid = 1;
|
|
18
|
+
*/
|
|
19
|
+
uuid: string;
|
|
20
|
+
/**
|
|
21
|
+
* Timestamp is the timestamp when the request arrived at the api
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
24
|
+
*/
|
|
25
|
+
timestamp?: Timestamp;
|
|
26
|
+
/**
|
|
27
|
+
* User is the login user who called the api method
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string user = 3;
|
|
30
|
+
*/
|
|
31
|
+
user: string;
|
|
32
|
+
/**
|
|
33
|
+
* Tenant is the tenant targeted by the api call
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string tenant = 4;
|
|
36
|
+
*/
|
|
37
|
+
tenant: string;
|
|
38
|
+
/**
|
|
39
|
+
* Project is the project targeted by the api call
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: optional string project = 5;
|
|
42
|
+
*/
|
|
43
|
+
project?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Method is the api method that was called
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string method = 6;
|
|
48
|
+
*/
|
|
49
|
+
method: string;
|
|
50
|
+
/**
|
|
51
|
+
* Body is the payload of the api call. In the request phase this contains the payload sent by the client, in the request phase it contains the payload returned by the api server
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: optional string body = 7;
|
|
54
|
+
*/
|
|
55
|
+
body?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Source IP contains the source ip address of the api call
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string source_ip = 8;
|
|
60
|
+
*/
|
|
61
|
+
sourceIp: string;
|
|
62
|
+
/**
|
|
63
|
+
* Result Code is a status code describing the result of the api call. It is set for traces in the response phase and contains official gRPC status codes
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: optional int32 result_code = 9;
|
|
66
|
+
*/
|
|
67
|
+
resultCode?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Phase represents the phase of the audit trace
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: metalstack.api.v2.AuditPhase phase = 10;
|
|
72
|
+
*/
|
|
73
|
+
phase: AuditPhase;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message metalstack.api.v2.AuditTrace.
|
|
77
|
+
* Use `create(AuditTraceSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export declare const AuditTraceSchema: GenMessage<AuditTrace>;
|
|
80
|
+
/**
|
|
81
|
+
* AuditQuery is the query for audit traces
|
|
82
|
+
*
|
|
83
|
+
* @generated from message metalstack.api.v2.AuditQuery
|
|
84
|
+
*/
|
|
85
|
+
export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
|
|
86
|
+
/**
|
|
87
|
+
* Uuid of the audit trace
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: optional string uuid = 2;
|
|
90
|
+
*/
|
|
91
|
+
uuid?: string;
|
|
92
|
+
/**
|
|
93
|
+
* From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: optional google.protobuf.Timestamp from = 3;
|
|
96
|
+
*/
|
|
97
|
+
from?: Timestamp;
|
|
98
|
+
/**
|
|
99
|
+
* To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: optional google.protobuf.Timestamp to = 4;
|
|
102
|
+
*/
|
|
103
|
+
to?: Timestamp;
|
|
104
|
+
/**
|
|
105
|
+
* User is the user who called the api method
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: optional string user = 5;
|
|
108
|
+
*/
|
|
109
|
+
user?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Project is the project targeted by the api call
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: optional string project = 6;
|
|
114
|
+
*/
|
|
115
|
+
project?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Method is the api method that was called
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: optional string method = 7;
|
|
120
|
+
*/
|
|
121
|
+
method?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Source IP contains the ip address of the caller
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: optional string source_ip = 8;
|
|
126
|
+
*/
|
|
127
|
+
sourceIp?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Result Code is a string describing the result of the api call
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: optional int32 result_code = 9;
|
|
132
|
+
*/
|
|
133
|
+
resultCode?: number;
|
|
134
|
+
/**
|
|
135
|
+
* Body is a string providing text-search of the body field
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: optional string body = 10;
|
|
138
|
+
*/
|
|
139
|
+
body?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: optional int32 limit = 11;
|
|
144
|
+
*/
|
|
145
|
+
limit?: number;
|
|
146
|
+
/**
|
|
147
|
+
* Phase specifies the audit phase
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
|
|
150
|
+
*/
|
|
151
|
+
phase?: AuditPhase;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message metalstack.api.v2.AuditQuery.
|
|
155
|
+
* Use `create(AuditQuerySchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const AuditQuerySchema: GenMessage<AuditQuery>;
|
|
158
|
+
/**
|
|
159
|
+
* AuditServiceListRequest is the request payload for a audit list request
|
|
160
|
+
*
|
|
161
|
+
* @generated from message metalstack.api.v2.AuditServiceListRequest
|
|
162
|
+
*/
|
|
163
|
+
export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceListRequest"> & {
|
|
164
|
+
/**
|
|
165
|
+
* Login for this tenant
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: string login = 1;
|
|
168
|
+
*/
|
|
169
|
+
login: string;
|
|
170
|
+
/**
|
|
171
|
+
* Query for audit traces
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: metalstack.api.v2.AuditQuery query = 2;
|
|
174
|
+
*/
|
|
175
|
+
query?: AuditQuery;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message metalstack.api.v2.AuditServiceListRequest.
|
|
179
|
+
* Use `create(AuditServiceListRequestSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export declare const AuditServiceListRequestSchema: GenMessage<AuditServiceListRequest>;
|
|
182
|
+
/**
|
|
183
|
+
* AuditServiceListResponse is the response payload of a audit list request
|
|
184
|
+
*
|
|
185
|
+
* @generated from message metalstack.api.v2.AuditServiceListResponse
|
|
186
|
+
*/
|
|
187
|
+
export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceListResponse"> & {
|
|
188
|
+
/**
|
|
189
|
+
* Traces is a list of audit traces
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
|
|
192
|
+
*/
|
|
193
|
+
traces: AuditTrace[];
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message metalstack.api.v2.AuditServiceListResponse.
|
|
197
|
+
* Use `create(AuditServiceListResponseSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export declare const AuditServiceListResponseSchema: GenMessage<AuditServiceListResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* AuditServiceGetRequest is the request payload of a audit get request
|
|
202
|
+
*
|
|
203
|
+
* @generated from message metalstack.api.v2.AuditServiceGetRequest
|
|
204
|
+
*/
|
|
205
|
+
export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetRequest"> & {
|
|
206
|
+
/**
|
|
207
|
+
* Login for this tenant
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: string login = 1;
|
|
210
|
+
*/
|
|
211
|
+
login: string;
|
|
212
|
+
/**
|
|
213
|
+
* Uuid of the audit trace
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: string uuid = 2;
|
|
216
|
+
*/
|
|
217
|
+
uuid: string;
|
|
218
|
+
/**
|
|
219
|
+
* Phase specifies the audit phase. Defaults to request
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
|
|
222
|
+
*/
|
|
223
|
+
phase?: AuditPhase;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Describes the message metalstack.api.v2.AuditServiceGetRequest.
|
|
227
|
+
* Use `create(AuditServiceGetRequestSchema)` to create a new message.
|
|
228
|
+
*/
|
|
229
|
+
export declare const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetRequest>;
|
|
230
|
+
/**
|
|
231
|
+
* AuditServiceGetResponse is the response payload of a audit get request
|
|
232
|
+
*
|
|
233
|
+
* @generated from message metalstack.api.v2.AuditServiceGetResponse
|
|
234
|
+
*/
|
|
235
|
+
export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGetResponse"> & {
|
|
236
|
+
/**
|
|
237
|
+
* Trace is the audit trace
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: metalstack.api.v2.AuditTrace trace = 1;
|
|
240
|
+
*/
|
|
241
|
+
trace?: AuditTrace;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Describes the message metalstack.api.v2.AuditServiceGetResponse.
|
|
245
|
+
* Use `create(AuditServiceGetResponseSchema)` to create a new message.
|
|
246
|
+
*/
|
|
247
|
+
export declare const AuditServiceGetResponseSchema: GenMessage<AuditServiceGetResponse>;
|
|
248
|
+
/**
|
|
249
|
+
* AuditPhase specifies phase of an audit trace
|
|
250
|
+
*
|
|
251
|
+
* @generated from enum metalstack.api.v2.AuditPhase
|
|
252
|
+
*/
|
|
253
|
+
export declare enum AuditPhase {
|
|
254
|
+
/**
|
|
255
|
+
* AUDIT_PHASE_UNSPECIFIED is not specified
|
|
256
|
+
*
|
|
257
|
+
* @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
|
|
258
|
+
*/
|
|
259
|
+
UNSPECIFIED = 0,
|
|
260
|
+
/**
|
|
261
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase
|
|
262
|
+
*
|
|
263
|
+
* @generated from enum value: AUDIT_PHASE_REQUEST = 1;
|
|
264
|
+
*/
|
|
265
|
+
REQUEST = 1,
|
|
266
|
+
/**
|
|
267
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the response phase
|
|
268
|
+
*
|
|
269
|
+
* @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
|
|
270
|
+
*/
|
|
271
|
+
RESPONSE = 2
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Describes the enum metalstack.api.v2.AuditPhase.
|
|
275
|
+
*/
|
|
276
|
+
export declare const AuditPhaseSchema: GenEnum<AuditPhase>;
|
|
277
|
+
/**
|
|
278
|
+
* AuditService serves audit related functions
|
|
279
|
+
*
|
|
280
|
+
* @generated from service metalstack.api.v2.AuditService
|
|
281
|
+
*/
|
|
282
|
+
export declare const AuditService: GenService<{
|
|
283
|
+
/**
|
|
284
|
+
* Get an audit trace
|
|
285
|
+
*
|
|
286
|
+
* @generated from rpc metalstack.api.v2.AuditService.Get
|
|
287
|
+
*/
|
|
288
|
+
get: {
|
|
289
|
+
methodKind: "unary";
|
|
290
|
+
input: typeof AuditServiceGetRequestSchema;
|
|
291
|
+
output: typeof AuditServiceGetResponseSchema;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* List audit traces
|
|
295
|
+
*
|
|
296
|
+
* @generated from rpc metalstack.api.v2.AuditService.List
|
|
297
|
+
*/
|
|
298
|
+
list: {
|
|
299
|
+
methodKind: "unary";
|
|
300
|
+
input: typeof AuditServiceListRequestSchema;
|
|
301
|
+
output: typeof AuditServiceListResponseSchema;
|
|
302
|
+
};
|
|
303
|
+
}>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/api/v2/audit.proto (package metalstack.api.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_metalstack_api_v2_common } from "./common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_predefined_rules } from "./predefined_rules_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file metalstack/api/v2/audit.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_metalstack_api_v2_audit = /*@__PURE__*/ fileDesc("Ch1tZXRhbHN0YWNrL2FwaS92Mi9hdWRpdC5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiqgIKCkF1ZGl0VHJhY2USFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESLQoJdGltZXN0YW1wGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIMCgR1c2VyGAMgASgJEg4KBnRlbmFudBgEIAEoCRIUCgdwcm9qZWN0GAUgASgJSACIAQESDgoGbWV0aG9kGAYgASgJEhEKBGJvZHkYByABKAlIAYgBARIRCglzb3VyY2VfaXAYCCABKAkSGAoLcmVzdWx0X2NvZGUYCSABKAVIAogBARIsCgVwaGFzZRgKIAEoDjIdLm1ldGFsc3RhY2suYXBpLnYyLkF1ZGl0UGhhc2VCCgoIX3Byb2plY3RCBwoFX2JvZHlCDgoMX3Jlc3VsdF9jb2RlIpoECgpBdWRpdFF1ZXJ5EhsKBHV1aWQYAiABKAlCCLpIBXIDsAEBSACIAQESLQoEZnJvbRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAYgBARIrCgJ0bxgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAogBARIeCgR1c2VyGAUgASgJQgu6SAhyBsCzrrECAUgDiAEBEh4KB3Byb2plY3QYBiABKAlCCLpIBXIDsAEBSASIAQESHwoGbWV0aG9kGAcgASgJQgq6SAdyBRACGIACSAWIAQESHwoJc291cmNlX2lwGAggASgJQge6SARyAnABSAaIAQESIQoLcmVzdWx0X2NvZGUYCSABKAVCB7pIBBoCKABIB4gBARIdCgRib2R5GAogASgJQgq6SAdyBRACGIACSAiIAQESHgoFbGltaXQYCyABKAVCCrpIBxoFGOgHIABICYgBARI7CgVwaGFzZRgMIAEoDjIdLm1ldGFsc3RhY2suYXBpLnYyLkF1ZGl0UGhhc2VCCLpIBYIBAhABSAqIAQFCBwoFX3V1aWRCBwoFX2Zyb21CBQoDX3RvQgcKBV91c2VyQgoKCF9wcm9qZWN0QgkKB19tZXRob2RCDAoKX3NvdXJjZV9pcEIOCgxfcmVzdWx0X2NvZGVCBwoFX2JvZHlCCAoGX2xpbWl0QggKBl9waGFzZSJjChdBdWRpdFNlcnZpY2VMaXN0UmVxdWVzdBIaCgVsb2dpbhgBIAEoCUILukgIcgbAs66xAgESLAoFcXVlcnkYAiABKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5BdWRpdFF1ZXJ5IkkKGEF1ZGl0U2VydmljZUxpc3RSZXNwb25zZRItCgZ0cmFjZXMYASADKAsyHS5tZXRhbHN0YWNrLmFwaS52Mi5BdWRpdFRyYWNlIpMBChZBdWRpdFNlcnZpY2VHZXRSZXF1ZXN0EhoKBWxvZ2luGAEgASgJQgu6SAhyBsCzrrECARIWCgR1dWlkGAIgASgJQgi6SAVyA7ABARI7CgVwaGFzZRgDIAEoDjIdLm1ldGFsc3RhY2suYXBpLnYyLkF1ZGl0UGhhc2VCCLpIBYIBAhABSACIAQFCCAoGX3BoYXNlIkcKF0F1ZGl0U2VydmljZUdldFJlc3BvbnNlEiwKBXRyYWNlGAEgASgLMh0ubWV0YWxzdGFjay5hcGkudjIuQXVkaXRUcmFjZSpcCgpBdWRpdFBoYXNlEhsKF0FVRElUX1BIQVNFX1VOU1BFQ0lGSUVEEAASFwoTQVVESVRfUEhBU0VfUkVRVUVTVBABEhgKFEFVRElUX1BIQVNFX1JFU1BPTlNFEAIy4wEKDEF1ZGl0U2VydmljZRJnCgNHZXQSKS5tZXRhbHN0YWNrLmFwaS52Mi5BdWRpdFNlcnZpY2VHZXRSZXF1ZXN0GioubWV0YWxzdGFjay5hcGkudjIuQXVkaXRTZXJ2aWNlR2V0UmVzcG9uc2UiCcLzGAEB4PMYAhJqCgRMaXN0EioubWV0YWxzdGFjay5hcGkudjIuQXVkaXRTZXJ2aWNlTGlzdFJlcXVlc3QaKy5tZXRhbHN0YWNrLmFwaS52Mi5BdWRpdFNlcnZpY2VMaXN0UmVzcG9uc2UiCcLzGAEB4PMYAkLAAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQgpBdWRpdFByb3RvUAFaNWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYXBpL3YyO2FwaXYyogIDTUFYqgIRTWV0YWxzdGFjay5BcGkuVjLKAhFNZXRhbHN0YWNrXEFwaVxWMuICHU1ldGFsc3RhY2tcQXBpXFYyXEdQQk1ldGFkYXRh6gITTWV0YWxzdGFjazo6QXBpOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message metalstack.api.v2.AuditTrace.
|
|
15
|
+
* Use `create(AuditTraceSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const AuditTraceSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message metalstack.api.v2.AuditQuery.
|
|
20
|
+
* Use `create(AuditQuerySchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export const AuditQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message metalstack.api.v2.AuditServiceListRequest.
|
|
25
|
+
* Use `create(AuditServiceListRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const AuditServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message metalstack.api.v2.AuditServiceListResponse.
|
|
30
|
+
* Use `create(AuditServiceListResponseSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const AuditServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message metalstack.api.v2.AuditServiceGetRequest.
|
|
35
|
+
* Use `create(AuditServiceGetRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const AuditServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message metalstack.api.v2.AuditServiceGetResponse.
|
|
40
|
+
* Use `create(AuditServiceGetResponseSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const AuditServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_audit, 5);
|
|
43
|
+
/**
|
|
44
|
+
* AuditPhase specifies phase of an audit trace
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum metalstack.api.v2.AuditPhase
|
|
47
|
+
*/
|
|
48
|
+
export var AuditPhase;
|
|
49
|
+
(function (AuditPhase) {
|
|
50
|
+
/**
|
|
51
|
+
* AUDIT_PHASE_UNSPECIFIED is not specified
|
|
52
|
+
*
|
|
53
|
+
* @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
|
|
54
|
+
*/
|
|
55
|
+
AuditPhase[AuditPhase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
56
|
+
/**
|
|
57
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the request phase
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum value: AUDIT_PHASE_REQUEST = 1;
|
|
60
|
+
*/
|
|
61
|
+
AuditPhase[AuditPhase["REQUEST"] = 1] = "REQUEST";
|
|
62
|
+
/**
|
|
63
|
+
* AUDIT_PHASE_REQUEST defines an audit trace in the response phase
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
|
|
66
|
+
*/
|
|
67
|
+
AuditPhase[AuditPhase["RESPONSE"] = 2] = "RESPONSE";
|
|
68
|
+
})(AuditPhase || (AuditPhase = {}));
|
|
69
|
+
/**
|
|
70
|
+
* Describes the enum metalstack.api.v2.AuditPhase.
|
|
71
|
+
*/
|
|
72
|
+
export const AuditPhaseSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_audit, 0);
|
|
73
|
+
/**
|
|
74
|
+
* AuditService serves audit related functions
|
|
75
|
+
*
|
|
76
|
+
* @generated from service metalstack.api.v2.AuditService
|
|
77
|
+
*/
|
|
78
|
+
export const AuditService = /*@__PURE__*/ serviceDesc(file_metalstack_api_v2_audit, 0);
|