@clawscarf/cli 0.1.0-alpha.1

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.
Files changed (197) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/THIRD_PARTY_NOTICES.md +102 -0
  4. package/deploy/execution/browser/LICENSE.playwright +202 -0
  5. package/deploy/execution/browser/seccomp.json +640 -0
  6. package/deploy/execution/browser-node/configuration.js +85 -0
  7. package/deploy/execution/browser-node/operator.js +167 -0
  8. package/deploy/execution/network/node-ingress.cfg +35 -0
  9. package/deploy/models/catalog.json +275 -0
  10. package/deploy/openshell/policy.yaml +24 -0
  11. package/generated/http/LICENSE.md +21 -0
  12. package/generated/http/client/client.gen.d.ts +2 -0
  13. package/generated/http/client/client.gen.js +216 -0
  14. package/generated/http/client/index.d.ts +10 -0
  15. package/generated/http/client/index.js +6 -0
  16. package/generated/http/client/types.gen.d.ts +120 -0
  17. package/generated/http/client/types.gen.js +2 -0
  18. package/generated/http/client/utils.gen.d.ts +37 -0
  19. package/generated/http/client/utils.gen.js +228 -0
  20. package/generated/http/core/auth.gen.d.ts +25 -0
  21. package/generated/http/core/auth.gen.js +14 -0
  22. package/generated/http/core/bodySerializer.gen.d.ts +25 -0
  23. package/generated/http/core/bodySerializer.gen.js +57 -0
  24. package/generated/http/core/params.gen.d.ts +43 -0
  25. package/generated/http/core/params.gen.js +109 -0
  26. package/generated/http/core/pathSerializer.gen.d.ts +33 -0
  27. package/generated/http/core/pathSerializer.gen.js +106 -0
  28. package/generated/http/core/queryKeySerializer.gen.d.ts +18 -0
  29. package/generated/http/core/queryKeySerializer.gen.js +92 -0
  30. package/generated/http/core/serverSentEvents.gen.d.ts +71 -0
  31. package/generated/http/core/serverSentEvents.gen.js +132 -0
  32. package/generated/http/core/types.gen.d.ts +83 -0
  33. package/generated/http/core/types.gen.js +2 -0
  34. package/generated/http/core/utils.gen.d.ts +19 -0
  35. package/generated/http/core/utils.gen.js +87 -0
  36. package/package.json +37 -0
  37. package/packs/README.md +130 -0
  38. package/packs/research-team/pack.json +20 -0
  39. package/packs/research-team/researcher/CLAW.md +19 -0
  40. package/packs/research-team/researcher/package.json +8 -0
  41. package/packs/research-team/researcher/profiles/openclaw.yml +6 -0
  42. package/packs/research-team/reviewer/CLAW.md +19 -0
  43. package/packs/research-team/reviewer/package.json +8 -0
  44. package/packs/research-team/reviewer/profiles/openclaw.yml +6 -0
  45. package/pnpm-lock.yaml +7158 -0
  46. package/recipes/README.md +37 -0
  47. package/recipes/team-server/recipe.json +28 -0
  48. package/release/README.md +137 -0
  49. package/release/components.json +29 -0
  50. package/release/operator.md +63 -0
  51. package/runtime/configuration.js +135 -0
  52. package/runtime/connections-configuration.js +70 -0
  53. package/runtime/model-contract.js +92 -0
  54. package/runtime/releases/0.1.0-alpha.1.json +37 -0
  55. package/scripts/clawscarf.js +92 -0
  56. package/scripts/cloud/login.js +134 -0
  57. package/scripts/cloud/registration.js +232 -0
  58. package/scripts/cloud/url.js +9 -0
  59. package/scripts/connections.js +193 -0
  60. package/scripts/controller.js +143 -0
  61. package/scripts/deployment/browser-node-compose.js +81 -0
  62. package/scripts/deployment/browser-node-helper.js +9 -0
  63. package/scripts/deployment/browser-node-pairing.js +165 -0
  64. package/scripts/deployment/browser-node.js +154 -0
  65. package/scripts/deployment/browser.js +143 -0
  66. package/scripts/deployment/certificates.js +76 -0
  67. package/scripts/deployment/compose.js +191 -0
  68. package/scripts/deployment/configuration.js +275 -0
  69. package/scripts/deployment/connection-policy.js +80 -0
  70. package/scripts/deployment/connection-settings.js +60 -0
  71. package/scripts/deployment/connections-runtime.js +31 -0
  72. package/scripts/deployment/connections.js +213 -0
  73. package/scripts/deployment/controller-compose.js +59 -0
  74. package/scripts/deployment/database.js +199 -0
  75. package/scripts/deployment/entrypoint.js +7 -0
  76. package/scripts/deployment/images.js +17 -0
  77. package/scripts/deployment/initial-services.js +53 -0
  78. package/scripts/deployment/launch.js +177 -0
  79. package/scripts/deployment/logs.js +15 -0
  80. package/scripts/deployment/model-gateway-compose.js +74 -0
  81. package/scripts/deployment/model-gateway.js +125 -0
  82. package/scripts/deployment/models.js +82 -0
  83. package/scripts/deployment/networks.js +354 -0
  84. package/scripts/deployment/policy.js +56 -0
  85. package/scripts/deployment/preflight.js +124 -0
  86. package/scripts/deployment/prepare.js +205 -0
  87. package/scripts/deployment/process.js +70 -0
  88. package/scripts/deployment/relay.js +58 -0
  89. package/scripts/deployment/runtime-binding.js +100 -0
  90. package/scripts/deployment/runtime.js +232 -0
  91. package/scripts/deployment/state.js +154 -0
  92. package/scripts/deployment/team.js +76 -0
  93. package/scripts/deployment/upgrade-rpc.py +148 -0
  94. package/scripts/deployment/upgrade-state.js +47 -0
  95. package/scripts/deployment/upgrade.js +298 -0
  96. package/scripts/deployment/volumes.js +24 -0
  97. package/scripts/errors.js +9 -0
  98. package/scripts/installation/administrator.js +23 -0
  99. package/scripts/installation/command.js +176 -0
  100. package/scripts/installation/configuration.js +104 -0
  101. package/scripts/installation/configure.js +122 -0
  102. package/scripts/installation/delete.js +111 -0
  103. package/scripts/installation/doctor.js +8 -0
  104. package/scripts/installation/errors.js +8 -0
  105. package/scripts/installation/files.js +51 -0
  106. package/scripts/installation/installer/cloud.js +22 -0
  107. package/scripts/installation/installer/collect.js +245 -0
  108. package/scripts/installation/installer/inputs.js +59 -0
  109. package/scripts/installation/installer/menu.js +49 -0
  110. package/scripts/installation/installer/prompts.js +139 -0
  111. package/scripts/installation/installer/run.js +251 -0
  112. package/scripts/installation/installer/secrets.js +16 -0
  113. package/scripts/installation/installer/sections/access.js +69 -0
  114. package/scripts/installation/installer/sections/certificates.js +18 -0
  115. package/scripts/installation/installer/sections/connections.js +4 -0
  116. package/scripts/installation/installer/sections/external-models.js +35 -0
  117. package/scripts/installation/installer/sections/models.js +119 -0
  118. package/scripts/installation/installer/sections/packs.js +82 -0
  119. package/scripts/installation/installer/sections/resources.js +10 -0
  120. package/scripts/installation/installer/settings.js +192 -0
  121. package/scripts/installation/installer/summary.js +44 -0
  122. package/scripts/installation/lifecycle.js +127 -0
  123. package/scripts/installation/location.js +3 -0
  124. package/scripts/installation/models.js +42 -0
  125. package/scripts/installation/options.js +360 -0
  126. package/scripts/installation/packs.js +150 -0
  127. package/scripts/installation/plan.js +121 -0
  128. package/scripts/installation/prerequisites.js +170 -0
  129. package/scripts/installation/recipes/catalog.js +55 -0
  130. package/scripts/installation/recipes/definition.js +32 -0
  131. package/scripts/installation/reconfigure.js +255 -0
  132. package/scripts/installation/requirements.js +23 -0
  133. package/scripts/installation/resolve.js +217 -0
  134. package/scripts/installation/runtime.js +87 -0
  135. package/scripts/installation/save.js +95 -0
  136. package/scripts/installation/setup.js +91 -0
  137. package/scripts/models/catalog.js +9 -0
  138. package/scripts/models/configuration.js +184 -0
  139. package/scripts/models/credentials.js +132 -0
  140. package/scripts/models/runtime.js +87 -0
  141. package/scripts/output.js +34 -0
  142. package/scripts/packs/connections.js +95 -0
  143. package/scripts/packs/lifecycle.js +125 -0
  144. package/scripts/packs/model.js +66 -0
  145. package/scripts/packs/native.js +69 -0
  146. package/scripts/packs/openshell.js +148 -0
  147. package/scripts/packs/policy.js +189 -0
  148. package/scripts/packs/requirements.in +1 -0
  149. package/scripts/packs/requirements.js +11 -0
  150. package/scripts/packs/requirements.txt +116 -0
  151. package/scripts/packs/source.js +90 -0
  152. package/scripts/packs/transport.py +68 -0
  153. package/scripts/people.js +52 -0
  154. package/scripts/release/create.js +62 -0
  155. package/scripts/release/definition.js +51 -0
  156. package/scripts/session.js +27 -0
  157. package/services/access/generated/client.gen.d.ts +12 -0
  158. package/services/access/generated/client.gen.js +3 -0
  159. package/services/access/generated/fastify.gen.d.ts +49 -0
  160. package/services/access/generated/fastify.gen.js +2 -0
  161. package/services/access/generated/index.d.ts +2 -0
  162. package/services/access/generated/index.js +2 -0
  163. package/services/access/generated/sdk.gen.d.ts +28 -0
  164. package/services/access/generated/sdk.gen.js +107 -0
  165. package/services/access/generated/types.gen.d.ts +349 -0
  166. package/services/access/generated/types.gen.js +2 -0
  167. package/services/access/migrations/001_access.sql +39 -0
  168. package/services/access/migrations/002_administrator_setup.sql +16 -0
  169. package/services/access/migrations/003_local_login_completion.sql +5 -0
  170. package/services/access/migrations/004_invitations.sql +21 -0
  171. package/services/access/repo/postgres.js +341 -0
  172. package/services/access/repo/session-logout.js +28 -0
  173. package/services/access/types/credential.js +2 -0
  174. package/services/access/types/errors.js +7 -0
  175. package/services/access/types/ingress.js +1 -0
  176. package/services/access/types/model.js +1 -0
  177. package/services/access/types/native-errors.js +7 -0
  178. package/services/access/types/native.js +1 -0
  179. package/services/cloud/generated/client.gen.d.ts +12 -0
  180. package/services/cloud/generated/client.gen.js +3 -0
  181. package/services/cloud/generated/index.d.ts +2 -0
  182. package/services/cloud/generated/index.js +2 -0
  183. package/services/cloud/generated/sdk.gen.d.ts +145 -0
  184. package/services/cloud/generated/sdk.gen.js +488 -0
  185. package/services/cloud/generated/types.gen.d.ts +2034 -0
  186. package/services/cloud/generated/types.gen.js +2 -0
  187. package/services/connections/cloud/generated/client.gen.d.ts +12 -0
  188. package/services/connections/cloud/generated/client.gen.js +3 -0
  189. package/services/connections/cloud/generated/fastify.gen.d.ts +68 -0
  190. package/services/connections/cloud/generated/fastify.gen.js +2 -0
  191. package/services/connections/cloud/generated/index.d.ts +2 -0
  192. package/services/connections/cloud/generated/index.js +2 -0
  193. package/services/connections/cloud/generated/sdk.gen.d.ts +95 -0
  194. package/services/connections/cloud/generated/sdk.gen.js +210 -0
  195. package/services/connections/cloud/generated/types.gen.d.ts +1044 -0
  196. package/services/connections/cloud/generated/types.gen.js +2 -0
  197. package/services/connections/migrations/001_connections.sql +220 -0
@@ -0,0 +1,640 @@
1
+ {
2
+ "defaultAction": "SCMP_ACT_ERRNO",
3
+ "archMap": [
4
+ {
5
+ "architecture": "SCMP_ARCH_X86_64",
6
+ "subArchitectures": ["SCMP_ARCH_X86", "SCMP_ARCH_X32"]
7
+ },
8
+ {
9
+ "architecture": "SCMP_ARCH_AARCH64",
10
+ "subArchitectures": ["SCMP_ARCH_ARM"]
11
+ },
12
+ {
13
+ "architecture": "SCMP_ARCH_MIPS64",
14
+ "subArchitectures": ["SCMP_ARCH_MIPS", "SCMP_ARCH_MIPS64N32"]
15
+ },
16
+ {
17
+ "architecture": "SCMP_ARCH_MIPS64N32",
18
+ "subArchitectures": ["SCMP_ARCH_MIPS", "SCMP_ARCH_MIPS64"]
19
+ },
20
+ {
21
+ "architecture": "SCMP_ARCH_MIPSEL64",
22
+ "subArchitectures": ["SCMP_ARCH_MIPSEL", "SCMP_ARCH_MIPSEL64N32"]
23
+ },
24
+ {
25
+ "architecture": "SCMP_ARCH_MIPSEL64N32",
26
+ "subArchitectures": ["SCMP_ARCH_MIPSEL", "SCMP_ARCH_MIPSEL64"]
27
+ },
28
+ {
29
+ "architecture": "SCMP_ARCH_S390X",
30
+ "subArchitectures": ["SCMP_ARCH_S390"]
31
+ }
32
+ ],
33
+ "syscalls": [
34
+ {
35
+ "comment": "Allow create user namespaces",
36
+ "names": ["clone", "setns", "unshare"],
37
+ "action": "SCMP_ACT_ALLOW",
38
+ "args": [],
39
+ "includes": {},
40
+ "excludes": {}
41
+ },
42
+ {
43
+ "names": [
44
+ "accept",
45
+ "accept4",
46
+ "access",
47
+ "adjtimex",
48
+ "alarm",
49
+ "bind",
50
+ "brk",
51
+ "capget",
52
+ "capset",
53
+ "chdir",
54
+ "chmod",
55
+ "chown",
56
+ "chown32",
57
+ "clock_adjtime",
58
+ "clock_adjtime64",
59
+ "clock_getres",
60
+ "clock_getres_time64",
61
+ "clock_gettime",
62
+ "clock_gettime64",
63
+ "clock_nanosleep",
64
+ "clock_nanosleep_time64",
65
+ "close",
66
+ "connect",
67
+ "copy_file_range",
68
+ "creat",
69
+ "dup",
70
+ "dup2",
71
+ "dup3",
72
+ "epoll_create",
73
+ "epoll_create1",
74
+ "epoll_ctl",
75
+ "epoll_ctl_old",
76
+ "epoll_pwait",
77
+ "epoll_wait",
78
+ "epoll_wait_old",
79
+ "eventfd",
80
+ "eventfd2",
81
+ "execve",
82
+ "execveat",
83
+ "exit",
84
+ "exit_group",
85
+ "faccessat",
86
+ "fadvise64",
87
+ "fadvise64_64",
88
+ "fallocate",
89
+ "fanotify_mark",
90
+ "fchdir",
91
+ "fchmod",
92
+ "fchmodat",
93
+ "fchown",
94
+ "fchown32",
95
+ "fchownat",
96
+ "fcntl",
97
+ "fcntl64",
98
+ "fdatasync",
99
+ "fgetxattr",
100
+ "flistxattr",
101
+ "flock",
102
+ "fork",
103
+ "fremovexattr",
104
+ "fsetxattr",
105
+ "fstat",
106
+ "fstat64",
107
+ "fstatat64",
108
+ "fstatfs",
109
+ "fstatfs64",
110
+ "fsync",
111
+ "ftruncate",
112
+ "ftruncate64",
113
+ "futex",
114
+ "futex_time64",
115
+ "futimesat",
116
+ "getcpu",
117
+ "getcwd",
118
+ "getdents",
119
+ "getdents64",
120
+ "getegid",
121
+ "getegid32",
122
+ "geteuid",
123
+ "geteuid32",
124
+ "getgid",
125
+ "getgid32",
126
+ "getgroups",
127
+ "getgroups32",
128
+ "getitimer",
129
+ "getpeername",
130
+ "getpgid",
131
+ "getpgrp",
132
+ "getpid",
133
+ "getppid",
134
+ "getpriority",
135
+ "getrandom",
136
+ "getresgid",
137
+ "getresgid32",
138
+ "getresuid",
139
+ "getresuid32",
140
+ "getrlimit",
141
+ "get_robust_list",
142
+ "getrusage",
143
+ "getsid",
144
+ "getsockname",
145
+ "getsockopt",
146
+ "get_thread_area",
147
+ "gettid",
148
+ "gettimeofday",
149
+ "getuid",
150
+ "getuid32",
151
+ "getxattr",
152
+ "inotify_add_watch",
153
+ "inotify_init",
154
+ "inotify_init1",
155
+ "inotify_rm_watch",
156
+ "io_cancel",
157
+ "ioctl",
158
+ "io_destroy",
159
+ "io_getevents",
160
+ "io_pgetevents",
161
+ "io_pgetevents_time64",
162
+ "ioprio_get",
163
+ "ioprio_set",
164
+ "io_setup",
165
+ "io_submit",
166
+ "io_uring_enter",
167
+ "io_uring_register",
168
+ "io_uring_setup",
169
+ "ipc",
170
+ "kill",
171
+ "lchown",
172
+ "lchown32",
173
+ "lgetxattr",
174
+ "link",
175
+ "linkat",
176
+ "listen",
177
+ "listxattr",
178
+ "llistxattr",
179
+ "_llseek",
180
+ "lremovexattr",
181
+ "lseek",
182
+ "lsetxattr",
183
+ "lstat",
184
+ "lstat64",
185
+ "madvise",
186
+ "membarrier",
187
+ "memfd_create",
188
+ "mincore",
189
+ "mkdir",
190
+ "mkdirat",
191
+ "mknod",
192
+ "mknodat",
193
+ "mlock",
194
+ "mlock2",
195
+ "mlockall",
196
+ "mmap",
197
+ "mmap2",
198
+ "mprotect",
199
+ "mq_getsetattr",
200
+ "mq_notify",
201
+ "mq_open",
202
+ "mq_timedreceive",
203
+ "mq_timedreceive_time64",
204
+ "mq_timedsend",
205
+ "mq_timedsend_time64",
206
+ "mq_unlink",
207
+ "mremap",
208
+ "msgctl",
209
+ "msgget",
210
+ "msgrcv",
211
+ "msgsnd",
212
+ "msync",
213
+ "munlock",
214
+ "munlockall",
215
+ "munmap",
216
+ "nanosleep",
217
+ "newfstatat",
218
+ "_newselect",
219
+ "open",
220
+ "openat",
221
+ "pause",
222
+ "pipe",
223
+ "pipe2",
224
+ "poll",
225
+ "ppoll",
226
+ "ppoll_time64",
227
+ "prctl",
228
+ "pread64",
229
+ "preadv",
230
+ "preadv2",
231
+ "prlimit64",
232
+ "pselect6",
233
+ "pselect6_time64",
234
+ "pwrite64",
235
+ "pwritev",
236
+ "pwritev2",
237
+ "read",
238
+ "readahead",
239
+ "readlink",
240
+ "readlinkat",
241
+ "readv",
242
+ "recv",
243
+ "recvfrom",
244
+ "recvmmsg",
245
+ "recvmmsg_time64",
246
+ "recvmsg",
247
+ "remap_file_pages",
248
+ "removexattr",
249
+ "rename",
250
+ "renameat",
251
+ "renameat2",
252
+ "restart_syscall",
253
+ "rmdir",
254
+ "rseq",
255
+ "rt_sigaction",
256
+ "rt_sigpending",
257
+ "rt_sigprocmask",
258
+ "rt_sigqueueinfo",
259
+ "rt_sigreturn",
260
+ "rt_sigsuspend",
261
+ "rt_sigtimedwait",
262
+ "rt_sigtimedwait_time64",
263
+ "rt_tgsigqueueinfo",
264
+ "sched_getaffinity",
265
+ "sched_getattr",
266
+ "sched_getparam",
267
+ "sched_get_priority_max",
268
+ "sched_get_priority_min",
269
+ "sched_getscheduler",
270
+ "sched_rr_get_interval",
271
+ "sched_rr_get_interval_time64",
272
+ "sched_setaffinity",
273
+ "sched_setattr",
274
+ "sched_setparam",
275
+ "sched_setscheduler",
276
+ "sched_yield",
277
+ "seccomp",
278
+ "select",
279
+ "semctl",
280
+ "semget",
281
+ "semop",
282
+ "semtimedop",
283
+ "semtimedop_time64",
284
+ "send",
285
+ "sendfile",
286
+ "sendfile64",
287
+ "sendmmsg",
288
+ "sendmsg",
289
+ "sendto",
290
+ "setfsgid",
291
+ "setfsgid32",
292
+ "setfsuid",
293
+ "setfsuid32",
294
+ "setgid",
295
+ "setgid32",
296
+ "setgroups",
297
+ "setgroups32",
298
+ "setitimer",
299
+ "setpgid",
300
+ "setpriority",
301
+ "setregid",
302
+ "setregid32",
303
+ "setresgid",
304
+ "setresgid32",
305
+ "setresuid",
306
+ "setresuid32",
307
+ "setreuid",
308
+ "setreuid32",
309
+ "setrlimit",
310
+ "set_robust_list",
311
+ "setsid",
312
+ "setsockopt",
313
+ "set_thread_area",
314
+ "set_tid_address",
315
+ "setuid",
316
+ "setuid32",
317
+ "setxattr",
318
+ "shmat",
319
+ "shmctl",
320
+ "shmdt",
321
+ "shmget",
322
+ "shutdown",
323
+ "sigaltstack",
324
+ "signalfd",
325
+ "signalfd4",
326
+ "sigprocmask",
327
+ "sigreturn",
328
+ "socket",
329
+ "socketcall",
330
+ "socketpair",
331
+ "splice",
332
+ "stat",
333
+ "stat64",
334
+ "statfs",
335
+ "statfs64",
336
+ "statx",
337
+ "symlink",
338
+ "symlinkat",
339
+ "sync",
340
+ "sync_file_range",
341
+ "syncfs",
342
+ "sysinfo",
343
+ "tee",
344
+ "tgkill",
345
+ "time",
346
+ "timer_create",
347
+ "timer_delete",
348
+ "timer_getoverrun",
349
+ "timer_gettime",
350
+ "timer_gettime64",
351
+ "timer_settime",
352
+ "timer_settime64",
353
+ "timerfd_create",
354
+ "timerfd_gettime",
355
+ "timerfd_gettime64",
356
+ "timerfd_settime",
357
+ "timerfd_settime64",
358
+ "times",
359
+ "tkill",
360
+ "truncate",
361
+ "truncate64",
362
+ "ugetrlimit",
363
+ "umask",
364
+ "uname",
365
+ "unlink",
366
+ "unlinkat",
367
+ "utime",
368
+ "utimensat",
369
+ "utimensat_time64",
370
+ "utimes",
371
+ "vfork",
372
+ "vmsplice",
373
+ "wait4",
374
+ "waitid",
375
+ "waitpid",
376
+ "write",
377
+ "writev"
378
+ ],
379
+ "action": "SCMP_ACT_ALLOW",
380
+ "args": [],
381
+ "comment": "",
382
+ "includes": {},
383
+ "excludes": {}
384
+ },
385
+ {
386
+ "names": ["ptrace"],
387
+ "action": "SCMP_ACT_ALLOW",
388
+ "args": null,
389
+ "comment": "",
390
+ "includes": { "minKernel": "4.8" },
391
+ "excludes": {}
392
+ },
393
+ {
394
+ "names": ["personality"],
395
+ "action": "SCMP_ACT_ALLOW",
396
+ "args": [{ "index": 0, "value": 0, "valueTwo": 0, "op": "SCMP_CMP_EQ" }],
397
+ "comment": "",
398
+ "includes": {},
399
+ "excludes": {}
400
+ },
401
+ {
402
+ "names": ["personality"],
403
+ "action": "SCMP_ACT_ALLOW",
404
+ "args": [{ "index": 0, "value": 8, "valueTwo": 0, "op": "SCMP_CMP_EQ" }],
405
+ "comment": "",
406
+ "includes": {},
407
+ "excludes": {}
408
+ },
409
+ {
410
+ "names": ["personality"],
411
+ "action": "SCMP_ACT_ALLOW",
412
+ "args": [
413
+ { "index": 0, "value": 131072, "valueTwo": 0, "op": "SCMP_CMP_EQ" }
414
+ ],
415
+ "comment": "",
416
+ "includes": {},
417
+ "excludes": {}
418
+ },
419
+ {
420
+ "names": ["personality"],
421
+ "action": "SCMP_ACT_ALLOW",
422
+ "args": [
423
+ { "index": 0, "value": 131080, "valueTwo": 0, "op": "SCMP_CMP_EQ" }
424
+ ],
425
+ "comment": "",
426
+ "includes": {},
427
+ "excludes": {}
428
+ },
429
+ {
430
+ "names": ["personality"],
431
+ "action": "SCMP_ACT_ALLOW",
432
+ "args": [
433
+ { "index": 0, "value": 4294967295, "valueTwo": 0, "op": "SCMP_CMP_EQ" }
434
+ ],
435
+ "comment": "",
436
+ "includes": {},
437
+ "excludes": {}
438
+ },
439
+ {
440
+ "names": ["sync_file_range2"],
441
+ "action": "SCMP_ACT_ALLOW",
442
+ "args": [],
443
+ "comment": "",
444
+ "includes": { "arches": ["ppc64le"] },
445
+ "excludes": {}
446
+ },
447
+ {
448
+ "names": [
449
+ "arm_fadvise64_64",
450
+ "arm_sync_file_range",
451
+ "sync_file_range2",
452
+ "breakpoint",
453
+ "cacheflush",
454
+ "set_tls"
455
+ ],
456
+ "action": "SCMP_ACT_ALLOW",
457
+ "args": [],
458
+ "comment": "",
459
+ "includes": { "arches": ["arm", "arm64"] },
460
+ "excludes": {}
461
+ },
462
+ {
463
+ "names": ["arch_prctl"],
464
+ "action": "SCMP_ACT_ALLOW",
465
+ "args": [],
466
+ "comment": "",
467
+ "includes": { "arches": ["amd64", "x32"] },
468
+ "excludes": {}
469
+ },
470
+ {
471
+ "names": ["modify_ldt"],
472
+ "action": "SCMP_ACT_ALLOW",
473
+ "args": [],
474
+ "comment": "",
475
+ "includes": { "arches": ["amd64", "x32", "x86"] },
476
+ "excludes": {}
477
+ },
478
+ {
479
+ "names": [
480
+ "s390_pci_mmio_read",
481
+ "s390_pci_mmio_write",
482
+ "s390_runtime_instr"
483
+ ],
484
+ "action": "SCMP_ACT_ALLOW",
485
+ "args": [],
486
+ "comment": "",
487
+ "includes": { "arches": ["s390", "s390x"] },
488
+ "excludes": {}
489
+ },
490
+ {
491
+ "names": ["open_by_handle_at"],
492
+ "action": "SCMP_ACT_ALLOW",
493
+ "args": [],
494
+ "comment": "",
495
+ "includes": { "caps": ["CAP_DAC_READ_SEARCH"] },
496
+ "excludes": {}
497
+ },
498
+ {
499
+ "names": [
500
+ "bpf",
501
+ "clone",
502
+ "fanotify_init",
503
+ "lookup_dcookie",
504
+ "mount",
505
+ "name_to_handle_at",
506
+ "perf_event_open",
507
+ "quotactl",
508
+ "setdomainname",
509
+ "sethostname",
510
+ "setns",
511
+ "syslog",
512
+ "umount",
513
+ "umount2",
514
+ "unshare"
515
+ ],
516
+ "action": "SCMP_ACT_ALLOW",
517
+ "args": [],
518
+ "comment": "",
519
+ "includes": { "caps": ["CAP_SYS_ADMIN"] },
520
+ "excludes": {}
521
+ },
522
+ {
523
+ "names": ["clone"],
524
+ "action": "SCMP_ACT_ALLOW",
525
+ "args": [
526
+ {
527
+ "index": 0,
528
+ "value": 2114060288,
529
+ "valueTwo": 0,
530
+ "op": "SCMP_CMP_MASKED_EQ"
531
+ }
532
+ ],
533
+ "comment": "",
534
+ "includes": {},
535
+ "excludes": { "caps": ["CAP_SYS_ADMIN"], "arches": ["s390", "s390x"] }
536
+ },
537
+ {
538
+ "names": ["clone"],
539
+ "action": "SCMP_ACT_ALLOW",
540
+ "args": [
541
+ {
542
+ "index": 1,
543
+ "value": 2114060288,
544
+ "valueTwo": 0,
545
+ "op": "SCMP_CMP_MASKED_EQ"
546
+ }
547
+ ],
548
+ "comment": "s390 parameter ordering for clone is different",
549
+ "includes": { "arches": ["s390", "s390x"] },
550
+ "excludes": { "caps": ["CAP_SYS_ADMIN"] }
551
+ },
552
+ {
553
+ "names": ["reboot"],
554
+ "action": "SCMP_ACT_ALLOW",
555
+ "args": [],
556
+ "comment": "",
557
+ "includes": { "caps": ["CAP_SYS_BOOT"] },
558
+ "excludes": {}
559
+ },
560
+ {
561
+ "names": ["chroot"],
562
+ "action": "SCMP_ACT_ALLOW",
563
+ "args": [],
564
+ "comment": "",
565
+ "includes": { "caps": ["CAP_SYS_CHROOT"] },
566
+ "excludes": {}
567
+ },
568
+ {
569
+ "names": ["delete_module", "init_module", "finit_module"],
570
+ "action": "SCMP_ACT_ALLOW",
571
+ "args": [],
572
+ "comment": "",
573
+ "includes": { "caps": ["CAP_SYS_MODULE"] },
574
+ "excludes": {}
575
+ },
576
+ {
577
+ "names": ["acct"],
578
+ "action": "SCMP_ACT_ALLOW",
579
+ "args": [],
580
+ "comment": "",
581
+ "includes": { "caps": ["CAP_SYS_PACCT"] },
582
+ "excludes": {}
583
+ },
584
+ {
585
+ "names": ["kcmp", "process_vm_readv", "process_vm_writev", "ptrace"],
586
+ "action": "SCMP_ACT_ALLOW",
587
+ "args": [],
588
+ "comment": "",
589
+ "includes": { "caps": ["CAP_SYS_PTRACE"] },
590
+ "excludes": {}
591
+ },
592
+ {
593
+ "names": ["iopl", "ioperm"],
594
+ "action": "SCMP_ACT_ALLOW",
595
+ "args": [],
596
+ "comment": "",
597
+ "includes": { "caps": ["CAP_SYS_RAWIO"] },
598
+ "excludes": {}
599
+ },
600
+ {
601
+ "names": ["settimeofday", "stime", "clock_settime"],
602
+ "action": "SCMP_ACT_ALLOW",
603
+ "args": [],
604
+ "comment": "",
605
+ "includes": { "caps": ["CAP_SYS_TIME"] },
606
+ "excludes": {}
607
+ },
608
+ {
609
+ "names": ["vhangup"],
610
+ "action": "SCMP_ACT_ALLOW",
611
+ "args": [],
612
+ "comment": "",
613
+ "includes": { "caps": ["CAP_SYS_TTY_CONFIG"] },
614
+ "excludes": {}
615
+ },
616
+ {
617
+ "names": ["get_mempolicy", "mbind", "set_mempolicy"],
618
+ "action": "SCMP_ACT_ALLOW",
619
+ "args": [],
620
+ "comment": "",
621
+ "includes": { "caps": ["CAP_SYS_NICE"] },
622
+ "excludes": {}
623
+ },
624
+ {
625
+ "names": ["syslog"],
626
+ "action": "SCMP_ACT_ALLOW",
627
+ "args": [],
628
+ "comment": "",
629
+ "includes": { "caps": ["CAP_SYSLOG"] },
630
+ "excludes": {}
631
+ },
632
+ {
633
+ "names": ["chroot"],
634
+ "action": "SCMP_ACT_ALLOW",
635
+ "args": [],
636
+ "includes": {},
637
+ "excludes": {}
638
+ }
639
+ ]
640
+ }