| 1 | { |
| 2 | "linux": { |
| 3 | "description": "Linux platform-specific features", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "namespaces": { |
| 7 | "type": "array", |
| 8 | "items": { |
| 9 | "$ref": "defs-linux.json#/definitions/NamespaceType" |
| 10 | } |
| 11 | }, |
| 12 | "capabilities": { |
| 13 | "type": "array", |
| 14 | "items": { |
| 15 | "type": "string", |
| 16 | "pattern": "^CAP_[A-Z_]+$" |
| 17 | } |
| 18 | }, |
| 19 | "cgroup": { |
| 20 | "type": "object", |
| 21 | "properties": { |
| 22 | "v1": { |
| 23 | "type": "boolean" |
| 24 | }, |
| 25 | "v2": { |
| 26 | "type": "boolean" |
| 27 | }, |
| 28 | "systemd": { |
| 29 | "type": "boolean" |
| 30 | }, |
| 31 | "systemdUser": { |
| 32 | "type": "boolean" |
| 33 | }, |
| 34 | "rdma": { |
| 35 | "type": "boolean" |
| 36 | } |
| 37 | } |
| 38 | }, |
| 39 | "seccomp": { |
| 40 | "type": "object", |
| 41 | "properties": { |
| 42 | "enabled": { |
| 43 | "type": "boolean" |
| 44 | }, |
| 45 | "actions": { |
| 46 | "type": "array", |
| 47 | "items": { |
| 48 | "$ref": "defs-linux.json#/definitions/SeccompAction" |
| 49 | } |
| 50 | }, |
| 51 | "operators": { |
| 52 | "type": "array", |
| 53 | "items": { |
| 54 | "$ref": "defs-linux.json#/definitions/SeccompOperators" |
| 55 | } |
| 56 | }, |
| 57 | "archs": { |
| 58 | "type": "array", |
| 59 | "items": { |
| 60 | "$ref": "defs-linux.json#/definitions/SeccompArch" |
| 61 | } |
| 62 | }, |
| 63 | "knownFlags": { |
| 64 | "type": "array", |
| 65 | "items": { |
| 66 | "$ref": "defs-linux.json#/definitions/SeccompFlag" |
| 67 | } |
| 68 | }, |
| 69 | "supportedFlags": { |
| 70 | "type": "array", |
| 71 | "items": { |
| 72 | "$ref": "defs-linux.json#/definitions/SeccompFlag" |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | }, |
| 77 | "apparmor": { |
| 78 | "type": "object", |
| 79 | "properties": { |
| 80 | "enabled": { |
| 81 | "type": "boolean" |
| 82 | } |
| 83 | } |
| 84 | }, |
| 85 | "selinux": { |
| 86 | "type": "object", |
| 87 | "properties": { |
| 88 | "enabled": { |
| 89 | "type": "boolean" |
| 90 | } |
| 91 | } |
| 92 | }, |
| 93 | "intelRdt": { |
| 94 | "type": "object", |
| 95 | "properties": { |
| 96 | "enabled": { |
| 97 | "type": "boolean" |
| 98 | } |
| 99 | } |
| 100 | }, |
| 101 | "mountExtensions": { |
| 102 | "type": "object", |
| 103 | "properties": { |
| 104 | "idmap": { |
| 105 | "type": "object", |
| 106 | "properties": { |
| 107 | "enabled": { |
| 108 | "type": "boolean" |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | } |